/* ============================================================
   LAeroport — Système de design partagé
   Direction par défaut : "Altitude" (bleu aviation / blanc chaud / corail)
   Les variables --t-* sont surchargées par le panneau Tweaks.
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,400..800&family=Hanken+Grotesk:ital,wght@0,400..800;1,400..600&family=JetBrains+Mono:wght@400;500&family=Newsreader:ital,opsz,wght@0,6..72,400..700;1,6..72,400..600&family=Space+Grotesk:wght@400..700&display=swap');

:root {
  /* — Palette par défaut (surchargeable via Tweaks) — */
  --paper:        oklch(0.985 0.006 95);
  --paper-2:      oklch(0.965 0.008 95);
  --card:         oklch(1 0 0);
  --ink:          oklch(0.26 0.022 255);
  --ink-soft:     oklch(0.46 0.02 255);
  --ink-faint:    oklch(0.62 0.018 255);
  --line:         oklch(0.90 0.01 255);
  --line-strong:  oklch(0.83 0.014 255);
  --primary:      oklch(0.45 0.105 252);
  --primary-deep: oklch(0.31 0.075 256);
  --primary-tint: oklch(0.95 0.022 252);
  --on-primary:   oklch(0.985 0.006 95);
  --accent:       oklch(0.70 0.165 42);
  --accent-deep:  oklch(0.58 0.16 38);
  --accent-tint:  oklch(0.95 0.03 60);
  --ok:           oklch(0.62 0.13 155);
  --warn:         oklch(0.72 0.15 75);

  /* — Forme & rythme — */
  --radius:    16px;
  --radius-sm: 10px;
  --radius-lg: 26px;
  --shadow-sm: 0 1px 2px oklch(0.3 0.04 255 / 0.06), 0 2px 6px oklch(0.3 0.04 255 / 0.05);
  --shadow:    0 4px 14px oklch(0.3 0.04 255 / 0.08), 0 16px 40px oklch(0.3 0.04 255 / 0.07);
  --shadow-lg: 0 10px 30px oklch(0.3 0.05 255 / 0.12), 0 30px 70px oklch(0.3 0.05 255 / 0.10);

  --maxw: 1200px;
  --gutter: clamp(20px, 5vw, 64px);

  --font-display: 'Bricolage Grotesque', system-ui, sans-serif;
  --font-body: 'Hanken Grotesk', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  font-weight: 400;
  letter-spacing: -0.005em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -0.02em;
  margin: 0;
  color: var(--ink);
  text-wrap: balance;
}

p { margin: 0 0 1em; text-wrap: pretty; }

.wrap { max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.wrap-wide { max-width: 1380px; margin-inline: auto; padding-inline: var(--gutter); }

/* — Eyebrow / kicker — */
.kicker {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-deep);
  display: inline-flex;
  align-items: center;
  gap: 9px;
}
.kicker::before {
  content: "";
  width: 22px; height: 1.5px;
  background: var(--accent-deep);
  display: inline-block;
}

