/* =========================================================================
   ACCHM — Aéroclub Calédonien Henri Martinet
   Design system : "Carnet de vol éditorial"
   ========================================================================= */

/* ---------- Reset + base ------------------------------------------------ */
*,
*::before,
*::after { box-sizing: border-box; }

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

body,
h1, h2, h3, h4, h5, p,
figure, dl, dd { margin: 0; }

ul, ol { margin: 0; padding: 0; list-style: none; }

img, svg { display: block; max-width: 100%; }

button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

a { color: inherit; text-decoration: none; }

::selection { background: var(--accent); color: var(--bone); }

/* ---------- Tokens ------------------------------------------------------ */
:root {
  /* palette */
  --bone:       #F4EFE6;
  --bone-2:     #EBE4D6;
  --navy:       #0B1B2B;
  --navy-2:     #122639;
  --accent:     #E85D3A;   /* windsock / coucher NC */
  --teal:       #2B7A8A;   /* lagon */
  --ink:        #2C2A26;
  --ink-soft:   #6E6960;
  --line:       rgba(11, 27, 43, 0.14);
  --line-dark:  rgba(244, 239, 230, 0.18);

  /* type */
  --f-display:  "Fraunces", "Times New Roman", serif;
  --f-body:     "Geist", system-ui, sans-serif;
  --f-mono:     "JetBrains Mono", ui-monospace, monospace;

  /* spacing */
  --gutter:     clamp(1.25rem, 4vw, 3.5rem);
  --section-pad: clamp(5rem, 10vw, 9rem);

  /* radii */
  --r-sm: 4px;
  --r-md: 10px;
  --r-lg: 22px;
}

body {
  font-family: var(--f-body);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--bone);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  font-feature-settings: "ss01", "cv11";
}

/* film grain sur toute la page */
body::before {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 200;
  opacity: 0.04;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}

/* ---------- Utilitaires éditoriaux ------------------------------------- */
.mono { font-family: var(--f-mono); }

em { font-style: italic; font-family: var(--f-display); font-weight: 500; font-variation-settings: "opsz" 100, "SOFT" 50; }

/* Sans JS, le contenu reste visible (.reveal n'a aucune transformation) */
.js .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s cubic-bezier(.2,.7,0,1), transform 0.9s cubic-bezier(.2,.7,0,1);
}
.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* En mode impression : tout révéler, supprimer les fonds inutiles */
@media print {
  .js .reveal { opacity: 1 !important; transform: none !important; }
  .hero { min-height: auto; }
  .marquee, .nav { display: none; }
}

