
/* ——— Spécifique à la page compagnie ——— */
.hero h1 { font-size: clamp(44px, 7.5vw, 82px); max-width: 14ch; }
.hero .lede { font-size: clamp(17px, 2vw, 20px); max-width: 50ch; margin-top: 20px; }
.hero-code {
  font-family: var(--font-mono); font-size: 14px; letter-spacing: 0.08em;
  display: inline-flex; align-items: center; gap: 12px; color: oklch(0.95 0.02 60);
  background: oklch(1 0 0 / 0.10); border: 1px solid oklch(1 0 0 / 0.18); backdrop-filter: blur(6px);
  padding: 8px 15px; border-radius: 999px; margin-bottom: 18px;
}
/* Pastille logo compagnie — identité fixe quelle que soit la palette */
.al-mark {
  width: 56px; height: 56px; border-radius: 15px; flex: none;
  display: grid; place-items: center; margin-bottom: 18px;
  font-family: var(--font-display); font-weight: 700; font-size: 22px; letter-spacing: -0.02em;
  background: oklch(0.42 0.13 256); color: #fff; box-shadow: var(--shadow), 0 0 0 4px oklch(1 0 0 / 0.12);
}

/* Hubs en France */
.hubs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 820px) { .hubs { grid-template-columns: 1fr; } }
.hub { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: transform .16s, box-shadow .2s; }
.hub:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.hub .ph { height: 84px; }
.hub-body { padding: 20px; display: flex; flex-direction: column; gap: 9px; flex: 1; }
.hub .code2 { font-family: var(--font-mono); font-size: 12.5px; color: var(--accent-deep); letter-spacing: 0.06em; }
.hub h3 { font-size: 20px; }
.hub p { color: var(--ink-soft); font-size: 14px; margin: 0; }
.hub .airline-tag { font-size: 12px; color: var(--ink-faint); }
.hub .tagrow { display: flex; gap: 7px; flex-wrap: wrap; margin-top: 2px; }
.hub .tagrow span { font-size: 12px; color: var(--ink-soft); background: var(--paper-2); padding: 4px 10px; border-radius: 999px; }
.hub .go { margin-top: auto; padding-top: 6px; display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 14px; color: var(--accent-deep); }
.hub .go svg { width: 15px; height: 15px; transition: transform .16s; }
.hub:hover .go svg { transform: translateX(4px); }

/* Routes (destinations populaires) — partagé visuellement avec la page destination */
.route-list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
@media (max-width: 720px) { .route-list { grid-template-columns: 1fr; } }
.route { display: flex; align-items: center; gap: 16px; padding: 16px 18px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); transition: border-color .16s, transform .14s, box-shadow .2s; }
.route:hover { transform: translateY(-2px); border-color: var(--line-strong); box-shadow: var(--shadow-sm); }
.route .from { font-family: var(--font-display); font-weight: 700; font-size: 16px; width: 50px; flex: none; }
.route .path { flex: 1; display: flex; align-items: center; gap: 9px; color: var(--ink-faint); }
.route .path .ln { flex: 1; height: 2px; background: repeating-linear-gradient(90deg, var(--line-strong) 0 6px, transparent 6px 11px); }
.route .path svg { width: 15px; height: 15px; color: var(--accent); flex: none; }
.route .det { text-align: right; }
.route .det b { display: block; font-size: 14.5px; }
.route .det span { font-size: 12px; color: var(--ink-faint); font-family: var(--font-mono); }