/* ============================================================
   NAVIGATION
   ============================================================ */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: oklch(from var(--paper) l c h / 0.82);
  backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  max-width: 1380px; margin-inline: auto; padding: 0 var(--gutter);
  height: 70px; display: flex; align-items: center; gap: 28px;
}
.brand { display: flex; align-items: center; gap: 11px; font-family: var(--font-display); font-weight: 700; font-size: 20px; letter-spacing: -0.03em; }
.brand .mark {
  width: 30px; height: 30px; border-radius: 9px;
  background: var(--primary); color: var(--on-primary);
  display: grid; place-items: center; flex: none;
  box-shadow: var(--shadow-sm);
}
.brand .mark svg { width: 17px; height: 17px; }
.brand b { color: var(--accent-deep); font-weight: 700; }
.nav-links { display: flex; gap: 4px; margin-left: 8px; }
.nav-links a {
  padding: 9px 14px; border-radius: 10px; font-size: 14.5px; font-weight: 500;
  color: var(--ink-soft); transition: background .15s, color .15s;
}
.nav-links a:hover { background: var(--paper-2); color: var(--ink); }
.nav-links a.active { color: var(--ink); font-weight: 600; }
.nav-right { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.nav-search {
  display: flex; align-items: center; gap: 8px;
  background: var(--card); border: 1px solid var(--line);
  border-radius: 11px; padding: 8px 13px; color: var(--ink-faint);
  font-size: 14px; min-width: 180px; cursor: text;
}
.nav-search svg { width: 15px; height: 15px; flex: none; }

/* Hamburger */
.nav-burger { display: none; flex-direction: column; gap: 5px; padding: 10px 8px; background: none; border: none; cursor: pointer; z-index: 51; }
.nav-burger span { display: block; width: 24px; height: 2.5px; background: var(--ink); border-radius: 2px; transition: transform .25s, opacity .25s; }
@media (max-width: 900px) {
  .nav-burger { display: flex; }
  .nav-links, .nav-search { display: none; }
  .nav-open .nav-links {
    display: flex; flex-direction: column;
    position: absolute; top: 70px; left: 0; right: 0;
    background: var(--paper); border-bottom: 1px solid var(--line);
    padding: 12px var(--gutter); gap: 2px;
    box-shadow: var(--shadow-lg);
  }
  .nav-open .nav-links a { padding: 14px 14px; border-radius: 10px; }
  .nav-open .nav-dropdown-menu { position: static; box-shadow: none; border: none; padding-left: 16px; display: none; }
  .nav-open .nav-dropdown-open .nav-dropdown-menu { display: block; }
  .nav-open .nav-burger span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
  .nav-open .nav-burger span:nth-child(2) { opacity: 0; }
  .nav-open .nav-burger span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
}

/* ============================================================
   BUTTONS & CHIPS
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-body); font-weight: 600; font-size: 15px;
  padding: 13px 22px; border-radius: 13px; border: 1px solid transparent;
  cursor: pointer; transition: transform .12s, box-shadow .2s, background .2s; line-height: 1;
}
.btn svg { width: 16px; height: 16px; }
.btn-primary { background: var(--primary); color: var(--on-primary); box-shadow: var(--shadow-sm); }
.btn-primary:hover { transform: translateY(-1px); box-shadow: var(--shadow); }
.btn-accent { background: var(--accent); color: oklch(0.2 0.04 40); box-shadow: var(--shadow-sm); }
.btn-accent:hover { transform: translateY(-1px); box-shadow: var(--shadow); }
.btn-ghost { background: var(--card); color: var(--ink); border-color: var(--line-strong); }
.btn-ghost:hover { background: var(--paper-2); border-color: var(--ink-faint); }
.btn-quiet { background: transparent; color: var(--ink-soft); padding-inline: 6px; }
.btn-quiet:hover { color: var(--accent-deep); }

.chip {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 7px 13px; border-radius: 999px; font-size: 13px; font-weight: 500;
  background: var(--card); border: 1px solid var(--line); color: var(--ink-soft);
}
.chip svg { width: 13px; height: 13px; }
.chip.solid { background: var(--primary-tint); border-color: transparent; color: var(--primary-deep); font-weight: 600; }

.tag-live {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--font-mono); font-size: 11.5px; font-weight: 500; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--ok);
}
.tag-live .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 0 oklch(0.62 0.13 155 / .5); animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 oklch(0.62 0.13 155 / .5); } 70% { box-shadow: 0 0 0 7px oklch(0.62 0.13 155 / 0); } 100% { box-shadow: 0 0 0 0 oklch(0.62 0.13 155 / 0); } }

/* ============================================================
   PHOTO PLACEHOLDERS (l'utilisateur remplace par ses visuels)
   ============================================================ */
.ph {
  position: relative; overflow: hidden;
  background:
    linear-gradient(135deg, oklch(from var(--primary) calc(l + 0.06) c h / 0.92), oklch(from var(--primary-deep) l c h / 0.96));
  color: oklch(0.97 0.01 95);
  isolation: isolate;
}
.ph::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-image: repeating-linear-gradient(135deg, oklch(1 0 0 / 0.05) 0 2px, transparent 2px 13px);
}
.ph::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(120% 90% at 78% 8%, oklch(from var(--accent) l c h / 0.42), transparent 55%);
  mix-blend-mode: screen;
}
.ph .ph-label {
  position: absolute; left: 14px; bottom: 13px;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.03em;
  color: oklch(1 0 0 / 0.82);
  background: oklch(0.2 0.03 255 / 0.32); backdrop-filter: blur(3px);
  padding: 5px 9px; border-radius: 7px; display: inline-flex; gap: 7px; align-items: center;
}
.ph .ph-label svg { width: 12px; height: 12px; }

/* ============================================================
   CARDS
   ============================================================ */
.card {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow-sm);
}

.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 820px) { .svc-grid { grid-template-columns: 1fr; } }
.svc {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px; display: flex; flex-direction: column; gap: 14px;
  transition: transform .16s, box-shadow .2s, border-color .2s; position: relative; overflow: hidden;
}
.svc:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--line-strong); }
.svc .ic {
  width: 46px; height: 46px; border-radius: 13px; flex: none;
  display: grid; place-items: center; background: var(--primary-tint); color: var(--primary-deep);
}
.svc .ic svg { width: 22px; height: 22px; }
.svc h3 { font-size: 20px; }
.svc p { color: var(--ink-soft); font-size: 15px; margin: 0; }
.svc .go { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 14.5px; color: var(--accent-deep); }
.svc .go svg { width: 15px; height: 15px; transition: transform .16s; }
.svc:hover .go svg { transform: translateX(4px); }

/* ============================================================
   SECTION HEADINGS
   ============================================================ */
.section { padding-block: clamp(36px, 5vw, 64px); }

/* Alternance visuelle — fond toutes les 2 sections */
.section:nth-child(even of .section) {
  background: var(--paper-2);
  border-block: 1px solid var(--line);
}

