/* ============================================================
   AÉROCLUB ROYAL DE CASABLANCA — Site vitrine (étape 1)
   Design premium aviation · bleu nuit · or royal · ciel marocain
   ============================================================ */

/* ---------- Variables ---------- */
:root {
  --navy-950: #050B1A;
  --navy-900: #081226;
  --navy-800: #0D1B38;
  --navy-700: #14264C;
  --navy-600: #1D3463;

  --sky-500: #4A90D9;
  --sky-400: #7FB8E6;
  --sky-300: #ADD2F0;

  --white: #FFFFFF;
  --off-white: #F5F7FB;
  --gray-100: #ECF0F7;
  --gray-200: #DDE4EF;
  --ink: #0D1B38;
  --ink-soft: #51617E;

  --gold: #C9A24B;
  --gold-bright: #E5C87E;
  --gold-deep: #A8842F;
  --red-royal: #A6192E;

  --font-display: "Sora", "Avenir Next", "Helvetica Neue", sans-serif;
  --font-body: "Inter", "Helvetica Neue", Arial, sans-serif;
  --font-accent: "Cormorant Garamond", Georgia, serif;

  --container: 1200px;
  --radius: 18px;
  --shadow-soft: 0 18px 50px -18px rgba(8, 18, 38, .22);
  --shadow-lift: 0 30px 70px -22px rgba(8, 18, 38, .38);
  --ease-out: cubic-bezier(.22, .8, .26, .99);
  --ease-spring: cubic-bezier(.34, 1.4, .42, 1);

  --nav-h: 84px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip; /* clip ne crée pas de conteneur de scroll (contrairement à hidden) */
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul, ol { list-style: none; }
::selection { background: var(--gold); color: var(--navy-900); }

.container {
  width: min(100% - 3rem, var(--container));
  margin-inline: auto;
}
.svg-defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.section { padding-block: clamp(4.5rem, 9vw, 8rem); }

/* ============================================================
   LOADER — horizon artificiel
   ============================================================ */
.loader {
  position: fixed; inset: 0; z-index: 1000;
  display: grid; place-items: center;
  background: radial-gradient(120% 120% at 50% 20%, var(--navy-800), var(--navy-950));
  transition: opacity .7s var(--ease-out), visibility .7s;
}
.loader--done { opacity: 0; visibility: hidden; pointer-events: none; }
.loader__instrument { text-align: center; }
.loader__logo {
  display: block;
  width: min(320px, 74vw); height: auto;
  margin: 0 auto;
  filter: drop-shadow(0 12px 40px rgba(201, 162, 75, .25));
  animation: emblemBreath 2.6s ease-in-out infinite;
}
@keyframes emblemBreath {
  0%, 100% { transform: scale(1); opacity: .94; }
  50%      { transform: scale(1.03); opacity: 1; }
}
.loader__bar {
  width: 180px; height: 2px; margin: 1.1rem auto 0;
  background: rgba(127, 184, 230, .2); border-radius: 2px; overflow: hidden;
}
.loader__bar span {
  display: block; height: 100%; width: 40%;
  background: linear-gradient(90deg, var(--gold), var(--gold-bright));
  border-radius: 2px;
  animation: loadSweep 1.4s var(--ease-out) infinite;
}
@keyframes loadSweep {
  0% { transform: translateX(-120%); }
  100% { transform: translateX(480%); }
}

/* ============================================================
   NAVBAR
   ============================================================ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 900;
  transition: background .45s var(--ease-out), box-shadow .45s, backdrop-filter .45s;
}
.nav__inner {
  width: min(100% - 3rem, 1320px);
  margin-inline: auto;
  height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between; gap: 2rem;
  transition: height .35s var(--ease-out);
}
.nav--scrolled {
  background: rgba(8, 18, 38, .82);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  box-shadow: 0 10px 40px -18px rgba(0, 0, 0, .55);
}
.nav--scrolled .nav__inner { height: 66px; }

.nav__brand { display: flex; align-items: center; gap: .7rem; color: var(--white); }
.nav__emblem {
  height: 46px; width: auto; flex-shrink: 0;
  filter: drop-shadow(0 2px 10px rgba(201, 162, 75, .25));
  transition: filter .4s, transform .4s var(--ease-spring), height .35s var(--ease-out);
}
.nav--scrolled .nav__emblem { height: 38px; }
.nav__brand:hover .nav__emblem {
  filter: drop-shadow(0 2px 16px rgba(229, 200, 126, .55));
  transform: translateY(-1px);
}
.nav__brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.nav__brand-text strong {
  font-family: var(--font-display); font-weight: 700; font-size: 1.18rem; letter-spacing: .14em;
}
.nav__brand-text small {
  font-size: .6rem; letter-spacing: .18em; text-transform: uppercase; opacity: .75; font-weight: 500;
}

.nav__links { display: flex; align-items: center; gap: clamp(.9rem, 1.6vw, 1.7rem); }
.nav__links > a:not(.btn) {
  position: relative;
  color: rgba(255, 255, 255, .88);
  font-size: .86rem; font-weight: 500; letter-spacing: .02em;
  padding: .4rem 0;
  transition: color .3s;
}
.nav__links > a:not(.btn)::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 100%; height: 1.5px;
  background: var(--gold);
  transform: scaleX(0); transform-origin: right;
  transition: transform .35s var(--ease-out);
}
.nav__links > a:not(.btn):hover { color: var(--white); }
.nav__links > a:not(.btn):hover::after { transform: scaleX(1); transform-origin: left; }

.nav__burger { display: none; flex-direction: column; gap: 5px; padding: .6rem; z-index: 950; }
.nav__burger span {
  width: 26px; height: 2px; background: var(--white); border-radius: 2px;
  transition: transform .35s var(--ease-out), opacity .25s;
}
.nav__burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__burger.is-open span:nth-child(2) { opacity: 0; }
.nav__burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   BOUTONS
   ============================================================ */
.btn {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .9rem 1.7rem;
  font-family: var(--font-display); font-size: .85rem; font-weight: 600; letter-spacing: .04em;
  border-radius: 999px;
  overflow: hidden;
  transition: transform .35s var(--ease-spring), box-shadow .35s, background .35s, color .35s, border-color .35s;
  white-space: nowrap;
}
.btn svg { width: 17px; height: 17px; }
.btn::before { /* reflet balayant */
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(105deg, transparent 38%, rgba(255, 255, 255, .35) 50%, transparent 62%);
  transform: translateX(-110%);
  transition: transform .7s var(--ease-out);
}
.btn:hover::before { transform: translateX(110%); }

.btn--gold {
  background: linear-gradient(135deg, var(--gold-bright), var(--gold) 55%, var(--gold-deep));
  color: var(--navy-900);
  box-shadow: 0 12px 30px -10px rgba(201, 162, 75, .55);
}
.btn--gold:hover { transform: translateY(-3px); box-shadow: 0 18px 40px -12px rgba(201, 162, 75, .7); }

.btn--ghost {
  background: rgba(255, 255, 255, .1);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, .42);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.btn--ghost:hover { background: rgba(255, 255, 255, .2); transform: translateY(-3px); }

.btn--outline-gold {
  background: transparent; color: var(--gold-bright);
  border: 1px solid rgba(201, 162, 75, .65);
}
.btn--outline-gold:hover { background: rgba(201, 162, 75, .14); transform: translateY(-3px); }

.btn--outline {
  background: transparent; color: var(--navy-800);
  border: 1.5px solid var(--gray-200);
}
.btn--outline:hover { border-color: var(--gold); color: var(--gold-deep); transform: translateY(-3px); }

.btn--lg { padding: 1.05rem 2.3rem; font-size: .95rem; }
.btn--nav { padding: .62rem 1.3rem; font-size: .8rem; }

.link-arrow {
  display: inline-flex; align-items: center; gap: .45rem;
  font-family: var(--font-display); font-size: .84rem; font-weight: 600;
  color: var(--gold-deep);
}
.link-arrow svg { width: 16px; height: 16px; transition: transform .35s var(--ease-spring); }
.link-arrow:hover svg { transform: translateX(6px); }

/* ============================================================
   TITRES DE SECTION
   ============================================================ */
.section__head { max-width: 720px; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section__head--light { color: var(--white); }
.section__kicker {
  display: inline-flex; align-items: center; gap: .7rem;
  font-family: var(--font-display);
  font-size: .74rem; font-weight: 600; letter-spacing: .3em; text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 1.1rem;
}
.section__kicker::before {
  content: ""; width: 36px; height: 1.5px; background: var(--gold);
}
.section__kicker--gold { color: var(--gold-bright); }
.section__head--light .section__kicker { color: var(--gold-bright); }
.section__title {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 4vw, 3rem);
  font-weight: 700; line-height: 1.14; letter-spacing: -.015em;
  color: var(--navy-900);
}
.section__head--light .section__title { color: var(--white); }
.section__title em {
  font-family: var(--font-accent); font-style: italic; font-weight: 600;
  font-size: 1.12em;
  background: linear-gradient(120deg, var(--gold-deep), var(--gold-bright));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.section__lead {
  margin-top: 1.15rem;
  font-size: 1.02rem; color: var(--ink-soft); max-width: 60ch;
}
.section__head--light .section__lead { color: rgba(255, 255, 255, .72); }

/* ============================================================
   ANIMATIONS DE REVEAL AU SCROLL
   ============================================================ */
[data-reveal] {
  opacity: 0;
  transform: translateY(42px);
  transition: opacity .9s var(--ease-out), transform .9s var(--ease-out);
  transition-delay: calc(var(--reveal-delay, 0) * 95ms);
  will-change: opacity, transform;
}
[data-reveal="left"]  { transform: translateX(-56px); }
[data-reveal="right"] { transform: translateX(56px); }
[data-reveal].is-visible { opacity: 1; transform: none; }

/* ============================================================
   1. HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center;
  overflow: hidden;
  background: var(--navy-950);
  color: var(--white);
}
.hero__media { position: absolute; inset: 0; }
.hero__img, .hero__video {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover; object-position: center 38%;
}
.hero__img { animation: kenBurns 22s var(--ease-out) infinite alternate; transform-origin: 55% 45%; }
@keyframes kenBurns {
  from { transform: scale(1) translateX(0); }
  to   { transform: scale(1.09) translateX(-1.6%); }
}
.hero__video { opacity: 0; transition: opacity 1.2s ease; }
.hero__video.is-playing { opacity: 1; }
.hero__overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(78deg, rgba(5, 11, 26, .88) 6%, rgba(5, 11, 26, .55) 42%, rgba(5, 11, 26, .12) 70%),
    linear-gradient(to top, rgba(5, 11, 26, .92) 0%, transparent 38%),
    linear-gradient(to bottom, rgba(5, 11, 26, .55) 0%, transparent 24%);
}

/* Nuages parallax */
.clouds { position: absolute; inset: 0; pointer-events: none; }
.cloud {
  position: absolute;
  width: 56vw; height: 30vh;
  background:
    radial-gradient(48% 62% at 32% 58%, rgba(255, 255, 255, .16), transparent 70%),
    radial-gradient(40% 55% at 62% 42%, rgba(255, 255, 255, .12), transparent 72%),
    radial-gradient(30% 48% at 82% 60%, rgba(255, 255, 255, .09), transparent 70%);
  filter: blur(14px);
  will-change: transform;
}
.cloud--1 { top: 12%; left: -8%; animation: cloudDrift 64s linear infinite; }
.cloud--2 { top: 36%; right: -16%; width: 64vw; animation: cloudDrift 88s linear infinite reverse; opacity: .8; }
.cloud--3 { bottom: 6%; left: 14%; width: 48vw; animation: cloudDrift 74s linear infinite; opacity: .6; }
@keyframes cloudDrift {
  from { translate: -6vw 0; }
  to   { translate: 14vw 0; }
}

.hero__content {
  position: relative; z-index: 2;
  width: min(100% - 3rem, 1320px);
  margin-inline: auto;
  padding-top: var(--nav-h);
}
.hero__kicker {
  display: flex; align-items: center; gap: .9rem;
  font-family: var(--font-display);
  font-size: .76rem; font-weight: 600; letter-spacing: .3em; text-transform: uppercase;
  color: var(--sky-300);
  margin-bottom: 1.6rem;
}
.hero__kicker-line { width: 52px; height: 1.5px; background: var(--gold); display: inline-block; }
.hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6.4vw, 4.9rem);
  font-weight: 800; line-height: 1.06; letter-spacing: -.02em;
  text-wrap: balance;
  text-shadow: 0 6px 40px rgba(5, 11, 26, .45);
}
.hero__title em {
  font-family: var(--font-accent); font-style: italic; font-weight: 600;
  font-size: 1.08em;
  background: linear-gradient(115deg, var(--gold-bright) 20%, var(--gold) 60%, var(--gold-bright));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.hero__subtitle {
  margin-top: 1.5rem;
  max-width: 54ch;
  font-size: clamp(1rem, 1.4vw, 1.18rem);
  font-weight: 300;
  color: rgba(255, 255, 255, .85);
}
.hero__actions { margin-top: 2.4rem; display: flex; flex-wrap: wrap; gap: .9rem; }

/* reveals du hero (pilotés par .hero.is-ready) */
[data-hero-reveal] {
  opacity: 0; transform: translateY(36px);
  transition: opacity 1s var(--ease-out), transform 1s var(--ease-out);
}
.hero.is-ready [data-hero-reveal] { opacity: 1; transform: none; }
.hero.is-ready [data-hero-reveal]:nth-of-type(1) { transition-delay: .15s; }
.hero.is-ready [data-hero-reveal]:nth-of-type(2) { transition-delay: .3s; }
.hero.is-ready [data-hero-reveal]:nth-of-type(3) { transition-delay: .5s; }
.hero.is-ready .hero__actions { transition-delay: .68s; }

.hero__scroll {
  position: absolute; z-index: 2;
  left: 50%; bottom: 2.2rem; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: .7rem;
  color: rgba(255, 255, 255, .75);
  font-size: .68rem; letter-spacing: .3em; text-transform: uppercase;
  transition: color .3s;
}
.hero__scroll:hover { color: var(--gold-bright); }
.hero__scroll-line {
  width: 1.5px; height: 54px;
  background: linear-gradient(to bottom, transparent, currentColor);
  overflow: hidden; position: relative;
}
.hero__scroll-line::after {
  content: ""; position: absolute; left: 0; top: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(to bottom, transparent, var(--gold-bright));
  animation: scrollPulse 2.2s var(--ease-out) infinite;
}
@keyframes scrollPulse {
  0% { top: -100%; } 60%, 100% { top: 100%; }
}

/* ============================================================
   2. À PROPOS
   ============================================================ */
.about { background: var(--off-white); position: relative; overflow: hidden; }
.about::before { /* halo ciel discret */
  content: ""; position: absolute; top: -30%; right: -18%;
  width: 56vw; height: 56vw; border-radius: 50%;
  background: radial-gradient(circle, rgba(127, 184, 230, .16), transparent 65%);
  pointer-events: none;
}
.about__grid {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: center;
}
.about__figure { position: relative; }
.about__figure img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-lift);
  aspect-ratio: 4 / 4.6;
  object-fit: cover;
  width: 100%;
}
.about__badge {
  position: absolute; left: -1.4rem; bottom: 2rem;
  max-width: 240px;
  background: linear-gradient(135deg, var(--navy-800), var(--navy-900));
  color: var(--white);
  border: 1px solid rgba(201, 162, 75, .45);
  border-radius: 14px;
  padding: 1.1rem 1.3rem;
  box-shadow: var(--shadow-lift);
}
.about__badge-num {
  display: block;
  font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; line-height: 1.25;
  color: var(--gold-bright);
}
.about__badge-label { display: block; margin-top: .4rem; font-size: .78rem; color: rgba(255,255,255,.75); }

