/* Polices auto-hébergées — Poppins & Inter, licence SIL Open Font License 1.1.
   Rapatriées depuis Google Fonts pour qu'aucune IP visiteur ne soit transmise à un tiers. */

/* Inter — latin-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(../assets/fonts/inter-var-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* Inter — latin */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(../assets/fonts/inter-var-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Poppins — latin-ext */
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../assets/fonts/poppins-500-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* Poppins — latin */
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../assets/fonts/poppins-500-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Poppins — latin-ext */
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../assets/fonts/poppins-600-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* Poppins — latin */
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../assets/fonts/poppins-600-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Poppins — latin-ext */
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../assets/fonts/poppins-700-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* Poppins — latin */
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../assets/fonts/poppins-700-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Poppins — latin-ext */
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(../assets/fonts/poppins-800-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* Poppins — latin */
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(../assets/fonts/poppins-800-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Playfair Display — variable, latin */
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url(../assets/fonts/playfair-var-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Playfair Display — variable italique, latin */
@font-face {
  font-family: 'Playfair Display';
  font-style: italic;
  font-weight: 400 900;
  font-display: swap;
  src: url(../assets/fonts/playfair-var-italic-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Playfair Display — variable, latin-ext */
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url(../assets/fonts/playfair-var-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* Playfair Display — variable italique, latin-ext */
@font-face {
  font-family: 'Playfair Display';
  font-style: italic;
  font-weight: 400 900;
  font-display: swap;
  src: url(../assets/fonts/playfair-var-italic-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ============================
   DIMITRIAVIA — Stylesheet
   Palette nuit + or. Site parodique, aucune ressource tierce.
   ============================ */

:root {
  /* Fonds — nuit plus profonde, pour que l'or chauffe */
  --night:       #0A0F1A;
  --night-2:     #131B2A;
  --night-3:     #1D2739;
  --border:      rgba(217, 184, 113, 0.30);
  --border-soft: rgba(242, 239, 232, 0.12);

  /* Encres */
  --bone:        #F2EFE8;
  --bone-dim:    #BFC7D2;
  --champagne:   #F2E3C6;

  /* Accent — l'or ne sert jamais de corps de texte long */
  --gold:        #D9B871;
  --gold-soft:   #EBD5A3;

  --red:         #E2725B;

  --font-display: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-heading: 'Poppins', 'Segoe UI', system-ui, sans-serif;
  --font-body:    'Inter', 'Segoe UI', system-ui, sans-serif;
  --font-mono:    ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 20px;

  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.45);
  --shadow-lg: 0 18px 48px rgba(0, 0, 0, 0.55);

  --container-w: 1160px;
  --transition: 0.22s ease;
}

/* ---------- Base ---------- */

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--night);
  color: var(--bone-dim);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  color: var(--bone);
  line-height: 1.2;
  margin: 0 0 0.5em;
}

/* Titres en display serif : c'est ce qui fait basculer le site du registre
   « brochure corporate » au registre « affiche de compagnie des années 70 ». */
h1, h2 { font-family: var(--font-display); font-weight: 700; letter-spacing: -0.01em; }
h3, h4 { font-family: var(--font-heading); font-weight: 600; letter-spacing: -0.005em; }

h1 { font-size: clamp(2.6rem, 5.6vw, 4.6rem); line-height: 1.05; }
h2 { font-size: clamp(1.95rem, 3.4vw, 2.9rem); line-height: 1.15; }
h3 { font-size: 1.2rem; }
h4 { font-size: 1.02rem; }

em { font-style: italic; }
h1 em, h2 em, .president__quote em { font-weight: 500; }

p { margin: 0 0 1em; }
a { color: var(--gold); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--gold-soft); }
img { max-width: 100%; height: auto; display: block; }

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
  border-radius: 3px;
}

.container {
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 0 24px;
}

.icon { width: 1.25em; height: 1.25em; flex: none; }

.eyebrow {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 0.6em;
}

.mono {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  line-height: 1.5;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  background: var(--gold);
  color: var(--night);
  padding: 12px 20px;
  font-weight: 600;
  border-radius: 0 0 var(--radius-sm) 0;
}
.skip-link:focus { left: 0; color: var(--night); }

/* Reveal — visible par défaut, le JS ne fait qu'animer.
   Sans JS, tout le contenu reste lisible. */
.reveal { opacity: 1; transform: none; }
.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.js .reveal.visible { opacity: 1; transform: none; }

/* ---------- Boutons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  min-height: 48px;
  padding: 0.82em 1.55em;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: transform var(--transition), background var(--transition), color var(--transition), border-color var(--transition);
}
.btn:hover { transform: translateY(-2px); }

.btn--primary { background: var(--gold); color: var(--night); }
.btn--primary:hover { background: var(--gold-soft); color: var(--night); }

.btn--ghost { background: transparent; color: var(--gold); border-color: var(--border); }
.btn--ghost:hover { color: var(--gold-soft); border-color: var(--gold); }

.btn--sm { min-height: 40px; padding: 0.6em 1.15em; font-size: 0.85rem; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: 0.55; cursor: not-allowed; transform: none; }

/* ---------- Barre de progression ---------- */

#progress-bar {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  width: 0;
  background: var(--gold);
  z-index: 120;
  transition: width 0.1s linear;
}

/* ---------- Header ---------- */

.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background var(--transition), border-color var(--transition);
}
.header.scrolled {
  background: rgba(14, 26, 43, 0.92);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--border-soft);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 66px;
}

.logo { display: flex; align-items: center; gap: 10px; }
.logo__mark { width: 26px; height: 26px; color: var(--gold); }
.logo__text {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.02rem;
  letter-spacing: 0.16em;
  color: var(--bone);
}
.logo:hover .logo__text { color: var(--bone); }

.nav { display: flex; align-items: center; gap: 26px; }
.nav__link {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--bone-dim);
  padding: 6px 0;
  border-bottom: 1px solid transparent;
}
.nav__link:hover, .nav__link.active { color: var(--gold); border-bottom-color: var(--gold); }

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 48px; height: 48px;
  background: transparent;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-sm);
  color: var(--bone);
  cursor: pointer;
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 0 56px;
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero__bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 40%;
}
/* Overlay obligatoire : le contraste du texte est vérifié contre --night,
   jamais contre la photo. */
