/* ==========================================================================
   Plein Ciel — feuille de style
   Univers élégant aux couleurs du logo (bleu nuit, crème, or), dessins réalistes
   ========================================================================== */

:root {
  /* Couleurs (celles du logo : bleu nuit, crème, or, avec un accent orange) */
  --ink: #13223a;        /* bleu nuit : textes, contours, bandes sombres */
  --paper: #fffdf8;      /* blanc chaud */
  --cream: #f7efdf;      /* crème */
  --sky: #e4ebf2;        /* bleu-gris très clair */
  --concrete: #e4ddd0;
  --mist: #ece6da;
  --blue: #7c9fc4;       /* bleu acier */
  --blue-deep: #2c4f7c;  /* bleu du manteau */
  --mint: #a3bfa8;       /* sauge */
  --leaf: #5a8567;
  --meadow: #e4ebdf;
  --lavender: #e9e1d1;   /* pierre */
  --ember: #d9703f;      /* orange terre cuite */
  --sun: #dcb862;        /* or */
  --gold: #a8792a;       /* or profond, pour les filets et les décors */
  --gold-text: #856020;  /* or lisible pour le texte : contraste 5,6:1 sur le blanc chaud (WCAG AA) */
  --violet: #2c4f7c;     /* bleu (survols, focus) */
  --muted: #4d5a6c;

  /* Typo */
  --f-display: "Archivo", "Arial Black", "Helvetica Neue", Impact, sans-serif;
  --f-ui: "Figtree", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --f-mono: "DM Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  /* Formes & mouvement */
  --r-card: 20px;
  --r-card-lg: 40px;
  --r-pill: 1600px;
  --gutter: clamp(16px, 3vw, 40px);
  --max: 1440px;
  --out: cubic-bezier(.22, 1, .36, 1);
  --spring: cubic-bezier(.34, 1.56, .64, 1);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
html, body { overflow-x: clip; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--f-ui);
  font-weight: 500;
  font-size: 17px;
  line-height: 1.55;
  letter-spacing: -0.005em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg { max-width: 100%; }
[hidden] { display: none !important; }
a { color: inherit; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--violet); outline-offset: 3px; border-radius: 6px; }

/* Grain papier très léger (fixe, jamais redessiné au défilement) */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 150;
  pointer-events: none;
  opacity: .03;
  background-size: 180px 180px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Lenis */
html.lenis, html.lenis body { height: auto; }
.lenis-smooth { scroll-behavior: auto !important; }
.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis-stopped { overflow: clip; }

.skip {
  position: fixed; left: 16px; top: 16px; z-index: 400;
  padding: 10px 16px; border: 1px solid var(--ink); border-radius: var(--r-pill);
  background: var(--sun); font-weight: 700; text-decoration: none;
  transform: translateY(-200%); transition: transform .3s var(--out);
}
.skip:focus { transform: none; }

/* --------------------------------------------------------------------------
   Bases typographiques
   -------------------------------------------------------------------------- */
.wrap { max-width: var(--max); margin: 0 auto; }

.band { position: relative; padding-block: clamp(80px, 10vw, 160px); padding-inline: var(--gutter); }
.band--sky { background: var(--sky); }
.band--paper { background: var(--paper); }
.band--concrete { background: var(--concrete); }

.tag {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 32px; margin: 0; padding: 6px 14px;
  border: 1px solid var(--ink); border-radius: var(--r-pill); background: var(--paper);
  font: 700 12px/1.1 var(--f-ui); letter-spacing: .032em; text-transform: uppercase;
}
.tag__dot { flex: none; width: 10px; height: 10px; border: 1px solid var(--ink); border-radius: 50%; background: var(--c, var(--ember)); }
.tag--mono { font-family: var(--f-mono); font-weight: 500; letter-spacing: .02em; }

.display {
  margin: 0;
  font-family: var(--f-display);
  font-weight: 900;
  font-stretch: 80%;
  line-height: .9;
  letter-spacing: -.005em;
  text-transform: uppercase;
  text-wrap: balance;
}
.display--xl { font-size: clamp(64px, 12vw, 220px); }
.display--lg { font-size: clamp(56px, 8.6vw, 156px); }

.lead { margin: 0; max-width: 42ch; font: 500 clamp(18px, 1.5vw, 21px)/1.5 var(--f-ui); letter-spacing: -.005em; text-wrap: pretty; }

.sec-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px 48px; margin-bottom: clamp(32px, 4vw, 56px); }
.sec-head > div { display: grid; gap: 22px; justify-items: start; }

.fineprint { margin: 24px 0 0; max-width: 80ch; font: 500 14px/1.55 var(--f-ui); color: var(--muted); }
.fineprint a { font-weight: 700; }

/* Découpage lettre par lettre (fait en JS) */
.w { display: inline-block; white-space: nowrap; }
.co { display: inline-block; }
.ci { display: inline-block; transform-origin: 50% 85%; transition: color .5s; }
.nw { white-space: nowrap; }

/* --------------------------------------------------------------------------
   Stickers
   -------------------------------------------------------------------------- */
.stk { display: block; width: 100%; height: auto; overflow: visible; }
.stk-ring { font: 700 12.5px var(--f-ui); letter-spacing: .06em; fill: var(--ink); }
.stk-big { font-family: var(--f-display); font-weight: 900; font-stretch: 80%; fill: var(--ink); }
.stk-mono { font-family: var(--f-mono); font-weight: 500; fill: var(--ink); letter-spacing: .02em; }
.stk-prop, .stk-blade, .prop-blade, .rotor-blade, .plane-body,
.bf-wings, .bee-wings, .df-wings, .bat-wings, .bird-head, .flower-sway, .grass-sway { transform-box: fill-box; transform-origin: center; }
.bird-head { transform-origin: 30% 80%; }
.flower-sway, .grass-sway { transform-origin: 50% 100%; }

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes blade { 0%, 100% { transform: scaleY(1); } 50% { transform: scaleY(-1); } }
@keyframes rotor { 0%, 100% { transform: scaleX(1); } 50% { transform: scaleX(.15); } }
@keyframes bob { from { transform: translateY(-5%) rotate(-2deg); } to { transform: translateY(5%) rotate(2deg); } }
@keyframes flap { 0%, 100% { transform: scaleX(1); } 50% { transform: scaleX(.35); } }
@keyframes buzz { 0%, 100% { transform: scaleY(1) rotate(0); } 50% { transform: scaleY(.55) rotate(-6deg); } }
@keyframes peck { 0%, 100% { transform: rotate(0); } 40% { transform: rotate(14deg); } 60% { transform: rotate(-4deg); } }
@keyframes sway { from { transform: rotate(-5deg); } to { transform: rotate(5deg); } }

.ist { display: inline-block; width: 1.05em; height: 1.05em; margin: 0 .04em; vertical-align: -.16em; }
.ist .stk { width: 100%; height: 100%; }
.ist--plane .stk { rotate: -24deg; }

/* --------------------------------------------------------------------------
   En-tête : bandeau + navigation en pilules
   -------------------------------------------------------------------------- */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 60;
  padding-top: env(safe-area-inset-top, 0px);
  transition: transform .6s var(--out);
  pointer-events: none;
}
.header > * { pointer-events: auto; }
.header.is-hidden { transform: translateY(-100%); }
.header.is-hidden .nav { pointer-events: none; }

.marquee { height: 32px; display: flex; align-items: center; overflow: hidden; background: var(--ink); color: var(--paper); }
.marquee__track { display: flex; width: max-content; will-change: transform; }
.marquee__group {
  display: flex; align-items: center; gap: 18px; padding-right: 18px;
  white-space: nowrap; font: 700 12px/1 var(--f-ui); letter-spacing: .04em; text-transform: uppercase;
}
.marquee__star { flex: none; width: 12px; height: 12px; fill: var(--sun); }
/* Choix de la langue, à droite du bandeau défilant */
.lang { position: absolute; top: env(safe-area-inset-top, 0px); right: 0; z-index: 2; height: 32px; display: flex; align-items: center; gap: 6px; padding: 0 var(--gutter) 0 14px; background: var(--ink); }
.lang__btn { display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 9px 0 6px; border: 1px solid rgba(255, 255, 255, .45); border-radius: var(--r-pill); background: transparent; color: var(--paper); font: 700 11px/1 var(--f-ui); letter-spacing: .06em; cursor: pointer; }
.lang__btn:hover { border-color: var(--paper); }
.lang__btn[aria-pressed="true"] { border-color: var(--paper); background: var(--paper); color: var(--ink); cursor: default; }
.lang__flag { flex: none; width: 18px; height: 12px; border-radius: 2px; outline: 1px solid var(--ink); }

.nav { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px var(--gutter); pointer-events: none; }
.nav > * { pointer-events: auto; }

/* Logo (image assets/logo/logo-petit.webp, fond blanc) */
.logo {
  display: flex; align-items: center;
  height: 64px; padding: 3px 18px;
  border: 1px solid var(--ink); border-radius: var(--r-pill); background: var(--paper);
  text-decoration: none;
}
.logo__img { display: block; width: auto; height: 100%; transition: scale .4s var(--out); }
.logo:hover .logo__img { scale: 1.03; }

.nav__links { display: flex; gap: 4px; margin: 0; padding: 0; list-style: none; }
.nav__actions { display: flex; align-items: center; gap: 8px; }

.pill {
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center;
  height: 42px; padding: 0 15px;
  border: 1px solid var(--ink); border-radius: var(--r-pill); background: var(--paper);
  font: 700 12px/1 var(--f-ui); letter-spacing: .032em; text-transform: uppercase; text-decoration: none;
}
.pill::before {
  content: ""; position: absolute; inset: -1px; z-index: -1;
  background: var(--hover, var(--sun));
  transform: translateY(102%);
  transition: transform .45s var(--out);
}
.pill:hover::before, .pill:focus-visible::before, .pill.is-active::before { transform: translateY(0); }
.roll { display: block; height: 1.2em; overflow: hidden; line-height: 1.2; }
.roll > span { display: block; position: relative; transition: transform .45s var(--out); }
.roll > span::after { content: attr(data-text); position: absolute; left: 0; top: 100%; }
.pill:hover .roll > span, .pill:focus-visible .roll > span { transform: translateY(-100%); }

/* Boutons */
.btn {
  --btn-bg: var(--paper); --btn-fg: var(--ink); --btn-hover: var(--sun); --btn-hover-fg: var(--ink);
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 46px; padding: 10px 20px;
  border: 1px solid var(--ink); border-radius: var(--r-pill);
  background: var(--btn-bg); color: var(--btn-fg);
  font: 700 13px/1.2 var(--f-ui); letter-spacing: .032em; text-transform: uppercase; text-decoration: none; text-align: center;
  cursor: pointer; transition: color .3s;
}
.btn--fill { --btn-bg: var(--ink); --btn-fg: var(--paper); --btn-hover: var(--violet); --btn-hover-fg: var(--paper); }
.btn--lg { min-height: 58px; padding: 12px 26px; font-size: 14px; }
.btn::before {
  content: ""; position: absolute; z-index: -1;
  left: var(--bx, 50%); top: var(--by, 50%);
  width: 280%; aspect-ratio: 1; border-radius: 50%;
  background: var(--btn-hover);
  transform: translate(-50%, -50%) scale(0);
  transition: transform .55s var(--out);
}
.btn:hover::before, .btn:focus-visible::before { transform: translate(-50%, -50%) scale(1); }
.btn:hover, .btn:focus-visible { color: var(--btn-hover-fg); }
.btn__icon { position: relative; flex: none; width: 20px; height: 20px; overflow: hidden; }
.btn__icon svg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
  transition: transform .5s var(--out);
}
.btn__icon svg:last-child { transform: translate(-130%, 130%); }
.btn:hover .btn__icon svg:first-child { transform: translate(130%, -130%); }
.btn:hover .btn__icon svg:last-child { transform: translate(0, 0); }
.btn__arrow { display: inline-block; transition: transform .4s var(--out); }
.btn:hover .btn__arrow { transform: translate(3px, -3px); }