/* ╔═══════════════════════════════════════════════════════════════════╗
   ║  NAV                                                                ║
   ╚═══════════════════════════════════════════════════════════════════╝ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem var(--gutter);
  color: var(--bone);
  transition: background-color 0.35s ease, color 0.35s ease, backdrop-filter 0.35s ease, padding 0.35s ease;
}
.nav.is-scrolled {
  background: rgba(244, 239, 230, 0.92);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  color: var(--navy);
  padding-top: 0.7rem;
  padding-bottom: 0.7rem;
  border-bottom: 1px solid var(--line);
}

.nav__brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  line-height: 1;
  letter-spacing: 0.02em;
}
.nav__brand-logo {
  width: auto;
  height: 42px;
  display: block;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,0.35));
  transition: filter 0.3s ease, transform 0.3s ease;
}
.nav.is-scrolled .nav__brand-logo {
  filter: none;
  height: 36px;
}
.nav__brand:hover .nav__brand-logo { transform: scale(1.04); }
.nav__brand-mark {
  font-family: var(--f-mono);
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  color: var(--accent);
  line-height: 1;
}

.nav__links {
  display: flex;
  gap: clamp(1rem, 3vw, 2.4rem);
  font-size: 0.84rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.nav__links a {
  position: relative;
  padding: 0.4rem 0;
}
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%; bottom: 0;
  height: 1px;
  background: currentColor;
  transition: right 0.35s cubic-bezier(.2,.7,0,1);
}
.nav__links a:hover::after { right: 0; }

.nav__toggle {
  display: none;
  width: 44px;
  height: 44px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
}
.nav__toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: currentColor;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(3.75px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { transform: translateY(-3.75px) rotate(-45deg); }

.nav__mobile {
  position: fixed;
  inset: 0;
  background: var(--bone);
  color: var(--navy);
  padding: 6rem var(--gutter) var(--gutter);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  font-family: var(--f-display);
  font-size: clamp(2rem, 9vw, 3rem);
  font-weight: 400;
  line-height: 1;
  z-index: 99;
}
.nav__mobile[hidden] { display: none; }

/* ╔═══════════════════════════════════════════════════════════════════╗
   ║  HERO                                                               ║
   ╚═══════════════════════════════════════════════════════════════════╝ */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  padding: var(--gutter) var(--gutter) clamp(3rem, 7vw, 5rem);
  color: var(--bone);
  overflow: hidden;
  isolation: isolate;
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: -1;
}
.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  transform: scale(1.06);
  animation: hero-pan 18s ease-out both;
}
@keyframes hero-pan {
  from { transform: scale(1.12); }
  to   { transform: scale(1.0); }
}
.hero__veil {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(11,27,43,0.55) 0%, rgba(11,27,43,0.18) 28%, rgba(11,27,43,0.10) 55%, rgba(11,27,43,0.70) 100%),
    linear-gradient(90deg, rgba(11,27,43,0.25) 0%, transparent 50%);
}

.hero__content {
  max-width: 1200px;
  width: 100%;
}

.hero__eyebrow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--f-mono);
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0.85;
  margin-bottom: clamp(1.5rem, 3vw, 2.2rem);
  opacity: 0; animation: fadeUp 0.9s 0.2s forwards;
}
.hero__eyebrow .dot {
  display: inline-block;
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--accent);
}

.hero__title {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(3.25rem, 11vw, 9rem);
  line-height: 0.92;
  letter-spacing: -0.025em;
  margin-bottom: clamp(1.5rem, 3vw, 2.4rem);
  font-variation-settings: "opsz" 144, "SOFT" 30;
}
.hero__title .line {
  display: block;
  opacity: 0;
  transform: translateY(40px);
  animation: fadeUp 1.1s cubic-bezier(.2,.7,0,1) forwards;
}
.hero__title .line-1 { animation-delay: 0.35s; }
.hero__title .line-2 { animation-delay: 0.55s; padding-left: clamp(2rem, 12vw, 9rem); }
.hero__title .line-3 {
  animation-delay: 0.75s;
  font-family: var(--f-mono);
  font-size: clamp(0.85rem, 1.4vw, 1.1rem);
  letter-spacing: 0.32em;
  font-weight: 400;
  text-transform: uppercase;
  margin-top: clamp(1rem, 2vw, 1.5rem);
  opacity: 0;
}
.hero__title .line-2 em {
  font-family: var(--f-display);
  font-weight: 300;
  font-variation-settings: "opsz" 144, "SOFT" 100;
}

@keyframes fadeUp {
  to { opacity: 1; transform: none; }
}

.hero__lede {
  max-width: 38ch;
  font-size: clamp(1rem, 1.3vw, 1.18rem);
  line-height: 1.55;
  margin-bottom: clamp(1.5rem, 3vw, 2.4rem);
  opacity: 0; animation: fadeUp 0.9s 0.95s forwards;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  opacity: 0; animation: fadeUp 0.9s 1.1s forwards;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.95rem 1.5rem;
  font-size: 0.84rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: 999px;
  border: 1px solid currentColor;
  transition: transform 0.3s ease, background 0.3s ease, color 0.3s ease;
}
.btn .arrow { transition: transform 0.4s cubic-bezier(.2,.7,0,1); }
.btn:hover .arrow { transform: translateX(6px); }

.btn--primary {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--bone);
}
.btn--primary:hover { background: transparent; color: var(--accent); }

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