.about__lead {
  font-family: var(--font-accent); font-style: italic;
  font-size: clamp(1.18rem, 1.9vw, 1.45rem); font-weight: 500; line-height: 1.5;
  color: var(--navy-700);
  margin-top: 1.4rem;
}
.about__text { margin-top: 1.1rem; color: var(--ink-soft); max-width: 62ch; }

.about__values {
  margin-top: 2.2rem;
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem;
}
.value-card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: 14px;
  padding: 1.3rem 1.4rem;
  transition: transform .45s var(--ease-spring), box-shadow .45s, border-color .45s;
  --reveal-delay: 0;
}
.value-card[data-reveal-delay="1"] { --reveal-delay: 1; }
.value-card[data-reveal-delay="2"] { --reveal-delay: 2; }
.value-card[data-reveal-delay="3"] { --reveal-delay: 3; }
.value-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-soft);
  border-color: rgba(201, 162, 75, .5);
}
.value-card svg { width: 30px; height: 30px; color: var(--gold-deep); }
.value-card h3 { font-family: var(--font-display); font-size: 1rem; margin-top: .7rem; color: var(--navy-900); }
.value-card p { font-size: .85rem; color: var(--ink-soft); margin-top: .3rem; }

/* ============================================================
   COMPTEURS
   ============================================================ */