/* Compactage routes compagnies */
.comp-route-group {
  padding: 10px 0;
}
.comp-route-lines {
  margin-top: 4px;
}
.comp-route-title {
  margin-bottom: 2px;
}
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 24px; }
.section-head h2 { font-size: clamp(28px, 4vw, 42px); }
.section-head .sub { color: var(--ink-soft); font-size: 16px; margin-top: 12px; }
@media (max-width: 720px) { .section-head { flex-direction: column; align-items: flex-start; } }

/* ============================================================
   FLIGHT BOARD (horaires)
   ============================================================ */
.board { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.board-top { display: flex; align-items: center; gap: 18px; padding: 18px 22px; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.board-tabs { display: inline-flex; background: var(--paper-2); border-radius: 12px; padding: 4px; gap: 4px; }
.board-tabs button {
  font-family: var(--font-body); font-weight: 600; font-size: 14.5px;
  padding: 9px 18px; border-radius: 9px; border: none; background: transparent; color: var(--ink-soft); cursor: pointer;
  display: inline-flex; align-items: center; gap: 8px; transition: all .15s;
}
.board-tabs button svg { width: 15px; height: 15px; }
.board-tabs button[aria-selected="true"] { background: var(--card); color: var(--ink); box-shadow: var(--shadow-sm); }
.board-search { margin-left: auto; display: flex; align-items: center; gap: 8px; background: var(--paper-2); border: 1px solid var(--line); border-radius: 11px; padding: 9px 13px; color: var(--ink-faint); font-size: 14px; }
.board-search svg { width: 15px; height: 15px; }
.board-search input { border: none; background: transparent; outline: none; font: inherit; color: var(--ink); width: 140px; }

.flight-row {
  display: grid; grid-template-columns: 78px 1.4fr 1fr 96px 130px; align-items: center; gap: 14px;
  padding: 15px 22px; border-bottom: 1px solid var(--line); font-size: 15px;
}
.flight-row:last-child { border-bottom: none; }
.flight-row:hover { background: var(--paper-2); }
.flight-row .time { font-family: var(--font-mono); font-weight: 500; font-size: 17px; letter-spacing: -0.02em; }
.flight-row .city { font-weight: 600; }
.flight-row .city span { display: block; font-weight: 400; font-size: 13px; color: var(--ink-faint); }
.flight-row .airline { display: flex; align-items: center; gap: 10px; color: var(--ink-soft); font-size: 14px; }
.flight-row .al-logo { width: 30px; height: 30px; border-radius: 8px; background: var(--paper-2); border: 1px solid var(--line); display: grid; place-items: center; font-family: var(--font-mono); font-size: 11px; font-weight: 600; color: var(--ink-soft); flex: none; }
.flight-row .gate { font-family: var(--font-mono); font-size: 15px; color: var(--ink-soft); }
.status { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 600; padding: 5px 11px; border-radius: 999px; justify-self: start; }
.status.on   { background: oklch(0.62 0.13 155 / 0.13); color: oklch(0.42 0.12 155); }
.status.delay{ background: oklch(0.72 0.15 75 / 0.16); color: oklch(0.5 0.13 60); }
.status.board{ background: var(--primary-tint); color: var(--primary-deep); }
.status .d { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.board-foot { padding: 15px 22px; display: flex; align-items: center; justify-content: space-between; color: var(--ink-faint); font-size: 13.5px; }
@media (max-width: 760px) {
  .flight-row { grid-template-columns: 64px 1fr auto; }
  .flight-row .airline, .flight-row .gate { display: none; }
}

/* ============================================================
   AIRLINES GRID
   ============================================================ */
.airlines { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 14px; }
.airline-card {
  display: flex; align-items: center; gap: 13px; padding: 15px 16px;
  background: var(--card); border: 1px solid var(--line); border-radius: 14px;
  transition: transform .14s, box-shadow .2s, border-color .2s;
}
.airline-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); border-color: var(--line-strong); }
.airline-card .logo { width: 44px; height: 44px; border-radius: 11px; flex: none; display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; font-size: 16px; color: var(--on-primary); }
.airline-card .meta b { display: block; font-weight: 600; font-size: 15px; }
.airline-card .meta span { font-size: 12.5px; color: var(--ink-faint); font-family: var(--font-mono); }

/* ============================================================
   PARKING
   ============================================================ */
.parking { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 16px; }
.park {
  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;
}
.park:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.park.featured { border: 1.5px solid var(--accent); }
.park .ph { height: 130px; }
.park-body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 11px; flex: 1; }
.park .row { display: flex; align-items: center; justify-content: space-between; }
.park h3 { font-size: 19px; }
.park .dist { font-family: var(--font-mono); font-size: 12.5px; color: var(--ink-faint); }
.park .feats { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 2px; }
.park .feats span { font-size: 12.5px; color: var(--ink-soft); background: var(--paper-2); padding: 4px 10px; border-radius: 999px; }
.park .price { margin-top: auto; display: flex; align-items: baseline; gap: 6px; padding-top: 8px; }
.park .price b { font-family: var(--font-display); font-size: 26px; font-weight: 700; }
.park .price small { color: var(--ink-faint); font-size: 13px; }