/* Cabines / classes */
.cabins { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
@media (max-width: 980px) { .cabins { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .cabins { grid-template-columns: 1fr; } }
.cabin { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: flex; flex-direction: column; gap: 13px; position: relative; transition: transform .16s, box-shadow .2s; }
.cabin:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.cabin.flag-top { border-color: var(--accent); }
.cabin .tier { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent-deep); }
.cabin h3 { font-size: 21px; }
.cabin ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.cabin ul li { position: relative; padding-left: 22px; font-size: 13.5px; color: var(--ink-soft); }
.cabin ul li::before { content: ""; position: absolute; left: 2px; top: 7px; width: 9px; height: 6px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }
.cabin .seat { width: 100%; height: 64px; border-radius: 12px; background: var(--primary-tint); display: grid; place-items: center; color: var(--primary-deep); }
.cabin .seat svg { width: 30px; height: 30px; }

/* Highlights / pastilles en bref */
.highlights-bar { background: var(--paper-2); border-bottom: 1px solid var(--line); }
.hl-pill {
  display: flex; align-items: center; gap: 10px;
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 12px 18px 12px 14px;
  flex: 1; min-width: 160px; max-width: 220px;
}
.hl-pill .hl-icon { width: 28px; height: 28px; flex: none; color: var(--primary); }
.hl-pill .hl-icon svg { width: 100%; height: 100%; display: block; }
.hl-pill .hl-value { display: block; font-size: 20px; font-weight: 700; line-height: 1.1; color: var(--ink); }
.hl-pill .hl-label { display: block; font-size: 12px; color: var(--ink-faint); margin-top: 2px; }
.hl-pill-link { text-decoration: none; color: inherit; cursor: pointer; }
.hl-pill-link:hover { border-color: var(--primary); background: var(--paper-1); }
@media (max-width: 560px) {
  .hl-pill { min-width: 0; max-width: none; flex: 1 1 auto; padding: 8px 12px 8px 10px; gap: 6px; border-radius: 18px; }
  .hl-pill .hl-icon { width: 18px; height: 18px; }
  .hl-pill .hl-value { font-size: 15px; }
  .hl-pill .hl-label { display: none; }
  .highlights-bar .wrap-wide { gap: 8px; padding: 12px 0; }
}

/* Bagages */
.bags { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.bags.bags-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.info-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.info-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px; }
.info-card h3 { font-size: 20px; margin-bottom: 8px; }
.info-card p { color: var(--ink-soft); font-size: 14.5px; line-height: 1.65; }
.disruption-cta h2 { font-size: clamp(24px, 3.4vw, 34px); }
.disruption-cta .muted { color: var(--ink-faint); font-size: 14px; }
@media (max-width: 920px) { .bags.bags-3, .info-grid { grid-template-columns: 1fr; } }
@media (max-width: 720px) { .bags { grid-template-columns: 1fr; } }
.bag { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 26px; }
.bag .top { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.bag .top .ic { width: 50px; height: 50px; border-radius: 14px; background: var(--primary-tint); color: var(--primary-deep); display: grid; place-items: center; flex: none; }
.bag .top .ic svg { width: 25px; height: 25px; }
.bag .top h3 { font-size: 22px; }
.bag .top span { font-size: 13px; color: var(--ink-faint); font-family: var(--font-main); letter-spacing: 0; }
.bag-row { display: flex; align-items: center; justify-content: space-between; padding: 13px 0; border-top: 1px solid var(--line); font-size: 14.5px; }
.bag-row .k { color: var(--ink-soft); }
.bag-row .v { font-weight: 600; }
.bag-row .v small { font-weight: 400; color: var(--ink-faint); font-size: 12.5px; }
.bag .note { margin-top: 16px; font-size: 13px; color: var(--ink-faint); display: flex; gap: 9px; align-items: flex-start; }
.bag .note svg { width: 15px; height: 15px; flex: none; margin-top: 2px; color: var(--accent-deep); }
@media (max-width: 560px) {
  .bag { padding: 20px; border-radius: 28px; }
  .bag .top { gap: 12px; margin-bottom: 14px; }
  .bag .top .ic { width: 48px; height: 48px; border-radius: 14px; }
  .bag .top h3 { font-size: 24px; line-height: 1.1; }
  .bag .top span { font-family: var(--font-main); font-size: 14px; letter-spacing: 0; }
  .bag-row { padding: 10px 0; font-size: 15px; gap: 16px; }
  .bag-row .v { text-align: right; }
  .bag .note { margin-top: 12px; font-size: 14px; line-height: 1.45; }
}

/* Accordéon + CTA (repris du système) */
.acc-item { border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); margin-bottom: 10px; overflow: hidden; }
.acc-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 20px; cursor: pointer; font-weight: 600; font-size: 16px; }
.acc-head .plus { width: 26px; height: 26px; border-radius: 8px; background: var(--paper-2); display: grid; place-items: center; flex: none; transition: transform .2s; color: var(--primary); }
.acc-head .plus svg { width: 16px; height: 16px; }
.acc-item.open .acc-head .plus { transform: rotate(45deg); background: var(--primary); color: var(--on-primary); }
.acc-body { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.acc-item.open .acc-body { max-height: 320px; }
.acc-body .inner { padding: 0 20px 20px; color: var(--ink-soft); font-size: 15px; }
.split-cta { background: var(--primary-tint); border-radius: var(--radius-lg); padding: clamp(28px, 4vw, 44px); display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.split-cta h3 { font-size: clamp(22px, 3vw, 30px); }
.split-cta p { color: var(--ink-soft); margin: 8px 0 0; max-width: 44ch; }

/* ——— Spécifique à la page destination ——— */
.dhero .flag { display: inline-flex; align-items: center; gap: 11px; font-family: var(--font-mono); font-size: 14px; letter-spacing: 0.06em; background: oklch(1 0 0 / 0.12); border: 1px solid oklch(1 0 0 / 0.2); backdrop-filter: blur(6px); padding: 7px 14px; border-radius: 999px; margin-bottom: 20px; }
.dhero .flag .sq { width: 16px; height: 11px; border-radius: 2px; background: linear-gradient(90deg, oklch(0.55 0.18 25) 50%, oklch(0.55 0.13 150) 50%); }
.dhero h1 { font-size: clamp(46px, 9vw, 104px); line-height: 0.92; }
.dhero .sub-place, .dhero .lede { font-size: clamp(17px, 2vw, 21px); max-width: 50ch; margin-top: 18px; }
.dhero-facts { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.dfact { background: oklch(1 0 0 / 0.12); border: 1px solid oklch(1 0 0 / 0.2); backdrop-filter: blur(8px); border-radius: 14px; padding: 12px 18px; }
.dfact .k { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: oklch(0.88 0.02 60 / 0.85); }
.dfact .v { font-family: var(--font-display); font-size: 19px; font-weight: 700; color: #fff; margin-top: 3px; }

/* Climat — graphique */
.climate { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 32px; align-items: stretch; }
@media (max-width: 880px) { .climate { grid-template-columns: 1fr; } }
.chart { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 26px 26px 18px; box-shadow: var(--shadow-sm); }
.chart-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 22px; }
.chart-head .lg { display: flex; gap: 16px; font-size: 12.5px; color: var(--ink-faint); }
.chart-head .lg i { display: inline-block; width: 11px; height: 11px; border-radius: 3px; margin-right: 6px; vertical-align: -1px; }
.bars { display: grid; grid-template-columns: repeat(12, 1fr); gap: 7px; align-items: end; height: 180px; }
.bars .col { display: flex; flex-direction: column; align-items: center; justify-content: flex-end; height: 100%; gap: 7px; }
.bars .bar { width: 100%; max-width: 26px; border-radius: 6px 6px 3px 3px; background: var(--line-strong); position: relative; transition: height .8s cubic-bezier(.2,.7,.2,1); }
.bars .col.best .bar { background: linear-gradient(180deg, var(--accent), var(--accent-deep)); }
.bars .col .t { font-family: var(--font-mono); font-size: 10.5px; color: var(--ink-faint); }
.bars .col .mo { font-size: 11px; color: var(--ink-faint); text-transform: uppercase; letter-spacing: 0.03em; }
.bars .col.best .mo { color: var(--accent-deep); font-weight: 600; }
.season-card { background: var(--primary-tint); border-radius: var(--radius-lg); padding: 28px; display: flex; flex-direction: column; gap: 16px; }
.season-card .big { font-family: var(--font-display); font-size: 30px; font-weight: 700; color: var(--primary-deep); line-height: 1.05; }
.season-card p { color: var(--ink-soft); margin: 0; font-size: 15px; }
.season-row { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-top: 1px solid oklch(from var(--primary) l c h / 0.15); }
.season-row .badge2 { font-family: var(--font-mono); font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 8px; flex: none; }
.season-row .badge2.go { background: var(--ok); color: #fff; }
.season-row .badge2.mid { background: var(--warn); color: oklch(0.25 0.06 70); }
.season-row .badge2.no { background: var(--line-strong); color: var(--ink-soft); }
.season-row span { font-size: 14px; color: var(--ink-soft); }
.season-row b { color: var(--ink); }

/* Quoi faire — grille éditoriale */
.things { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; grid-auto-rows: 1fr; }
@media (max-width: 900px) { .things { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .things { grid-template-columns: 1fr; } }
.thing { position: relative; border-radius: var(--radius); overflow: hidden; min-height: 240px; display: flex; align-items: flex-end; box-shadow: var(--shadow-sm); transition: transform .18s, box-shadow .2s; }
.thing:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.thing .ph { position: absolute; inset: 0; }
.thing.tall { grid-row: span 2; }
.thing-body { position: relative; z-index: 2; padding: 20px; color: #fff; background: linear-gradient(180deg, transparent, oklch(0.16 0.03 40 / 0.78)); width: 100%; }
.thing-body .tg { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: oklch(0.92 0.04 60); }
.thing-body h3 { color: #fff; font-size: 22px; margin-top: 6px; }
.thing-body p { color: oklch(0.92 0.02 60); font-size: 13.5px; margin: 6px 0 0; }

/* Aéroports desservant */
.serve-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 24px; align-items: start; }
@media (max-width: 880px) { .serve-grid { grid-template-columns: 1fr; } }
.dest-airport { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); }
.dest-airport .ph { height: 150px; }
.dest-airport .b { padding: 22px; }
.dest-airport .code2 { font-family: var(--font-mono); font-size: 13px; color: var(--accent-deep); letter-spacing: 0.08em; }
.dest-airport h3 { font-size: 24px; margin: 6px 0 8px; }
.dest-airport p { color: var(--ink-soft); font-size: 14.5px; margin: 0; }
.route-list { display: flex; flex-direction: column; gap: 10px; }
.route { display: flex; align-items: center; gap: 16px; padding: 16px 18px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); transition: border-color .16s, transform .14s, box-shadow .2s; }
.route:hover { transform: translateX(3px); border-color: var(--line-strong); box-shadow: var(--shadow-sm); }
.route .from { font-family: var(--font-display); font-weight: 700; font-size: 17px; width: 64px; flex: none; }
.route .path { flex: 1; display: flex; align-items: center; gap: 10px; color: var(--ink-faint); }
.route .path .ln { flex: 1; height: 2px; background: repeating-linear-gradient(90deg, var(--line-strong) 0 6px, transparent 6px 11px); position: relative; }
.route .path svg { width: 16px; height: 16px; color: var(--accent); flex: none; }
.route .det { text-align: right; }
.route .det b { display: block; font-size: 14.5px; }
.route .det span { font-size: 12.5px; color: var(--ink-faint); font-family: var(--font-mono); }
.route .go2 { color: var(--ink-faint); }

/* Formalités */
.formal { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
@media (max-width: 820px) { .formal { grid-template-columns: 1fr 1fr; } }
.formal .f { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.formal .f .ic { width: 42px; height: 42px; border-radius: 12px; background: var(--accent-tint); color: var(--accent-deep); display: grid; place-items: center; margin-bottom: 14px; }
.formal .f .ic svg { width: 21px; height: 21px; }
.formal .f .f-name { font-size: 16px; font-weight: 700; display: block; }
.formal .f .f-iata { font-size: 13.5px; color: var(--ink-soft); margin: 6px 0 0; display: block; }

/* Image de hub (remplace le placeholder bleu) */
.hub-img { width: 100%; height: 84px; object-fit: cover; display: block; }

/* ——— Route cards v2 : nom aéroport à gauche, durée à droite, compagnies dessous ——— */
.route .from { width: auto; min-width: 100px; font-size: 14px; line-height: 1.3; }
.route .from b { display: block; }
.route .det b { font-family: var(--font-display); font-size: 17px; color: var(--ink); }
.route .det span { font-size: 12px; color: var(--ink-faint); margin-top: 2px; display: block; }

/* Pages compagnies : destinations groupées par destination */
.comp-route-groups { display: block; columns: 2 360px; column-gap: 12px; }
.comp-route-group { display: inline-block; width: 100%; box-sizing: border-box; padding: 18px; min-height: 0; margin: 0 0 12px; break-inside: avoid; }
.comp-route-group:hover { transform: translateY(-2px); }
.comp-route-group.is-hidden { display: none; }
.comp-route-title { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; margin-bottom: 12px; }
.comp-route-title b { font-family: var(--font-display); font-size: 19px; color: var(--ink); }
.comp-route-title span { font-size: 12px; color: var(--ink-faint); white-space: nowrap; }
.comp-route-lines { display: grid; gap: 8px; }
.comp-route-line { display: flex; justify-content: space-between; gap: 14px; align-items: baseline; padding-top: 8px; border-top: 1px solid var(--line); }
.comp-route-line strong { font-size: 14px; color: var(--ink); font-weight: 650; }
.comp-route-line em { font-style: normal; font-family: var(--font-mono); font-size: 12px; color: var(--ink-faint); white-space: nowrap; }
@media (max-width: 820px) { .comp-route-groups { columns: 1; } .comp-route-title { display: block; } .comp-route-title span { display: block; margin-top: 2px; white-space: normal; } }

/* =================================================== */
/*  LISTING PAGES — aéroports, destinations, compagnies */
/* =================================================== */



.listing-body {
  padding: 48px 24px 80px;
}

/* --- Aéroports cards grid --- */
.airport-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}
.airport-card {
  display: flex;
  flex-direction: column;
  border-radius: 12px;
  overflow: hidden;
  background: var(--card, #fff);
  border: 1px solid var(--line, oklch(0.9 0.01 255));
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.airport-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 24px oklch(0 0 0 / 0.08);
  border-color: var(--line-strong, oklch(0.82 0.02 255));
}
.ac-img {
  height: 140px;
  overflow: hidden;
  background: oklch(0.95 0.01 255);
}
.ac-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ac-ph {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, oklch(0.55 0.08 255 / 0.1), oklch(0.45 0.12 255 / 0.05));
}
.ac-ph svg { width: 40px; height: 40px; color: oklch(0.5 0.08 255); opacity: 0.4; }
.ac-body {
  padding: 18px 20px 20px;
  flex: 1;
}
.ac-iata {
  font-family: var(--font-mono, monospace);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--accent-deep, oklch(0.35 0.1 255));
}
.ac-body h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin: 6px 0 4px;
  color: var(--ink, oklch(0.2 0.03 255));
}
.ac-pax {
  font-size: 0.85rem;
  color: var(--ink-soft, oklch(0.45 0.02 255));
}


/* --- Destination filters --- */
.destination-filter {
  margin: 0 0 34px;
  padding: clamp(20px, 3vw, 30px);
  border: 1px solid var(--line, oklch(0.9 0.01 255));
  border-radius: var(--radius-lg, 24px);
  background: linear-gradient(135deg, var(--card, #fff), var(--paper-2, oklch(0.97 0.01 255)));
  box-shadow: var(--shadow-sm, 0 8px 28px oklch(0 0 0 / 0.05));
}
.filter-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}
.filter-head .eyebrow {
  margin: 0 0 5px;
  font-family: var(--font-mono, monospace);
  font-size: 12px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--accent-deep, oklch(0.35 0.1 255));
}
.filter-head h2 {
  font-size: clamp(24px, 3vw, 34px);
  margin: 0;
}
.filter-count {
  margin: 0;
  padding: 8px 13px;
  border-radius: 999px;
  background: var(--primary-tint, oklch(0.94 0.04 255));
  color: var(--primary-deep, oklch(0.28 0.09 255));
  font-size: 14px;
  white-space: nowrap;
}
.filter-fields {
  display: grid;
  grid-template-columns: repeat(4, minmax(170px, 1fr)) auto;
  gap: 12px;
  align-items: end;
  position: relative;
  z-index: 20;
}
.filter-select {
  position: relative;
  min-width: 0;
}
.filter-select-toggle {
  width: 100%;
  min-height: 58px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 3px;
  border: 1px solid var(--line, oklch(0.9 0.01 255));
  border-radius: 16px;
  background: linear-gradient(180deg, #fff, oklch(0.98 0.005 255));
  color: var(--ink, oklch(0.2 0.03 255));
  padding: 11px 42px 11px 14px;
  font: inherit;
  cursor: pointer;
  text-align: left;
  box-shadow: 0 8px 22px oklch(0 0 0 / 0.04);
  transition: border-color 0.18s, box-shadow 0.18s, transform 0.18s;
}
.filter-select-toggle::after {
  content: "";
  position: absolute;
  right: 16px;
  top: 50%;
  width: 9px;
  height: 9px;
  border-right: 2px solid var(--ink-soft, oklch(0.45 0.02 255));
  border-bottom: 2px solid var(--ink-soft, oklch(0.45 0.02 255));
  transform: translateY(-65%) rotate(45deg);
  transition: transform 0.18s;
}
.filter-select-toggle[aria-expanded="true"]::after {
  transform: translateY(-25%) rotate(225deg);
}
.filter-select-toggle:hover,
.filter-select-toggle[aria-expanded="true"] {
  border-color: var(--primary, oklch(0.35 0.1 255));
  box-shadow: 0 0 0 3px oklch(0.35 0.1 255 / 0.10), 0 12px 28px oklch(0 0 0 / 0.06);
}
.filter-select-label {
  display: block;
  font-size: 12px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-faint, oklch(0.55 0.02 255));
}
.filter-select-value {
  display: block;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 15px;
  font-weight: 750;
  color: var(--ink, oklch(0.2 0.03 255));
}
.filter-select.has-selection .filter-select-toggle {
  border-color: var(--primary, oklch(0.35 0.1 255));
  background: linear-gradient(180deg, #fff, var(--primary-tint, oklch(0.94 0.04 255)));
}
.filter-select.has-selection .filter-select-value {
  color: var(--primary-deep, oklch(0.28 0.09 255));
}
.filter-select-panel {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 8px);
  z-index: 60;
  padding: 10px;
  border: 1px solid var(--line, oklch(0.9 0.01 255));
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 22px 55px oklch(0 0 0 / 0.16);
}
.filter-select-panel[hidden],
.filter-option[hidden] {
  display: none !important;
}
.filter-select-search {
  width: 100%;
  height: 42px;
  border: 1px solid var(--line, oklch(0.9 0.01 255));
  border-radius: 12px;
  padding: 0 12px;
  margin-bottom: 8px;
  font: inherit;
  outline: none;
}
.filter-select-search:focus {
  border-color: var(--primary, oklch(0.35 0.1 255));
  box-shadow: 0 0 0 3px oklch(0.35 0.1 255 / 0.10);
}
.filter-select-options {
  max-height: 260px;
  overflow: auto;
  display: grid;
  gap: 4px;
  padding-right: 2px;
}
.filter-option {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px 8px;
  border-radius: 11px;
  font-size: 14px;
  line-height: 1.2;
  cursor: pointer;
  color: var(--ink, oklch(0.2 0.03 255));
}
.filter-option:hover {
  background: var(--paper-2, oklch(0.96 0.01 255));
}
.filter-option input {
  width: 16px;
  height: 16px;
  accent-color: var(--primary, oklch(0.35 0.1 255));
  flex: none;
}
#dest-filter-reset {
  min-height: 58px;
  border: 1px solid var(--line, oklch(0.9 0.01 255));
  border-radius: 16px;
  background: var(--ink, oklch(0.2 0.03 255));
  color: #fff;
  padding: 0 18px;
  font-weight: 800;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: 0 12px 26px oklch(0 0 0 / 0.08);
}
#dest-filter-reset:hover { background: var(--primary-deep, oklch(0.28 0.09 255)); }
.filter-help {
  margin: 14px 0 0;
  color: var(--ink-faint, oklch(0.55 0.02 255));
  font-size: 14px;
}
.dest-no-results {
  margin-top: 24px;
  padding: 22px;
  border: 1px dashed var(--line-strong, oklch(0.82 0.02 255));
  border-radius: var(--radius, 18px);
  color: var(--ink-soft, oklch(0.45 0.02 255));
  background: var(--card, #fff);
  text-align: center;
}
/* Les classes .dest-chip/.dest-country définissent display, donc il faut forcer l'attribut hidden. */
.dest-chip[hidden],
.dest-country[hidden],
.dest-no-results[hidden] {
  display: none !important;
}
@media (max-width: 1180px) {
  .filter-fields { grid-template-columns: repeat(2, minmax(220px, 1fr)); }
}
@media (max-width: 980px) {
  .filter-fields { grid-template-columns: 1fr 1fr; }
  #dest-filter-reset { width: 100%; }
}
@media (max-width: 640px) {
  .filter-head { display: block; }
  .filter-count { display: inline-block; margin-top: 12px; }
  .filter-fields { grid-template-columns: 1fr; }
}

/* --- Destinations grouped by country --- */
.dest-country {
  margin-bottom: 40px;
}
.dest-country-name {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line, oklch(0.9 0.01 255));
  display: flex;
  align-items: center;
  gap: 10px;
}
.dest-flag { font-size: 1.3rem; }
.dest-count {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--ink-soft, oklch(0.45 0.02 255));
  background: var(--paper-2, oklch(0.96 0.01 255));
  padding: 2px 10px;
  border-radius: 999px;
  margin-left: auto;
}
.dest-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.dest-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border: 1px solid var(--line, oklch(0.9 0.01 255));
  border-radius: 999px;
  text-decoration: none;
  color: var(--ink, oklch(0.2 0.03 255));
  font-size: 0.93rem;
  transition: border-color 0.2s, background 0.2s, transform 0.15s;
  background: var(--card, #fff);
}
.dest-chip:hover {
  border-color: var(--primary, oklch(0.35 0.1 255));
  background: oklch(0.35 0.1 255 / 0.04);
  transform: translateY(-1px);
}
.chip-iata {
  font-family: var(--font-mono, monospace);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--accent-deep, oklch(0.35 0.1 255));
}