.hero__ffa {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  margin-top: clamp(1.6rem, 3vw, 2.2rem);
  padding: 0.55rem 1rem 0.55rem 0.85rem;
  background: rgba(244, 239, 230, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 999px;
  color: var(--navy);
  opacity: 0; animation: fadeUp 0.9s 1.25s forwards;
  transition: transform 0.35s ease, background 0.3s ease;
}
.hero__ffa:hover {
  background: var(--bone);
  transform: translateY(-2px);
}
.hero__ffa-label {
  font-family: var(--f-mono);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.hero__ffa-logo {
  height: 36px;
  width: auto;
  display: block;
}

.hero__scroll {
  position: absolute;
  right: var(--gutter);
  bottom: clamp(1.5rem, 3vw, 2.5rem);
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--f-mono);
  font-size: 0.66rem;
  letter-spacing: 0.32em;
  opacity: 0; animation: fadeUp 0.9s 1.3s forwards;
}
.hero__scroll svg {
  width: 12px; height: 24px;
  animation: scroll-bob 2.2s ease-in-out infinite;
}
@keyframes scroll-bob {
  0%, 100% { transform: translateY(0); opacity: 0.7; }
  50%      { transform: translateY(4px); opacity: 1; }
}

/* ╔═══════════════════════════════════════════════════════════════════╗
   ║  MARQUEE                                                            ║
   ╚═══════════════════════════════════════════════════════════════════╝ */
.marquee {
  background: var(--navy);
  color: var(--bone);
  border-top: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
  overflow: hidden;
  padding: 1.1rem 0;
}
.marquee__track {
  display: inline-flex;
  gap: 2rem;
  white-space: nowrap;
  font-family: var(--f-mono);
  font-size: 0.86rem;
  letter-spacing: 0.18em;
  animation: marquee 38s linear infinite;
  will-change: transform;
}
.marquee__track span:nth-child(even) { color: var(--accent); }
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ╔═══════════════════════════════════════════════════════════════════╗
   ║  SECTIONS (génériques)                                              ║
   ╚═══════════════════════════════════════════════════════════════════╝ */
.section {
  padding: var(--section-pad) var(--gutter);
  border-top: 1px solid var(--line);
  position: relative;
}

.section__header {
  max-width: 1400px;
  margin: 0 auto clamp(2.5rem, 5vw, 4rem);
}
.section__num {
  font-family: var(--f-mono);
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.1rem;
}
.section__title {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(2.4rem, 6vw, 5rem);
  line-height: 0.98;
  letter-spacing: -0.02em;
  color: var(--navy);
  font-variation-settings: "opsz" 144, "SOFT" 40;
}
.section__title em {
  font-weight: 300;
  font-variation-settings: "opsz" 144, "SOFT" 90;
}
.section__sub {
  max-width: 48ch;
  margin-top: 1.4rem;
  color: var(--ink-soft);
  font-size: 1.02rem;
}

/* ╔═══════════════════════════════════════════════════════════════════╗
   ║  HISTOIRE                                                           ║
   ╚═══════════════════════════════════════════════════════════════════╝ */
.histoire__grid {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2rem, 5vw, 5rem);
}
@media (min-width: 900px) {
  .histoire__grid { grid-template-columns: 1.1fr 0.9fr; align-items: start; }
}

.histoire__body p { margin-bottom: 1.2rem; max-width: 56ch; }
.histoire__body .lead {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(1.3rem, 2vw, 1.7rem);
  line-height: 1.4;
  letter-spacing: -0.005em;
  color: var(--navy);
  margin-bottom: 1.8rem;
  font-variation-settings: "opsz" 36, "SOFT" 50;
}
.histoire__body strong { color: var(--navy); font-weight: 500; }

.histoire__aside {
  display: grid;
  gap: clamp(1.5rem, 3vw, 2.5rem);
}
.histoire__figure { margin: 0; }
.histoire__figure img {
  width: 100%;
  height: auto;
  border-radius: var(--r-md);
  box-shadow: 0 20px 50px -20px rgba(11,27,43,0.25);
}
.histoire__figure figcaption {
  margin-top: 0.8rem;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  color: var(--ink-soft);
  font-family: var(--f-mono);
}

