:root {
  --bg: #07111f;
  --bg-2: #0b1a2e;
  --surface: #0f2238;
  --surface-2: #14304d;
  --line: rgba(140, 200, 255, 0.14);
  --text: #eef6ff;
  --muted: #9db3cc;
  --accent: #38c8ff;
  --accent-2: #1e7bff;
  --red: #ff4646;
  --ok: #2ecc71;
  --radius: 16px;
  --max: 1180px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--accent); }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* Navigation */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(7, 17, 31, 0.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav .wrap { display: flex; align-items: center; gap: 24px; height: 64px; }
.nav .brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 900; letter-spacing: .04em; font-size: 18px; }
.nav .brand img { width: 34px; height: 34px; }
.nav .brand span { color: var(--red); }
.nav .links { display: flex; gap: 22px; margin-left: auto; }
.nav .links a { color: var(--muted); text-decoration: none; font-weight: 600; font-size: 15px; }
.nav .links a:hover, .nav .links a[aria-current="page"] { color: var(--text); }

/* Boutons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 13px 22px; border-radius: 12px; border: 0;
  font: inherit; font-weight: 700; font-size: 16px;
  text-decoration: none; cursor: pointer;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #031020; box-shadow: 0 8px 28px rgba(56, 200, 255, .3); }
.btn-primary:hover { box-shadow: 0 12px 36px rgba(56, 200, 255, .45); }
.btn-ghost { background: rgba(255, 255, 255, .08); color: var(--text); border: 1px solid rgba(255, 255, 255, .18); }
.btn-ghost:hover { background: rgba(255, 255, 255, .14); }
.btn-sm { padding: 9px 16px; font-size: 14px; border-radius: 10px; }
.btn svg { flex: none; }

/* Hero */
.hero { position: relative; min-height: min(88vh, 820px); display: flex; align-items: flex-end; overflow: hidden; isolation: isolate; }
.hero > picture img, .hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(7,17,31,.35) 0%, rgba(7,17,31,0) 30%, rgba(7,17,31,.55) 65%, var(--bg) 100%),
    linear-gradient(90deg, rgba(7,17,31,.75) 0%, rgba(7,17,31,0) 60%);
}
.hero .wrap { width: 100%; padding-bottom: 56px; }
.hero .title { width: min(560px, 90%); filter: drop-shadow(0 10px 30px rgba(0,0,0,.45)); }
.hero h1 { font-size: clamp(22px, 3vw, 30px); font-weight: 800; max-width: 26ch; margin-top: 18px; text-shadow: 0 2px 16px rgba(0,0,0,.5); }
.hero p.lead { color: #d6e6f7; max-width: 52ch; margin-top: 10px; font-size: 17px; text-shadow: 0 2px 12px rgba(0,0,0,.6); }
.hero .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }

/* Chiffres en direct */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin-top: -8px; }
.stat { background: var(--bg-2); padding: 20px 22px; }
.stat b { display: block; font-size: 28px; font-weight: 800; font-variant-numeric: tabular-nums; }
.stat span { color: var(--muted); font-size: 14px; }
.stat .live { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--ok); margin-right: 6px; box-shadow: 0 0 0 0 rgba(46,204,113,.6); animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(46,204,113,.6); } 70% { box-shadow: 0 0 0 8px rgba(46,204,113,0); } 100% { box-shadow: 0 0 0 0 rgba(46,204,113,0); } }

/* Sections */
section { padding: 88px 0 0; }
.kicker { color: var(--accent); font-weight: 700; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; }
h2 { font-size: clamp(28px, 4vw, 40px); font-weight: 800; line-height: 1.15; margin-top: 8px; }
.intro { color: var(--muted); max-width: 62ch; margin-top: 12px; font-size: 17px; }

