/*
 * Thème Twin Jet — repris de la maquette « Boutique » validée (docs/design/maquettes/accueil-boutique.html).
 * Toutes les couleurs, polices, arrondis et ombres sont des variables : les modifier ici change tout le site.
 * Accessibilité (ACCESSIBILITE.md) : contrastes AA, focus visible, prefers-reduced-motion respecté.
 */
:root {
  /* Bleu nuit, blanc, gris clair + couleurs du logo Twin Jet */
  --night: #0b1733;        /* bleu nuit : fonds sombres, boutons principaux */
  --night-2: #14244a;
  --ink: #0a0a0a;          /* noir du logo */
  --brand: #1a3a8a;        /* bleu roi du logo : liens, accents */
  --sky: #74bfe6;          /* bleu ciel du logo : accents sur fond sombre */
  --silver: #606870;       /* gris argent du logo */
  --promo: #d81f2e;        /* prix et promotions (assombri pour le contraste AA sur blanc) */
  /* Teintes du parcours de réservation Amadeus, pour une transition sans rupture */
  --sand: #e0ca9a;
  --sand-soft: #f7f1e3;
  --bronze: #a87a40;
  --bronze-ink: #7d5a2c;   /* bronze foncé : textes sur fond clair (contraste AA) */
  --cta: #e8000d;          /* rouge des boutons qui partent chez Amadeus */
  --bg: #ffffff;
  --mist: #f6f4ef;
  --line: rgba(11, 23, 51, .12);
  --text: #0b1733;
  --muted: #5b6475;
  --radius: 10px;
  --radius-lg: 18px;
  --shadow: 0 24px 60px rgba(11, 23, 51, .12);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --serif: 'Fraunces', Georgia, serif;
  --sans: 'Manrope', system-ui, sans-serif;

  /* Bootstrap suit le thème */
  --bs-body-font-family: var(--sans);
  --bs-body-color: var(--text);
  --bs-link-color-rgb: 26, 58, 138;
  --bs-focus-ring-color: rgba(26, 58, 138, .35);
}