/* Lien vidéo (film du club) */
.film {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 1.2rem;
  align-items: center;
  padding: 0.85rem 1.1rem 0.85rem 0.85rem;
  background: var(--navy);
  color: var(--bone);
  border-radius: var(--r-md);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  overflow: hidden;
}
.film:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 40px -20px rgba(11,27,43,0.45);
}
.film__thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 6px;
  overflow: hidden;
  background: #000;
}
.film__thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.75;
  transition: opacity 0.35s ease, transform 0.6s ease;
}
.film:hover .film__thumb img { opacity: 1; transform: scale(1.05); }
.film__play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: var(--bone);
  filter: drop-shadow(0 2px 6px rgba(0,0,0,0.45));
}
.film__play svg {
  width: 32px; height: 32px;
  transition: transform 0.35s ease;
}
.film:hover .film__play svg { transform: scale(1.12); }

.film__body { display: grid; gap: 0.2rem; min-width: 0; }
.film__eyebrow {
  font-family: var(--f-mono);
  font-size: 0.66rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}
.film__title {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
  line-height: 1.15;
  letter-spacing: -0.01em;
  font-variation-settings: "opsz" 36, "SOFT" 60;
}
.film__title em { font-weight: 300; font-variation-settings: "opsz" 36, "SOFT" 100; }
.film__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.4rem;
  font-family: var(--f-mono);
  font-size: 0.74rem;
  letter-spacing: 0.1em;
  color: var(--accent);
}
.film__cta .arrow { transition: transform 0.35s ease; }
.film:hover .film__cta .arrow { transform: translateX(5px); }

@media (max-width: 480px) {
  .film { grid-template-columns: 1fr; padding: 0.6rem; }
  .film__body { padding: 0.4rem 0.5rem 0.6rem; }
}

.histoire__stat {
  display: flex;
  align-items: baseline;
  gap: 1.2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}
.histoire__stat-num {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(5rem, 12vw, 9rem);
  line-height: 0.85;
  letter-spacing: -0.04em;
  color: var(--navy);
  font-variation-settings: "opsz" 144, "SOFT" 20;
}
.histoire__stat-num sup {
  font-size: 0.42em;
  vertical-align: super;
  color: var(--accent);
  font-feature-settings: "sups" 0;
}
.histoire__stat-label {
  font-size: 0.94rem;
  line-height: 1.4;
  color: var(--ink-soft);
  max-width: 14ch;
}

/* ╔═══════════════════════════════════════════════════════════════════╗
   ║  AVIONS                                                             ║
   ╚═══════════════════════════════════════════════════════════════════╝ */
.avions__grid {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2.5rem, 5vw, 4rem);
}
@media (min-width: 1000px) {
  .avions__grid { grid-template-columns: 1fr 1fr; }
}

.aircraft {
  display: flex;
  flex-direction: column;
  background: var(--bone-2);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.aircraft:hover {
  transform: translateY(-4px);
  box-shadow: 0 30px 60px -25px rgba(11,27,43,0.30);
}
.aircraft__photo {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}
.aircraft__photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.2s cubic-bezier(.2,.7,0,1);
}
.aircraft:hover .aircraft__photo img { transform: scale(1.05); }