/* --- Compagnies cards grid --- */
.airline-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
}
.airline-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px;
  border-radius: 12px;
  background: var(--card, #fff);
  border: 1px solid var(--line, oklch(0.9 0.01 255));
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.airline-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px oklch(0 0 0 / 0.06);
  border-color: var(--line-strong, oklch(0.82 0.02 255));
}
.alc-badge {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono, monospace);
  font-weight: 700;
  font-size: 0.85rem;
  flex: none;
}
.alc-body h3 {
  font-size: 0.98rem;
  font-weight: 700;
  margin: 0 0 6px;
  line-height: 1.3;
}
.alc-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.alc-meta span {
  font-size: 0.78rem;
  color: var(--ink-soft, oklch(0.45 0.02 255));
  background: var(--paper-2, oklch(0.96 0.01 255));
  padding: 2px 9px;
  border-radius: 999px;
}

@media (max-width: 600px) {
  .airport-grid { grid-template-columns: 1fr; }
  .airline-grid { grid-template-columns: 1fr; }
  .dest-chips { gap: 6px; }
  .dest-chip { padding: 6px 12px; font-size: 0.85rem; }
}


.dest-flag {
  display: inline-block;
  vertical-align: middle;
  border-radius: 2px;
  box-shadow: 0 0 0 1px rgba(0,0,0,.08);
}