.stats {
  position: relative;
  background:
    linear-gradient(180deg, var(--navy-900) 0%, var(--navy-800) 100%);
  color: var(--white);
  padding-block: clamp(3.2rem, 6vw, 5rem) clamp(2.2rem, 4vw, 3rem);
  overflow: hidden;
}
.stats__sky {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(70% 120% at 80% -20%, rgba(127, 184, 230, .22), transparent 60%),
    radial-gradient(50% 100% at 10% 120%, rgba(201, 162, 75, .14), transparent 60%);
}
.stats__grid {
  position: relative;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem;
  text-align: center;
}
.stat__value {
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 4vw, 3.2rem); font-weight: 800; letter-spacing: -.02em;
  display: inline-flex; align-items: baseline;
  background: linear-gradient(180deg, var(--white) 30%, var(--sky-300));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.stat__value sup {
  font-size: .45em; color: var(--gold-bright);
  -webkit-text-fill-color: var(--gold-bright);
  margin-left: .1em;
}
.stat__label {
  display: block; margin-top: .45rem;
  font-size: .8rem; letter-spacing: .14em; text-transform: uppercase;
  color: rgba(255, 255, 255, .65);
}
.stats__note {
  position: relative; margin-top: 2.4rem;
  font-size: .72rem; color: rgba(255, 255, 255, .38); text-align: center;
}