.aircraft__tags {
  position: absolute;
  top: 1.1rem;
  left: 1.1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.aircraft__tags span {
  padding: 0.4rem 0.7rem;
  font-family: var(--f-mono);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  background: rgba(244, 239, 230, 0.92);
  backdrop-filter: blur(8px);
  color: var(--navy);
  border-radius: 999px;
}

.aircraft__body {
  padding: clamp(1.4rem, 3vw, 2.2rem);
  display: grid;
  gap: 1.1rem;
}
.aircraft__type {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(1.5rem, 2.2vw, 2rem);
  line-height: 1.1;
  letter-spacing: -0.015em;
  color: var(--navy);
}
.aircraft__type em {
  font-weight: 300;
  font-variation-settings: "opsz" 72, "SOFT" 90;
}
.aircraft__reg {
  font-family: var(--f-mono);
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  letter-spacing: 0.04em;
  font-weight: 500;
  color: var(--accent);
  line-height: 1;
  margin-top: -0.4rem;
}
.aircraft__desc {
  color: var(--ink);
  max-width: 50ch;
}
.aircraft__specs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem 1.2rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--line);
  font-size: 0.86rem;
}
.aircraft__specs div { display: grid; gap: 0.2rem; }
.aircraft__specs-full { grid-column: 1 / -1; }
.aircraft__specs dt {
  font-family: var(--f-mono);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.aircraft__specs dd { color: var(--navy); font-weight: 500; margin: 0; }

/* ╔═══════════════════════════════════════════════════════════════════╗
   ║  PHOTOS — section + carrousel                                       ║
   ╚═══════════════════════════════════════════════════════════════════╝ */
.photos .section__header { max-width: 1400px; }
.photos__lede {
  margin-top: clamp(1.5rem, 3vw, 2.2rem);
  max-width: 64ch;
  display: grid;
  gap: 1.1rem;
}
.photos__lede p { color: var(--ink); }
.photos__lede .lead {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(1.25rem, 1.9vw, 1.55rem);
  line-height: 1.4;
  letter-spacing: -0.005em;
  color: var(--navy);
  font-variation-settings: "opsz" 36, "SOFT" 50;
}

/* carrousel : full-bleed (déborde du padding section) — propulsé par Splide */
.carousel {
  position: relative;
  margin-top: clamp(2.5rem, 5vw, 4rem);
  margin-left: calc(var(--gutter) * -1);
  margin-right: calc(var(--gutter) * -1);
}
.splide__list { list-style: none; padding: 0; margin: 0; }
.splide__track { overflow: hidden; }

/* La largeur de chaque slide pilote autoWidth: true */
.slide {
  width: clamp(260px, 78vw, 540px);
}
@media (min-width: 700px) {
  .slide { width: clamp(360px, 48vw, 620px); }
}
@media (min-width: 1100px) {
  .slide { width: clamp(440px, 38vw, 680px); }
}

.slide figure { margin: 0; }
.slide img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: var(--r-md);
  background: var(--bone-2);
  display: block;
}
.slide figcaption {
  margin-top: 0.8rem;
  font-family: var(--f-mono);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  color: var(--ink-soft);
  padding: 0 0.25rem;
}

.carousel__controls {
  margin: clamp(1.5rem, 3vw, 2.2rem) var(--gutter) 0;
  display: flex;
  align-items: center;
  gap: 1.4rem;
}
.carousel__btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--navy);
  color: var(--navy);
  display: grid;
  place-items: center;
  transition: background 0.3s ease, color 0.3s ease, transform 0.25s ease;
}
.carousel__btn:hover { background: var(--navy); color: var(--bone); }
.carousel__btn:active { transform: scale(0.95); }
.carousel__btn:disabled { opacity: 0.3; cursor: not-allowed; }
.carousel__btn:disabled:hover { background: transparent; color: var(--navy); }
.carousel__btn svg { width: 22px; height: 22px; }

.carousel__count {
  font-family: var(--f-mono);
  font-size: 0.86rem;
  letter-spacing: 0.18em;
  color: var(--ink-soft);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.carousel__count [data-carousel-current] { color: var(--navy); }
.carousel__sep { color: var(--accent); }


/* ╔═══════════════════════════════════════════════════════════════════╗
   ║  VOLER (CTAs)                                                       ║
   ╚═══════════════════════════════════════════════════════════════════╝ */
.voler__grid {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1.5rem, 3vw, 2rem);
}
@media (min-width: 900px) {
  .voler__grid { grid-template-columns: 1fr 1fr; }
  .voler__grid > :nth-child(3) { grid-column: 1 / -1; }
}
@media (min-width: 1200px) {
  .voler__grid { grid-template-columns: repeat(3, 1fr); }
  .voler__grid > :nth-child(3) { grid-column: auto; }
}