.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(to bottom, rgba(14,26,43,0.45) 0%, rgba(14,26,43,0.62) 45%, rgba(14,26,43,0.94) 100%),
    linear-gradient(to right, rgba(14,26,43,0.88) 0%, rgba(14,26,43,0.18) 75%);
}
.hero__inner { position: relative; z-index: 2; width: 100%; }
.hero__content { max-width: 680px; }
.hero__title { margin-bottom: 0.35em; }
.hero__lead {
  font-size: clamp(1.05rem, 1.6vw, 1.35rem);
  color: var(--bone);
  max-width: 30ch;
  margin-bottom: 2rem;
}

/* ---------- Sélecteur de vol ---------- */

.flight {
  background: rgba(20, 36, 56, 0.88);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 22px;
  max-width: 860px;
  box-shadow: var(--shadow-lg);
}
.flight__row {
  display: grid;
  grid-template-columns: 1fr 1fr 170px auto;
  gap: 14px;
  align-items: end;
}
.flight__field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.flight__label {
  font-family: var(--font-heading);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
}

select, input[type="text"], input[type="date"] {
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  background: var(--night-3);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-sm);
  color: var(--bone);
  font-family: var(--font-body);
  font-size: 0.98rem;
  transition: border-color var(--transition);
}
select:hover, input:hover { border-color: var(--border); }
select option[disabled] { color: var(--bone-dim); }
input::placeholder { color: var(--bone-dim); opacity: 0.7; }

.is-invalid { border-color: var(--red) !important; }

.error-msg {
  display: none;
  color: var(--red);
  font-size: 0.86rem;
  margin-top: 4px;
}
.error-msg.visible { display: block; }