/* ============================================================
   PROSE (texte éditorial)
   ============================================================ */
.prose { max-width: 68ch; }
.prose h2 { font-size: clamp(24px, 3vw, 32px); margin: 1.6em 0 0.5em; }
.prose h2:first-child { margin-top: 0; }
.prose p { color: var(--ink-soft); font-size: 17px; margin-bottom: 1.05em; }
.prose ul { color: var(--ink-soft); padding-left: 0; list-style: none; display: flex; flex-direction: column; gap: 9px; margin: 1em 0 1.4em; }
.prose ul li { position: relative; padding-left: 26px; }
.prose ul li::before { content: ""; position: absolute; left: 4px; top: 10px; width: 7px; height: 7px; border-radius: 2px; background: var(--accent); rotate: 45deg; }
.prose strong { color: var(--ink); font-weight: 600; }

/* — Stat strip — */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.stats .s { background: var(--card); padding: 22px 20px; }
.stats .s b { font-family: var(--font-display); font-size: clamp(26px, 3.4vw, 38px); font-weight: 700; letter-spacing: -0.03em; display: block; color: var(--primary-deep); }
.stats .s span { font-size: 13.5px; color: var(--ink-soft); }
@media (max-width: 720px) { .stats { grid-template-columns: repeat(2, 1fr); } }

/* — Info list (adresse, gps, tel) — */
.info-list { display: flex; flex-direction: column; gap: 2px; }
.info-list .it { display: flex; align-items: flex-start; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.info-list .it:last-child { border-bottom: none; }
.info-list .it .ic { width: 38px; height: 38px; border-radius: 11px; background: var(--paper-2); display: grid; place-items: center; color: var(--primary); flex: none; }
.info-list .it .ic svg { width: 18px; height: 18px; }
.info-list .it .k { font-size: 12.5px; color: var(--ink-faint); font-family: var(--font-mono); letter-spacing: 0.04em; text-transform: uppercase; }
.info-list .it .v { font-weight: 600; font-size: 16px; margin-top: 2px; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--primary-deep); color: oklch(0.9 0.02 255); margin-top: 40px; }
.footer .wrap-wide { padding-block: 56px 30px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 40px; }
@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; } }
.footer h4 { color: oklch(0.96 0.01 95); font-size: 14px; text-transform: uppercase; letter-spacing: 0.08em; font-family: var(--font-mono); font-weight: 500; margin-bottom: 16px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.footer ul a { color: oklch(0.82 0.025 255); font-size: 14.5px; }
.footer ul a:hover { color: oklch(0.98 0.01 95); }
.footer .brand { color: oklch(0.97 0.01 95); margin-bottom: 14px; }
.footer .brand .mark { background: var(--accent); color: oklch(0.2 0.04 40); }
.footer .blurb { color: oklch(0.78 0.025 255); font-size: 14.5px; max-width: 34ch; }
.footer-bottom { border-top: 1px solid oklch(0.5 0.04 255 / 0.4); margin-top: 40px; padding-top: 22px; display: flex; justify-content: space-between; color: oklch(0.72 0.03 255); font-size: 13px; flex-wrap: wrap; gap: 12px; }

/* ============================================================
   BREADCRUMB
   ============================================================ */
.crumb { display: flex; align-items: center; gap: 9px; font-size: 13.5px; color: var(--ink-faint); padding: 18px 0; flex-wrap: wrap; }
.crumb a:hover { color: var(--accent-deep); }
.crumb .sep { opacity: 0.5; }
.crumb .here { color: var(--ink); font-weight: 600; }

/* ============================================================
   UTILITIES
   ============================================================ */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.grid-2 { display: grid; grid-template-columns: 1.3fr 0.7fr; gap: 40px; align-items: start; }
@media (max-width: 900px) { .grid-2 { grid-template-columns: 1fr; gap: 28px; } }

/* ============================================================
   HERO — structure commune aux deux pages
   (l'arrangement réel est piloté par :root[data-layout])
   ============================================================ */
.hero { position: relative; overflow: hidden; }
.hero-media { position: absolute; inset: 0; z-index: 0; }
.hero-media .ph { position: absolute; inset: 0; }
.hero-inner { position: relative; z-index: 2; }
.hero-figure { position: relative; display: none; overflow: hidden; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.hero-figure .ph { position: absolute; inset: 0; }

/* bandeau de stats / facts sous le titre */
.hero-meta { display: flex; flex-wrap: wrap; gap: 26px 30px; margin-top: 34px; }
.hero-meta .m { display: flex; flex-direction: column; gap: 3px; }
.hero-meta .m b { font-family: var(--font-display); font-size: 24px; font-weight: 700; }
.hero-meta .m span { font-size: 13px; font-family: var(--font-mono); letter-spacing: 0.03em; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-btn2 { } /* couleurs gérées par layout */

/* — Voile photo (visible uniquement en Immersif) — */
:root[data-veil="sombre"] .hero-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg,
    oklch(0.18 0.03 255 / 0.30) 0%, oklch(0.18 0.03 255 / 0.10) 30%,
    oklch(0.18 0.03 255 / 0.62) 78%, oklch(0.16 0.03 255 / 0.82) 100%);
}
.dhero :is(.hero-media)::after,
:root[data-veil="sombre"] .dhero .hero-media::after {
  background: linear-gradient(180deg,
    oklch(0.18 0.04 40 / 0.28) 0%, oklch(0.18 0.04 40 / 0.05) 32%,
    oklch(0.16 0.04 40 / 0.66) 80%, oklch(0.14 0.04 40 / 0.84) 100%);
}
:root[data-veil="teinte"] .hero-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg,
    oklch(from var(--primary-deep) l c h / 0.34) 0%, oklch(from var(--primary-deep) l c h / 0.12) 30%,
    oklch(from var(--primary-deep) l c h / 0.72) 76%, oklch(from var(--primary-deep) calc(l - 0.04) c h / 0.90) 100%);
}
:root[data-veil="teinte"] .dhero .hero-media::after {
  background: linear-gradient(180deg,
    oklch(from var(--accent-deep) l c h / 0.30) 0%, oklch(from var(--primary-deep) l c h / 0.10) 32%,
    oklch(from var(--primary-deep) l c h / 0.74) 78%, oklch(from var(--primary-deep) calc(l - 0.04) c h / 0.92) 100%);
}