.cta-card {
  position: relative;
  display: block;
  border-radius: var(--r-lg);
  overflow: hidden;
  isolation: isolate;
  aspect-ratio: 5 / 4;
  transition: transform 0.4s ease;
}
@media (min-width: 700px) {
  .cta-card { aspect-ratio: 4 / 3; }
}
@media (min-width: 1200px) {
  .cta-card { aspect-ratio: 5 / 4; }
}
.cta-card:hover { transform: translateY(-4px); }

.cta-card__media {
  position: absolute;
  inset: 0;
  z-index: -1;
}
.cta-card__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.4s cubic-bezier(.2,.7,0,1);
}
.cta-card:hover .cta-card__media img { transform: scale(1.08); }

.cta-card--light::after,
.cta-card--dark::after {
  content: "";
  position: absolute; inset: 0;
  z-index: -1;
}
.cta-card--light::after {
  background:
    linear-gradient(180deg, rgba(244,239,230,0.55) 0%, rgba(244,239,230,0.92) 60%, rgba(244,239,230,1) 100%);
}
.cta-card--dark::after {
  background:
    linear-gradient(180deg, rgba(11,27,43,0.45) 0%, rgba(11,27,43,0.88) 60%, rgba(11,27,43,1) 100%);
}

.cta-card__body {
  position: absolute;
  inset: 0;
  padding: clamp(1.6rem, 4vw, 2.8rem);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 0.8rem;
}
.cta-card--light .cta-card__body { color: var(--navy); }
.cta-card--dark  .cta-card__body { color: var(--bone); }

.cta-card__eyebrow {
  font-family: var(--f-mono);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.75;
}
.cta-card__title {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(2rem, 4.4vw, 3.4rem);
  line-height: 0.96;
  letter-spacing: -0.02em;
  font-variation-settings: "opsz" 144, "SOFT" 40;
}
.cta-card--dark .cta-card__title em,
.cta-card--light .cta-card__title em {
  font-weight: 300;
  font-variation-settings: "opsz" 144, "SOFT" 100;
}
.cta-card__desc {
  font-size: 0.98rem;
  max-width: 36ch;
  opacity: 0.85;
}
.cta-card__url {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  margin-top: 0.4rem;
  font-family: var(--f-mono);
  font-size: 0.84rem;
  letter-spacing: 0.06em;
  padding-top: 1rem;
  border-top: 1px solid currentColor;
}
.cta-card--light .cta-card__url { border-color: rgba(11,27,43,0.2); }
.cta-card--dark  .cta-card__url { border-color: rgba(244,239,230,0.25); }
.cta-card__url .arrow { transition: transform 0.4s cubic-bezier(.2,.7,0,1); margin-left: auto; }
.cta-card:hover .cta-card__url .arrow { transform: translateX(8px); }

.cta-card--dark .cta-card__eyebrow,
.cta-card--dark .cta-card__url { color: var(--accent); }

/* ╔═══════════════════════════════════════════════════════════════════╗
   ║  CONTACT                                                            ║
   ╚═══════════════════════════════════════════════════════════════════╝ */
.contact__grid {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2rem, 4vw, 3rem);
}
@media (min-width: 800px) {
  .contact__grid { grid-template-columns: repeat(3, 1fr); }
}