/* Résultat de recherche */
.flight__result { margin-top: 18px; }
.flight__result:empty { margin-top: 0; }

.loader__bar {
  height: 3px;
  background: var(--night-3);
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 14px;
}
.loader__fill {
  display: block;
  height: 100%;
  width: 0;
  background: var(--gold);
  transition: width 0.2s linear;
}
.loader__step {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-size: 0.92rem;
  color: var(--bone-dim);
  opacity: 0.35;
  transition: opacity var(--transition), color var(--transition);
  margin-bottom: 4px;
}
.loader__step.done { opacity: 1; color: var(--bone); }
.loader__step > span:first-child { color: var(--gold); font-family: var(--font-mono); }

.result__head {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}

.flight-card {
  background: var(--night);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px;
}
.flight-card__code {
  font-family: var(--font-mono);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.1em;
  margin-bottom: 14px;
}
.flight-card__route {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}
.flight-card__time {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--bone);
  line-height: 1.1;
}
.flight-card__iata {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--bone-dim);
  letter-spacing: 0.1em;
}
.flight-card__line {
  flex: 1;
  min-width: 60px;
  height: 1px;
  background: var(--border);
  position: relative;
}
.flight-card__line svg {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 18px; height: 18px;
  color: var(--gold);
  background: var(--night);
  padding: 0 4px;
  box-sizing: content-box;
}
.flight-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 28px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--bone-dim);
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border-soft);
}
.flight-card__fare {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 14px;
}
.flight-card__class { color: var(--bone); font-weight: 600; }
.flight-card__price {
  font-family: var(--font-mono);
  font-size: 1.25rem;
  color: var(--gold);
  font-weight: 700;
}
.flight-card__note {
  margin: 12px 0 0;
  font-size: 0.88rem;
  color: var(--bone-dim);
}
.flight__foot {
  margin: 12px 0 0;
  font-size: 0.88rem;
  color: var(--bone-dim);
}

.state {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: var(--night);
  border: 1px solid var(--border-soft);
  border-left: 3px solid var(--gold);
  border-radius: var(--radius-md);
  padding: 18px 20px;
}
.state--error { border-left-color: var(--red); }
.state--success { border-left-color: var(--gold); }
.state__icon { color: var(--gold); width: 22px; height: 22px; flex: none; margin-top: 3px; }
.state--error .state__icon { color: var(--red); }
.state__title { color: var(--bone); font-weight: 600; margin: 0 0 4px; font-family: var(--font-heading); }
.state__body { margin: 0 0 12px; font-size: 0.94rem; }
.state__body:last-child { margin-bottom: 0; }

.hero__disclaimer {
  margin: 22px 0 0;
  max-width: 60ch;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.02em;
  color: var(--bone-dim);
  display: flex;
  gap: 8px;
  align-items: flex-start;
}
.hero__disclaimer svg { width: 16px; height: 16px; flex: none; margin-top: 2px; color: var(--gold); }

/* ---------- Sections ---------- */

.section { padding: 96px 0; position: relative; }
.section--alt { background: var(--night-2); }
.section__head { max-width: 720px; margin-bottom: 48px; }
.section__lead { font-size: 1.08rem; max-width: 60ch; }

/* ---------- Section 2 : Président ---------- */

.president__grid {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 56px;
  align-items: center;
}
.president__portrait { position: relative; }
.president__frame {
  position: relative;
  border: 10px solid var(--gold);
  border-radius: 4px;
  outline: 2px solid var(--night);
  outline-offset: -16px;
  background: var(--night-3);
  aspect-ratio: 3 / 4;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  text-align: center;
  box-shadow: var(--shadow-lg);
}
.president__frame p {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--bone-dim);
}
.president__quote {
  font-family: var(--font-heading);
  font-size: clamp(1.25rem, 2.2vw, 1.75rem);
  font-weight: 500;
  line-height: 1.45;
  color: var(--bone);
  border-left: 3px solid var(--gold);
  padding-left: 28px;
  margin: 0 0 28px;
}
.president__sign { padding-left: 31px; }
.president__sign strong {
  display: block;
  font-family: var(--font-heading);
  color: var(--gold);
  font-size: 1.05rem;
  letter-spacing: 0.06em;
}
.president__sign span { font-size: 0.9rem; }