.grid { display: grid; gap: 18px; margin-top: 36px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.card {
  background: linear-gradient(180deg, var(--surface), var(--bg-2));
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px;
  transition: border-color .2s ease, transform .2s ease;
}
.card:hover { border-color: rgba(56, 200, 255, .4); transform: translateY(-3px); }
.card .ico { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; font-size: 24px; background: rgba(56, 200, 255, .12); margin-bottom: 14px; }
.card h3 { font-size: 19px; font-weight: 750; }
.card p { color: var(--muted); margin-top: 6px; font-size: 15px; }
.card .tag { display: inline-block; margin-top: 12px; font-size: 12px; font-weight: 700; color: var(--accent); background: rgba(56, 200, 255, .1); padding: 4px 9px; border-radius: 999px; }

/* Flotte */
.fleet { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.fleet span { padding: 9px 14px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-weight: 600; font-size: 14px; }

/* Galerie */
.gallery { display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; gap: 14px; margin-top: 36px; }
.gallery figure { position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 16 / 9; }
.gallery figure:first-child { grid-row: span 2; aspect-ratio: auto; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.gallery figure:hover img { transform: scale(1.04); }
.gallery figcaption { position: absolute; left: 12px; bottom: 12px; background: rgba(7,17,31,.75); padding: 5px 11px; border-radius: 8px; font-size: 13px; font-weight: 600; }

/* Bandeau staff */
.banner {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 28px;
  padding: 32px; border-radius: 22px;
  background: radial-gradient(120% 140% at 0% 0%, rgba(56,200,255,.22), transparent 60%), var(--surface);
  border: 1px solid rgba(56, 200, 255, .3);
}
.banner img { width: 96px; height: 96px; }
.banner h2 { margin-top: 0; font-size: clamp(24px, 3vw, 32px); }
.banner p { color: var(--muted); margin-top: 6px; }

/* Pied de page */
footer { margin-top: 96px; border-top: 1px solid var(--line); padding: 36px 0 44px; color: var(--muted); font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 18px 32px; align-items: center; justify-content: space-between; }
footer nav { display: flex; flex-wrap: wrap; gap: 18px; }
footer a { color: var(--muted); text-decoration: none; }
footer a:hover { color: var(--text); }

/* Formulaire */
.page-head { padding: 64px 0 8px; position: relative; overflow: hidden; }
.page-head .wrap { display: flex; gap: 28px; align-items: center; }
.page-head img { width: 110px; height: 110px; flex: none; }
.page-head h1 { font-size: clamp(30px, 4.5vw, 44px); font-weight: 850; line-height: 1.1; }
.page-head p { color: var(--muted); margin-top: 8px; max-width: 60ch; font-size: 17px; }
.form-layout { display: grid; grid-template-columns: 1fr 320px; gap: 28px; align-items: start; margin-top: 36px; }
form.panel, .aside { background: var(--bg-2); border: 1px solid var(--line); border-radius: 20px; padding: 28px; }
.aside { position: sticky; top: 88px; }
.aside h3 { font-size: 17px; margin-bottom: 10px; }
.aside ol, .aside ul { padding-left: 18px; color: var(--muted); font-size: 15px; display: grid; gap: 8px; }
.aside .note { margin-top: 18px; padding: 12px 14px; border-radius: 12px; background: rgba(255, 196, 0, .08); border: 1px solid rgba(255, 196, 0, .25); color: #f3dc9a; font-size: 14px; }
fieldset { border: 0; padding: 0; margin: 0 0 30px; }
legend { font-size: 18px; font-weight: 800; margin-bottom: 16px; display: flex; align-items: center; gap: 10px; }
legend .n { width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; background: rgba(56,200,255,.15); color: var(--accent); font-size: 14px; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.row-3 { grid-template-columns: 1fr 1fr 1fr; }
.field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 16px; }
.field label { font-weight: 650; font-size: 14px; }
.field .hint { color: var(--muted); font-size: 13px; font-weight: 400; }
.field input, .field textarea, .field select {
  width: 100%; font: inherit; font-size: 15px; color: var(--text);
  background: var(--surface); border: 1px solid var(--line); border-radius: 11px;
  padding: 12px 14px; outline: none; transition: border-color .15s ease, box-shadow .15s ease;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(56, 200, 255, .18); }
.field .count { align-self: flex-end; color: var(--muted); font-size: 12px; font-variant-numeric: tabular-nums; }
.field .count.short { color: #f3a34a; }
.chips { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chip span { display: block; padding: 12px 14px; border-radius: 11px; border: 1px solid var(--line); background: var(--surface); font-weight: 600; font-size: 15px; transition: all .15s ease; }
.chip input:checked + span { border-color: var(--accent); background: rgba(56, 200, 255, .14); }
.chip input:focus-visible + span { box-shadow: 0 0 0 3px rgba(56, 200, 255, .3); }
.check { display: flex; gap: 10px; align-items: flex-start; color: var(--muted); font-size: 15px; margin-bottom: 10px; }
.check input { margin-top: 4px; width: 18px; height: 18px; accent-color: var(--accent); flex: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.alert { padding: 14px 16px; border-radius: 12px; margin-bottom: 18px; font-weight: 600; display: none; }
.alert.show { display: block; }
.alert.err { background: rgba(255, 70, 70, .1); border: 1px solid rgba(255, 70, 70, .4); color: #ffb3b3; }
.success { text-align: center; padding: 40px 20px; }
.success .big { font-size: 56px; }
.success h2 { margin-top: 10px; }
.success p { color: var(--muted); margin: 10px auto 22px; max-width: 46ch; }

@media (max-width: 900px) {
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .form-layout { grid-template-columns: 1fr; }
  .aside { position: static; order: -1; }
}
@media (max-width: 720px) {
  .wrap { padding: 0 16px; }
  .nav .links { display: none; }
  .nav .wrap { gap: 12px; }
  .nav .nav-end { margin-left: auto; }
  .hero { min-height: 640px; }
  .hero .wrap { padding-bottom: 36px; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat b { font-size: 22px; }
  section { padding-top: 64px; }
  .grid-3 { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr; grid-template-rows: none; }
  .gallery figure:first-child { grid-row: auto; aspect-ratio: 16 / 9; }
  .banner { grid-template-columns: 1fr; text-align: center; justify-items: center; padding: 26px 20px; }
  .row, .row-3, .chips { grid-template-columns: 1fr; }
  .page-head .wrap { flex-direction: column; text-align: center; }
  form.panel, .aside { padding: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
  html { scroll-behavior: auto; }
}

/* 13 Oct 2026: staff roles open to French speakers only, except Builder and Livery */
.lang-note { margin: 4px 0 14px; padding: 12px 14px; border-radius: 12px; background: rgba(255, 196, 0, .08); border: 1px solid rgba(255, 196, 0, .3); color: #f3dc9a; font-size: 14px; line-height: 1.5; }
.lang-note p { margin: 0; }
.lang-note p + p { margin-top: 8px; color: #e9d6a0; opacity: .9; }

/* 13 Oct 2026: FR / EN toggle (i18n.js) next to the Play button */
.nav .nav-end { display: flex; align-items: center; gap: 12px; }