.plus {
  position: relative; display: none;
  width: 50px; height: 50px; padding: 0;
  border: 1px solid var(--ink); border-radius: 50%; background: var(--paper);
  cursor: pointer; transition: transform .5s var(--spring), background .3s;
}
.plus span { position: absolute; left: 50%; top: 50%; width: 18px; height: 2px; background: var(--ink); translate: -50% -50%; }
.plus span:last-child { rotate: 90deg; }
.plus:hover { background: var(--sun); }
.plus[aria-expanded="true"] { transform: rotate(135deg); background: var(--sun); }

.menu {
  position: fixed; inset: 0; z-index: 55;
  display: flex; flex-direction: column; justify-content: center; gap: 24px;
  padding: 110px var(--gutter) 32px;
  background: var(--lavender);
  overflow-y: auto;
}
.menu__list { display: grid; gap: 4px; margin: 0; padding: 0; list-style: none; }
.menu__list a {
  display: inline-block;
  font-family: var(--f-display); font-weight: 900; font-stretch: 82%;
  font-size: clamp(36px, 8.5vw, 72px); line-height: 1; text-transform: uppercase; text-decoration: none;
  transition: color .25s;
}
.menu__list a:hover, .menu__list a:focus-visible { color: var(--c); }
.menu .btn { align-self: flex-start; }

/* --------------------------------------------------------------------------
   Héros
   -------------------------------------------------------------------------- */