.section__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.section__bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.10; }
.section__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, var(--night) 10%, rgba(14,26,43,0.55) 100%);
}
.section > .container { position: relative; z-index: 1; }

/* ---------- Section 3 : Flotte ---------- */

.fleet__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.fleet__photo { border-radius: var(--radius-md); overflow: hidden; border: 1px solid var(--border-soft); }
.fleet__photo picture, .cabin__photo picture, .quote__photo picture { display: block; }
.fleet__photo img, .cabin__photo img, .quote__photo img { width: 100%; }

.fleet__photo figcaption {
  background: var(--night);
  padding: 12px 16px;
  font-size: 0.88rem;
  color: var(--bone-dim);
  border-top: 1px solid var(--border-soft);
}

.spec { border-top: 1px solid var(--border-soft); }
.spec__row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 20px;
  padding: 13px 0;
  border-bottom: 1px solid var(--border-soft);
}
.spec__key { font-size: 0.92rem; color: var(--bone-dim); }
.spec__val {
  font-family: var(--font-mono);
  font-size: 0.92rem;
  color: var(--bone);
  text-align: right;
}
.spec__row--peak { border-bottom-color: var(--gold); }
.spec__row--peak .spec__key { color: var(--bone); font-weight: 600; }
.spec__row--peak .spec__val {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
}

/* ---------- Section 4 : Cabines ---------- */

.cabins {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.cabin {
  background: var(--night);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  padding: 26px 22px;
  display: flex;
  flex-direction: column;
}
.cabin--dead {
  border-style: dashed;
  opacity: 0.55;
  background: transparent;
}
.cabin h3 { color: var(--gold); }
.cabin--dead h3 { color: var(--bone-dim); text-decoration: line-through; }
.cabin__price {
  font-family: var(--font-mono);
  font-size: 1.1rem;
  color: var(--bone);
  padding-bottom: 16px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--border-soft);
}
.cabin__list { list-style: none; margin: 0; padding: 0; font-size: 0.92rem; }
.cabin__list li { padding: 5px 0 5px 20px; position: relative; }
.cabin__list li::before {
  content: "";
  position: absolute;
  left: 0; top: 13px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gold);
}
.cabin__dead-note { font-size: 0.92rem; margin: 0; }
.cabins__note {
  margin: 22px 0 0;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--bone-dim);
}

.cabin__photo {
  margin: 0 0 40px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-soft);
}
.cabin__photo figcaption {
  background: var(--night);
  padding: 12px 16px;
  font-size: 0.88rem;
  color: var(--bone-dim);
  border-top: 1px solid var(--border-soft);
}

/* ---------- Section 5 : Carrières ---------- */

.criteria-card {
  background: var(--night);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  margin-bottom: 40px;
}
.criteria-card__title {
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 26px;
}
.criteria {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
  margin-bottom: 28px;
}
.criterion__icon {
  width: 64px; height: 64px;
  color: var(--gold);
  margin-bottom: 16px;
}
.criterion h3 { font-size: 1.02rem; margin-bottom: 0.4em; }
.criterion p { font-size: 0.92rem; margin: 0; }

/* Le disclaimer vit dans la MÊME carte que les pictogrammes :
   une capture recadrée de la carte l'emporte forcément avec elle. */
.criteria__disclaimer {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  border-top: 1px solid var(--border);
  padding-top: 22px;
  margin: 0;
  font-family: var(--font-mono);
  font-size: 0.84rem;
  color: var(--bone);
}
.criteria__disclaimer svg { width: 18px; height: 18px; flex: none; margin-top: 2px; color: var(--gold); }