/* ============================================================
   3. ACTIVITÉS
   ============================================================ */
.activities { background: var(--white); }
.activities__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.3rem;
}
@media (min-width: 1080px) {
  .activities__grid { grid-template-columns: repeat(4, 1fr); }
}
.activity-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--navy-900);
  min-height: 460px;
  display: flex; align-items: flex-end;
  isolation: isolate;
  transition: transform .5s var(--ease-spring), box-shadow .5s;
}
.activity-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-lift); }
.activity-card__media { position: absolute; inset: 0; z-index: -1; }
.activity-card__media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1s var(--ease-out), filter 1s;
}
.activity-card:hover .activity-card__media img { transform: scale(1.07); }
.activity-card__media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(5, 11, 26, .94) 8%, rgba(5, 11, 26, .42) 48%, rgba(5, 11, 26, .08) 75%);
  transition: background .5s;
}
.activity-card__body { position: relative; padding: 1.5rem 1.4rem 1.6rem; color: var(--white); width: 100%; }
.activity-card__num {
  font-family: var(--font-accent); font-style: italic;
  font-size: 1rem; color: var(--gold-bright); letter-spacing: .1em;
}
.activity-card__body h3 {
  font-family: var(--font-display); font-size: 1.18rem; font-weight: 700;
  margin-top: .35rem; line-height: 1.25;
}
.activity-card__body p {
  font-size: .85rem; color: rgba(255, 255, 255, .78);
  margin-top: .5rem;
  max-height: 0; opacity: 0; overflow: hidden;
  transition: max-height .6s var(--ease-out), opacity .5s .08s, margin .5s;
}
.activity-card:hover .activity-card__body p,
.activity-card:focus-within .activity-card__body p { max-height: 120px; opacity: 1; }
.activity-card .link-arrow { margin-top: .8rem; color: var(--gold-bright); }
.activity-card::after { /* liseré or */
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px;
  background: linear-gradient(90deg, var(--gold-deep), var(--gold-bright));
  transform: scaleX(0); transform-origin: left;
  transition: transform .55s var(--ease-out);
}
.activity-card:hover::after { transform: scaleX(1); }

/* ============================================================
   4. FORMATION PPL
   ============================================================ */
.ppl {
  position: relative;
  background: var(--navy-950);
  color: var(--white);
  overflow: hidden;
}
.ppl__bg { position: absolute; inset: 0; }
.ppl__bg img {
  width: 100%; height: 118%; object-fit: cover; object-position: center;
  will-change: transform;
}
.ppl__video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  opacity: 0; transition: opacity 1.2s ease;
}
.ppl__video.is-playing { opacity: 1; }
.ppl__bg-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(to bottom, var(--navy-950) 0%, rgba(5, 11, 26, .52) 22%, rgba(5, 11, 26, .74) 70%, var(--navy-950) 100%);
}
.ppl__inner { position: relative; z-index: 2; }

.ppl__quote {
  max-width: 760px;
  font-family: var(--font-accent); font-style: italic;
  font-size: clamp(1.25rem, 2.4vw, 1.7rem); font-weight: 500; line-height: 1.5;
  color: var(--sky-300);
  border-left: 3px solid var(--gold);
  padding-left: 1.5rem;
  margin-bottom: clamp(3rem, 6vw, 4.5rem);
}

/* Avion qui traverse (PPL + flotte) */
.flyby { position: absolute; top: 14%; left: 0; width: 100%; pointer-events: none; z-index: 1; }
.flyby__plane {
  width: clamp(90px, 10vw, 150px); color: rgba(173, 210, 240, .8);
  transform: translateX(-20vw);
  will-change: transform;
  filter: drop-shadow(0 6px 18px rgba(127, 184, 230, .35));
}

/* Timeline */
.timeline {
  position: relative;
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 2.6rem 1.4rem;
  counter-reset: step;
  padding-top: 1rem;
}
.timeline__step { position: relative; padding-top: 1.6rem; }
.timeline__step::before { /* segment de rail, s'allume étape par étape */
  content: ""; position: absolute; top: 0; left: 0; right: -1.4rem; height: 2px;
  background: rgba(173, 210, 240, .18);
  transition: background .6s, box-shadow .6s;
}
.timeline__step:nth-child(4n)::before { right: 0; }
.timeline__step.is-lit::before {
  background: linear-gradient(90deg, var(--gold-deep), var(--gold-bright));
  box-shadow: 0 0 14px rgba(229, 200, 126, .35);
}
.timeline__dot {
  position: absolute; top: -5px; left: 0;
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--navy-800);
  border: 2px solid rgba(173, 210, 240, .45);
  transition: background .4s, border-color .4s, box-shadow .4s;
}
.timeline__step.is-lit .timeline__dot {
  background: var(--gold-bright); border-color: var(--gold-bright);
  box-shadow: 0 0 14px rgba(229, 200, 126, .8);
}
.timeline__num {
  font-family: var(--font-accent); font-style: italic;
  font-size: 1.6rem; color: var(--gold-bright); line-height: 1;
}
.timeline__num svg { width: 26px; height: 26px; color: var(--gold-bright); }
.timeline__step h3 {
  font-family: var(--font-display); font-size: 1.02rem; font-weight: 700;
  margin-top: .5rem;
}
.timeline__step p { font-size: .84rem; color: rgba(255, 255, 255, .68); margin-top: .35rem; }
.timeline__step--final h3 { color: var(--gold-bright); }