/* ============================================================
   MISE EN PAGE « IMMERSIF » — grande photo plein cadre
   ============================================================ */
:root[data-layout="immersif"] .hero-media { display: block; }
:root[data-layout="immersif"] .hero.dhero { min-height: 76vh; display: flex; align-items: flex-end; }
:root[data-layout="immersif"] .hero-inner { padding-block: clamp(40px, 7vw, 72px) clamp(150px, 16vw, 190px); color: oklch(0.98 0.01 95); width: 100%; }
:root[data-layout="immersif"] .hero.dhero .hero-inner { padding-block: 50px 48px; }
:root[data-layout="immersif"] .hero h1 { color: #fff; }
:root[data-layout="immersif"] .hero .lede,
:root[data-layout="immersif"] .hero .sub-place { color: oklch(0.93 0.02 255); }
:root[data-layout="immersif"] .hero .crumb { color: oklch(0.87 0.02 255 / 0.85); }
:root[data-layout="immersif"] .hero .crumb a:hover,
:root[data-layout="immersif"] .hero .crumb .here { color: #fff; }
:root[data-layout="immersif"] .hero-meta .m b { color: #fff; }
:root[data-layout="immersif"] .hero-meta .m span { color: oklch(0.86 0.02 255 / 0.9); }
:root[data-layout="immersif"] .hero-btn2 { background: oklch(1 0 0 / 0.12); color: #fff; border-color: oklch(1 0 0 / 0.25); }
:root[data-layout="immersif"] .hero-figure { display: none; }

/* ============================================================
   MISE EN PAGE « MAGAZINE » — éditorial 2 colonnes, vignette photo
   ============================================================ */
:root[data-layout="magazine"] .hero { background: var(--paper); border-bottom: 1px solid var(--line); }
:root[data-layout="magazine"] .hero-media { display: none; }
:root[data-layout="magazine"] .hero-inner {
  display: grid; grid-template-columns: 1.04fr 0.96fr; gap: clamp(28px, 4vw, 56px);
  align-items: stretch; padding-block: clamp(40px, 5vw, 76px); color: var(--ink);
}
:root[data-layout="magazine"] .hero-main { align-self: center; }
:root[data-layout="magazine"] .hero h1 { color: var(--ink); font-size: clamp(40px, 5.6vw, 70px); }
:root[data-layout="magazine"] .hero .lede,
:root[data-layout="magazine"] .hero .sub-place { color: var(--ink-soft); }
:root[data-layout="magazine"] .hero .crumb { color: var(--ink-faint); }
:root[data-layout="magazine"] .hero .crumb a:hover,
:root[data-layout="magazine"] .hero .crumb .here { color: var(--ink); }
:root[data-layout="magazine"] .hero-code,
:root[data-layout="magazine"] .dhero .flag {
  background: var(--primary-tint); border-color: transparent; color: var(--primary-deep); backdrop-filter: none;
}
:root[data-layout="magazine"] .hero-meta .m b { color: var(--primary-deep); }
:root[data-layout="magazine"] .hero-meta .m span { color: var(--ink-faint); }
:root[data-layout="magazine"] .hero-btn2 { background: var(--card); color: var(--ink); border-color: var(--line-strong); }
:root[data-layout="magazine"] .dhero .dfact {
  background: var(--card); border-color: var(--line); backdrop-filter: none;
}
:root[data-layout="magazine"] .dhero .dfact .k { color: var(--ink-faint); }
:root[data-layout="magazine"] .dhero .dfact .v { color: var(--ink); }
:root[data-layout="magazine"] .hero-figure { display: block; min-height: 440px; }
:root[data-layout="magazine"] .hero.dhero { min-height: 0; display: block; }

/* ============================================================
   MISE EN PAGE « COMPACT » — bandeau couleur resserré + image carrée
   ============================================================ */
:root[data-layout="compact"] .hero { background: linear-gradient(120deg, var(--primary) 0%, var(--primary-deep) 100%); }
:root[data-layout="compact"] .hero-media { display: none; }
:root[data-layout="compact"] .hero-inner {
  display: flex; align-items: center; gap: clamp(20px, 3vw, 36px);
  padding-block: clamp(26px, 4vw, 46px); color: oklch(0.98 0.01 95); flex-wrap: wrap;
}
:root[data-layout="compact"] .hero-main { flex: 1; min-width: 280px; }
:root[data-layout="compact"] .hero h1 { color: #fff; font-size: clamp(30px, 4.6vw, 50px); }
:root[data-layout="compact"] .hero .lede,
:root[data-layout="compact"] .hero .sub-place { color: oklch(0.93 0.02 255); font-size: 17px; max-width: 60ch; }
:root[data-layout="compact"] .hero .crumb { color: oklch(0.9 0.02 255 / 0.8); }
:root[data-layout="compact"] .hero .crumb a:hover,
:root[data-layout="compact"] .hero .crumb .here { color: #fff; }
:root[data-layout="compact"] .hero-meta { gap: 22px; margin-top: 22px; }
:root[data-layout="compact"] .hero-meta .m b { color: #fff; font-size: 21px; }
:root[data-layout="compact"] .hero-meta .m span { color: oklch(0.88 0.02 255 / 0.9); }
:root[data-layout="compact"] .hero-btn2 { background: oklch(1 0 0 / 0.14); color: #fff; border-color: oklch(1 0 0 / 0.28); }
:root[data-layout="compact"] .hero-figure { display: block; width: clamp(160px, 22vw, 230px); aspect-ratio: 1; flex: none; order: -1; }
:root[data-layout="compact"] .hero.dhero { min-height: 0; display: block; }
:root[data-layout="compact"] .dhero .dfact { background: oklch(1 0 0 / 0.12); border-color: oklch(1 0 0 / 0.22); }

/* — Barre d'accès rapide : ne « flotte » qu'en Immersif — */
:root[data-layout="immersif"] .quickbar-wrap { margin-top: clamp(-120px, -12vw, -96px); }
:root[data-layout="magazine"] .quickbar-wrap,
:root[data-layout="compact"] .quickbar-wrap { margin-top: clamp(20px, 3vw, 30px); }

@media (max-width: 900px) {
  :root[data-layout="magazine"] .hero-inner { grid-template-columns: 1fr; }
  :root[data-layout="magazine"] .hero-figure { min-height: 280px; order: -1; }
}

/* ============================================================
   VARIANTES TYPO — pilotées par le panneau Tweaks
   ============================================================ */
:root[data-type="editorial"] h1,
:root[data-type="editorial"] h2,
:root[data-type="editorial"] h3,
:root[data-type="editorial"] h4 { letter-spacing: -0.01em; font-weight: 500; }
:root[data-type="editorial"] .hero h1 { font-weight: 500; letter-spacing: -0.015em; }
:root[data-type="editorial"] .stats .s b,
:root[data-type="editorial"] .park .price b,
:root[data-type="editorial"] .dfact .v,
:root[data-type="editorial"] .season-card .big { font-weight: 600; }
:root[data-type="geometric"] h1,
:root[data-type="geometric"] h2 { letter-spacing: -0.03em; }

/* ============================================================
   SOUS-PAGES AÉROPORT — en-tête compact + sous-nav
   (Horaires, Parking, Transport, Terminal, Hôtels)
   ============================================================ */
.subhead { background: linear-gradient(120deg, var(--primary) 0%, var(--primary-deep) 100%); color: oklch(0.98 0.01 95); position: relative; overflow: hidden; }
.subhead::after { content: ""; position: absolute; inset: 0; background: radial-gradient(120% 120% at 88% -10%, oklch(from var(--accent) l c h / 0.35), transparent 55%); mix-blend-mode: screen; pointer-events: none; }
.subhead .wrap-wide { position: relative; z-index: 1; padding-block: clamp(24px, 4vw, 40px) clamp(26px, 4vw, 42px); }
.subhead .crumb { color: oklch(0.9 0.02 255 / 0.82); padding-top: 0; }
.subhead .crumb a:hover, .subhead .crumb .here { color: #fff; }
.subhead-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-top: 6px; }
.subhead .code { font-family: var(--font-mono); font-size: 13px; letter-spacing: 0.08em; color: oklch(0.92 0.03 60); display: inline-flex; gap: 10px; align-items: center; background: oklch(1 0 0 / 0.12); border: 1px solid oklch(1 0 0 / 0.2); padding: 6px 13px; border-radius: 999px; margin-bottom: 14px; }
.subhead h1 { color: #fff; font-size: clamp(30px, 4.4vw, 50px); }
.subhead .place { color: oklch(0.9 0.02 255); font-size: 15.5px; margin-top: 8px; }
.subhead .h-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.subhead .stat-inline { display: flex; gap: 26px; flex-wrap: wrap; margin-top: 22px; }
.subhead .stat-inline .m { display: flex; flex-direction: column; gap: 2px; }
.subhead .stat-inline .m b { font-family: var(--font-display); font-size: 21px; font-weight: 700; color: #fff; }
.subhead .stat-inline .m span { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.04em; color: oklch(0.86 0.02 255 / 0.9); }
.subhead .btn-ghost { background: oklch(1 0 0 / 0.12); color: #fff; border-color: oklch(1 0 0 / 0.26); }
.subhead .btn-ghost:hover { background: oklch(1 0 0 / 0.2); }

.subnav { position: sticky; top: 70px; z-index: 40; background: oklch(from var(--paper) l c h / 0.9); backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid var(--line); }
.subnav .wrap-wide { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.subnav .wrap-wide::-webkit-scrollbar { display: none; }
.subnav a { padding: 15px 16px; font-size: 14.5px; font-weight: 500; color: var(--ink-soft); white-space: nowrap; border-bottom: 2px solid transparent; transition: color .15s, border-color .15s; }
.subnav a:hover { color: var(--ink); }
.subnav a.active { color: var(--accent-deep); border-bottom-color: var(--accent); font-weight: 600; }

/* ============================================================
   ÉDITORIAL — guides, pages pratiques, articles
   ============================================================ */
.article-hero { padding-block: clamp(34px, 5vw, 60px) clamp(20px, 3vw, 34px); }
.article-hero .kicker { margin-bottom: 18px; }
.article-hero h1 { font-size: clamp(34px, 5.2vw, 62px); max-width: 20ch; }
.article-hero .lead { font-size: clamp(18px, 2.2vw, 23px); color: var(--ink-soft); max-width: 60ch; margin-top: 20px; line-height: 1.45; }
.byline { display: flex; align-items: center; gap: 14px; margin-top: 26px; flex-wrap: wrap; color: var(--ink-faint); font-size: 14px; }
.byline .av { width: 40px; height: 40px; border-radius: 50%; background: var(--primary-tint); color: var(--primary-deep); display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; font-size: 15px; flex: none; }
.byline b { color: var(--ink); font-weight: 600; }
.byline .dot-sep { width: 4px; height: 4px; border-radius: 50%; background: var(--line-strong); }

.article-wrap { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
@media (max-width: 880px) { .article-wrap { grid-template-columns: 1fr; } }
.toc { position: sticky; top: 96px; }
@media (max-width: 880px) { .toc { position: static; } }
.toc .t { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-faint); margin-bottom: 14px; }
.toc ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 2px; border-left: 2px solid var(--line); }
.toc a { display: block; padding: 7px 14px; font-size: 14px; color: var(--ink-soft); border-left: 2px solid transparent; margin-left: -2px; }
.toc a:hover { color: var(--ink); }
.toc a.active { color: var(--accent-deep); border-left-color: var(--accent); font-weight: 600; }

.callout { background: var(--primary-tint); border-radius: var(--radius); padding: 20px 22px; display: flex; gap: 14px; align-items: flex-start; margin: 1.6em 0; }
.callout .ic { width: 38px; height: 38px; border-radius: 11px; background: var(--card); color: var(--primary-deep); display: grid; place-items: center; flex: none; }
.callout .ic svg { width: 19px; height: 19px; }
.callout b { display: block; margin-bottom: 3px; }
.callout p { margin: 0; color: var(--ink-soft); font-size: 14.5px; }
.callout.warn { background: oklch(0.72 0.15 75 / 0.14); }
.callout.warn .ic { color: oklch(0.5 0.13 60); }

.figure { border-radius: var(--radius); overflow: hidden; margin: 1.8em 0; box-shadow: var(--shadow-sm); }
.figure .ph { height: clamp(220px, 34vw, 360px); }
.figure figcaption { font-size: 13px; color: var(--ink-faint); padding: 12px 4px 0; }

.checklist { list-style: none; padding: 0; margin: 1.4em 0; display: flex; flex-direction: column; gap: 10px; }
.checklist li { display: flex; gap: 13px; align-items: flex-start; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 14px 16px; }
.checklist li .ck { width: 24px; height: 24px; border-radius: 7px; background: oklch(0.62 0.13 155 / 0.14); color: oklch(0.42 0.12 155); display: grid; place-items: center; flex: none; margin-top: 1px; }
.checklist li .ck svg { width: 14px; height: 14px; }
.checklist li b { font-weight: 600; }
.checklist li p { margin: 2px 0 0; font-size: 14px; color: var(--ink-soft); }

.steps { counter-reset: step; list-style: none; padding: 0; margin: 1.4em 0; display: flex; flex-direction: column; gap: 14px; }
.steps li { counter-increment: step; display: flex; gap: 16px; align-items: flex-start; }
.steps li::before { content: counter(step); width: 34px; height: 34px; border-radius: 10px; background: var(--primary); color: var(--on-primary); font-family: var(--font-display); font-weight: 700; display: grid; place-items: center; flex: none; }
.steps li b { font-weight: 600; }
.steps li p { margin: 3px 0 0; color: var(--ink-soft); font-size: 14.5px; }

/* ============================================================
   FICHE TECHNIQUE (avion) — tableau de specs
   ============================================================ */
.spec-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
@media (max-width: 600px) { .spec-grid { grid-template-columns: 1fr; } }
.spec-grid .sp { background: var(--card); padding: 18px 20px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.spec-grid .sp .k { color: var(--ink-soft); font-size: 14.5px; }
.spec-grid .sp .v { font-family: var(--font-display); font-weight: 700; font-size: 18px; }
.spec-grid .sp .v small { font-family: var(--font-body); font-weight: 400; font-size: 12.5px; color: var(--ink-faint); }

/* étoiles (hôtels) */
.stars { display: inline-flex; gap: 2px; color: var(--accent); }
.stars svg { width: 14px; height: 14px; }

/* grille de cartes liées (cross-links) */
.related { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
@media (max-width: 820px) { .related { grid-template-columns: 1fr; } }

/* === NAV DROPDOWN === */
.nav-dropdown { position: relative; }
.nav-dropdown-toggle {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 9px 14px; border-radius: 10px;
  font-size: 15px; font-weight: 500;
  color: var(--ink-soft, oklch(0.5 0.02 255));
  cursor: pointer; transition: all .15s;
  white-space: nowrap;
}
.nav-dropdown-toggle:hover,
.nav-dropdown-toggle.active,
.nav-dropdown-open > .nav-dropdown-toggle { color: var(--ink, #1a1a2e); background: oklch(0.96 0.01 255); }
.nav-dropdown-toggle svg { transition: transform .2s; }
.nav-dropdown:hover .nav-dropdown-toggle svg,
.nav-dropdown-open > .nav-dropdown-toggle svg { transform: rotate(180deg); }

.nav-dropdown-menu {
  position: absolute; top: 100%; left: 0;
  min-width: 200px; background: #fff;
  border: 1px solid var(--line, oklch(0.9 0.01 255));
  border-radius: 10px; box-shadow: 0 8px 30px oklch(0 0 0 / 0.12);
  padding: 6px; opacity: 0; visibility: hidden;
  transform: translateY(0); transition: all .2s;
  z-index: 100;
}
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown-open .nav-dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-dropdown-menu a {
  display: block; padding: 10px 14px;
  border-radius: 6px; font-size: 14px; font-weight: 500;
  color: var(--ink, #1a1a2e); text-decoration: none;
  transition: background .12s;
}
.nav-dropdown-menu a:hover,
.nav-dropdown-menu a.active { background: oklch(0.96 0.01 255); color: var(--primary, #1a237e); }

/* Fix dropdown hover gap */
.nav-dropdown::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  height: 12px;
  z-index: 99;
}

/* Logo LAéroport — limite la taille header/footer */
.brand-logo { height: 36px; width: auto; max-width: 220px; object-fit: contain; display: block; }
.footer .brand-logo { height: 34px; max-width: 210px; }
@media (max-width: 640px) { .brand-logo { height: 31px; max-width: 190px; } }

/* Logo footer sur fond sombre */
.footer .brand:has(.brand-logo) { background: #fff; padding: 8px 12px; border-radius: 14px; width: fit-content; box-shadow: 0 10px 24px rgba(0,0,0,.12); }
.footer .brand:has(.brand-logo) .brand-logo { height: 36px; max-width: 225px; }

/* Logo footer dédié fourni par le client */
.footer .footer-brand { background: transparent !important; padding: 0 !important; border-radius: 0 !important; box-shadow: none !important; width: fit-content; }
.footer .footer-logo { height: 58px !important; width: auto !important; max-width: 290px !important; object-fit: contain; display: block; }
@media (max-width: 640px) { .footer .footer-logo { height: 46px !important; max-width: 235px !important; } }


.prose h2 + h2,
.prose h2 + h3 {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}


@media (max-width: 768px) {
  .section {
    padding-block: clamp(28px, 6vw, 44px);
  }
  .section-head {
    margin-bottom: 18px;
  }
  .comp-route-group {
    padding: 8px 0;
  }
}


/* === Layout 2 colonnes pour contenu editorial === */
.prose-two-col {
  column-count: 2;
  column-gap: clamp(32px, 5vw, 56px);
  column-rule: 1px solid var(--line);
}
.prose-two-col > *:first-child {
  margin-top: 0;
}
.prose-two-col h2 {
  break-after: avoid;
  margin-top: 24px;
}
.prose-two-col p,
.prose-two-col ul,
.prose-two-col ol {
  break-inside: avoid;
}

/* === Barre de navigation rapide === */
.quick-nav {
  position: sticky;
  top: 0;
  z-index: 80;
}
.quick-nav a:hover {
  text-decoration: underline;
}

@media (max-width: 768px) {
  .prose-two-col {
    column-count: 1;
  }
  .quick-nav {
    font-size: 12px;
    padding: 10px 0;
  }
  .quick-nav .wrap-wide {
    gap: 12px;
  }
}