.apply {
  background: var(--night);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 32px;
  max-width: 720px;
}
.apply__field { margin-bottom: 20px; }
.apply__field > label, .apply__legend {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 6px;
  padding: 0;
}
.apply fieldset { border: 0; margin: 0 0 20px; padding: 0; }
.apply__radios { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 4px; }
.apply__radio { display: flex; align-items: center; gap: 8px; font-size: 0.95rem; cursor: pointer; min-height: 32px; }
.apply__radio input { accent-color: var(--gold); width: 18px; height: 18px; cursor: pointer; }
.apply__radio input:disabled { cursor: not-allowed; }
.apply__radio:has(input:disabled) { opacity: 0.5; cursor: not-allowed; }
.apply__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
/* [hidden] ne suffit pas sur un conteneur flex : display:flex l'emporte sur la
   règle par défaut du navigateur. */
.apply__actions[hidden], .state__actions[hidden] { display: none; }

.apply__success { border-left-width: 3px; }
.apply__success .state__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 4px; }

/* ---------- Section 6 : Distinctions ---------- */

.awards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 56px;
}
.award {
  background: var(--night);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  padding: 26px 22px;
  text-align: center;
}
.award__icon { width: 34px; height: 34px; color: var(--gold); margin: 0 auto 14px; }
.award h3 { margin-bottom: 0.25em; }
.award__by { font-family: var(--font-mono); font-size: 0.8rem; color: var(--bone-dim); margin: 0; }

.stat {
  text-align: center;
  padding: 40px 0 48px;
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
  margin-bottom: 56px;
}
.stat__num {
  display: block;
  font-family: var(--font-heading);
  font-size: clamp(2.6rem, 7vw, 4.5rem);
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.stat__label {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--bone);
  margin-top: 10px;
}
.stat__note { font-family: var(--font-mono); font-size: 0.8rem; margin: 8px 0 0; color: var(--bone-dim); }

.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.quote {
  background: var(--night);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  padding: 26px 22px;
  display: flex;
  flex-direction: column;
}
.quote__text {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 1.02rem;
  line-height: 1.5;
  color: var(--bone);
  flex: 1;
  margin-bottom: 18px;
}
.quote__sign {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--gold);
  margin: 0;
}
.quote__photo {
  border-radius: var(--radius-sm);
  overflow: hidden;
  margin-bottom: 18px;
  border: 1px solid var(--border-soft);
}

/* ---------- Footer ---------- */

.footer {
  background: var(--night-2);
  border-top: 1px solid var(--border-soft);
  padding: 64px 0 32px;
}
.footer__inner {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--border-soft);
}
.footer__brand .logo { margin-bottom: 14px; }
.footer__brand p { font-size: 0.92rem; max-width: 34ch; margin-bottom: 20px; }
.footer__col h4 {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}
.footer__col ul { list-style: none; margin: 0; padding: 0; }
.footer__col li { margin-bottom: 8px; }
.footer__col a { color: var(--bone-dim); font-size: 0.92rem; }
.footer__col a:hover { color: var(--gold); }

.footer__parody {
  margin: 32px 0 0;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--bone-dim);
  line-height: 1.7;
}
.footer__bottom {
  margin-top: 24px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--bone-dim);
}

.back-to-top {
  position: fixed;
  right: 22px; bottom: 22px;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--night);
  border: 0;
  font-size: 1.2rem;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition), transform var(--transition);
  z-index: 90;
}
.back-to-top.visible { opacity: 1; pointer-events: auto; }
.back-to-top:hover { transform: translateY(-3px); }

/* ---------- Responsive ---------- */

@media (max-width: 1220px) {
  .nav { gap: 18px; }
}