.contact__col {
  padding-top: 1.5rem;
  border-top: 1px solid var(--navy);
  display: grid;
  gap: 1rem;
  align-content: start;
}
.contact__label {
  font-family: var(--f-mono);
  font-size: 0.74rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.contact__big {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  line-height: 1.05;
  color: var(--navy);
  letter-spacing: -0.015em;
}
.contact__big em {
  font-weight: 300;
  font-variation-settings: "opsz" 72, "SOFT" 100;
}
.contact__txt {
  color: var(--ink-soft);
  font-size: 0.98rem;
  max-width: 32ch;
}
.contact__link {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding-top: 0.8rem;
  border-top: 1px dashed var(--line);
  margin-top: auto;
  font-family: var(--f-mono);
  font-size: 0.86rem;
  color: var(--navy);
  transition: color 0.25s ease;
}
.contact__link:hover { color: var(--accent); }
.contact__link .arrow { transition: transform 0.35s ease; }
.contact__link:hover .arrow { transform: translateX(5px); }

/* ╔═══════════════════════════════════════════════════════════════════╗
   ║  FOOTER                                                             ║
   ╚═══════════════════════════════════════════════════════════════════╝ */
.footer {
  position: relative;
  background: var(--navy);
  color: var(--bone);
  padding: clamp(4rem, 8vw, 7rem) var(--gutter) 2rem;
  overflow: hidden;
}

.footer__top {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2.5rem, 5vw, 4rem);
}
@media (min-width: 900px) {
  .footer__top { grid-template-columns: 1.1fr 1.6fr; }
}

.footer__brand { max-width: 32ch; }
.footer__mark {
  font-family: var(--f-mono);
  font-size: 0.86rem;
  letter-spacing: 0.22em;
  color: var(--accent);
  margin-bottom: 1.4rem;
}
.footer__tag {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  line-height: 1.1;
  letter-spacing: -0.015em;
  font-variation-settings: "opsz" 72, "SOFT" 60;
}
.footer__tag em {
  font-weight: 300;
  font-variation-settings: "opsz" 72, "SOFT" 100;
}

.footer__cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: clamp(1.5rem, 3vw, 2.5rem);
}
.footer__cols > div { display: grid; gap: 0.55rem; align-content: start; }
.footer__h {
  font-family: var(--f-mono);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(244,239,230,0.5);
  margin-bottom: 0.4rem;
}
.footer__cols a {
  font-size: 0.96rem;
  color: var(--bone);
  opacity: 0.85;
  transition: opacity 0.25s ease, color 0.25s ease;
}
.footer__cols a:hover { opacity: 1; color: var(--accent); }
.footer__txt {
  font-size: 0.88rem;
  color: rgba(244,239,230,0.7);
  line-height: 1.55;
}
.footer__txt a {
  color: var(--bone);
  border-bottom: 1px solid rgba(244,239,230,0.25);
  transition: color 0.25s ease, border-color 0.25s ease;
}
.footer__txt a:hover {
  color: var(--accent);
  border-color: var(--accent);
}
.footer__txt--mini {
  margin-top: 0.9rem;
  font-size: 0.76rem;
  letter-spacing: 0.04em;
  color: rgba(244,239,230,0.45);
}

.footer__bottom {
  max-width: 1400px;
  margin: clamp(3rem, 6vw, 5rem) auto 0;
  padding-top: 1.4rem;
  border-top: 1px solid var(--line-dark);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.8rem;
  font-size: 0.82rem;
  color: rgba(244,239,230,0.55);
}
.footer__bottom .mono { letter-spacing: 0.08em; }

.footer__egg {
  position: absolute;
  right: -3rem;
  bottom: -3rem;
  width: clamp(160px, 22vw, 280px);
  opacity: 0.16;
  pointer-events: none;
  mix-blend-mode: screen;
  filter: grayscale(0.4);
}

/* ╔═══════════════════════════════════════════════════════════════════╗
   ║  RESPONSIVE — petits écrans                                         ║
   ╚═══════════════════════════════════════════════════════════════════╝ */
@media (max-width: 800px) {
  .nav__brand-mark { display: none; }
  .nav__brand-logo { height: 36px; }
  .nav__links { display: none; }
  .nav__toggle { display: flex; }
  .nav.is-open { color: var(--navy); }
  body.nav-open { overflow: hidden; }

  .hero { padding-bottom: 4.5rem; }
  .hero__scroll { display: none; }
  .hero__title .line-2 { padding-left: clamp(1rem, 6vw, 3rem); }

  .aircraft__specs { gap: 0.8rem 1rem; }
}

@media (min-width: 801px) {
  .nav__mobile { display: none !important; }
}