.dest-country-flag {
  font-size: 1.1em;
  vertical-align: middle;
  margin-right: 6px;
}

/* --- Champ recherche dans le bloc destination-filter --- */
.listing-search-wrap {
  position: relative;
  min-height: 58px;
  display: flex;
  align-items: center;
}
.listing-search-wrap .search-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--ink-faint, oklch(0.55 0.02 255));
  pointer-events: none;
  z-index: 2;
}
.listing-search-input {
  width: 100%;
  height: 58px;
  border: 1px solid var(--line, oklch(0.9 0.01 255));
  border-radius: 16px;
  background: linear-gradient(180deg, #fff, oklch(0.98 0.005 255));
  padding: 11px 18px 11px 48px;
  font: inherit;
  font-size: 15px;
  font-weight: 750;
  color: var(--ink, oklch(0.2 0.03 255));
  outline: none;
  box-shadow: 0 8px 22px oklch(0 0 0 / 0.04);
  transition: border-color 0.18s, box-shadow 0.18s;
}
.listing-search-input::placeholder {
  color: var(--ink-faint, oklch(0.55 0.02 255));
  font-weight: 400;
}
.listing-search-input:focus {
  border-color: var(--primary, oklch(0.35 0.1 255));
  box-shadow: 0 0 0 3px oklch(0.35 0.1 255 / 0.10), 0 12px 28px oklch(0 0 0 / 0.06);
}

@media (max-width: 640px) {
  .listing-search-input {
    height: 52px;
    font-size: 14px;
    border-radius: 14px;
    padding-left: 44px;
  }
}

/* ─── Pagination ─────────────────────── */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin: 2rem 0 1rem;
  flex-wrap: wrap;
}
.pagination a,
.pagination-current {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 8px;
  border-radius: 6px;
  font-size: 0.9rem;
  text-decoration: none;
  transition: background .15s;
}
.pagination a {
  color: #2d6a4f;
  background: #f0f7f4;
}
.pagination a:hover { background: #d4ede3; }
.pagination-current {
  background: #2d6a4f;
  color: #fff;
  font-weight: 600;
}
.pagination-prev,
.pagination-next { font-weight: 500; }

/* ─── Index alphabétique ─────────────── */
.alpha-index {
  display: flex;
  align-items: center;
  gap: 3px;
  margin: 1.5rem 0 1rem;
  flex-wrap: wrap;
}
.alpha-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: #555;
  margin-right: 6px;
}
.alpha-btn {
  min-width: 28px;
  height: 28px;
  padding: 0 4px;
  border: 1px solid #d0d0d0;
  border-radius: 4px;
  background: #fff;
  color: #333;
  font-size: 0.8rem;
  cursor: pointer;
  transition: all .15s;
}
.alpha-btn:hover:not(.alpha-inactive) {
  background: #2d6a4f;
  color: #fff;
  border-color: #2d6a4f;
}
.alpha-inactive {
  opacity: 0.3;
  cursor: default;
  pointer-events: none;
}
.alpha-active {
  background: #2d6a4f;
  color: #fff;
  border-color: #2d6a4f;
  font-weight: 600;
}