@media (max-width: 960px) {
  .section { padding: 72px 0; }
  .president__grid, .fleet__grid { grid-template-columns: 1fr; gap: 36px; }
  .president__portrait { max-width: 280px; }
  .cabins { grid-template-columns: repeat(2, 1fr); }
  .criteria { grid-template-columns: repeat(2, 1fr); }
  .awards, .quotes { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
  .flight__row { grid-template-columns: 1fr 1fr; }
  .flight__row > .btn { grid-column: 1 / -1; }
}

@media (max-width: 720px) {
  .section { padding: 56px 0; }
  .nav {
    position: fixed;
    top: 66px; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px 24px 20px;
    background: rgba(14, 26, 43, 0.98);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border-soft);
    transform: translateY(-140%);
    transition: transform var(--transition);
  }
  .nav.open { transform: translateY(0); }
  .nav__link { padding: 13px 0; border-bottom: 1px solid var(--border-soft); }
  .nav__link:hover, .nav__link.active { border-bottom-color: var(--border-soft); }
  .nav-toggle { display: flex; }

  .hero { min-height: auto; padding: 110px 0 48px; }
  .hero__overlay { background: linear-gradient(to bottom, rgba(14,26,43,0.72) 0%, rgba(14,26,43,0.94) 100%); }
  .flight { padding: 18px; }
  .flight__row { grid-template-columns: 1fr; }
  /* Deux champs maximum sur mobile : la date disparaît. */
  .flight__field--date { display: none; }

  .criteria { grid-template-columns: 1fr; }
  .criteria-card, .apply { padding: 24px 20px; }
  .president__quote { padding-left: 20px; }
  .president__sign { padding-left: 23px; }
  h1 { font-size: 2.5rem; }
  h2 { font-size: 1.75rem; }
  body { font-size: 1rem; }
}

@media (max-width: 620px) {
  .cabins { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr; gap: 28px; }
  .flight-card__route { gap: 10px; }
  .flight-card__line { min-width: 30px; }
}

@media (max-width: 480px) {
  .container { padding: 0 18px; }
  .criteria-card, .apply, .flight { padding: 18px 16px; }
  .apply__actions .btn, .state__actions .btn { width: 100%; }
}

/* ---------- Mouvement réduit ----------
   Aucun gag ne dépend d'une animation : le JS lit aussi cette préférence
   et rend ses résultats instantanément. */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .btn:hover, .back-to-top:hover { transform: none; }
  * { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

/* ---------- Pages secondaires (légal / crédits) ---------- */

.legal { padding: 130px 0 80px; }
.legal__inner { max-width: 760px; }
.legal__back { display: inline-flex; align-items: center; gap: 8px; font-size: 0.92rem; margin-bottom: 28px; }
.legal h2 { font-size: 1.35rem; margin-top: 2.2em; }
.legal h2:first-of-type { margin-top: 1.2em; }
.legal__updated { font-family: var(--font-mono); font-size: 0.82rem; color: var(--bone-dim); }
.legal ul { padding-left: 20px; }
.legal li { margin-bottom: 6px; }

.credits-table { width: 100%; border-collapse: collapse; margin: 24px 0 32px; font-size: 0.9rem; }
.credits-table th, .credits-table td {
  text-align: left;
  padding: 12px 14px 12px 0;
  border-bottom: 1px solid var(--border-soft);
  vertical-align: top;
}
.credits-table th {
  font-family: var(--font-heading);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
}
.credits-table td:first-child { color: var(--bone); }
.table-scroll { overflow-x: auto; }

/* ============================
   Couche glamour jet-set — chaleur, matière, halos dorés.
   Ajoutée après le reste pour rester lisible comme une intention distincte.
   ============================ */

/* Halo chaud derrière le contenu du hero : c'est lui qui donne l'heure dorée. */
.hero__glow {
  position: absolute;
  z-index: 1;
  top: 18%; left: -10%;
  width: 780px; height: 780px;
  max-width: 90vw;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(217,184,113,0.20) 0%, rgba(217,184,113,0.07) 42%, transparent 68%);
  pointer-events: none;
}

.hero__overlay {
  background:
    linear-gradient(to bottom, rgba(10,15,26,0.38) 0%, rgba(10,15,26,0.58) 45%, rgba(10,15,26,0.95) 100%),
    linear-gradient(to right, rgba(10,15,26,0.86) 0%, rgba(10,15,26,0.16) 78%);
}