/* ===== Base ===== */
* { -webkit-font-smoothing: antialiased; }
body { font-family: var(--sans); color: var(--text); background: var(--bg); overflow-x: hidden; }
a { color: inherit; }
.serif { font-family: var(--serif); font-optical-sizing: auto; }
.eyebrow { display: inline-flex; align-items: center; gap: .7rem; font-size: .74rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--bronze-ink); }
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.h-display { font-family: var(--serif); font-weight: 400; letter-spacing: -.015em; line-height: 1.05; }
.h-display em { font-style: italic; color: var(--bronze-ink); }
.section { padding: 7rem 0; position: relative; }
.muted { color: var(--muted); }
.btn-night { background: var(--night); color: #fff; border: 0; font-weight: 700; border-radius: var(--radius); padding: .9rem 1.6rem; transition: background .2s, transform .2s var(--ease); }
.btn-night:hover { background: var(--brand); color: #fff; transform: translateY(-1px); }
.btn-line { border: 1px solid var(--line); color: var(--text); background: #fff; font-weight: 700; border-radius: var(--radius); padding: .8rem 1.4rem; }
.btn-line:hover { border-color: var(--night); background: var(--night); color: #fff; }
.link-arrow { font-weight: 700; text-decoration: none; color: var(--bronze-ink); display: inline-flex; align-items: center; gap: .4rem; }
.link-arrow svg { transition: transform .2s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ===== Accessibilité : lien d'évitement et focus visible ===== */
.skip-link { position: absolute; left: 1rem; top: -100px; z-index: 100; background: var(--night); color: #fff; padding: .7rem 1.1rem; border-radius: var(--radius); font-weight: 700; text-decoration: none; }
.skip-link:focus { top: 1rem; color: #fff; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; }
.site-footer :focus-visible, .mega-aside:focus-visible { outline-color: var(--sand); }
main:focus { outline: none; }

/* ===== Bandeau d'alerte (administrable, lot 1b) ===== */
.site-alert { font-size: .86rem; padding: .55rem 0; border-bottom: 1px solid var(--line); }
.site-alert p { line-height: 1.4; }
.site-alert a { font-weight: 700; text-decoration: underline; color: inherit; }
/* Palette fermée : contraste AA garanti, aucune couleur inline (CSP) */
.site-alert--info { background: #e8eef9; color: #0b1733; }
.site-alert--info svg { color: var(--brand); }
.site-alert--warning { background: var(--sand-soft); color: #4a3517; }
.site-alert--warning svg { color: var(--bronze-ink); }
.site-alert--danger { background: #b3121f; color: #fff; border-bottom-color: #b3121f; }
.site-alert--success { background: #e6f4ea; color: #0f3d1f; }
.site-alert--success svg { color: #1e7a3c; }

/* ===== En-tête ===== */
.site-header { position: sticky; top: 0; z-index: 30; background: rgba(255, 255, 255, .97); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); transition: box-shadow .3s; }
.site-header.scrolled { box-shadow: 0 10px 30px rgba(11, 23, 51, .08); }
.logo img { height: 46px; width: auto; transition: height .3s; }
.site-header.scrolled .logo img { height: 38px; }
.logo-neg img { filter: brightness(0) invert(1); height: 44px; width: auto; }
.nav-main .nav-link { color: var(--ink); font-weight: 600; font-size: .92rem; padding: 1.4rem .85rem !important; position: relative; white-space: nowrap; background: none; border: 0; }
.nav-main .nav-link::after { content: ""; position: absolute; left: .85rem; right: .85rem; bottom: 0; height: 2px; background: var(--brand); transform: scaleX(0); transition: transform .25s var(--ease); }
.nav-main .nav-link:hover::after { transform: scaleX(1); }
.nav-main .nav-link.promo { color: var(--promo); }
.header-tools { font-size: .86rem; font-weight: 600; }
.header-tools a { text-decoration: none; color: var(--text); }
.header-tools a:hover { color: var(--brand); }
@media (max-width: 1199.98px) {
  .nav-main .nav-link { padding: .6rem 0 !important; width: 100%; text-align: left; }
  .nav-main .nav-link::after { display: none; }
  .site-header .navbar-collapse { padding-bottom: 1rem; }
}
@media (min-width: 1200px) and (max-width: 1399.98px) {
  .nav-main .nav-link { padding-left: .55rem !important; padding-right: .55rem !important; font-size: .87rem; }
  .nav-main .nav-link::after { left: .55rem; right: .55rem; }
  .header-tools .tool-label { display: none; }
}

/* ===== Méga menu : survol, clavier, toucher ; accordéon sous 1200 px ===== */
.nav-main .caret { font-size: .62rem; margin-left: .35rem; transition: transform .25s var(--ease); vertical-align: 1px; }
.has-mega.open > .nav-link .caret { transform: rotate(180deg); }
.has-mega.open > .nav-link::after { transform: scaleX(1); }
.mega { position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-top: 1px solid var(--line); box-shadow: 0 24px 40px -18px rgba(11, 23, 51, .28); opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .2s, transform .25s var(--ease), visibility 0s .25s; }
.has-mega.open > .mega { opacity: 1; visibility: visible; transform: none; transition: opacity .2s, transform .25s var(--ease), visibility 0s; }
.mega-inner { display: grid; grid-template-columns: 200px 1fr 290px; gap: 2.5rem; padding: 2rem 0 2.2rem; }
.mega-inner.no-aside { grid-template-columns: 200px 1fr; }
.no-aside .mega-links { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.mega-head { border-right: 1px solid var(--line); padding-right: 1.5rem; }
.mega-title { display: block; font-family: var(--serif); font-size: 1.5rem; color: var(--night); line-height: 1.15; }
.mega-head small { display: block; margin-top: .5rem; color: var(--muted); font-size: .8rem; }
.mega-links { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .35rem 1.5rem; align-content: start; }
.mega-links li { opacity: 0; transform: translateY(6px); transition: opacity .25s, transform .3s var(--ease); }
.has-mega.open .mega-links li { opacity: 1; transform: none; }
.has-mega.open .mega-links li:nth-child(2) { transition-delay: .04s; }
.has-mega.open .mega-links li:nth-child(3) { transition-delay: .08s; }
.has-mega.open .mega-links li:nth-child(4) { transition-delay: .12s; }
.has-mega.open .mega-links li:nth-child(5) { transition-delay: .16s; }
.has-mega.open .mega-links li:nth-child(6) { transition-delay: .2s; }
.mega-links a { display: flex; align-items: center; gap: .8rem; padding: .7rem .85rem; border-radius: 12px; color: var(--ink); font-weight: 600; font-size: .95rem; text-decoration: none; transition: background .2s, color .2s; }
.mega-ico { flex: none; width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: var(--sand-soft); color: var(--bronze-ink); font-size: 1.05rem; transition: background .2s, color .2s; }
.mega-links a .go { margin-left: auto; color: var(--brand); opacity: 0; transform: translateX(-6px); transition: opacity .2s, transform .2s; }
.mega-links a:hover, .mega-links a:focus-visible { background: var(--mist); color: var(--night); }
.mega-links a:hover .mega-ico, .mega-links a:focus-visible .mega-ico { background: var(--night); color: var(--sand); }
.mega-links a:hover .go, .mega-links a:focus-visible .go { opacity: 1; transform: none; }
.mega-aside { display: flex; flex-direction: column; gap: .35rem; padding: 1.4rem; border-radius: var(--radius-lg); background: var(--night); color: #fff; text-decoration: none; transition: transform .3s var(--ease); }
.mega-aside:hover { transform: translateY(-3px); color: #fff; }
.mega-aside-ico { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .1); color: var(--sand); font-size: 1.2rem; margin-bottom: .4rem; }
.mega-aside strong { font-family: var(--serif); font-weight: 400; font-size: 1.3rem; }
.mega-aside span { font-size: .86rem; color: rgba(255, 255, 255, .78); }
.mega-aside .link-arrow { margin-top: auto; padding-top: .6rem; color: var(--sand); }
@media (max-width: 1199.98px) {
  .mega { position: static; display: none; box-shadow: none; border: 0; opacity: 1; visibility: visible; transform: none; transition: none; }
  .has-mega.open > .mega { display: block; }
  .mega .container { padding: 0; }
  .mega-inner, .mega-inner.no-aside { grid-template-columns: 1fr; gap: 1rem; padding: .25rem 0 1rem; }
  .mega-head { display: none; }
  .mega-links, .no-aside .mega-links { grid-template-columns: 1fr; }
  .mega-links li { opacity: 1; transform: none; }
}

/* ===== Sélecteur de langue ===== */
.lang-btn { display: inline-flex; align-items: center; gap: .35rem; border: 1px solid var(--line); border-radius: 8px; font-weight: 700; font-size: .78rem; padding: .3rem .5rem; }
.lang-flag { width: 1.15em; height: .86em; border-radius: 2px; box-shadow: 0 0 0 1px rgba(0, 0, 0, .12); flex: none; }
.lang-menu { min-width: 9.5rem; font-size: .9rem; }
.lang-menu .dropdown-item { display: flex; align-items: center; gap: .6rem; color: var(--text); font-weight: 500; }
.lang-menu .dropdown-item.active, .lang-menu .dropdown-item:active { background: var(--sand-soft); color: var(--text); font-weight: 700; }

/* ===== Page d'accueil provisoire (lot 1) ===== */
.home-placeholder { padding: 8rem 0; background: linear-gradient(180deg, var(--mist), #fff); }
.home-placeholder h1 { font-size: clamp(2.4rem, 5vw, 4.4rem); }

/* ===== Pied de page ===== */
.site-footer { background: var(--night); color: #c3cee3; font-size: .9rem; padding-top: 5rem; }
.site-footer a { color: #c3cee3; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-title { color: #fff; font-size: .74rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; margin-bottom: 1.2rem; }
.footer-contact li { display: flex; gap: .75rem; margin-bottom: .9rem; line-height: 1.5; }
.footer-contact svg { color: var(--sand); flex: none; margin-top: .2rem; }
.social { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .25); color: #fff !important; }
.social:hover { background: #fff; color: var(--night) !important; }
.footer-links { columns: 2; column-gap: 2rem; }
.footer-links li { margin-bottom: .6rem; break-inside: avoid; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); margin-top: 4rem; padding: 1.2rem 0; font-size: .82rem; }
@media (max-width: 575.98px) { .footer-links { columns: 1; } }

/* ===== Animations réduites à la demande de l'utilisateur ===== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; }
}

/* ===== Articles (lot 3) ===== */
.article-hero { background: var(--mist); border-bottom: 1px solid var(--line); padding: 2.2rem 0 2.6rem; }
.article-breadcrumb { font-size: .82rem; margin-bottom: 1.2rem; --bs-breadcrumb-divider-color: var(--muted); }
.article-breadcrumb a { color: var(--brand); }
.article-breadcrumb .active { color: var(--muted); }
.article-title { font-size: clamp(2rem, 4vw, 3.1rem); margin: 0; max-width: 22ch; }
.article-lead { margin-top: 1.1rem; font-size: 1.12rem; color: var(--muted); max-width: 62ch; }
.article-layout { padding-top: 3rem; padding-bottom: 5rem; }
.article-content { line-height: 1.7; }
.article-content h2 { font-family: var(--serif); font-size: 1.6rem; margin: 2.2rem 0 .8rem; }
.article-content h3 { font-size: 1.2rem; font-weight: 700; margin: 1.8rem 0 .6rem; }
.article-content img { max-width: 100%; height: auto; border-radius: var(--radius); }
.article-content .float-start { margin: .3rem 1.4rem 1rem 0; max-width: 45%; }
.article-content .float-end { margin: .3rem 0 1rem 1.4rem; max-width: 45%; }
.article-content .table { font-size: .92rem; }
.article-content .table-responsive { margin: 1.2rem 0; clear: both; }
.article-content a { color: var(--brand); font-weight: 600; }
.article-content hr { margin: 2rem 0; clear: both; }
.article-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1rem; margin-top: 2rem; clear: both; }
.article-gallery img { width: 100%; height: auto; border-radius: var(--radius); }
.article-gallery figcaption { font-size: .85rem; color: var(--muted); margin-top: .4rem; }
.section-nav { position: sticky; top: 110px; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.4rem 1.5rem; background: #fff; }
.section-nav__title { font-size: .74rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--bronze-ink); margin-bottom: .9rem; }
.section-nav ul { list-style: none; padding: 0; margin: 0; }
.section-nav li + li { border-top: 1px solid var(--line); }
.section-nav a { display: block; padding: .55rem 0; color: var(--text); text-decoration: none; font-weight: 600; font-size: .94rem; }
.section-nav a:hover { color: var(--brand); }
.section-nav a[aria-current="page"] { color: var(--brand); }
.section-nav a[aria-current="page"]::before { content: "›"; margin-right: .4rem; }
@media (max-width: 575.98px) {
  .article-content .float-start, .article-content .float-end { float: none !important; max-width: 100%; margin: 1rem 0; }
}

/* ===== Page d'erreur ===== */
.error-page { padding: 6rem 0 7rem; }

/* Aperçu d’une version depuis le BO */
.preview-banner { background: #7a4b00; color: #fff; text-align: center; padding: .5rem; font-weight: 700; }

/* ===== Réseau : cartes des vols directs et avec correspondance (lot 4, maquette Boutique, bloc 06) ===== */
:root { --sky-deep: #2f8fd3; }
.network-section { padding: 5rem 0; }
.net-card { border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; background: #fff; box-shadow: var(--shadow); }
.explorer { background: var(--night); color: #fff; height: 100%; display: flex; flex-direction: column; }
.explorer-head { padding: 1.5rem 1.5rem 1rem; border-bottom: 1px solid rgba(255,255,255,.1); }
.explorer-head h3 { font-family: var(--serif); font-weight: 400; font-size: 1.6rem; margin: 0; }
.explorer-head p { color: #a9b8d6; font-size: .84rem; margin: .3rem 0 0; }
.explorer-body { overflow-y: auto; max-height: 640px; padding: .5rem 0 1rem; scrollbar-width: thin; scrollbar-color: rgba(255,255,255,.2) transparent; }
.explorer .grp { font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; color: var(--sand); padding: 1rem 1.5rem .4rem; }
.dep-btn { display: flex; align-items: center; width: 100%; gap: .7rem; border: 0; background: none; color: #fff; padding: .6rem 1.5rem; font-weight: 600; text-align: left; transition: background .2s; }
.dep-btn:hover, .dep-btn:focus-visible { background: rgba(255,255,255,.07); }
.dep-btn:focus-visible, .back-btn:focus-visible, .route-row a:focus-visible { outline: 2px solid var(--sky); outline-offset: -2px; }
.dep-btn .code { font-size: .72rem; color: #a9b8d6; width: 2.4rem; letter-spacing: .06em; }
.dep-btn .cnt { margin-left: auto; font-size: .74rem; color: #a9b8d6; border: 1px solid rgba(255,255,255,.18); border-radius: 999px; padding: .1rem .55rem; }
.back-btn { border: 0; background: none; color: var(--sand); font-weight: 700; font-size: .84rem; padding: 0; margin-bottom: .6rem; }
.route-row { display: grid; grid-template-columns: 1fr; gap: .2rem; padding: .85rem 1.5rem; border-bottom: 1px solid rgba(255,255,255,.07); }
.route-row:hover { background: rgba(255,255,255,.05); }
.route-row .to { font-weight: 700; }
.route-row .meta { font-size: .78rem; color: #a9b8d6; }
.route-row .meta .via { font-weight: 700; color: var(--sand); }
.route-row .acts { display: flex; gap: .5rem; margin-top: .45rem; }
.route-row .btn-book { background: var(--cta); color: #fff; border-radius: 8px; font-size: .78rem; font-weight: 700; padding: .3rem .8rem; text-decoration: none; }
.route-row .btn-book:hover { background: var(--sand); color: var(--night); }
.map-col { position: relative; padding: 1.25rem 1.5rem 1rem; }
.map-tabs { display: inline-flex; border: 1px solid var(--line); border-radius: var(--radius); padding: .2rem; }
.map-tabs button { border: 0; background: none; padding: .45rem 1rem; border-radius: 8px; font-weight: 700; font-size: .84rem; color: var(--muted); }
.map-tabs button.active { background: var(--night); color: #fff; }
.via-msg { font-weight: 700; font-size: .86rem; color: var(--brand); }
.map-svg { width: 100%; height: auto; display: block; }
.map-svg .sea { fill: #eef2f7; }
.net-basemap .others { fill: #e2e7ee; stroke: #fff; stroke-width: 1; }
.net-basemap .france { fill: #fff; stroke: var(--night); stroke-width: 1.6; stroke-linejoin: round; }
/* Couleur et épaisseur : attributs SVG venant du BO ; à défaut, couleur du thème */
.map-svg .route { fill: none; stroke-linecap: round; transition: opacity .2s, stroke-width .2s; }
.map-svg .route:not([stroke]) { stroke: var(--brand); }
.map-svg .route.flow { stroke-dasharray: 5 7; animation: net-flow 1.8s linear infinite; opacity: .75; }
.map-svg .route.route--dotted { stroke-dasharray: 1 6; opacity: .85; }
.map-svg .route.route--dashed { stroke-dasharray: 10 6; opacity: .85; }
@keyframes net-flow { to { stroke-dashoffset: -24; } }
@keyframes net-pulse { from { opacity: .45; r: 8; } to { opacity: 0; r: 26; } }
.map-svg.focus .route { opacity: .1; }
.map-svg.focus .route.on { opacity: 1; stroke-width: 3.6; stroke: var(--sky-deep); }
.map-svg .route.conn { stroke-dasharray: 1; stroke-dashoffset: 1; opacity: 0; pointer-events: none; transition: stroke-dashoffset .6s var(--ease), opacity .2s; animation: none; }
.map-svg .route.conn.on { stroke-dashoffset: 0; opacity: 1; }
.map-svg .apt { cursor: pointer; outline: none; }
.map-svg .apt .hit { fill: transparent; }
.map-svg .apt .dot { fill: #fff; stroke: var(--night); stroke-width: 2.6; }
.map-svg .apt .halo { fill: var(--sky-deep); opacity: 0; }
.map-svg .apt:hover .halo, .map-svg .apt.origin .halo { animation: net-pulse 1.6s ease-out infinite; }
.map-svg .apt:focus-visible .dot { stroke: var(--sky-deep); stroke-width: 4; }
.map-svg .apt text { font: 700 15px var(--sans); fill: var(--text); paint-order: stroke; stroke: rgba(255,255,255,.92); stroke-width: 4px; stroke-linejoin: round; }
.map-svg .apt .lbl-bg { fill: transparent; transition: fill .15s; }
.map-svg .apt.hl .lbl-bg { fill: var(--night); }
.map-svg .apt.hl text { fill: #fff; stroke: none; }
.map-svg .apt.hl .dot { fill: var(--night); stroke: #fff; }
.map-svg .apt.origin .lbl-bg { fill: var(--brand); }
.map-svg .apt.origin .dot { fill: var(--sky); }
.map-svg .pin { opacity: 0; transform: scale(.2); transform-box: fill-box; transition: opacity .2s, transform .35s var(--ease); pointer-events: none; }
.map-svg .pin.up { transform-origin: 50% 100%; }
.map-svg .pin.down { transform-origin: 50% 0%; }
.map-svg .pin.left { transform-origin: 100% 50%; }
.map-svg .pin.right { transform-origin: 0% 50%; }
.map-svg .pin.on { opacity: 1; transform: none; }
.map-svg .pin-ring { fill: #fff; filter: drop-shadow(0 6px 10px rgba(11,23,51,.35)); }
.map-svg .pin-bg { fill: var(--brand); }
.map-tip { position: absolute; z-index: 10; pointer-events: none; background: var(--night); color: #fff; border-radius: 10px; padding: .6rem .85rem; font-size: .84rem; box-shadow: 0 12px 30px rgba(0,0,0,.25); opacity: 0; transition: opacity .15s; min-width: 160px; }
.map-tip.show { opacity: 1; }
.map-tip::after { content: ""; position: absolute; left: calc(50% + var(--ax, 0px)); bottom: -6px; width: 12px; height: 12px; background: inherit; transform: translateX(-50%) rotate(45deg); }
.map-tip.below::after { bottom: auto; top: -6px; }
.map-tip.left::after, .map-tip.right::after { top: calc(50% - 6px + var(--ay, 0px)); bottom: auto; transform: rotate(45deg); }
.map-tip.left::after { left: auto; right: -6px; }
.map-tip.right::after { left: -6px; }
.map-tip strong { display: block; margin-bottom: .2rem; }
.map-tip ul { margin: 0; padding-left: 1rem; }
.map-tip .tip-via { display: block; font-weight: 700; color: var(--sand); margin-top: .15rem; }
.map-tip .tip-via i { display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-right: .4rem; box-shadow: 0 0 0 2px #fff; }
.map-legend { font-size: .8rem; color: var(--muted); }
.map-legend .sw { width: 22px; height: 4px; vertical-align: middle; margin-right: .35rem; }
.map-legend .sw-direct { fill: var(--brand); }
@media (max-width: 991.98px) { .map-col { display: none; } .explorer-body { max-height: none; } }

/* ===== Moteur de vols (lot 5, maquette Boutique, bloc 02) ===== */
.booking-section { background: var(--night); padding: 3rem 0; }
.booking { background: #fff; color: var(--text); border-radius: var(--radius-lg); box-shadow: 0 40px 90px rgba(0,0,0,.35); padding: 1.6rem; }
.booking h2 { font-family: var(--serif); font-weight: 400; font-size: 1.6rem; margin: 0; }
.trip { display: flex; gap: 1.2rem; border: 0; border-bottom: 1px solid var(--line); margin: 1rem 0 1.1rem; padding: 0; }
/* Boutons radio masqués visuellement mais accessibles au clavier (la maquette les retirait avec display: none) */
.trip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.trip label { padding: 0 0 .6rem; font-weight: 700; font-size: .88rem; color: var(--muted); cursor: pointer; border-bottom: 2px solid transparent; margin-bottom: -1px; }
.trip input:checked + label { color: var(--night); border-color: var(--bronze); }
.trip input:focus-visible + label { outline: 2px solid var(--brand); outline-offset: 3px; }
.fld { position: relative; border: 1px solid var(--line); border-radius: var(--radius); padding: .5rem .85rem .45rem; transition: border-color .2s, box-shadow .2s; background: #fff; }
.fld:focus-within { border-color: var(--bronze); box-shadow: 0 0 0 3px rgba(168,122,64,.18); }
.fld label, .fld .fld-label { display: block; font-size: .66rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.fld .form-control, .fld .form-select { border: 0; padding: 0; background-color: transparent; font-weight: 700; box-shadow: none; color: var(--text); }
.fld .form-control:disabled { background: transparent; color: var(--muted); }
.fld.is-invalid, .fld:has(.is-invalid) { border-color: var(--promo); }
.od { position: relative; display: grid; gap: .5rem; }
.swap-btn { position: absolute; right: 1rem; top: 50%; transform: translateY(-50%); z-index: 2; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--night); display: grid; place-items: center; transition: transform .3s var(--ease), background .2s; }
.swap-btn:hover, .swap-btn:focus-visible { transform: translateY(-50%) rotate(180deg); background: var(--night); color: #fff; }
.fare-choice { display: flex; flex-wrap: wrap; gap: .3rem 1.1rem; margin-top: 1rem; font-weight: 600; font-size: .88rem; border: 0; padding: 0; }
.fare-choice legend { font-size: .66rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: .2rem; width: 100%; float: none; }
.fare-choice .form-check-input:checked { background-color: var(--bronze); border-color: var(--bronze); }
.info-btn { border: 0; background: none; padding: 0 0 0 .3rem; color: var(--bronze-ink); }
.fare-panel { display: grid; grid-template-rows: 0fr; opacity: 0; transition: grid-template-rows .4s var(--ease), opacity .4s, margin-top .4s; }
.fare-panel.open { grid-template-rows: 1fr; opacity: 1; margin-top: .8rem; }
.fare-panel > div { overflow: hidden; }
.fare-box { background: var(--sand-soft); border-left: 3px solid var(--sand); border-radius: var(--radius); padding: .8rem .9rem .9rem; margin: 0; }
.fare-box label { font-size: .68rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.fare-tip { --bs-tooltip-max-width: 320px; --bs-tooltip-bg: var(--night); --bs-tooltip-color: #fff; --bs-tooltip-opacity: 1; --bs-tooltip-padding-x: .9rem; --bs-tooltip-padding-y: .7rem; --bs-tooltip-font-size: .83rem; }
.fare-tip .tooltip-inner { text-align: left; }
.booking .btn-night { width: 100%; margin-top: 1.1rem; padding: 1rem; background: var(--cta); text-transform: uppercase; letter-spacing: .06em; }
.booking .btn-night:hover { background: #c4000b; }
.booking-note { font-size: .76rem; color: var(--muted); margin-top: .8rem; display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center; }
.booking-errors { font-size: .84rem; color: var(--promo); margin: .8rem 0 0; padding-left: 1.1rem; }
.booking .invalid-feedback { display: block; font-size: .78rem; color: var(--promo); }
/* Passagers : bouton de résumé et panneau de compteurs */
.pax-toggle { width: 100%; text-align: left; border: 0; background: none; padding: 0; font-weight: 700; color: var(--text); }
.pax-panel { margin-top: .6rem; display: grid; gap: .45rem; }
.pax-panel[hidden] { display: none; }
.pax-row { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: .6rem; }
.pax-row label { font-size: .84rem; font-weight: 700; letter-spacing: 0; text-transform: none; color: var(--text); }
.pax-row small { display: block; font-weight: 500; color: var(--muted); font-size: .74rem; }
.pax-stepper { display: inline-flex; align-items: center; gap: .3rem; }
.pax-stepper button { width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line); background: #fff; font-weight: 700; line-height: 1; }
.pax-stepper button:disabled { opacity: .35; }
.pax-stepper input { width: 2.4rem; text-align: center; border: 0; font-weight: 700; background: transparent; }
/* Calendrier : jours fermés grisés, jours ouverts en gras */
.flatpickr-day.flatpickr-disabled { color: rgba(11,23,51,.25); }
.flatpickr-day:not(.flatpickr-disabled):not(.prevMonthDay):not(.nextMonthDay) { font-weight: 700; }
.flatpickr-day.selected, .flatpickr-day.selected:hover { background: var(--night); border-color: var(--night); }

/* ===== Page d'attente avant Amadeus ===== */
.booking-wait { min-height: 100vh; display: grid; place-items: center; background: var(--mist); }
.booking-wait__box { text-align: center; background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: 2.5rem 2rem; max-width: 26rem; }
.booking-wait__box img { max-width: 200px; height: auto; margin-bottom: 1.5rem; }
.booking-wait__spinner { width: 44px; height: 44px; margin: 0 auto 1rem; border-radius: 50%; border: 4px solid var(--line); border-top-color: var(--bronze); animation: booking-spin 1s linear infinite; }
@keyframes booking-spin { to { transform: rotate(360deg); } }

/* ===== Horaires des vols (lot 5, maquette Boutique : bandeau sous la carte) ===== */
.tt-strip { margin-top: 1.5rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.2rem 1.4rem; box-shadow: var(--shadow); }
.tt-panel { margin-top: 1rem; }
.tt-frame { width: 100%; height: 560px; border: 1px solid var(--line); border-radius: var(--radius); }

/* ===== Pages composées (lot 6, maquette Boutique) ===== */
.page-section { padding: 5rem 0; position: relative; }
.btn-line svg { width: 1em; height: 1em; vertical-align: -.125em; }

/* 02 Bandeau photo : photos en <img> (CSP), fondu enchaîné, moteur à droite */
.hero { position: relative; color: #fff; background: var(--night); overflow: hidden; }
.hero-slide { position: absolute; inset: 0; opacity: 0; transform: scale(1.06); transition: opacity 1.6s ease, transform 10s linear; }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; }
.hero-slide.on { opacity: 1; transform: scale(1); }
.hero-slide--empty { background: linear-gradient(120deg, var(--night), var(--brand)); }
.hero::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, rgba(11,23,51,.82) 0%, rgba(11,23,51,.35) 45%, rgba(11,23,51,.15) 100%), linear-gradient(0deg, rgba(11,23,51,.55), rgba(11,23,51,0) 45%); }
.hero-inner { position: relative; z-index: 2; min-height: min(86vh, 780px); display: grid; align-items: center; padding: 4rem 0 5rem; }
.hero--compact .hero-inner { min-height: 380px; }
.hero h1 { font-family: var(--serif); font-weight: 300; font-size: clamp(2.4rem, 5.4vw, 4.6rem); line-height: 1.04; letter-spacing: -.02em; margin: 1.2rem 0; }
.hero h1 em { font-style: italic; font-weight: 400; color: var(--sand); }
.hero .eyebrow { color: #fff; }
.hero .lead { color: rgba(255,255,255,.85); font-size: 1.08rem; max-width: 31rem; }
.hero-banner { margin-top: 2rem; padding-left: 1rem; border-left: 2px solid var(--sand); max-width: 26rem; font-size: 1.02rem; color: rgba(255,255,255,.92); }
.hero-banner__link { color: var(--sand); font-weight: 700; text-decoration: none; display: inline-flex; align-items: center; gap: .4rem; }
.hero-banner__link:hover, .hero-banner__link:focus-visible { color: #fff; }
.hero-caption { position: absolute; z-index: 3; left: 0; right: 0; bottom: 1.2rem; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.85); }
.hero-caption .bar { display: inline-block; width: 90px; height: 1px; background: rgba(255,255,255,.3); vertical-align: middle; margin: 0 .8rem; position: relative; overflow: hidden; }
.hero-caption .bar i { position: absolute; inset: 0; background: #fff; transform-origin: left; transform: scaleX(0); }
.hero-caption .bar i.run { animation: hero-bar 7s linear forwards; }
@keyframes hero-bar { to { transform: scaleX(1); } }
.hero-caption button { background: none; border: 0; color: inherit; padding: .2rem .4rem; }
.hero-caption button:focus-visible { outline: 2px solid #fff; }
.hero .booking { position: relative; }
@media (max-width: 991.98px) { .hero-inner { min-height: 0; padding-top: 3rem; } .hero-caption { position: relative; bottom: auto; padding: .8rem 0; } }

/* 03 Raccourcis */
.shortcuts { border-bottom: 1px solid var(--line); background: #fff; }
.shortcut { display: flex; align-items: center; gap: 1rem; padding: 1.6rem 1.2rem; text-decoration: none; color: var(--text); height: 100%; transition: background .25s; }
.shortcut:hover, .shortcut:focus-visible { background: var(--mist); }
.shortcut .ico { width: 1.6rem; height: 1.6rem; color: var(--bronze); flex: none; }
.shortcut strong { display: block; font-size: .98rem; }
.shortcut small { color: var(--muted); }
.shortcut .go { margin-left: auto; color: var(--muted); flex: none; transition: transform .2s var(--ease); }
.shortcut:hover .go { transform: translateX(4px); color: var(--night); }
.shortcuts .col + .col .shortcut { border-left: 1px solid var(--line); }
@media (max-width: 991.98px) { .shortcuts .col + .col .shortcut { border-left: 0; border-top: 1px solid var(--line); } }

/* 04 Services (« L'esprit Twin Jet ») */
.esprit { padding: 0 0 5.5rem; }
.esprit-panel { background: var(--sand-soft); border: 1px solid #ebdfc4; border-radius: 28px; padding: 2.5rem; }
.esprit-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1rem 3rem; margin-bottom: 1.75rem; }
.esprit-head h2 { font-size: clamp(1.9rem, 3vw, 2.5rem); }
.esprit-head p { max-width: 440px; font-size: .95rem; }
.esprit-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1rem; }
.adv { position: relative; display: flex; flex-direction: column; height: 100%; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 1.5rem 1.4rem 1.3rem; transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.adv:hover { transform: translateY(-4px); box-shadow: 0 16px 32px -14px rgba(11,23,51,.3); }
.adv .num { position: absolute; top: 1.2rem; right: 1.3rem; font-family: var(--serif); font-style: italic; color: var(--bronze-ink); }
.adv-ico { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--night); color: var(--sand); margin-bottom: 1.1rem; }
.adv-ico svg { width: 1.3rem; height: 1.3rem; }
.adv h3 { font-family: var(--serif); font-weight: 400; font-size: 1.35rem; margin: 0 0 .35rem; }
.adv p { font-size: .9rem; margin-bottom: 1rem; }
.adv .link-arrow { margin-top: auto; font-size: .88rem; }

/* 05 Offres : hublots et cartes « coups de cœur » */
.offers { background: var(--mist); }
.price small { display: block; font-size: .74rem; color: var(--muted); }
.price strong { color: var(--promo); font-family: var(--serif); font-weight: 500; font-size: 1.9rem; line-height: 1; }
.price .cond { font-size: .72rem; color: var(--muted); }
.btn-book { background: var(--night); color: #fff; border: 0; border-radius: var(--radius); font-weight: 700; padding: .65rem 1.2rem; white-space: nowrap; }
.btn-book:hover, .btn-book:focus-visible { background: var(--brand); color: #fff; }
.fuselage { position: relative; padding: 1.5rem; }
.fuselage::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 318px; border-radius: 32px; background: linear-gradient(180deg, #fff 0%, #f1f2f5 100%); box-shadow: 0 1px 0 var(--line), inset 0 -10px 0 -4px var(--night), inset 0 -14px 0 -10px var(--promo); }
.cabin-rail { position: relative; display: flex; gap: 1.75rem; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 4%; padding: 30px 4% 6px; scrollbar-width: none; -webkit-mask-image: linear-gradient(90deg, transparent, #000 3%, #000 97%, transparent); mask-image: linear-gradient(90deg, transparent, #000 3%, #000 97%, transparent); outline: none; }
.cabin-rail::-webkit-scrollbar { display: none; }
.cabin-rail:focus-visible { box-shadow: 0 0 0 3px var(--brand); border-radius: 24px; }
.hublot { flex: 0 0 236px; scroll-snap-align: start; }
.hublot-frame { position: relative; width: 210px; height: 252px; margin: 0 auto; padding: 13px; border-radius: 44% / 36%; background: linear-gradient(160deg, #fbfbfc, #d9dde4); box-shadow: inset 0 2px 3px #fff, inset 0 -3px 6px rgba(11,23,51,.12), 0 12px 26px -8px rgba(11,23,51,.28); transition: transform .5s var(--ease); }
.hublot-view { position: relative; display: block; width: 100%; height: 100%; border-radius: 42% / 34%; overflow: hidden; background: #9fb3c8; box-shadow: inset 0 0 0 3px rgba(11,23,51,.18); }
.hublot-view img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); transition: transform 6s linear; }
.hublot:hover .hublot-frame, .hublot:focus-within .hublot-frame { transform: translateY(-6px); }
.hublot:hover .hublot-view img, .hublot:focus-within .hublot-view img { transform: scale(1.12) translateX(-6%); }
.hublot-name { position: absolute; z-index: 1; left: 0; right: 0; bottom: 0; margin: 0; padding: 3.2rem .6rem 1.35rem; text-align: center; color: #fff; font-family: var(--serif); font-weight: 500; font-size: 1.5rem; line-height: 1.05; background: linear-gradient(180deg, rgba(11,23,51,0) 0%, rgba(11,23,51,.55) 45%, rgba(11,23,51,.88) 100%); text-shadow: 0 2px 10px rgba(0,0,0,.45); }
.hublot-info { padding: 1.9rem .4rem 0; text-align: center; }
.hublot-route { margin: 0 0 .15rem; font-size: .8rem; font-weight: 700; color: var(--night); }
.hublot-route svg { color: var(--bronze-ink); width: .8em; height: .8em; margin: 0 .2rem; }
.hublot-foot { display: flex; flex-direction: column; align-items: center; gap: .75rem; margin-top: .35rem; }
.hublot-foot .price { text-align: center; }
.hublot-foot .price strong { font-size: 2rem; }
.hublot-foot .price .ttc { margin-left: .3rem; font-size: .72rem; font-weight: 700; color: var(--night); }
.hublot-foot .price sup, .cabin-cond sup { color: var(--promo); font-weight: 700; }
.hublot-foot .btn-book { padding: .6rem 1.6rem; min-width: 150px; }
.cabin-cond { font-size: .72rem; color: var(--muted); margin: .6rem 0 0; }
.cabin-ctrl { display: flex; align-items: center; gap: 1rem; margin-top: 2rem; }
.rail-btn { flex: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--night); display: grid; place-items: center; transition: background .2s, color .2s; }
.rail-btn:hover, .rail-btn:focus-visible { background: var(--night); color: #fff; }
.rail-play[aria-pressed="true"] { background: var(--night); color: #fff; border-color: var(--night); }
.rail-progress { flex: 1; height: 3px; border-radius: 3px; background: var(--line); overflow: hidden; }
.rail-progress span { display: block; height: 100%; width: 20%; background: var(--night); border-radius: 3px; transition: width .4s var(--ease); }
@media (max-width: 575.98px) { .hublot { flex-basis: 200px; } .hublot-frame { width: 180px; height: 216px; } .fuselage::before { height: 280px; } }
@media (prefers-reduced-motion: reduce) { .hublot-view img, .hublot-frame, .hero-slide { transition: none; } }
.dest { display: flex; flex-direction: column; border-radius: var(--radius-lg); overflow: hidden; background: #fff; height: 100%; box-shadow: 0 1px 0 var(--line); transition: box-shadow .4s, transform .4s var(--ease); }
.dest:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.dest-img { min-height: 220px; position: relative; overflow: hidden; }
.dest-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.dest-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,23,51,0) 45%, rgba(11,23,51,.7)); }
.dest-img .name { position: absolute; z-index: 1; left: 1.4rem; bottom: 1.1rem; color: #fff; }
.dest-img .name small { display: block; font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; opacity: .9; }
.dest-img .name span { font-family: var(--serif); font-size: 2.1rem; line-height: 1.05; }
.dest-body { padding: 1.2rem 1.4rem 0; }
.dest-foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; padding: 1rem 1.4rem 1.3rem; margin-top: auto; }

/* 11 Partenaires */
.partners-list { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 1.5rem 2.5rem; align-items: center; }
.partners-list img { max-height: 80px; width: auto; filter: grayscale(1); opacity: .75; transition: filter .3s, opacity .3s; }
.partners-list a:hover img, .partners-list a:focus-visible img { filter: none; opacity: 1; }

/* ===== Pied de page : newsletter ; bandeau de consentement aux cookies (lot 8) ===== */
.nl-form .form-label { color: rgba(255,255,255,.85); margin-bottom: .2rem; }
.nl-form .form-check-label { color: rgba(255,255,255,.8); }
.nl-submit { background: var(--sand); color: var(--night); font-weight: 700; }
.nl-submit:hover, .nl-submit:focus-visible { background: #fff; color: var(--night); }
.nl-trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.nl-message { font-size: .86rem; padding: .5rem .75rem; border-radius: var(--radius); }
.nl-message--ok { background: rgba(116,191,230,.18); color: #fff; }
.nl-message--error { background: rgba(232,0,13,.18); color: #fff; }
.footer-cookies { background: none; border: 0; padding: 0; color: inherit; text-decoration: underline; }
.footer-bottom a { color: inherit; }
.consent { position: fixed; z-index: 1080; left: 0; right: 0; bottom: 0; background: #fff; color: var(--text); box-shadow: 0 -12px 40px rgba(11,23,51,.25); padding: 1.2rem 0; max-height: 85vh; overflow-y: auto; }
.consent-choices { margin: .6rem 0; display: grid; gap: .4rem; font-size: .88rem; }
.consent-actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.consent-actions .btn-night { min-width: 9rem; }
.sitemap ul { padding-left: 1.1rem; }
.sitemap li { margin: .2rem 0; }