.hero { padding-top: calc(112px + env(safe-area-inset-top, 0px)); padding-bottom: clamp(56px, 6vw, 88px); overflow: clip; }
/* Ciel du héros : bleu clair, assez soutenu pour que la fumée blanche ressorte */
.hero.band--sky { background: linear-gradient(180deg, #cddbea 0%, #dae4ef 55%, #e5ebf2 100%); }
.hero__top { position: relative; z-index: 7; max-width: var(--max); margin: 0 auto; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; }
.hero__stage {
  position: relative;
  max-width: var(--max);
  margin: 0 auto;
  aspect-ratio: 16 / 8.4;
  container-type: inline-size;
}
.ribbon-layer { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.ribbon-layer--back { z-index: 1; }
.ribbon-layer--front { z-index: 3; }
.hero__title {
  position: absolute; inset: 0; z-index: 2; margin: 0;
  display: flex; flex-direction: column; justify-content: center; align-items: center;
  font-family: var(--f-display); font-weight: 900; font-stretch: 82%;
  font-size: 26cqw; line-height: .8; letter-spacing: -.012em; text-transform: uppercase;
  user-select: none;
}
/* Évite un clignotement avant l'entrée animée ; s'affiche de toute façon après 2,5 s */
.motion .hero__title, .motion .hero .stickers { opacity: 0; animation: failsafe-show .3s 2.5s forwards; }
@keyframes failsafe-show { to { opacity: 1; } }
.hero__line { display: block; white-space: nowrap; }
.hero__line--1 { transform: translateX(-5cqw); }
.hero__line--2 { transform: translateX(5cqw); }
.hero__title .ci { cursor: default; }

.hero__plane { position: absolute; left: 0; top: 0; z-index: 4; width: 8cqw; pointer-events: none; will-change: transform; }
.js .hero__plane { opacity: 0; }
.hero__plane-bob { animation: bob 2.8s ease-in-out infinite alternate; }
.hero__plane .stk-blade { animation: blade .1s linear infinite; }

.stickers { position: absolute; inset: 0; pointer-events: none; }
.st {
  position: absolute; left: var(--x); top: var(--y); z-index: var(--z, 5);
  width: calc(var(--w) * 1cqw);
  pointer-events: auto;
}
.st__drag { touch-action: none; }

.hero__foot {
  position: relative; z-index: 7;
  max-width: var(--max); margin: clamp(20px, 3vw, 40px) auto 0;
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px;
}
.hero__lead { margin: 0; max-width: 46ch; font: 500 clamp(18px, 1.5vw, 22px)/1.5 var(--f-ui); letter-spacing: -.005em; text-wrap: pretty; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 10px; }

/* --------------------------------------------------------------------------
   Pourquoi voler
   -------------------------------------------------------------------------- */
.why .wrap { display: grid; gap: clamp(32px, 5vw, 64px); justify-items: start; }
.why__title { margin: 0; }
.why__title .ist { width: .8em; height: .8em; vertical-align: -.02em; }

.stats { width: 100%; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.stat {
  display: flex; flex-direction: column; gap: 8px;
  min-height: 250px; padding: 24px;
  border: 1px solid var(--ink); border-radius: var(--r-card);
  background: var(--c);
  transition: translate .4s var(--out);
}
.stat:hover { translate: 0 -4px; }
.stat__sticker { width: 62px; align-self: flex-end; margin-bottom: auto; }
.stat__num { margin: 0; font-family: var(--f-display); font-weight: 900; font-stretch: 88%; font-size: clamp(64px, 6.6vw, 112px); line-height: .85; letter-spacing: -.02em; white-space: nowrap; }
.stat__num small { font-size: .42em; letter-spacing: 0; }
.stat__label { margin: 0; font: 700 19px/1.25 var(--f-ui); }
.why .fineprint { margin-top: 0; }

/* --------------------------------------------------------------------------
   Tour de piste
   -------------------------------------------------------------------------- */
.circuit { padding-bottom: 0; }
.circuit .sec-head { margin-bottom: clamp(16px, 3vw, 32px); }
.circuit__pin { min-height: 100vh; min-height: 100svh; padding: 92px 0 24px; display: flex; align-items: center; }
.circuit__board {
  width: 100%; max-width: var(--max); margin: 0 auto;
  display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(320px, 1fr); gap: 16px; align-items: stretch;
}
.airfield {
  position: relative; overflow: hidden;
  width: min(100%, calc((100svh - 150px) * 10 / 7)); aspect-ratio: 10 / 7; justify-self: center; align-self: center;
  border: 1px solid var(--ink); border-radius: var(--r-card-lg); background: #93ad7c;
}
.airfield svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.map-text { font: 500 16px var(--f-mono); letter-spacing: .04em; fill: #fff; paint-order: stroke; stroke: rgba(19, 34, 58, .55); stroke-width: 3px; }
.map-text--sm { font-size: 13px; }
.runway-num { font-family: var(--f-display); font-weight: 900; font-stretch: 80%; font-size: 30px; fill: #fff; }
.leg-label rect { fill: var(--paper); stroke: var(--ink); stroke-width: 1.5; transition: fill .35s; }
.leg-label text { font: 500 15px var(--f-mono); letter-spacing: .05em; fill: var(--ink); }
.leg-label.is-on rect { fill: var(--c); }
.leg-label.is-on.is-dark text { fill: #fff; }

.circuit__panel { min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.legs { position: relative; flex: 1; min-height: 270px; margin: 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.anim .legs { display: block; }
.anim .leg { position: absolute; inset: 0; }
.leg {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; gap: 10px;
  padding: clamp(18px, 2vw, 28px);
  border: 1px solid var(--ink); border-radius: 30px; background: var(--c);
}
.leg__phase { margin: 0; display: flex; align-items: center; gap: 10px; font: 700 12px/1 var(--f-ui); letter-spacing: .032em; text-transform: uppercase; }
.leg__num { padding: 6px 10px; border: 1px solid var(--ink); border-radius: var(--r-pill); background: var(--paper); color: var(--ink); font-family: var(--f-mono); font-weight: 500; }
.leg__title { margin: 4px 0 0; font-family: var(--f-display); font-weight: 900; font-stretch: 82%; font-size: clamp(32px, 3.2vw, 54px); line-height: .95; text-transform: uppercase; }
.leg__text { margin: 0; max-width: 46ch; font-size: clamp(16px, 1.15vw, 18px); line-height: 1.55; }
.leg--dark { color: var(--paper); }
.stamp {
  margin-left: auto; padding: 5px 10px;
  border: 3px solid currentColor; border-radius: 10px;
  font-family: var(--f-display); font-weight: 900; font-stretch: 90%; font-size: 18px; line-height: 1; text-transform: uppercase; letter-spacing: 0;
  color: var(--ink);
}
.leg--dark .stamp { color: var(--sun); }

.instruments { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.gauge {
  margin: 0; display: flex; flex-direction: column; align-items: center; gap: 6px;
  padding: 10px 8px 9px;
  border: 1px solid var(--ink); border-radius: var(--r-card); background: var(--paper);
}
.gauge svg { display: block; width: min(100%, 104px); height: auto; }
.gauge figcaption { font: 700 12px/1 var(--f-ui); letter-spacing: .032em; text-transform: uppercase; white-space: nowrap; }
.gauge figcaption b { font: 500 14px/1 var(--f-mono); font-variant-numeric: tabular-nums; }
.g-text { font: 500 9.5px var(--f-mono); fill: #fff; }
.g-text--sun { fill: var(--sun); }

.leg-dots { display: flex; gap: 6px; }
.leg-dot {
  flex: 1; height: 14px; padding: 0;
  border: 1px solid var(--ink); border-radius: var(--r-pill); background: var(--paper);
  cursor: pointer; transition: flex-grow .4s var(--out), background .3s;
}
.leg-dot.is-done { background: var(--ink); }
.leg-dot.is-active { flex-grow: 2.4; background: var(--c); }

/* --------------------------------------------------------------------------
   Le hangar : catalogue filtrable
   -------------------------------------------------------------------------- */
.fleet__filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.fleet__filter {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 44px; padding: 8px 16px;
  border: 1px solid var(--ink); border-radius: var(--r-pill); background: var(--paper);
  font: 700 13px/1.1 var(--f-ui); letter-spacing: .032em; text-transform: uppercase;
  cursor: pointer; transition: background .25s;
}
.fleet__filter span { min-width: 24px; padding: 3px 6px; border-radius: var(--r-pill); background: var(--ink); color: var(--paper); font: 500 11px/1 var(--f-mono); text-align: center; }
.fleet__filter span:empty { display: none; }
.fleet__filter:hover { background: var(--sun); }
.fleet__filter[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.fleet__filter[aria-pressed="true"] span { background: var(--sun); color: var(--ink); }

.fleet__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 16px; }
.craft {
  position: relative;
  display: flex; flex-direction: column; gap: 10px;
  padding: 20px;
  border: 1px solid var(--ink); border-radius: 28px;
  background: var(--card, var(--paper)); color: var(--ink);
}
.craft[hidden] { display: none !important; }
.craft__badge { position: absolute; top: 16px; right: 16px; z-index: 1; padding: 5px 10px; border: 1px solid var(--ink); border-radius: var(--r-pill); background: var(--sun); font: 700 11px/1 var(--f-ui); letter-spacing: .04em; text-transform: uppercase; }
.craft__art { margin: -4px -8px 0; }
.craft__art .stk { width: 100%; }
.craft__cat { margin: 0; font: 700 12px/1.2 var(--f-ui); letter-spacing: .032em; text-transform: uppercase; }
.craft__name { margin: 0; font-family: var(--f-display); font-weight: 900; font-stretch: 82%; font-size: clamp(28px, 2.2vw, 36px); line-height: .95; text-transform: uppercase; }
.craft__specs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; margin: 4px 0 0; }
.craft__specs div { padding: 8px 10px; border: 1px solid var(--ink); border-radius: 14px; background: var(--paper); }
.craft__specs dt { font: 700 10.5px/1.2 var(--f-ui); letter-spacing: .032em; text-transform: uppercase; color: var(--muted); }
.craft__specs dd { margin: 4px 0 0; font: 500 13.5px/1.3 var(--f-mono); }
.craft__note { margin: 0; font-size: 15.5px; line-height: 1.55; }

/* Moteur au survol (uniquement) */
.prop-disc { opacity: 0; transition: opacity .3s; }
.plane-body { transition: transform .6s var(--out); }
.craft:hover .prop-blade, .craft.is-hot .prop-blade, .path:hover .prop-blade { animation: blade .08s linear infinite; }
.craft:hover .rotor-blade, .craft.is-hot .rotor-blade { animation: rotor .14s linear infinite; }
.craft:hover .prop-disc, .craft.is-hot .prop-disc { opacity: 1; }
.craft:hover .plane-body, .craft.is-hot .plane-body { transform: translateY(-4px); }

/* --------------------------------------------------------------------------
   Météo / METAR
   -------------------------------------------------------------------------- */
.meteo__grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(36px, 5vw, 88px); align-items: start; }
.meteo__head { position: relative; display: grid; gap: 22px; justify-items: start; }
.meteo__stickers { display: flex; gap: 12px; align-items: flex-end; }
.meteo__st { display: block; }
.meteo__st--cloud { width: 120px; }
.meteo__st--sun { width: 84px; }

.metar { display: grid; gap: 18px; align-content: start; }
.metar__label { margin: 0; font: 700 12px/1.3 var(--f-ui); letter-spacing: .032em; text-transform: uppercase; }
.metar__code { display: flex; flex-wrap: wrap; gap: 8px; }
.metar__grp {
  padding: .5em .72em;
  border: 1px solid var(--ink); border-radius: var(--r-pill); background: var(--paper);
  font: 500 clamp(17px, 2vw, 28px)/1 var(--f-mono); letter-spacing: .01em;
  cursor: pointer; transition: background .25s, translate .35s var(--out);
}
.metar__grp:hover, .metar__grp[aria-selected="true"] { background: var(--c); translate: 0 -3px; }
.metar__panel {
  position: relative;
  display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: 22px; align-items: start;
  min-height: 200px; padding: 26px;
  border: 1px solid var(--ink); border-radius: 30px; background: var(--c, var(--lavender));
  transition: background .35s;
}
.metar__icon { width: 88px; }
.metar__name { margin: 0 0 10px; font-family: var(--f-display); font-weight: 900; font-stretch: 85%; font-size: clamp(36px, 3.2vw, 52px); line-height: .95; text-transform: uppercase; overflow-wrap: anywhere; }
.metar__desc { margin: 0; max-width: 54ch; font-size: 17.5px; line-height: 1.55; }
.metar__count { position: absolute; top: 16px; right: 20px; font: 500 13px var(--f-mono); }
.metar__list { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.metar__list li { padding: 14px 18px; border: 1px solid var(--ink); border-radius: var(--r-card); background: var(--paper); line-height: 1.5; }
.metar__list b { display: block; font: 500 20px/1.1 var(--f-mono); margin-bottom: 4px; }
.metar.is-live .metar__list { display: none; }

/* --------------------------------------------------------------------------
   Biodiversité
   -------------------------------------------------------------------------- */
.bio { background: var(--meadow); padding-bottom: clamp(170px, 16vw, 230px); overflow: clip; }
.bio__stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-bottom: clamp(40px, 5vw, 64px); }
.bio__stat { padding: 20px; border: 1px solid var(--ink); border-radius: var(--r-card); background: var(--paper); }
.bio__stat p { margin: 0; font-weight: 700; line-height: 1.35; }
.bio__stat .bio__num { margin-bottom: 8px; font-family: var(--f-display); font-weight: 900; font-stretch: 88%; font-size: clamp(40px, 4vw, 64px); line-height: .9; }
.bio__subtitle { margin: 0 0 20px; font-family: var(--f-display); font-weight: 900; font-stretch: 82%; font-size: clamp(30px, 3vw, 46px); line-height: 1; text-transform: uppercase; }

.species-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.species { display: flex; flex-direction: column; gap: 8px; padding: 22px; border: 1px solid var(--ink); border-radius: 28px; background: var(--paper); }
.species p { margin: 0; font-size: 16px; line-height: 1.55; }
.species__art { display: block; width: 104px; height: 104px; margin-bottom: 6px; padding: 12px; border: 1px solid var(--ink); border-radius: 50%; background: var(--sky); }
.species__art--orchid, .species__art--bee { background: var(--meadow); }
.species__art--butterfly { background: var(--lavender); }
.species__art--dragonfly { background: var(--sun); }
.species__art--bat { background: var(--mist); }
.species__art .stk { width: 100%; height: 100%; }
.species .species__group { align-self: flex-start; padding: 5px 10px; border: 1px solid var(--ink); border-radius: var(--r-pill); background: var(--mint); font: 700 11px/1 var(--f-ui); letter-spacing: .032em; text-transform: uppercase; }
.species__name { margin: 4px 0 2px; font-family: var(--f-display); font-weight: 900; font-stretch: 82%; font-size: clamp(26px, 2vw, 32px); line-height: 1; text-transform: uppercase; }
.species:hover .bf-wings { animation: flap .3s ease-in-out infinite; }
.species:hover .bee-wings { animation: buzz .08s linear infinite; }
.species:hover .df-wings { animation: buzz .1s linear infinite; }
.species:hover .bat-wings { animation: flap .4s ease-in-out infinite; }
.species:hover .bird-head { animation: peck .9s ease-in-out infinite; }
.species:hover .flower-sway { animation: sway 1s ease-in-out infinite alternate; }

.bio__about { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; margin-top: 24px; padding: 26px; border: 1px solid var(--ink); border-radius: var(--r-card-lg); background: var(--paper); }
.bio__about p { margin: 0; max-width: 70ch; font-size: 17px; line-height: 1.6; }

/* Prairie animée en bas de section (s'arrête hors écran) */
.meadow { position: absolute; left: 0; right: 0; bottom: 0; height: clamp(130px, 13vw, 190px); pointer-events: none; }
.meadow::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 22px; background: var(--leaf); border-top: 1px solid var(--ink); }
.meadow__plant { position: absolute; bottom: 12px; left: var(--x); width: calc(96px * var(--h, 1)); }
.meadow__plant .stk { display: block; }
.bio.is-live .meadow__plant .grass-sway, .bio.is-live .meadow__plant .flower-sway { animation: sway 3.2s ease-in-out infinite alternate; animation-delay: var(--d, 0s); }
.flyer { position: absolute; width: 58px; }
.flyer--1 { left: 14%; bottom: 96px; }
.flyer--2 { left: 58%; bottom: 120px; width: 50px; }
.flyer--3 { left: 80%; bottom: 84px; width: 46px; }
.bio.is-live .flyer--1 { animation: drift1 11s ease-in-out infinite; }
.bio.is-live .flyer--2 { animation: drift2 13s ease-in-out infinite; }
.bio.is-live .flyer--3 { animation: drift3 9s ease-in-out infinite; }
.bio.is-live .flyer .bf-wings { animation: flap .45s ease-in-out infinite; }
.bio.is-live .flyer .bee-wings { animation: buzz .09s linear infinite; }
@keyframes drift1 { 0%, 100% { transform: translate(0, 0) rotate(-6deg); } 25% { transform: translate(120px, -40px) rotate(8deg); } 50% { transform: translate(240px, 0) rotate(-4deg); } 75% { transform: translate(110px, 30px) rotate(6deg); } }
@keyframes drift2 { 0%, 100% { transform: translate(0, 0) rotate(4deg); } 30% { transform: translate(-140px, -30px) rotate(-8deg); } 60% { transform: translate(-60px, 26px) rotate(6deg); } }
@keyframes drift3 { 0%, 100% { transform: translate(0, 0); } 20% { transform: translate(-40px, -20px); } 40% { transform: translate(-90px, 6px); } 60% { transform: translate(-50px, -34px); } 80% { transform: translate(-10px, -8px); } }

/* --------------------------------------------------------------------------
   Budget & parcours
   -------------------------------------------------------------------------- */
.budget__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: clamp(28px, 4vw, 48px); }
.budget__head > div { display: grid; gap: 22px; justify-items: start; }
.budget__sticker { flex: none; width: clamp(96px, 12vw, 176px); }

.paths__tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.paths__tab {
  min-height: 50px; padding: 8px 22px;
  border: 1px solid var(--ink); border-radius: var(--r-pill); background: var(--paper);
  font: 700 13px/1.1 var(--f-ui); letter-spacing: .032em; text-transform: uppercase;
  cursor: pointer; transition: background .25s;
}
.paths__tab:hover { background: var(--mist); }
.paths__tab[aria-selected="true"] { background: var(--c); }
.paths__body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; align-items: stretch; }
.paths__panels { display: grid; }
.path {
  grid-area: 1 / 1;
  display: flex; flex-direction: column; gap: 18px;
  padding: clamp(22px, 3vw, 36px);
  border: 1px solid var(--ink); border-radius: var(--r-card-lg); background: var(--c);
}
.path__head { display: flex; align-items: center; gap: 16px; }
.path__icon { flex: none; width: clamp(96px, 10vw, 140px); }
.path__title { margin: 0; font-family: var(--f-display); font-weight: 900; font-stretch: 82%; font-size: clamp(38px, 3.8vw, 60px); line-height: .95; text-transform: uppercase; }
.path__sub { margin: 6px 0 0; font-weight: 700; }
.path__facts { display: grid; gap: 8px; margin: 0; }
.path__facts div { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 12px 16px; border: 1px solid var(--ink); border-radius: 16px; background: var(--paper); }
.path__facts dt { flex: none; font: 700 12px/1.2 var(--f-ui); letter-spacing: .032em; text-transform: uppercase; }
.path__facts dd { margin: 0; text-align: right; }
.path__facts b { font-family: var(--f-display); font-weight: 900; font-stretch: 90%; font-size: 1.4em; line-height: 1; }
.path__text { margin: 0; max-width: 56ch; font-size: 16.5px; line-height: 1.6; }

.range {
  margin: 0;
  display: flex; flex-direction: column; gap: 22px;
  padding: clamp(22px, 3vw, 36px);
  border: 1px solid var(--ink); border-radius: var(--r-card-lg); background: var(--paper);
}
.range__cap { font: 700 12px/1.3 var(--f-ui); letter-spacing: .032em; text-transform: uppercase; }
.range__plot { --max: 15000; --label: 78px; position: relative; display: grid; gap: 30px; padding: 26px 0 30px; }
.range__grid { position: absolute; top: 0; bottom: 0; left: calc(var(--label) + 12px); right: 0; pointer-events: none; }
.range__grid span {
  position: absolute; top: 0; bottom: 0; left: calc(var(--at) / var(--max) * 100%);
  width: 0;
  display: flex; align-items: flex-end; justify-content: center;
  font: 500 12px/1 var(--f-mono); color: var(--muted); font-variant-numeric: tabular-nums; white-space: nowrap;
}
.range__grid span::before { content: ""; position: absolute; top: 0; bottom: 20px; left: 0; border-left: 1px solid var(--mist); }
.range__row { position: relative; display: grid; grid-template-columns: var(--label) minmax(0, 1fr); align-items: center; gap: 12px; }
.range__label { font: 700 13px/1 var(--f-ui); letter-spacing: .032em; text-transform: uppercase; }
.range__track { position: relative; height: 18px; }
.range__bar {
  position: absolute; top: 0; bottom: 0;
  left: calc(var(--from) / var(--max) * 100%);
  width: calc((var(--to) - var(--from)) / var(--max) * 100%);
  border: 1px solid var(--ink); border-radius: var(--r-pill); background: var(--mist);
  transform-origin: left center;
  transition: background .35s, scale .5s var(--out);
  cursor: pointer;
}
.range__row.is-active .range__bar { background: var(--c, var(--ink)); scale: 1 1.35; }
.range__tip {
  position: absolute; bottom: calc(100% + 10px); left: 50%;
  translate: -50% 0; scale: .8; opacity: 0;
  padding: 6px 10px; border: 1px solid var(--ink); border-radius: var(--r-pill); background: var(--ink); color: var(--paper);
  font: 500 12px/1 var(--f-mono); white-space: nowrap; pointer-events: none;
  transition: opacity .25s, scale .3s var(--out);
}
.range__row.is-active .range__tip { opacity: 1; scale: .74; }
.range__bar:hover .range__tip, .range__bar:focus-visible .range__tip { opacity: 1; scale: 1; }

/* --------------------------------------------------------------------------
   Bourses FFA
   -------------------------------------------------------------------------- */
.grants__list { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
.grant { display: grid; gap: 8px; align-content: start; padding: 22px; border: 1px solid var(--ink); border-radius: var(--r-card); background: var(--c, var(--paper)); }
.grant p { margin: 0; font-weight: 700; line-height: 1.4; }
.grant .grant__amount { font-family: var(--f-display); font-weight: 900; font-stretch: 88%; font-size: clamp(42px, 4.2vw, 64px); line-height: .9; }
.grant--total { background: var(--ink); color: var(--paper); }

/* --------------------------------------------------------------------------
   TAJP 2026
   -------------------------------------------------------------------------- */
.tajp__route { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 10px; margin: 0; padding: 0; list-style: none; }
.tajp__route li { display: flex; }
.tajp__route b { font-family: var(--f-display); font-weight: 900; font-stretch: 82%; font-size: clamp(24px, 2vw, 32px); line-height: .95; text-transform: uppercase; }
.tajp__route small { font: 500 13px/1.4 var(--f-mono); }
.tajp__num { width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid var(--ink); border-radius: 50%; background: var(--paper); font: 500 14px var(--f-mono); }

/* --------------------------------------------------------------------------
   L'ebook
   -------------------------------------------------------------------------- */
.ebook__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.ebook__visual { display: grid; place-items: center; perspective: 1400px; }
.book { position: relative; width: min(340px, 70vw); aspect-ratio: 3 / 4; transform-style: preserve-3d; transform: rotateY(-18deg); transition: transform .8s var(--out); }
.ebook__visual:hover .book { transform: rotateY(-4deg); }
.book__pages { position: absolute; inset: 6px -14px 6px 10px; border: 1px solid var(--ink); border-radius: 6px 18px 18px 6px; background: var(--mist); transform: translateZ(-14px); }
.book__cover {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; justify-content: space-between; gap: 12px;
  padding: 26px; overflow: hidden;
  border: 1px solid var(--ink); border-radius: 6px 22px 22px 6px;
  background: linear-gradient(160deg, #1c2f4d 0%, #13223a 60%, #0e1a2d 100%); color: var(--sun);
}
.book__label { align-self: flex-start; padding: 5px 12px; border: 1px solid var(--sun); border-radius: var(--r-pill); background: transparent; color: var(--sun); font: 700 12px/1 var(--f-ui); letter-spacing: .06em; text-transform: uppercase; }
.book__title { font-family: var(--f-display); font-weight: 900; font-stretch: 80%; font-size: clamp(64px, 9vw, 104px); line-height: .82; text-transform: uppercase; }
.book__plane { position: absolute; right: 7%; top: 9%; width: 30%; rotate: -32deg; }
.book__by { font: 500 13px/1.3 var(--f-mono); color: #e9dcc0; }
.ebook__text { display: grid; gap: 22px; justify-items: start; }
.ebook__points { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.ebook__points li { display: flex; align-items: center; gap: 12px; padding: 12px 18px 12px 12px; border: 1px solid var(--ink); border-radius: var(--r-pill); background: var(--paper); font-weight: 700; line-height: 1.35; }
.ebook__points li span { flex: none; width: 34px; }
.ebook__soon { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin: 0; font-weight: 700; }
.ebook__badge { display: inline-grid; place-items: center; width: 96px; height: 96px; border: 1px solid var(--ink); border-radius: 50%; background: var(--sun); font-family: var(--f-display); font-weight: 900; font-stretch: 78%; font-size: 15px; letter-spacing: .02em; text-transform: uppercase; rotate: -10deg; }

/* --------------------------------------------------------------------------
   FAQ
   -------------------------------------------------------------------------- */
.faq__grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(36px, 5vw, 88px); align-items: start; }
.faq__head { position: sticky; top: 120px; display: grid; gap: 22px; justify-items: start; }
.faq__head .display { font-size: clamp(52px, 6.4vw, 118px); }
.faq__stickers { position: relative; width: 100%; height: clamp(120px, 16vw, 220px); }
.faq__st { position: absolute; }
.faq__st--headset { left: 2%; top: 0; width: clamp(90px, 11vw, 160px); }
.faq__list { display: grid; gap: 10px; }
.faq__item { overflow: hidden; border: 1px solid var(--ink); border-radius: 30px; background: var(--paper); transition: background .3s; }
.faq__item.is-open { background: var(--c); }
.faq__item h3 { margin: 0; }
.faq__q {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 18px 20px 18px 26px;
  border: 0; background: none; text-align: left; cursor: pointer;
  font: 700 clamp(18px, 1.5vw, 22px)/1.3 var(--f-ui); letter-spacing: -.01em;
}
.faq__plus { position: relative; flex: none; width: 42px; height: 42px; border: 1px solid var(--ink); border-radius: 50%; background: var(--paper); transition: transform .45s var(--out), background .3s; }
.faq__plus::before, .faq__plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 16px; height: 2px; background: var(--ink); translate: -50% -50%; }
.faq__plus::after { rotate: 90deg; }
.faq__item:hover .faq__plus { background: var(--c); }
.faq__item.is-open .faq__plus { transform: rotate(135deg); background: var(--paper); }
.faq__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s var(--out); }
.faq__a > div { overflow: hidden; visibility: hidden; transition: visibility 0s .45s; }
.faq__item.is-open .faq__a { grid-template-rows: 1fr; }
.faq__item.is-open .faq__a > div { visibility: visible; transition-delay: 0s; }
.faq__a p { margin: 0; max-width: 62ch; padding: 0 26px 24px; font-size: 17px; line-height: 1.6; }

/* --------------------------------------------------------------------------
   Appel final
   -------------------------------------------------------------------------- */
.cta { overflow: clip; }
.cta__stage { position: relative; max-width: var(--max); margin: 0 auto; aspect-ratio: 16 / 7.2; container-type: inline-size; }
.cta__title {
  position: absolute; inset: 0; z-index: 2; margin: 0;
  display: flex; flex-direction: column; justify-content: center; align-items: center;
  font-family: var(--f-display); font-weight: 900; font-stretch: 82%;
  font-size: 17cqw; line-height: .85; letter-spacing: -.012em; text-transform: uppercase; text-align: center;
  user-select: none;
}
.cta__line { display: block; white-space: nowrap; }
.cta__plane { position: absolute; left: 0; top: 0; z-index: 4; width: 7cqw; pointer-events: none; }
.js .cta__plane { opacity: 0; }

.cta__grid { margin-top: clamp(32px, 5vw, 72px); display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 20px; align-items: start; }
.cta__steps { grid-column: span 7; display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.cta__steps li { display: flex; align-items: center; gap: 16px; padding: 14px 22px 14px 14px; border: 1px solid var(--ink); border-radius: 30px; background: var(--paper); }
.cta__steps p { margin: 0; font-size: 17px; line-height: 1.45; }
.cta__num { flex: none; width: 46px; height: 46px; display: grid; place-items: center; border: 1px solid var(--ink); border-radius: 50%; background: var(--sun); font-family: var(--f-display); font-weight: 900; font-size: 24px; }
.cta__steps li:nth-child(2) .cta__num { background: var(--mint); }
.cta__steps li:nth-child(3) .cta__num { background: var(--ember); }
.cta__links { grid-column: span 5; display: grid; gap: 10px; }
.cta__links .btn { justify-content: space-between; }

.qr-card {
  grid-column: span 5;
  display: grid; grid-template-columns: auto minmax(0, 1fr);
  overflow: hidden;
  border: 1px solid var(--ink); border-radius: var(--r-card);
  background: var(--violet); color: var(--paper); text-decoration: none;
}
.qr-card.no-qr { grid-template-columns: minmax(0, 1fr); }
.qr-card.no-qr .qr-card__code { display: none; }
.qr-card__code { width: 150px; aspect-ratio: 1; padding: 12px; display: grid; place-items: center; border-right: 1px solid var(--ink); background: var(--paper); }
.qr-card__code svg { display: block; width: 100%; height: 100%; }
.qr-card__label { display: flex; align-items: center; padding: 18px 22px; font: 700 14px/1.3 var(--f-ui); letter-spacing: .032em; text-transform: uppercase; }

.note { grid-column: span 7; position: relative; padding: 30px; border: 1px solid var(--ink); border-radius: var(--r-card); background: var(--lavender); }
.note__tape { position: absolute; top: -1px; left: 36px; width: 64px; height: 4px; border-radius: 0 0 4px 4px; background: var(--sun); }
.note__title { margin: 0 0 12px; font-family: var(--f-display); font-weight: 900; font-stretch: 85%; font-size: 36px; line-height: .95; text-transform: uppercase; }
.note p { margin: 0 0 12px; max-width: 62ch; font-size: 17px; line-height: 1.6; }
.note .note__sign { margin: 0; font-weight: 800; }

/* --------------------------------------------------------------------------
   Pied de page
   -------------------------------------------------------------------------- */
.footer { padding: clamp(72px, 9vw, 140px) var(--gutter) 28px; background: var(--ink); color: var(--paper); overflow: clip; }
.footer__word {
  margin: 0; padding-top: .3em;
  display: flex; justify-content: center;
  font-family: var(--f-display); font-weight: 900; font-stretch: 88%;
  font-size: 16.5vw; line-height: .8; text-transform: uppercase; white-space: nowrap; /* « AMINEFLYY » tient dans la largeur */
  user-select: none;
}
.footer__word span[data-phon] { position: relative; display: inline-block; transition: translate .45s var(--out), color .25s; }
.footer__word span[data-phon]::after {
  content: attr(data-phon);
  position: absolute; left: 50%; bottom: 92%;
  translate: -50% 0; scale: .5; opacity: 0;
  padding: 8px 12px;
  border: 1px solid var(--ink); border-radius: var(--r-pill); background: var(--c, var(--sun)); color: var(--ink);
  font: 700 clamp(11px, 1.05vw, 15px)/1 var(--f-ui); letter-spacing: .032em; white-space: nowrap;
  transition: scale .4s var(--out), opacity .2s, bottom .4s var(--out);
  pointer-events: none;
}
.footer__word span[data-phon]:hover, .footer__word span[data-phon].is-on { translate: 0 -.04em; color: var(--c, var(--sun)); }
.footer__word span[data-phon]:hover::after, .footer__word span[data-phon].is-on::after { opacity: 1; scale: 1; bottom: 100%; }
.footer__gap { width: .22em; }
.footer__hint { margin: 18px 0 0; text-align: center; font: 500 14px/1.4 var(--f-mono); color: #d4cdbd; }
.footer__row {
  max-width: var(--max); margin: clamp(48px, 6vw, 88px) auto 0;
  display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 1fr)) auto; gap: 32px; align-items: start;
}
.footer__col p { margin: 0 0 8px; max-width: 40ch; color: #ebe4d4; }
.footer__logo { display: block; width: min(100%, 250px); height: auto; margin-bottom: 26px; border-radius: 18px; background: var(--paper); }
.footer .footer__big { font-family: var(--f-display); font-weight: 900; font-stretch: 85%; font-size: 44px; line-height: .95; text-transform: uppercase; color: var(--sun); margin-bottom: 14px; }
.footer__links { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.footer__links a { text-decoration: none; font-weight: 700; color: #f6f1e6; transition: color .2s; }
.footer__links a:hover { color: var(--sun); }
.to-top {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 46px; padding: 8px 18px;
  border: 1px solid var(--paper); border-radius: var(--r-pill); background: transparent; color: var(--paper);
  font: 700 12px/1.1 var(--f-ui); letter-spacing: .032em; text-transform: uppercase;
  cursor: pointer; transition: background .25s, color .25s;
}
.to-top:hover { background: var(--sun); color: var(--ink); border-color: var(--sun); }
.footer__fine { max-width: var(--max); margin: 48px auto 0; font: 500 13px/1.55 var(--f-mono); color: #c8c1b1; }

/* --------------------------------------------------------------------------
   Altimètre (progression de lecture)
   -------------------------------------------------------------------------- */
.alti {
  position: fixed; z-index: 45;
  right: max(16px, env(safe-area-inset-right, 0px));
  bottom: calc(18px + env(safe-area-inset-bottom, 0px));
  width: 76px; height: 76px; padding: 0;
  border: 1px solid var(--ink); border-radius: 50%; background: var(--paper);
  cursor: pointer;
  transform: scale(0);
  transition: transform .5s var(--out);
}
.alti.is-on { transform: scale(1); }
.alti.is-on:hover { transform: scale(1.04); }
.alti.is-on.is-away { transform: scale(0); }
.alti__dial { position: absolute; inset: 4px; }
.alti__dial svg { display: block; width: 100%; height: 100%; }
.alti__read {
  position: absolute; left: 50%; bottom: -10px; translate: -50% 0;
  padding: 5px 8px; border-radius: var(--r-pill); background: var(--ink); color: var(--paper);
  font: 500 11px/1 var(--f-mono); white-space: nowrap; font-variant-numeric: tabular-nums;
}

/* --------------------------------------------------------------------------
   Accessibilité
   -------------------------------------------------------------------------- */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* --------------------------------------------------------------------------
   Lien vers l'onglet « Les avions »
   -------------------------------------------------------------------------- */
.teaser { padding-block: clamp(56px, 7vw, 96px); }
.teaser__box { display: grid; grid-template-columns: minmax(160px, 260px) minmax(0, 1fr) auto; align-items: center; gap: clamp(20px, 3vw, 40px); padding: clamp(20px, 3vw, 32px); border: 1px solid var(--ink); border-radius: var(--r-card-lg); background: var(--paper); }
.teaser__art .stk { width: 100%; }
.teaser__text { display: grid; gap: 12px; justify-items: start; }
.teaser__text p { margin: 0; font-size: 17px; }
.teaser__title { margin: 0; font-family: var(--f-display); font-weight: 900; font-stretch: 82%; font-size: clamp(28px, 2.8vw, 44px); line-height: 1; text-transform: uppercase; text-wrap: balance; }

/* --------------------------------------------------------------------------
   Citation
   -------------------------------------------------------------------------- */
.quote { background: var(--lavender); padding-block: clamp(72px, 9vw, 140px); }
.quote__fig { margin: 0 auto; max-width: 1100px; display: grid; gap: 22px; justify-items: start; }
.quote__mark { display: block; width: clamp(70px, 8vw, 110px); }
.quote__text { margin: 0; }
.quote__text p { margin: 0; font: 800 clamp(30px, 4.4vw, 68px)/1.12 var(--f-ui); letter-spacing: -.025em; text-wrap: balance; }
.quote__by { font-size: 17px; line-height: 1.5; }

/* --------------------------------------------------------------------------
   METAR en direct
   -------------------------------------------------------------------------- */
.metar-search { display: grid; gap: 14px; align-content: start; padding: clamp(20px, 2.6vw, 30px); border: 1px solid var(--ink); border-radius: 30px; background: var(--sky); }
.metar-search__form { display: flex; flex-wrap: wrap; gap: 8px; }
.metar-search__input { flex: 1 1 200px; min-height: 52px; padding: 10px 20px; border: 1px solid var(--ink); border-radius: var(--r-pill); background: var(--paper); color: var(--ink); font: 500 20px/1 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; }
.metar-search__input::placeholder { text-transform: none; letter-spacing: 0; color: #5d6878; font-size: 16px; }
.metar-search__chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip-btn { min-height: 38px; padding: 6px 12px; border: 1px solid var(--ink); border-radius: var(--r-pill); background: var(--paper); font: 500 13px/1.2 var(--f-mono); cursor: pointer; transition: background .2s; }
.chip-btn:hover { background: var(--sun); }
.metar-search__result:empty { display: none; }
.metar-live { display: grid; gap: 12px; padding: 18px; border: 1px solid var(--ink); border-radius: var(--r-card); background: var(--paper); }
.metar-live__raw { margin: 0; padding: 12px 14px; border-radius: 12px; background: var(--ink); color: var(--paper); font: 500 15px/1.5 var(--f-mono); overflow-wrap: anywhere; }
.metar-live__list { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.metar-live__list li { display: grid; grid-template-columns: minmax(90px, auto) minmax(0, 1fr); gap: 12px; align-items: baseline; font-size: 15.5px; line-height: 1.5; }
.metar-live__list code { justify-self: start; padding: 3px 8px; border: 1px solid var(--ink); border-radius: 8px; background: var(--c, var(--mist)); font: 500 13.5px/1.3 var(--f-mono); white-space: nowrap; }
.metar-live__sep { margin: 6px 0 0; font: 700 12px/1.2 var(--f-ui); letter-spacing: .032em; text-transform: uppercase; }
.metar-live__msg { margin: 0; font-weight: 700; line-height: 1.5; }
.metar-search__note { margin: 0; font-size: 13.5px; line-height: 1.5; color: var(--muted); }
.meteo .metar { margin-top: clamp(32px, 4vw, 56px); }

/* --------------------------------------------------------------------------
   La FFA
   -------------------------------------------------------------------------- */
.ffa__figures { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.ffa__fig { padding: 22px; border: 1px solid var(--ink); border-radius: var(--r-card); background: var(--c, var(--paper)); }
.ffa__fig p { margin: 0; font-weight: 700; line-height: 1.35; }
.ffa__fig .ffa__num { margin-bottom: 8px; font-family: var(--f-display); font-weight: 900; font-stretch: 88%; font-size: clamp(42px, 4.4vw, 68px); line-height: .9; }
.grants { margin-top: clamp(48px, 6vw, 88px); display: grid; gap: 18px; scroll-margin-top: 110px; }
.grants__title { margin: 0; font-family: var(--f-display); font-weight: 900; font-stretch: 82%; font-size: clamp(34px, 3.6vw, 56px); line-height: 1; text-transform: uppercase; }
.grants__intro { margin: 0; max-width: 60ch; font-size: 18px; line-height: 1.55; }

/* --------------------------------------------------------------------------
   TAJP : étapes cliquables + galerie
   -------------------------------------------------------------------------- */
.tajp__stage {
  display: grid; gap: 6px; align-content: start; width: 100%;
  padding: 18px; border: 1px solid var(--ink); border-radius: var(--r-card);
  background: var(--c); color: var(--ink); text-align: left; cursor: pointer;
  transition: translate .3s var(--out);
}
.tajp__stage:hover { translate: 0 -4px; }
.tajp__stage { overflow: hidden; }
.tajp__cover { display: block; width: calc(100% + 36px); max-width: none; aspect-ratio: 3 / 2; margin: -18px -18px 8px; object-fit: cover; border-bottom: 1px solid var(--ink); background: var(--mist); }
.tajp__photos { justify-self: start; margin-top: 6px; padding: 5px 10px; border: 1px solid var(--ink); border-radius: var(--r-pill); background: var(--paper); font: 700 11px/1.2 var(--f-ui); letter-spacing: .032em; text-transform: uppercase; }

.gallery { width: min(980px, calc(100vw - 24px)); max-height: calc(100dvh - 24px); padding: 0; border: 1px solid var(--ink); border-radius: 30px; background: var(--paper); color: var(--ink); overflow: auto; }
.gallery::backdrop { background: rgba(0, 0, 0, .6); }
.gallery__box { display: grid; gap: 16px; padding: clamp(16px, 2.4vw, 28px); }
.gallery__head { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 14px; align-items: center; }
.gallery__num { width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid var(--ink); border-radius: 50%; background: var(--sun); font: 500 17px var(--f-mono); }
.gallery__title { margin: 0; font-family: var(--f-display); font-weight: 900; font-stretch: 82%; font-size: clamp(28px, 3vw, 44px); line-height: 1; text-transform: uppercase; }
.gallery__dates { margin: 4px 0 0; font: 500 14px/1.4 var(--f-mono); }
.gallery__close { width: 46px; height: 46px; padding: 0; border: 1px solid var(--ink); border-radius: 50%; background: var(--paper); font-size: 26px; line-height: 1; cursor: pointer; }
.gallery__close:hover { background: var(--sun); }
.gallery__view { position: relative; }
.gallery__figure { margin: 0; display: grid; gap: 10px; }
.gallery__figure img { display: block; width: 100%; max-height: 62dvh; object-fit: contain; border: 1px solid var(--ink); border-radius: var(--r-card); background: var(--mist); }
.gallery__figure figcaption { font-size: 16px; line-height: 1.5; }
.gallery__figure figcaption:empty { display: none; }
.gallery__nav { position: absolute; top: calc(50% - 26px); width: 52px; height: 52px; padding: 0; border: 1px solid var(--ink); border-radius: 50%; background: var(--paper); font-size: 22px; cursor: pointer; }
.gallery__nav:hover { background: var(--sun); }
.gallery__nav--prev { left: 12px; }
.gallery__nav--next { right: 12px; }
.gallery__thumbs { display: flex; gap: 8px; overflow-x: auto; padding: 4px 2px; }
.gallery__thumbs button { flex: none; width: 84px; height: 64px; padding: 0; border: 1px solid var(--ink); border-radius: 12px; overflow: hidden; background: var(--mist); cursor: pointer; opacity: .6; }
.gallery__thumbs button[aria-current="true"] { opacity: 1; outline: 3px solid var(--violet); outline-offset: 2px; }
.gallery__thumbs img { display: block; width: 100%; height: 100%; object-fit: cover; }
.gallery__credit { margin: 0; font: 500 12px/1.4 var(--f-mono); color: var(--muted); }
.gallery.is-empty .gallery__credit { display: none; }
.gallery__empty { display: grid; justify-items: center; gap: 12px; padding: 40px 20px; text-align: center; border: 1px dashed var(--ink); border-radius: var(--r-card); background: var(--sky); }
.gallery__empty p { margin: 0; font-size: 18px; font-weight: 700; }
.gallery__empty-art { width: 96px; }
.gallery.is-empty .gallery__view, .gallery.is-empty .gallery__thumbs { display: none; }
.gallery:not(.is-empty) .gallery__empty { display: none; }
.gallery.is-single .gallery__nav, .gallery.is-single .gallery__thumbs { display: none; }

/* --------------------------------------------------------------------------
   Vole avec moi (coavionnage)
   -------------------------------------------------------------------------- */
.fly__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.fly__text { display: grid; gap: 22px; justify-items: start; }
.fly__text .fineprint { margin: 0; }
.fly__visual { position: relative; width: 100%; max-width: 460px; aspect-ratio: 1 / .8; justify-self: center; }
.fly__ticket { position: absolute; left: 4%; top: 28%; width: 78%; rotate: -4deg; }
.fly__plane { position: absolute; right: 2%; top: 0; width: 34%; rotate: -30deg; }
.fly__cloud { position: absolute; left: 0; bottom: 4%; width: 30%; }

/* --------------------------------------------------------------------------
   Plume, le petit guide
   -------------------------------------------------------------------------- */
.guide { position: fixed; z-index: 46; right: max(14px, env(safe-area-inset-right, 0px)); bottom: calc(14px + env(safe-area-inset-bottom, 0px)); display: flex; flex-direction: column; align-items: flex-end; gap: 8px; pointer-events: none; transition: translate .45s var(--out); }
/* À droite, là où il y a surtout des images : la bulle ne cache pas les textes. Plume se décale quand l'altimètre apparaît. */
@media (min-width: 701px) { .alti.is-on:not(.is-away) ~ .guide { translate: -92px 0; } }
.guide > * { pointer-events: auto; }
.guide__buddy { width: 74px; padding: 0; border: 0; background: none; cursor: pointer; transition: translate .3s var(--out); }
.guide__buddy:hover { translate: 0 -4px; }
.guide__buddy .stk { width: 100%; }
.guide__buddy { position: relative; }
.guide.has-tip .guide__buddy::after { content: ''; position: absolute; top: 0; right: 2px; width: 14px; height: 14px; border: 1px solid var(--ink); border-radius: 50%; background: var(--ember); }
.guide__bubble { position: relative; max-width: 250px; margin-right: 30px; padding: 12px 42px 14px 16px; border: 1px solid var(--ink); border-radius: 20px 20px 6px 20px; background: var(--paper); transition: opacity .3s, translate .3s var(--out); }
.guide__name { margin: 0 0 4px; font: 700 11px/1 var(--f-ui); letter-spacing: .06em; text-transform: uppercase; color: var(--violet); }
.guide__text { margin: 0; font-size: 15.5px; line-height: 1.45; }
.guide__close { position: absolute; top: 6px; right: 6px; width: 30px; height: 30px; padding: 0; border: 1px solid var(--ink); border-radius: 50%; background: var(--paper); font-size: 18px; line-height: 1; cursor: pointer; }
.guide__close:hover { background: var(--sun); }
.guide.is-quiet .guide__bubble { opacity: 0; translate: 0 10px; pointer-events: none; }
.guide.is-off { display: none; }
.guide-arm { transform-box: fill-box; transform-origin: 0% 100%; }
.guide.is-waving .guide-arm { animation: wave .5s ease-in-out 2; }
@keyframes wave { 0%, 100% { transform: rotate(0); } 50% { transform: rotate(-18deg); } }

/* --------------------------------------------------------------------------
   Hangar : innovations
   -------------------------------------------------------------------------- */
.innov-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.innov { display: flex; flex-direction: column; gap: 8px; padding: 22px; border: 1px solid var(--ink); border-radius: 28px; background: var(--paper); }
.innov p { margin: 0; font-size: 16px; line-height: 1.55; }
.innov a { font-weight: 700; }
.innov__link { align-self: flex-start; margin-top: 4px; }
.innov__art { display: block; height: 128px; margin-bottom: 8px; padding: 14px; border: 1px solid var(--ink); border-radius: 20px; background: var(--c, var(--sky)); }
.innov__art .stk { width: 100%; height: 100%; }
.innov .innov__kicker { align-self: flex-start; padding: 5px 10px; border: 1px solid var(--ink); border-radius: var(--r-pill); background: var(--sun); font: 700 11px/1 var(--f-ui); letter-spacing: .032em; text-transform: uppercase; }
.innov__title { margin: 4px 0 2px; font-family: var(--f-display); font-weight: 900; font-stretch: 82%; font-size: clamp(24px, 1.9vw, 30px); line-height: 1.02; text-transform: uppercase; text-wrap: balance; }

/* --------------------------------------------------------------------------
   Accueil : mon aviation (qui te guide)
   -------------------------------------------------------------------------- */
/* Fond crème doré, assorti aux lettres dorées du logo */
.me { background: var(--cream); overflow: clip; }
.me__grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); align-items: center; gap: clamp(24px, 3vw, 48px); }
.me__art { position: relative; margin-left: calc(var(--gutter) * -.5); container-type: inline-size; }
.me__logo { display: block; width: 100%; height: auto; }
/* Le logo en calques : corps, avant-bras (pivot au coude), main et sabre (pivot au poignet) */
.salut { position: relative; aspect-ratio: 1000 / 786; margin-top: 9cqi; } /* place pour la lame levée */
.salut__calque, .salut__eclat { position: absolute; inset: 0; display: block; width: 100%; height: 100%; }
.salut__bras, .salut__sabre { position: absolute; inset: 0; will-change: transform; }
.salut__bras { transform-origin: 30.687% 20.61%; }
.salut__sabre { transform-origin: 34.822% 24.816%; }
.salut__eclat { overflow: visible; pointer-events: none; }
.salut__reflet { fill: none; stroke: #fffbea; stroke-width: 4; stroke-linecap: round; stroke-dasharray: 16 200; stroke-dashoffset: 16; opacity: 0; }
.salut__reflet--halo { stroke: #ffe39a; stroke-width: 13; stroke-opacity: .45; }
.salut__etoile { opacity: 0; }
.salut__etoile circle { fill: #fff3c8; fill-opacity: .55; }
.salut__etoile path { fill: #fffaf0; }
/* La devise, écrite à l'or dans le ciel du logo, à droite du sabre */
.devise { position: absolute; left: 39%; top: 13cqi; width: 60%; margin: 0; text-align: center; }
.devise__texte { margin: 0; }
.devise__texte p { margin: 0; font: 400 5.5cqi/1.2 "Pinyon Script", "Snell Roundhand", "Apple Chancery", cursive; }
.devise__ligne {
  --p: 125%;
  display: block; margin: -.14em 0 -.2em; padding: .14em .35em .2em;
  background: linear-gradient(100deg, #5a370b 0%, #8d5b16 18%, #c8922f 34%, #eac572 46%, #c18a2a 58%, #86561a 78%, #5a370b 100%) 100% 0 / 260% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 1px 1px rgba(90, 55, 11, .22));
  -webkit-mask-image: linear-gradient(100deg, #000 calc(var(--p) - 12%), transparent var(--p));
  mask-image: linear-gradient(100deg, #000 calc(var(--p) - 12%), transparent var(--p));
}
.devise__trait { display: block; width: 70%; height: auto; margin: .15em auto 0; overflow: visible; }
.devise__plume { fill: none; stroke: url(#devise-or); stroke-width: 1.5; stroke-linecap: round; }
.devise__etoile { fill: #d4a03f; }
.devise__auteur { margin-top: .55em; font: 500 max(10.5px, 1.7cqi)/1.2 var(--f-mono); letter-spacing: .16em; text-transform: uppercase; color: #7d5215; }
@container (max-width: 520px) {
  .devise { position: relative; left: auto; top: auto; width: auto; margin-top: 2px; }
  .devise__texte p { font-size: 8.4cqi; }
}
/* Pistes et prairies : le personnage lève une rose, la phrase du renard s'écrit à côté */
.bio__rose { margin-top: clamp(56px, 8vw, 110px); }
.bio__rose-art { position: relative; max-width: 760px; margin-inline: auto; container-type: inline-size; }
.salut--rose { margin-top: 0; }
.salut__rose { position: absolute; inset: 0; display: block; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.devise--rose { top: 4cqi; }
.devise--rose .devise__texte p { font-size: 4.6cqi; }
@container (max-width: 520px) {
  .devise--rose { top: auto; margin-top: 6px; }
  .devise--rose .devise__texte p { font-size: 7.4cqi; }
}
.me .display { font-size: clamp(56px, 7.4vw, 132px); }
.me__text { display: grid; gap: 22px; justify-items: start; }
.me__facts { display: grid; gap: 10px; width: 100%; max-width: 640px; margin: 0; padding: 0; list-style: none; }
.me__facts li { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border: 1px solid var(--ink); border-radius: 18px; background: var(--paper); font-weight: 700; line-height: 1.35; }
.me__facts li::before { content: ""; flex: none; width: 12px; height: 12px; border: 1px solid var(--ink); border-radius: 50%; background: var(--c, var(--sun)); }
.me__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.me .fineprint { margin-top: 0; }

/* --------------------------------------------------------------------------
   Accueil : réseaux (Instagram, LinkedIn)
   -------------------------------------------------------------------------- */
.social { background: var(--ink); color: var(--paper); }
.social__grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); align-items: center; gap: clamp(36px, 5vw, 80px); }
.social__head { display: grid; gap: 22px; justify-items: start; }
.social__head .tag { color: var(--ink); }
.social__head .display { font-size: clamp(64px, 12vw, 190px); }
.social__cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.social__card {
  display: flex; flex-direction: column; align-items: flex-start; gap: 8px;
  min-height: 320px; padding: 24px;
  border: 1px solid var(--ink); border-radius: var(--r-card);
  background: var(--c); color: var(--ink); text-decoration: none;
  container-type: inline-size;
  transition: translate .4s var(--out);
}
.social__card[href]:hover, .social__card[href]:focus-visible { translate: 0 -4px; }
.social__icon { display: grid; place-items: center; width: 64px; height: 64px; margin-bottom: auto; border-radius: 20px; background: var(--ink); color: var(--paper); }
.social__icon svg { width: 34px; height: 34px; }
.social__name { margin-top: 32px; font-family: var(--f-display); font-weight: 900; font-stretch: 85%; font-size: clamp(28px, 15cqi, 58px); line-height: .9; text-transform: uppercase; }
.social__line { font: 700 18px/1.3 var(--f-ui); }
.social__handle { font: 500 15px/1.3 var(--f-mono); overflow-wrap: anywhere; }
.social__handle[hidden] { display: none; }
.social__cta {
  display: inline-flex; align-items: center; min-height: 44px; margin-top: 12px; padding: 10px 18px;
  border: 1px solid var(--ink); border-radius: var(--r-pill); background: var(--ink); color: var(--paper);
  font: 700 13px/1.2 var(--f-ui); letter-spacing: .032em; text-transform: uppercase;
}
.social__card:not([href]) .social__cta { border-style: dashed; background: transparent; color: var(--ink); }
.social__card[href] .social__soon, .social__card:not([href]) .social__go { display: none; }

/* --------------------------------------------------------------------------
   Page « Les avions »
   -------------------------------------------------------------------------- */
.fleet--page { padding-top: calc(130px + env(safe-area-inset-top, 0px)); }
.bio--page { padding-top: calc(130px + env(safe-area-inset-top, 0px)); }
.band--meadow { background: var(--meadow); }
.back-link { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 24px; font-weight: 700; text-decoration: none; }
.back-link:hover { text-decoration: underline; }

@media (max-width: 1100px) {
  .innov-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .teaser__box { grid-template-columns: minmax(140px, 200px) minmax(0, 1fr); }
  .teaser__box .btn { grid-column: 1 / -1; justify-self: start; }
  .ffa__figures { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
  .fly__grid, .social__grid, .me__grid { grid-template-columns: minmax(0, 1fr); }
  .me__art { width: min(100%, 640px); margin: 0 auto; }
}
@media (max-width: 700px) {
  .innov-grid { grid-template-columns: minmax(0, 1fr); }
  .social__cards { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .social__card { min-height: 0; padding: 20px; }
  .social__icon { width: 56px; height: 56px; border-radius: 17px; }
  .social__icon svg { width: 30px; height: 30px; }
  .social__name { margin-top: 18px; }
  .teaser__box { grid-template-columns: minmax(0, 1fr); }
  .teaser__art { max-width: 240px; }
  .ffa__figures { grid-template-columns: minmax(0, 1fr); }
  .metar-live__list li { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .gallery__nav { width: 44px; height: 44px; top: calc(50% - 22px); }
  .guide__buddy { width: 56px; }
  .guide__bubble { max-width: min(250px, calc(100vw - 40px)); margin-right: 22px; padding: 10px 40px 12px 14px; }
  .guide__text { font-size: 14.5px; }
}

/* --------------------------------------------------------------------------
   Adaptatif
   -------------------------------------------------------------------------- */
@media (max-width: 1240px) {
  .nav__links { display: none; }
  .plus { display: block; }
}

@media (max-width: 1100px) {
  .stats, .bio__stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .species-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .paths__body { grid-template-columns: minmax(0, 1fr); }
  .cta__steps, .cta__links, .qr-card, .note { grid-column: 1 / -1; }
  .footer__row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 960px) {
  .circuit__pin { min-height: 0; padding: 0 0 40px; }
  .anim .circuit__pin { min-height: 100vh; min-height: 100svh; padding: 76px 0 14px; }
  .circuit__board { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .airfield { width: min(100%, calc((100svh - 360px) * 10 / 7)); min-width: 260px; }
  .legs { min-height: 0; }
  .anim .legs { min-height: 200px; }
  .leg { gap: 6px; padding: 16px 18px; border-radius: 24px; }
  .leg__title { font-size: clamp(26px, 6.5vw, 38px); }
  .leg__text { font-size: 15.5px; line-height: 1.5; }
  .instruments { gap: 6px; }
  .gauge { padding: 8px 4px; border-radius: 16px; }
  .gauge svg { display: none; }
  .meteo__grid, .faq__grid, .ebook__grid { grid-template-columns: minmax(0, 1fr); }
  .faq__head { position: relative; top: 0; }
}

@media (max-width: 700px) {
  body { font-size: 16.5px; }
  .hide-sm { display: none !important; }
  .hero { padding-top: calc(100px + env(safe-area-inset-top, 0px)); }
  .hero__stage { aspect-ratio: 4 / 5; }
  .hero__title { font-size: 33cqw; font-stretch: 72%; }
  .hero__line--1 { transform: translateX(-3cqw); }
  .hero__line--2 { transform: translateX(3cqw); }
  .hero__plane { width: 14cqw; }
  .st { width: calc(var(--w) * 1.8cqw); }
  .st--cloud { --x: 62% !important; --y: 4% !important; }
  .st--cloud2 { --x: 0% !important; --y: 10% !important; }
  .st--sock { --x: 80% !important; --y: 80% !important; }
  .hero__ctas, .hero__ctas .btn { width: 100%; }
  .bio__stats, .species-grid { grid-template-columns: minmax(0, 1fr); }
  .stats { gap: 12px; }
  .stat { min-height: 172px; padding: 16px; gap: 6px; }
  .stat__sticker { width: 42px; }
  .stat__num { font-size: clamp(40px, 12vw, 56px); }
  .stat__label { font-size: 15px; }
  .fleet__grid { grid-template-columns: minmax(0, 1fr); }
  .craft__specs { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .metar__panel { grid-template-columns: minmax(0, 1fr); gap: 12px; padding: 22px; }
  .metar__icon { width: 64px; }
  .budget__head { align-items: flex-start; }
  .path__head { align-items: flex-start; flex-direction: column; }
  .path__facts div { flex-direction: column; gap: 4px; }
  .path__facts dd { text-align: left; }
  .range__plot { --label: 58px; }
  .qr-card__code { width: 116px; }
  .footer__row { grid-template-columns: minmax(0, 1fr); }
  .footer__word { font-size: 16vw; }
  .alti { display: none; }
  .nav { gap: 8px; }
  .logo { height: 54px; padding: 3px 14px; }
  .nav__cta { min-height: 44px; padding: 8px 14px; white-space: nowrap; }
  .nav__cta .btn__icon { display: none; }
  .plus { width: 44px; height: 44px; }
  .meadow__plant { width: calc(64px * var(--h, 1)); }
  /* Étapes du TAJP : cartes horizontales, photo à gauche, pour garder la section courte */
  .tajp__route { grid-template-columns: minmax(0, 1fr); } /* une étape par ligne, même sur les grands téléphones (390-430 px) */
  .tajp__stage:has(.tajp__cover) { position: relative; padding-left: calc(38% + 16px); }
  .tajp__cover { position: absolute; inset: 0 auto 0 0; width: 38%; height: 100%; margin: 0; aspect-ratio: auto; border-bottom: 0; border-right: 1px solid var(--ink); }
}

/* --------------------------------------------------------------------------
   Le club-house (communauté) : salons, discussions, messages, charte
   -------------------------------------------------------------------------- */
.club { background: var(--cream); }
.club__statut { display: flex; gap: 12px; align-items: flex-start; max-width: 860px; margin: 0 0 clamp(28px, 3vw, 40px); padding: 14px 18px; border: 1px solid var(--ink); border-radius: 18px; background: var(--paper); font-size: 15.5px; line-height: 1.5; }
.club__statut::before { content: ""; flex: none; width: 12px; height: 12px; margin-top: 5px; border: 1px solid var(--ink); border-radius: 50%; background: var(--sun); }
.club__statut.is-direct::before { background: #3aa35e; }
.club__statut p { margin: 0; }
.club__grille { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(280px, 1fr); gap: clamp(20px, 2.6vw, 40px); align-items: start; }
.club__app { display: grid; gap: 18px; min-width: 0; }
.club__app:focus { outline: none; }
.club__titre { margin: 0; font-family: var(--f-display); font-weight: 900; font-stretch: 82%; font-size: clamp(30px, 3vw, 46px); line-height: .95; text-transform: uppercase; }
.club__titre:focus { outline: none; }
.club__intro { margin: -6px 0 0; color: var(--muted); font-size: 16px; }
.club__barre { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.club__retour-lien { display: inline-flex; align-items: center; gap: 8px; padding: 0; border: 0; background: none; font-weight: 700; text-decoration: none; cursor: pointer; }
.club__retour-lien:hover { text-decoration: underline; }

/* Salons */
.salons { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.salon { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 4px 14px; align-items: start; width: 100%; height: 100%; padding: 16px; border: 1px solid var(--ink); border-radius: var(--r-card); background: var(--paper); color: var(--ink); text-align: left; cursor: pointer; transition: translate .3s var(--out), background .3s; }
.salon:hover { translate: 0 -3px; background: #fffaf0; }
.salon__icone { grid-row: span 3; display: grid; place-items: center; width: 64px; height: 64px; padding: 9px; border: 1px solid var(--ink); border-radius: 50%; background: var(--c, var(--sky)); }
.salon__icone .stk { width: 100%; height: 100%; }
.salon__nom { font-family: var(--f-display); font-weight: 900; font-stretch: 85%; font-size: 21px; line-height: 1; text-transform: uppercase; }
.salon__desc { font-size: 14.5px; line-height: 1.45; color: var(--muted); }
.salon__compte { justify-self: start; margin-top: 4px; padding: 3px 9px; border: 1px solid var(--ink); border-radius: var(--r-pill); font: 500 12px/1.3 var(--f-mono); }

/* Liste des discussions */
.sujets { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.sujet-ligne { display: grid; gap: 4px; width: 100%; padding: 14px 18px; border: 1px solid var(--ink); border-radius: 16px; background: var(--paper); color: var(--ink); text-align: left; cursor: pointer; transition: background .2s; }
.sujet-ligne:hover { background: #fffaf0; }
.sujet-ligne__titre { font-weight: 800; font-size: 17.5px; line-height: 1.3; overflow-wrap: anywhere; }
.club__meta { font: 500 13px/1.4 var(--f-mono); color: var(--muted); }
.club__vide { margin: 0; padding: 28px 20px; border: 1px dashed var(--ink); border-radius: var(--r-card); background: var(--paper); text-align: center; font-weight: 700; }

/* Messages d'une discussion */
.fil { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.post { display: grid; gap: 8px; padding: 16px 18px; border: 1px solid var(--ink); border-radius: var(--r-card); background: var(--paper); }
.post--moi { background: #fffaf0; }
.post__tete { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 10px; }
.post__auteur { font-weight: 800; overflow-wrap: anywhere; }
.post__badge { padding: 1px 8px; border: 1px solid var(--ink); border-radius: var(--r-pill); background: var(--sun); font: 700 10.5px/1.5 var(--f-ui); letter-spacing: .04em; text-transform: uppercase; }
.post__texte { margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; line-height: 1.55; }
.post__pied { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
.lien-discret { padding: 4px 10px; border: 1px solid transparent; border-radius: var(--r-pill); background: none; color: var(--muted); font: 600 13px/1.3 var(--f-ui); cursor: pointer; }
.lien-discret:hover { border-color: var(--ink); color: var(--ink); }
.lien-discret[disabled] { cursor: default; opacity: .7; border-color: transparent; }

/* Formulaires */
.club-form { display: grid; gap: 12px; padding: clamp(16px, 2vw, 22px); border: 1px solid var(--ink); border-radius: var(--r-card); background: var(--sky); }
.club-form__titre { margin: 0; font-weight: 800; font-size: 18px; }
.club-form label { display: grid; gap: 6px; font-weight: 700; font-size: 14.5px; }
.club-form input[type="text"], .club-form input[type="email"], .club-form textarea {
  width: 100%; padding: 12px 16px; border: 1px solid var(--ink); border-radius: 14px; background: var(--paper); color: var(--ink);
  font: 500 16px/1.5 var(--f-ui);
}
.club-form textarea { min-height: 132px; resize: vertical; }
.club-form input:focus-visible, .club-form textarea:focus-visible { outline: 3px solid var(--violet); outline-offset: 2px; }
.club-form__case { display: flex !important; grid-template-columns: none; gap: 10px !important; align-items: flex-start; font-weight: 600 !important; }
.club-form__case input { flex: none; width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--ink); }
.club-form__bas { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; }
.club-form__aide { margin: 0; font-size: 13.5px; line-height: 1.45; color: var(--muted); }
.club-form__compteur { font: 500 12.5px var(--f-mono); color: var(--muted); }
.club-form__compteur.is-trop { color: #b3261e; }
.club-retour { margin: 0; padding: 12px 16px; border: 1px solid var(--ink); border-radius: 14px; font-size: 15px; line-height: 1.5; }
.club-retour:empty { display: none; }
.club-retour--refus { border-color: #b3261e; background: #fbe9e4; color: #6b1a12; }
.club-retour--ok { border-color: var(--leaf); background: var(--meadow); color: #22402b; }
.club-retour--info { background: var(--paper); }
.club-compte { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 14px; padding: 10px 14px; border: 1px solid var(--ink); border-radius: 14px; background: var(--paper); font-size: 14.5px; }

/* Charte */
.charte { position: sticky; top: 112px; display: grid; gap: 14px; padding: clamp(20px, 2.4vw, 28px); border: 1px solid var(--ink); border-radius: 30px; background: var(--paper); }
.charte__titre { margin: 0; font-family: var(--f-display); font-weight: 900; font-stretch: 82%; font-size: clamp(26px, 2.2vw, 34px); line-height: .95; text-transform: uppercase; }
.charte__liste, .charte__etapes { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; counter-reset: charte; }
.charte__liste li { counter-increment: charte; position: relative; padding-left: 34px; font-size: 15px; line-height: 1.5; }
.charte__liste li::before { content: counter(charte); position: absolute; left: 0; top: 1px; display: grid; place-items: center; width: 24px; height: 24px; border: 1px solid var(--ink); border-radius: 50%; background: var(--sun); font: 500 12px var(--f-mono); }
.charte__sous-titre { margin: 6px 0 0; font-weight: 800; font-size: 16px; }
.charte__etapes li { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 10px; font-size: 14.5px; line-height: 1.45; }
.charte__etapes span { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--ink); color: var(--paper); font: 500 12px var(--f-mono); }
.charte__note { margin: 0; padding-top: 12px; border-top: 1px solid rgba(19, 34, 58, .2); font-size: 13.5px; color: var(--muted); }

@media (max-width: 960px) {
  .club__grille { grid-template-columns: minmax(0, 1fr); }
  .charte { position: static; }
  /* Place réservée au forum avant qu'il s'affiche : la charte en dessous ne saute plus */
  .js .club__app:not(:has(> :not(noscript))) { min-height: 1000px; }
}
@media (max-width: 700px) {
  .salon { grid-template-columns: 52px minmax(0, 1fr); padding: 14px; }
  .salon__icone { width: 52px; height: 52px; padding: 7px; }
  .post, .sujet-ligne { padding: 14px; }
}

/* --------------------------------------------------------------------------
   Mouvement réduit
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
}

/* --------------------------------------------------------------------------
   Liste d'attente de l'ebook (formulaire)
   -------------------------------------------------------------------------- */
.waitlist { display: grid; gap: 16px; width: 100%; max-width: 620px; margin-top: 4px; }
.waitlist__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.field { display: grid; gap: 6px; align-content: start; }
.field__label { font: 700 13px/1.2 var(--f-ui); letter-spacing: .032em; text-transform: uppercase; }
.field__input {
  width: 100%; min-height: 52px; padding: 10px 18px;
  border: 1px solid var(--ink); border-radius: 14px; background: var(--paper); color: var(--ink);
  font: 500 17px/1.3 var(--f-ui);
}
.field__input:focus-visible { outline: 3px solid var(--violet); outline-offset: 2px; }
.field__input[aria-invalid="true"], .check__box[aria-invalid="true"] { border-color: #a3341a; box-shadow: 0 0 0 1px #a3341a; }
.field__err { margin: 0; min-height: 0; font: 700 14px/1.4 var(--f-ui); color: #a3341a; }
.field__err:empty { display: none; }
.check { display: flex; align-items: flex-start; gap: 12px; font-size: 15px; line-height: 1.5; cursor: pointer; }
.check__box { flex: none; width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--ink); cursor: pointer; }
.check a { font-weight: 700; }
.waitlist__send { justify-self: start; }
.waitlist__msg { margin: 0; font-weight: 700; }
.waitlist__msg:empty { display: none; }
.waitlist__msg.is-ok { padding: 12px 16px; border-radius: 14px; background: #e1ecdf; color: #22452c; }
.waitlist__msg.is-err { padding: 12px 16px; border-radius: 14px; background: #f7e3db; color: #7e2810; }
.waitlist__robot:empty { display: none; }
/* Piège à robots : hors de l'écran (pas display:none, que certains robots repèrent) */
.waitlist__piege { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 600px) { .waitlist__row { grid-template-columns: 1fr; } .waitlist__send { width: 100%; } }

/* --------------------------------------------------------------------------
   Bannière de consentement (statistiques de visite)
   -------------------------------------------------------------------------- */
.consent {
  position: fixed; z-index: 300; left: max(16px, env(safe-area-inset-left, 0px)); bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  width: min(440px, calc(100vw - 32px)); padding: 20px 22px;
  border: 1px solid var(--ink); border-radius: var(--r-card); background: var(--paper); color: var(--ink);
  box-shadow: 0 18px 50px rgba(19, 34, 58, .22);
}
.consent__titre { margin: 0 0 6px; font: 800 17px/1.3 var(--f-ui); }
.consent__texte { margin: 0 0 16px; font-size: 15px; line-height: 1.5; }
.consent__texte a { font-weight: 700; }
.consent__choix { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
/* Les deux choix ont exactement le même poids visuel */
.consent__btn {
  min-height: 46px; padding: 8px 14px; border: 1px solid var(--ink); border-radius: var(--r-pill);
  background: var(--paper); color: var(--ink); font: 700 13px/1.2 var(--f-ui); letter-spacing: .032em; text-transform: uppercase; cursor: pointer;
  transition: background .2s, color .2s;
}
.consent__btn:hover, .consent__btn:focus-visible { background: var(--ink); color: var(--paper); }

/* Pied de page : liens légaux */
.footer__legal { max-width: var(--max); margin: 14px auto 0; font: 500 13px/1.8 var(--f-mono); color: #c8c1b1; }
.footer__legal a, .footer__cookies { color: #f6f1e6; font-weight: 500; text-underline-offset: 3px; }
.footer__cookies { padding: 0; border: 0; background: none; font: inherit; text-decoration: underline; cursor: pointer; }
.footer__legal a:hover, .footer__cookies:hover { color: var(--sun); }

/* --------------------------------------------------------------------------
   Pages légales (confidentialité, CGU) et page 404
   -------------------------------------------------------------------------- */
.page-simple { min-height: 100vh; display: flex; flex-direction: column; background: var(--paper); }
.page-simple__tete { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px var(--gutter); border-bottom: 1px solid var(--mist); }
.page-simple__logo { display: block; flex: none; border-radius: 14px; overflow: hidden; }
.page-simple__logo img { display: block; width: 84px; height: auto; }
.page-simple main { flex: 1; }
.legal { max-width: 760px; margin: 0 auto; padding: clamp(40px, 7vw, 96px) var(--gutter) clamp(56px, 8vw, 120px); }
.legal h1 { margin: 18px 0 12px; font-family: var(--f-display); font-weight: 900; font-stretch: 82%; font-size: clamp(40px, 6vw, 72px); line-height: .95; text-transform: uppercase; text-wrap: balance; }
.legal h2 { margin: 48px 0 12px; font: 800 clamp(22px, 2.4vw, 28px)/1.2 var(--f-ui); scroll-margin-top: 24px; }
.legal h3 { margin: 28px 0 8px; font: 800 18px/1.3 var(--f-ui); }
.legal p, .legal li { line-height: 1.65; }
.legal ul { padding-left: 1.2em; }
.legal li + li { margin-top: 6px; }
.legal a { font-weight: 700; text-underline-offset: 3px; }
.legal__maj { color: var(--muted); font: 500 14px/1.5 var(--f-mono); }
.legal__en { padding: 12px 16px; border-radius: 14px; background: var(--sky); font-size: 15px; }
.legal table { width: 100%; border-collapse: collapse; font-size: 15px; }
.legal th, .legal td { padding: 10px 12px; border-bottom: 1px solid var(--mist); text-align: left; vertical-align: top; }
.legal th { font-weight: 800; }
.legal__tableau { overflow-x: auto; }
.legal__sommaire { margin: 28px 0 0; padding: 18px 22px; border: 1px solid var(--ink); border-radius: var(--r-card); }
.legal__sommaire p { margin: 0 0 6px; font-weight: 800; }
.legal__sommaire ol { margin: 0; padding-left: 1.2em; }
.introuvable { display: grid; place-items: center; text-align: center; padding: clamp(48px, 10vw, 140px) var(--gutter); }
.introuvable__code { margin: 0; font: 500 16px/1 var(--f-mono); letter-spacing: .12em; color: var(--gold-text); }
.introuvable h1 { margin: 18px 0 16px; font-family: var(--f-display); font-weight: 900; font-stretch: 80%; font-size: clamp(56px, 11vw, 150px); line-height: .9; text-transform: uppercase; }
.introuvable p { max-width: 46ch; margin: 0 auto; }
.introuvable__liens { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 32px; }
.introuvable__avion { width: min(240px, 60vw); margin: 0 auto 8px; }
.page-simple .footer { padding-top: 40px; }
html:not([data-lang="en"]) .legal__en { display: none; }
/* Titre « Club-house » : tient sur un téléphone de 375 px */
.club h1.display--xl { font-size: clamp(52px, 12vw, 220px); }
/* Mon aviation : la photo de Jonzac, en vignette à côté de sa légende */
.me__photo { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 16px; align-items: center; margin: 0; padding: 12px 18px 12px 12px; border: 1px solid var(--ink); border-radius: var(--r-card); background: var(--paper); max-width: 560px; }
.me__photo img { display: block; width: 112px; height: 168px; object-fit: cover; object-position: 50% 20%; border-radius: 12px; }
.me__photo figcaption { font-weight: 700; line-height: 1.45; }
.me__photo small { display: block; margin-top: 6px; font: 500 12px/1.4 var(--f-mono); color: var(--muted); }