.hero__lead {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.2vw, 1.9rem);
  font-weight: 500;
  font-style: italic;
  color: var(--champagne);
  max-width: 38ch;
  margin-bottom: 0.4rem;
}
.hero__aside {
  font-family: var(--font-mono);
  font-size: 0.84rem;
  color: var(--bone-dim);
  margin: 0 0 2rem;
}

/* Filet doré dégradé : sépare sans trancher. */
.section__head::after {
  content: "";
  display: block;
  width: 84px; height: 1px;
  margin-top: 22px;
  background: linear-gradient(to right, var(--gold), rgba(217,184,113,0));
}

.eyebrow {
  font-size: 0.74rem;
  letter-spacing: 0.22em;
}

/* Cartes : liseré chaud au survol, rien de clignotant. */
.cabin, .award, .quote, .flight-card, .criteria-card, .apply {
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}
.cabin:hover, .award:hover, .quote:hover {
  border-color: var(--border);
  box-shadow: 0 10px 34px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(217,184,113,0.10);
  transform: translateY(-3px);
}
.cabin--dead:hover { transform: none; box-shadow: none; border-color: var(--border-soft); }

.cabin__price, .flight-card__price { color: var(--champagne); }
.cabin h3 { color: var(--gold-soft); }

/* Citations : le serif italique, c'est là que le site respire. */
.president__quote, .quote__text {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
}
.president__quote {
  font-size: clamp(1.35rem, 2.4vw, 2rem);
  line-height: 1.4;
  color: var(--champagne);
  border-left-color: var(--gold);
}
.quote__text { font-size: 1.08rem; line-height: 1.55; color: var(--champagne); }

.president__frame {
  border-color: var(--gold);
  background:
    radial-gradient(circle at 50% 38%, rgba(217,184,113,0.10) 0%, transparent 62%),
    var(--night-3);
}

/* Fiche technique : la ligne « 1 appareil » reste le pic, en champagne. */
.spec__row--peak .spec__val { color: var(--champagne); font-family: var(--font-display); font-weight: 700; }

.stat__num { font-family: var(--font-display); font-weight: 700; color: var(--champagne); }
.stat {
  background: radial-gradient(ellipse at center, rgba(217,184,113,0.09) 0%, transparent 62%);
}

.award__icon { color: var(--gold-soft); }

.flight { border-color: var(--border); box-shadow: var(--shadow-lg), 0 0 0 1px rgba(217,184,113,0.07); }
.flight-card__time { font-family: var(--font-display); font-weight: 700; }

.footer__parody { color: var(--bone-dim); }

/* Les images gagnent un peu de chaleur, sans virer au sépia. */
.hero__bg img { filter: saturate(1.08) contrast(1.03); }
.cabin__photo img, .fleet__photo img, .quote__photo img { filter: saturate(1.05); }

@media (max-width: 720px) {
  .hero__glow { top: 8%; left: -30%; width: 460px; height: 460px; }
  .hero__lead { max-width: none; }
}

/* ---------- Silhouettes d'équipage (illustration originale) ---------- */

.hero__figure {
  position: absolute;
  right: 5%;
  bottom: 0;
  height: 74%;
  max-height: 560px;
  z-index: 2;
  pointer-events: none;
  filter: drop-shadow(0 14px 44px rgba(0, 0, 0, 0.55));
}

.cabins__figures {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 24px;
  margin: 48px 0 10px;
}
.cabins__figures svg { height: 290px; width: auto; }
/* La seconde en miroir : deux poses pour le prix d'une, et la composition respire. */
.cabins__figures svg:nth-child(2) { height: 248px; transform: scaleX(-1); }

.cabins__figures-note {
  text-align: center;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--bone-dim);
  margin: 0 0 34px;
}

@media (max-width: 1180px) {
  .hero__figure { right: -3%; opacity: 0.45; height: 66%; }
}
@media (max-width: 720px) {
  /* Sous le menu mobile, la silhouette écraserait le formulaire. */
  .hero__figure { display: none; }
  .cabins__figures { gap: 12px; }
  .cabins__figures svg { height: 170px; }
  .cabins__figures svg:nth-child(2) { height: 145px; }
}