.ppl__cta { margin-top: clamp(2.8rem, 5vw, 4rem); text-align: center; }

/* ============================================================
   5. FLOTTE
   ============================================================ */
.fleet { background: var(--off-white); position: relative; overflow: hidden; }
.fleet__flyover {
  position: relative; height: 90px; margin-block: .5rem 2rem;
  pointer-events: none;
}
.fleet__plane {
  position: absolute; top: 10px;
  width: clamp(80px, 9vw, 130px);
  color: var(--navy-700);
  transform: translateX(-20vw);
  will-change: transform;
}
.fleet__contrail {
  position: absolute; top: 44px; right: 100%;
  width: 0; height: 2px;
  background: linear-gradient(90deg, transparent, rgba(20, 38, 76, .3));
}
.fleet__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.4rem;
}
.plane-card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .5s var(--ease-spring), box-shadow .5s, border-color .5s;
}
.plane-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lift);
  border-color: rgba(201, 162, 75, .45);
}
.plane-card__media { overflow: hidden; aspect-ratio: 3 / 2; background: var(--gray-100); }
.plane-card__media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .9s var(--ease-out);
}
.plane-card:hover .plane-card__media img { transform: scale(1.06); }
.plane-card__body { padding: 1.3rem 1.4rem 1.5rem; }
.plane-card__top { display: flex; align-items: center; justify-content: space-between; gap: .8rem; }
.plane-card__top h3 { font-family: var(--font-display); font-size: 1.1rem; color: var(--navy-900); }
.plane-card__tag {
  font-size: .64rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: var(--gold-deep);
  border: 1px solid rgba(201, 162, 75, .5);
  padding: .25rem .6rem; border-radius: 999px;
  white-space: nowrap;
}
.plane-card__body > p { font-size: .86rem; color: var(--ink-soft); margin-top: .55rem; }
.plane-card__specs { display: flex; gap: 1.2rem; margin-top: .9rem; }
.plane-card__specs li {
  font-size: .74rem; font-weight: 600; letter-spacing: .04em;
  color: var(--navy-700);
  display: flex; align-items: center; gap: .4rem;
}
.plane-card__specs li::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: var(--gold);
}
.fleet__disclaimer { margin-top: 1.8rem; font-size: .74rem; color: var(--ink-soft); opacity: .75; }

/* ============================================================
   6. EXPÉRIENCE DE VOL
   ============================================================ */
.experience {
  position: relative;
  min-height: 92svh;
  display: flex; align-items: center;
  color: var(--white);
  overflow: hidden;
  background: var(--navy-950);
  padding-block: clamp(5rem, 10vw, 8rem);
}
.experience__media { position: absolute; inset: 0; }
.experience__media img {
  width: 100%; height: 116%; object-fit: cover; object-position: center 40%;
  will-change: transform;
}
.experience__overlay {
  position: absolute; inset: 0;
  background:
    radial-gradient(90% 90% at 50% 100%, rgba(5, 11, 26, .55), transparent 60%),
    linear-gradient(to bottom, rgba(5, 11, 26, .78), rgba(5, 11, 26, .25) 35%, rgba(5, 11, 26, .82));
}
.experience__content { position: relative; z-index: 2; text-align: center; display: flex; flex-direction: column; align-items: center; }
.experience__content .section__kicker { justify-content: center; }
.experience__content .section__kicker::before,
.experience__content .section__kicker::after { content: ""; width: 36px; height: 1.5px; background: var(--gold); }
.experience__quote {
  font-family: var(--font-accent); font-style: italic;
  font-size: clamp(1.5rem, 3.4vw, 2.5rem);
  font-weight: 500; line-height: 1.45;
  max-width: 900px;
  text-shadow: 0 4px 30px rgba(5, 11, 26, .6);
}
.experience__quote em {
  color: var(--gold-bright); font-style: italic;
}
.experience__text {
  margin-top: 1.6rem;
  max-width: 56ch;
  color: rgba(255, 255, 255, .78);
  font-weight: 300;
}
.experience__content .btn { margin-top: 2.2rem; }

/* ============================================================
   7. TARIFS
   ============================================================ */
.pricing { background: var(--white); }
.pricing__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.3rem;
  align-items: stretch;
}
.price-card {
  position: relative;
  display: flex; flex-direction: column;
  background: var(--off-white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  padding: 1.9rem 1.6rem;
  transition: transform .5s var(--ease-spring), box-shadow .5s, border-color .5s;
}
.price-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-soft); border-color: rgba(201, 162, 75, .4); }
.price-card h3 { font-family: var(--font-display); font-size: 1.12rem; color: var(--navy-900); }
.price-card__duration { font-size: .8rem; color: var(--ink-soft); margin-top: .3rem; }
.price-card__price {
  font-family: var(--font-accent); font-style: italic;
  font-size: 1.5rem; font-weight: 600; color: var(--gold-deep);
  margin-top: 1.1rem;
}
.price-card ul { margin-top: 1.2rem; flex: 1; display: grid; gap: .55rem; }
.price-card li {
  font-size: .86rem; color: var(--ink-soft);
  display: flex; gap: .6rem; align-items: baseline;
}
.price-card li::before {
  content: "✦"; color: var(--gold); font-size: .7rem; flex-shrink: 0;
}
.price-card .btn {
  margin-top: 1.6rem; width: 100%;
  padding-inline: .8rem; font-size: .78rem;
  white-space: normal;
}

.price-card--featured {
  background: linear-gradient(160deg, var(--navy-800), var(--navy-950));
  border-color: rgba(201, 162, 75, .55);
  box-shadow: var(--shadow-lift);
  transform: scale(1.03);
}
.price-card--featured:hover { transform: scale(1.03) translateY(-8px); }
.price-card--featured h3 { color: var(--white); }
.price-card--featured .price-card__duration { color: rgba(255, 255, 255, .6); }
.price-card--featured .price-card__price { color: var(--gold-bright); }
.price-card--featured li { color: rgba(255, 255, 255, .8); }
.price-card__flag {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: linear-gradient(135deg, var(--gold-bright), var(--gold));
  color: var(--navy-900);
  font-family: var(--font-display); font-size: .64rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  padding: .35rem .9rem; border-radius: 999px;
  white-space: nowrap;
  box-shadow: 0 8px 20px -8px rgba(201, 162, 75, .8);
}
.pricing__note { margin-top: 1.8rem; font-size: .74rem; color: var(--ink-soft); opacity: .75; text-align: center; }

/* ============================================================
   8. BLOG
   ============================================================ */
.blog { background: var(--off-white); }
.blog__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.4rem;
}
.post-card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .5s var(--ease-spring), box-shadow .5s;
}
.post-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lift); }
.post-card__media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--gray-100); }
.post-card__media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .9s var(--ease-out);
}
.post-card:hover .post-card__media img { transform: scale(1.06); }
.post-card__cat {
  position: absolute; top: 1rem; left: 1rem;
  background: rgba(8, 18, 38, .78);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  color: var(--gold-bright);
  font-family: var(--font-display); font-size: .66rem; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase;
  padding: .4rem .8rem; border-radius: 999px;
  border: 1px solid rgba(201, 162, 75, .4);
}
.post-card__body { padding: 1.4rem 1.5rem 1.6rem; display: flex; flex-direction: column; flex: 1; }
.post-card__body h3 {
  font-family: var(--font-display); font-size: 1.08rem; font-weight: 700; line-height: 1.35;
  color: var(--navy-900);
}
.post-card__body p { font-size: .87rem; color: var(--ink-soft); margin-top: .6rem; flex: 1; }
.post-card__body .link-arrow { margin-top: 1.1rem; }

/* ============================================================
   9. GALERIE
   ============================================================ */
.gallery { background: var(--navy-950); color: var(--white); }
.gallery .section__kicker { color: var(--gold-bright); }
.gallery .section__title { color: var(--white); }
.gallery .section__lead { color: rgba(255, 255, 255, .68); }
.gallery__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 200px;
  grid-auto-flow: dense;
  gap: .9rem;
}
.gallery__item {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  background: var(--navy-800);
  cursor: zoom-in;
  transition: transform .45s var(--ease-spring), box-shadow .45s;
}
.gallery__item--tall { grid-row: span 2; }
.gallery__item--wide { grid-column: span 2; }
.gallery__item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .9s var(--ease-out), opacity .5s;
  opacity: .92;
}
.gallery__item::after {
  content: "+";
  position: absolute; inset: 0;
  display: grid; place-items: center;
  font-size: 2rem; font-weight: 300; color: var(--gold-bright);
  background: rgba(5, 11, 26, .35);
  opacity: 0; transition: opacity .4s;
}
.gallery__item:hover { transform: translateY(-5px); box-shadow: 0 18px 40px -16px rgba(0, 0, 0, .7); }
.gallery__item:hover img { transform: scale(1.07); opacity: 1; }
.gallery__item:hover::after { opacity: 1; }

.lightbox[hidden] { display: none; }
.lightbox {
  position: fixed; inset: 0; z-index: 990;
  background: rgba(5, 11, 26, .94);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  display: grid; place-items: center;
  padding: 4vmin;
  opacity: 0; transition: opacity .35s;
}
.lightbox.is-open { opacity: 1; }
.lightbox img {
  max-width: 92vw; max-height: 86vh;
  border-radius: 10px;
  box-shadow: 0 40px 120px -30px rgba(0, 0, 0, .9);
  transform: scale(.94);
  transition: transform .4s var(--ease-spring);
}
.lightbox.is-open img { transform: scale(1); }
.lightbox__close {
  position: absolute; top: 1.2rem; right: 1.6rem;
  font-size: 2.6rem; line-height: 1; color: rgba(255, 255, 255, .8);
  transition: color .3s, transform .3s;
}
.lightbox__close:hover { color: var(--gold-bright); transform: rotate(90deg); }

/* ============================================================
   ATTERRISSAGE — Cessna 152 CN-TCP (plein écran immersif)
   ============================================================ */
.landing {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  background: var(--navy-950);
  color: var(--white);
  overflow: clip;
}
.landing__media { position: absolute; inset: 0; }
.landing__media video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  transform: scale(1.06); /* léger zoom de sécurité (la source remplit déjà le 16:9) */
  will-change: transform, opacity;
}
/* crossfade de boucle : deux vidéos superposées qui se relaient en fondu */
.landing__video {
  opacity: 0;
  transition: opacity 1s linear;
}
.landing__video.is-active { opacity: 1; }
.landing__overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(to bottom, rgba(5, 11, 26, .82) 0%, rgba(5, 11, 26, .28) 22%, rgba(5, 11, 26, .12) 50%, rgba(5, 11, 26, .55) 82%, var(--navy-950) 100%),
    linear-gradient(to top, rgba(5, 11, 26, .35), transparent 30%);
}
.landing__content {
  position: relative; z-index: 2;
  flex: 1;
  display: flex; flex-direction: column; justify-content: space-between;
  padding-block: clamp(5.5rem, 12vh, 9rem) clamp(2.5rem, 6vh, 4rem);
}
.landing__top { text-align: center; }
.landing .section__kicker { justify-content: center; }
.landing .section__kicker::after { content: ""; width: 36px; height: 1.5px; background: var(--gold); }
.landing__title {
  color: var(--white);
  text-shadow: 0 6px 40px rgba(5, 11, 26, .55);
}
.landing__bottom {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.2rem; flex-wrap: wrap;
}
.landing__plate {
  display: inline-flex; align-items: center; gap: .7rem;
  background: rgba(5, 11, 26, .55);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(201, 162, 75, .45);
  border-radius: 999px;
  padding: .55rem 1.2rem;
}
.landing__plate-type {
  font-family: var(--font-display);
  font-size: .78rem; font-weight: 600; letter-spacing: .06em;
  color: rgba(255, 255, 255, .9);
}
.landing__plate-reg {
  font-family: var(--font-display);
  font-size: .78rem; font-weight: 700; letter-spacing: .16em;
  color: var(--gold-bright);
  border-left: 1px solid rgba(255, 255, 255, .25);
  padding-left: .7rem;
}
.landing__caption {
  font-family: var(--font-display);
  font-size: .72rem; font-weight: 600; letter-spacing: .3em; text-transform: uppercase;
  color: rgba(244, 241, 234, .62);
}
@media (max-width: 640px) {
  .landing__bottom { flex-direction: column; align-items: flex-start; gap: .9rem; }
  .landing__caption { letter-spacing: .22em; }
}

/* ============================================================
   10. CONTACT
   ============================================================ */
.contact { background: var(--off-white); }
.contact__grid {
  display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 6fr);
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: start;
}
.contact__info { display: grid; gap: 1.6rem; }
.contact__item { display: flex; gap: 1rem; align-items: flex-start; }
.contact__item > svg {
  width: 40px; height: 40px; flex-shrink: 0;
  color: var(--gold-deep);
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: 12px;
  padding: 9px;
  box-shadow: var(--shadow-soft);
}
.contact__item h3 {
  font-family: var(--font-display); font-size: .92rem; color: var(--navy-900);
}
.contact__item p { font-size: .88rem; color: var(--ink-soft); margin-top: .2rem; }
.contact__item em { font-size: .78em; opacity: .7; }
.contact__map {
  margin-top: .4rem;
  border: 1.5px dashed rgba(201, 162, 75, .55);
  border-radius: var(--radius);
  background:
    radial-gradient(80% 100% at 50% 0%, rgba(127, 184, 230, .12), transparent 70%),
    var(--white);
  padding: 2rem 1.5rem;
  text-align: center;
  color: var(--ink-soft);
  font-size: .82rem;
}
.contact__map-compass { width: 72px; margin: 0 auto .9rem; color: var(--gold-deep); }
.contact__map-compass svg { animation: compassSpin 14s linear infinite; transform-origin: center; }
@keyframes compassSpin {
  0%, 18% { transform: rotate(0); }
  38%, 58% { transform: rotate(150deg); }
  74%, 100% { transform: rotate(360deg); }
}

.contact__form {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  padding: clamp(1.6rem, 3vw, 2.4rem);
  display: grid; gap: 1.1rem;
}
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.form__field { display: grid; gap: .45rem; }
.form__field label {
  font-family: var(--font-display);
  font-size: .74rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  color: var(--navy-700);
}
.form__field input,
.form__field select,
.form__field textarea {
  font: inherit; font-size: .92rem;
  color: var(--ink);
  background: var(--off-white);
  border: 1.5px solid transparent;
  border-radius: 10px;
  padding: .8rem 1rem;
  transition: border-color .3s, background .3s, box-shadow .3s;
  width: 100%;
}
.form__field textarea { resize: vertical; min-height: 120px; }
.form__field input:focus,
.form__field select:focus,
.form__field textarea:focus {
  outline: none;
  background: var(--white);
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(201, 162, 75, .14);
}
.form__field input::placeholder, .form__field textarea::placeholder { color: #9AA7BC; }
.form__submit { justify-self: start; }
.form__note { font-size: .74rem; color: var(--ink-soft); opacity: .8; }
.form__note.is-sent { color: var(--gold-deep); opacity: 1; font-weight: 600; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--navy-950);
  color: rgba(255, 255, 255, .8);
  padding-top: clamp(3rem, 6vw, 4.5rem);
  border-top: 1px solid rgba(201, 162, 75, .25);
}
.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.4fr;
  gap: 2.4rem;
  padding-bottom: 3rem;
}
.footer__brand { display: grid; gap: 1rem; justify-items: start; }
.footer__logo { width: 188px; height: auto; display: block; }
.footer__brand p { font-size: .88rem; line-height: 1.6; }
.footer__brand strong { font-family: var(--font-display); color: var(--white); }
.footer__nav { display: grid; gap: .55rem; align-content: start; }
.footer__nav h3, .footer__cta h3 {
  font-family: var(--font-display);
  font-size: .78rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase;
  color: var(--gold-bright);
  margin-bottom: .5rem;
}
.footer__nav a { font-size: .88rem; color: rgba(255, 255, 255, .68); transition: color .3s, padding-left .3s; }
.footer__nav a:hover { color: var(--gold-bright); padding-left: 5px; }
.footer__cta { display: grid; gap: .4rem; align-content: start; justify-items: start; }
.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, .08);
  padding: 1.3rem 0;
  text-align: center;
}
.footer__bottom p { font-size: .74rem; color: rgba(255, 255, 255, .42); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1080px) {
  .gallery__grid { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 190px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 920px) {
  .nav__links {
    position: fixed; inset: 0;
    flex-direction: column; justify-content: center; align-items: center; gap: 1.6rem;
    background: linear-gradient(165deg, var(--navy-900), var(--navy-950));
    opacity: 0; visibility: hidden;
    transition: opacity .4s var(--ease-out), visibility .4s;
  }
  .nav__links.is-open { opacity: 1; visibility: visible; }
  .nav__links > a:not(.btn) { font-size: 1.25rem; font-family: var(--font-display); }
  .nav__links .btn--nav { margin-top: .8rem; padding: .9rem 2rem; font-size: .9rem; }
  .nav__burger { display: flex; }

  .about__grid { grid-template-columns: 1fr; }
  .about__figure img { aspect-ratio: 16 / 11; }
  .about__badge { left: 1rem; bottom: -1.2rem; }
  .about__values { margin-top: 3rem; }

  .timeline { grid-template-columns: 1fr 1fr; gap: 2rem 1.6rem; padding-top: 0; }
  .timeline__step { padding-top: 0; padding-left: 1.2rem; }
  .timeline__step::before {
    top: 0; bottom: -2rem; left: -4px; right: auto; width: 2px; height: auto;
  }
  .timeline__step:nth-child(4n)::before { right: auto; }
  .timeline__step:nth-last-child(-n+2)::before { bottom: 0; }
  .timeline__step.is-lit::before {
    background: linear-gradient(180deg, var(--gold-deep), var(--gold-bright));
  }
  .timeline__dot { top: 4px; left: -9px; }

  .contact__grid { grid-template-columns: 1fr; }
  .experience { min-height: 70svh; }
}

@media (max-width: 640px) {
  :root { --nav-h: 70px; }
  .section { padding-block: 3.6rem; }

  .hero__title { font-size: clamp(2.1rem, 9.5vw, 2.9rem); }
  .hero__subtitle { font-size: .95rem; }
  .hero__actions { gap: .7rem; }
  .hero__actions .btn { flex: 1 1 100%; }
  .hero__scroll { display: none; }
  .hero__img { object-position: 62% 40%; }

  .stats__grid { grid-template-columns: repeat(2, 1fr); gap: 1.6rem 1rem; }

  .activities__grid { grid-template-columns: 1fr; }
  .activity-card { min-height: 380px; }
  .activity-card__body p { max-height: 120px; opacity: 1; } /* texte visible sans hover */

  .timeline { grid-template-columns: 1fr; }
  .timeline__step:nth-last-child(2)::before { bottom: -2rem; }
  .timeline__step:last-child::before { bottom: 0; }

  .form__row { grid-template-columns: 1fr; }

  .gallery__grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 150px; gap: .6rem; }

  .footer__grid { grid-template-columns: 1fr; gap: 1.8rem; }

  /* animations allégées sur mobile */
  .hero__img { animation: none; }
  .cloud { display: none; }
  .flyby { display: none; }
  .btn::before { display: none; }
}

/* ============================================================
   PATTERNS MOTION (actifs seulement si JS dispo : html.has-motion,
   jamais en prefers-reduced-motion — sinon le site garde le rendu de base)
   ============================================================ */

/* ---------- SplitText ---------- */
.st-w { display: inline-block; overflow: hidden; vertical-align: bottom; }
.st-wi { display: inline-block; will-change: transform; }
.has-motion .st-pending .st-wi { transform: translateY(118%); }
/* dégradé or par mot à l'intérieur des <em> (background-clip:text ne
   traverse pas les inline-block) */
.hero__title em .st-wi,
.section__title em .st-wi {
  background: linear-gradient(115deg, var(--gold-bright) 20%, var(--gold) 60%, var(--gold-bright));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
/* le titre splitté n'est plus piloté par data-reveal */
.has-motion .st-split[data-reveal] { opacity: 1; transform: none; transition: none; }
.has-motion .hero__title { opacity: 1 !important; transform: none !important; transition: none !important; }

/* ---------- Activités : horizontal-on-vertical (desktop) ---------- */
.activities__progress { display: none; }
@media (min-width: 920px) {
  .has-motion .activities { padding-block: 0; }
  .has-motion .activities__sticky {
    position: sticky; top: 0;
    min-height: 100svh;
    display: flex; flex-direction: column; justify-content: center;
    overflow: hidden;
    padding-top: calc(var(--nav-h) + .5rem);
    padding-bottom: 1.5rem;
  }
  .has-motion .activities .section__head { margin-bottom: clamp(1.2rem, 3svh, 2.5rem); }
  .has-motion .activities__grid {
    display: flex; gap: 1.4rem;
    width: max-content;
    will-change: transform;
  }
  .has-motion .activity-card {
    width: clamp(300px, 25vw, 410px);
    min-height: clamp(380px, 54svh, 540px);
    flex-shrink: 0;
  }
  .has-motion .activities__progress {
    display: flex; align-items: center; gap: 0;
    position: relative;
    width: min(100% - 3rem, var(--container));
    margin: 2.2rem auto 0;
    height: 34px;
  }
  .activities__progress-rail {
    position: relative; flex: 1; height: 2px;
    background: var(--gray-200);
    border-radius: 2px; overflow: hidden;
  }
  .activities__progress-rail span {
    position: absolute; inset: 0;
    background: linear-gradient(90deg, var(--gold-deep), var(--gold-bright));
    transform-origin: left; transform: scaleX(0);
    will-change: transform;
  }
  .activities__progress-plane {
    position: absolute; top: 50%; left: 0;
    width: 54px; margin-top: -13px; margin-left: -27px;
    color: var(--navy-700);
    will-change: transform;
    filter: drop-shadow(0 4px 8px rgba(13, 27, 56, .25));
  }
}

/* ---------- Expérience : pinned-scrub + image-sequence ---------- */
.experience__canvas {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  opacity: 0; transition: opacity .8s var(--ease-out);
}
.experience__canvas.is-active { opacity: 1; }
@media (min-width: 920px) {
  .has-motion .experience__pin { height: 320svh; }
  .has-motion .experience__pin .experience {
    position: sticky; top: 0;
    height: 100svh; min-height: 0;
    padding-block: 0;
  }
  .has-motion .experience__pin .experience__media img { will-change: auto; }
}
/* mots de la citation en mode karaoké */
.has-motion .experience__quote .st-w { overflow: visible; }
.has-motion .experience__quote .st-wi {
  opacity: .14; transform: none;
  transition: opacity .18s linear;
  will-change: opacity;
}

/* ---------- Tarifs : sticky-stack (mobile / tablette) ---------- */
@media (max-width: 1079px) {
  .has-motion .pricing__grid { display: block; }
  .has-motion .price-card {
    position: sticky;
    top: calc(84px + var(--stack-i, 0) * 14px);
    margin-bottom: 1.2rem;
    transform-origin: center top;
    will-change: transform;
    box-shadow: 0 -14px 36px -22px rgba(8, 18, 38, .35);
  }
  .has-motion .price-card--featured { transform: none; }
  .has-motion .price-card--featured:hover { transform: translateY(-4px); }
}

/* ---------- Atterrissage : léger zoom fixe, identique sur les 2 vidéos du crossfade ---------- */
.has-motion .landing__media video { transform: scale(1.06); }

/* ============================================================
   ACCESSIBILITÉ — réduction des animations
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  [data-reveal], [data-hero-reveal] { opacity: 1 !important; transform: none !important; }
  .hero__img { animation: none; }
  .activity-card__body p { max-height: none; opacity: 1; }
}
