/* ==========================================================================
   Clubwing – page d'entrée publique, direction « aviation ancienne »
   (design/maquettes/retro.html). Polices hébergées en local (SIL OFL).
   ========================================================================== */
@font-face { font-family: 'B612'; font-weight: 400; font-display: swap; src: url('../fonts/b612-400.woff2') format('woff2'); }
@font-face { font-family: 'B612'; font-weight: 700; font-display: swap; src: url('../fonts/b612-700.woff2') format('woff2'); }
@font-face { font-family: 'B612 Mono'; font-weight: 400; font-display: swap; src: url('../fonts/b612-mono-400.woff2') format('woff2'); }
@font-face { font-family: 'B612 Mono'; font-weight: 700; font-display: swap; src: url('../fonts/b612-mono-700.woff2') format('woff2'); }
@font-face { font-family: 'Limelight'; font-weight: 400; font-display: swap; src: url('../fonts/limelight-400.woff2') format('woff2'); }
@font-face { font-family: 'Special Elite'; font-weight: 400; font-display: swap; src: url('../fonts/special-elite-400.woff2') format('woff2'); }

:root {
  --r-creme: #F1E6CF;
  --r-papier: #FBF6EA;
  --r-marine: #1B2A43;
  --r-marine-2: #2C3F5E;
  --r-vermillon: #B8391F;
  --r-laiton: #A8823A;
  --r-laiton-clair: #D9BC7A;
  --r-encre: #2A2622;
  --r-encre-2: #5C5246;
  --r-filet: #CDBB98;
  --r-titre: 'Limelight', Georgia, serif;
  --r-machine: 'Special Elite', 'Courier New', monospace;
  --r-texte: 'B612', system-ui, sans-serif;
  --r-chiffres: 'B612 Mono', ui-monospace, monospace;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; color: var(--r-encre); font-family: var(--r-texte); font-size: 17px; line-height: 1.6;
  background-color: var(--r-creme);
  background-image: radial-gradient(rgba(90, 70, 40, .06) 1px, transparent 1px);
  background-size: 4px 4px;
}
a { color: var(--r-marine); }
img, svg { max-width: 100%; }
.wrap { width: min(1120px, 100% - 32px); margin-inline: auto; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; background: var(--r-papier); padding: 8px 12px; z-index: 10; }
:focus-visible { outline: 3px solid var(--r-laiton); outline-offset: 3px; }

.eyebrow { font-family: var(--r-machine); font-size: 15px; letter-spacing: .12em; text-transform: uppercase; color: var(--r-vermillon); margin: 0 0 .6em; }
h1, h2, h3 { font-family: var(--r-titre); font-weight: 400; color: var(--r-marine); line-height: 1.1; margin: 0 0 .4em; letter-spacing: .02em; }
h1 { font-size: clamp(40px, 7vw, 76px); }
h2 { font-size: clamp(30px, 4.5vw, 46px); }
h3 { font-size: 24px; }
p { margin: 0 0 1em; }

.deco-rule { display: flex; align-items: center; gap: 10px; color: var(--r-laiton); margin: 18px 0; }
.deco-rule::before, .deco-rule::after { content: ""; flex: 1; border-top: 1px solid currentColor; box-shadow: 0 4px 0 var(--r-filet); }
.deco-rule span { width: 10px; height: 10px; transform: rotate(45deg); background: currentColor; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 24px;
  font-family: var(--r-machine); font-size: 17px; letter-spacing: .06em; text-transform: uppercase; text-decoration: none; text-align: center;
  border-radius: 4px; border: 2px solid var(--r-marine); cursor: pointer; transition: transform .15s, box-shadow .15s; }
.btn--main { background: var(--r-vermillon); border-color: var(--r-vermillon); color: #fff; box-shadow: 3px 3px 0 var(--r-marine); }
.btn--main:hover { transform: translate(-1px, -1px); box-shadow: 4px 4px 0 var(--r-marine); }
.btn--ghost { background: transparent; color: var(--r-marine); }
.btn--ghost:hover { background: rgba(27, 42, 67, .06); }

/* En-tête */
.top { background: var(--r-marine); color: var(--r-creme); border-bottom: 4px double var(--r-laiton); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--r-creme); text-decoration: none; font-family: var(--r-titre); font-size: 26px; letter-spacing: .04em; }
.brand svg { width: 40px; height: 40px; }
.top nav { display: flex; gap: 22px; font-family: var(--r-machine); font-size: 15px; letter-spacing: .08em; text-transform: uppercase; }
.top nav a { color: var(--r-creme); text-decoration: none; }
.top nav a:hover { color: var(--r-laiton-clair); }
.top .btn { color: var(--r-creme); border-color: var(--r-laiton); min-height: 44px; padding: 0 16px; font-size: 15px; }
@media (max-width: 760px) { .top nav { display: none; } }

/* Héros */
.hero { position: relative; overflow: hidden; padding: 56px 0 72px; }
.hero__rays { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; opacity: .5; }
.hero .wrap { position: relative; z-index: 1; display: grid; gap: 32px; align-items: center; }
@media (min-width: 900px) { .hero .wrap { grid-template-columns: 1.05fr 1fr; } }
.hero h1 span { color: var(--r-vermillon); }
.hero__lead { font-size: 19px; max-width: 34em; color: var(--r-encre-2); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 24px; }
.hero__note { font-family: var(--r-machine); font-size: 14px; color: var(--r-encre-2); margin-top: 14px; }
.hero__art svg { display: block; width: 100%; height: auto; }

.marquee { background: var(--r-marine); color: var(--r-laiton-clair); border-block: 2px solid var(--r-laiton); overflow: hidden; }
.marquee p { margin: 0; padding: 10px 0; white-space: nowrap; font-family: var(--r-chiffres); letter-spacing: .3em; font-size: 14px; text-align: center; }

section { padding: 72px 0; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 40px; }

/* Fonctions */
.cards { display: grid; gap: 22px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.card { background: var(--r-papier); border: 1px solid var(--r-filet); border-radius: 6px; padding: 26px 24px 22px; position: relative; box-shadow: 6px 6px 0 rgba(27, 42, 67, .08); }
.card::before { content: ""; position: absolute; inset: 6px; border: 1px dashed var(--r-filet); border-radius: 3px; pointer-events: none; }
.card__icon { width: 56px; height: 56px; margin-bottom: 12px; color: var(--r-marine); }
.card h3 { font-size: 22px; }
.card p { color: var(--r-encre-2); margin: 0; }
.card__num { position: absolute; top: 14px; right: 18px; font-family: var(--r-machine); color: var(--r-laiton); font-size: 14px; }

/* Avantages */
.dark { background: var(--r-marine); color: var(--r-creme); }
.dark h2, .dark h3 { color: var(--r-creme); }
.dark .eyebrow { color: var(--r-laiton-clair); }
.medals { display: grid; gap: 28px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); }
.medal { text-align: center; }
.medal svg { width: 110px; height: 110px; }
.medal h3 { font-size: 22px; margin-top: 8px; }
.medal p { color: #D3C8B2; font-size: 16px; }

/* Mise en route : carte d'embarquement */
.ticket { display: grid; background: var(--r-papier); border: 2px solid var(--r-marine); border-radius: 10px; overflow: hidden; }
@media (min-width: 860px) { .ticket { grid-template-columns: 2.3fr 1fr; } }
.ticket__main { padding: 28px; }
.ticket__stub { background: var(--r-creme); border-top: 2px dashed var(--r-marine); padding: 28px; position: relative; }
@media (min-width: 860px) { .ticket__stub { border-top: 0; border-left: 2px dashed var(--r-marine); } }
.ticket__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; font-family: var(--r-machine); text-transform: uppercase; letter-spacing: .1em; font-size: 14px; color: var(--r-encre-2); border-bottom: 1px solid var(--r-filet); padding-bottom: 12px; margin-bottom: 18px; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
@media (min-width: 640px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.steps b { display: block; font-family: var(--r-chiffres); font-size: 32px; color: var(--r-vermillon); line-height: 1; }
.steps strong { display: block; font-family: var(--r-titre); font-weight: 400; font-size: 21px; color: var(--r-marine); margin: 8px 0 4px; }
.steps span { color: var(--r-encre-2); font-size: 16px; }
.ticket dl { margin: 0; }
.ticket dt { font-family: var(--r-machine); font-size: 13px; text-transform: uppercase; letter-spacing: .1em; color: var(--r-encre-2); }
.ticket dd { margin: 0 0 12px; font-family: var(--r-chiffres); font-size: 22px; color: var(--r-marine); overflow-wrap: anywhere; }
.stamp { position: absolute; right: 18px; bottom: 18px; transform: rotate(-12deg); font-family: var(--r-machine); color: var(--r-vermillon); border: 3px double var(--r-vermillon); padding: 6px 12px; font-size: 16px; letter-spacing: .1em; text-transform: uppercase; opacity: .85; }

/* Tarifs : étiquettes à bagages */
.prices { display: grid; gap: 24px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); align-items: start; }
.tag { background: var(--r-papier); border: 2px solid var(--r-marine); border-radius: 10px; padding: 34px 26px 26px; position: relative; display: flex; flex-direction: column; }
.tag::before { content: ""; position: absolute; top: 14px; left: 50%; width: 16px; height: 16px; margin-left: -8px; border-radius: 50%; border: 2px solid var(--r-marine); background: var(--r-creme); }
.tag--featured { background: var(--r-marine); color: var(--r-creme); box-shadow: 6px 6px 0 rgba(27, 42, 67, .18); }
.tag--featured h3 { color: var(--r-creme); }
.tag--featured .tag__price { color: var(--r-laiton-clair); }
.tag--featured li::before { color: var(--r-laiton-clair); }
.tag__ribbon { align-self: center; margin-top: 4px; font-family: var(--r-machine); font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--r-marine); background: var(--r-laiton-clair); padding: 2px 10px; border-radius: 3px; margin-bottom: 8px; }
.tag h3 { text-align: center; margin-top: 6px; }
.tag__price { text-align: center; font-family: var(--r-chiffres); font-size: 40px; font-weight: 700; color: var(--r-vermillon); line-height: 1.1; }
.tag__price small { font-size: 18px; font-weight: 400; }
.tag__alt { text-align: center; font-family: var(--r-chiffres); font-size: 16px; opacity: .85; }
.tag__per { text-align: center; font-family: var(--r-machine); font-size: 14px; opacity: .8; margin: 4px 0 2px; }
.tag__yearly { text-align: center; font-size: 14px; opacity: .8; margin-bottom: 18px; }
.tag ul { list-style: none; padding: 0; margin: 0 0 22px; }
.tag li { padding-left: 26px; position: relative; margin-bottom: 8px; font-size: 16px; }
.tag li::before { content: "✈"; position: absolute; left: 0; color: var(--r-vermillon); }
.tag .btn { width: 100%; margin-top: auto; }
.tag--featured .btn--main { box-shadow: 3px 3px 0 var(--r-laiton); }

/* Questions */
.faq { max-width: 780px; margin: 0 auto; }
.faq details { background: var(--r-papier); border: 1px solid var(--r-filet); border-radius: 6px; margin-bottom: 12px; }
.faq summary { cursor: pointer; padding: 14px 20px; font-weight: 700; color: var(--r-marine); list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 48px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--r-chiffres); color: var(--r-vermillon); font-size: 20px; }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 20px 16px; margin: 0; color: var(--r-encre-2); }

/* Pied de page */
.foot { background: var(--r-marine); color: #D3C8B2; border-top: 4px double var(--r-laiton); padding: 40px 0; font-size: 15px; }
.foot .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px; align-items: center; }
.foot a { color: var(--r-laiton-clair); }
.foot__links { display: flex; flex-wrap: wrap; gap: 18px; }

@media (prefers-reduced-motion: no-preference) {
  .hero__plane { animation: cruise 6s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
  @keyframes cruise { 50% { transform: translateY(-6px) rotate(-1deg); } }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn { transition: none; } }

/* Inscription d'un club */
.signup { padding: 48px 0 72px; }
.signup__wrap { max-width: 760px; }
.signup h1 { font-size: clamp(34px, 6vw, 52px); }
.signup__form { display: flex; flex-direction: column; gap: 22px; }
.signup__done { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.signup__icon { width: 96px; height: 72px; margin-bottom: 8px; }
.signup__submit { width: 100%; min-height: 56px; font-size: 18px; }
.signup__login { text-align: center; margin: 0; }
.form-card { background: var(--r-papier); border: 1px solid var(--r-filet); border-radius: 8px; padding: 20px 22px 22px; margin: 0; display: flex; flex-direction: column; gap: 16px; min-width: 0; box-shadow: 6px 6px 0 rgba(27, 42, 67, .06); }
.form-card legend { font-family: var(--r-machine); text-transform: uppercase; letter-spacing: .1em; font-size: 15px; color: var(--r-vermillon); padding: 0 8px; margin-left: -8px; }
.form-row { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 600px) { .form-row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.form-field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.form-field label { font-weight: 700; color: var(--r-marine); font-size: 16px; }
.form-input { width: 100%; min-height: 50px; padding: 10px 14px; font: inherit; font-size: 17px; color: var(--r-encre); background: #fff; border: 1.5px solid var(--r-filet); border-radius: 4px; }
.form-input:focus { outline: none; border-color: var(--r-marine); box-shadow: 0 0 0 3px rgba(168, 130, 58, .35); }
.form-input[aria-invalid="true"] { border-color: var(--r-vermillon); }
.form-input--code { font-family: var(--r-chiffres); text-transform: uppercase; letter-spacing: .08em; }
.form-help { font-size: 14px; color: var(--r-encre-2); margin: 0; }
.form-error { color: var(--r-vermillon); font-size: 15px; font-weight: 700; margin: 0; }
.form-alert { background: #F7E0D8; border-left: 5px solid var(--r-vermillon); padding: 12px 16px; border-radius: 4px; color: var(--r-encre); }
.form-check { display: flex; gap: 12px; align-items: flex-start; min-height: 44px; cursor: pointer; }
.form-check input { width: 22px; height: 22px; margin-top: 2px; accent-color: var(--r-vermillon); flex: none; }
.plans { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr)); }
.plan-choice { position: relative; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 16px 12px; border: 2px solid var(--r-filet); border-radius: 8px; background: #fff; cursor: pointer; text-align: center; }
.plan-choice input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.plan-choice:has(input:checked) { border-color: var(--r-marine); background: var(--r-marine); color: var(--r-creme); box-shadow: 3px 3px 0 var(--r-laiton); }
.plan-choice:has(input:focus-visible) { outline: 3px solid var(--r-laiton); outline-offset: 2px; }
.plan-choice__name { font-family: var(--r-titre); font-size: 20px; }
.plan-choice__price { font-family: var(--r-chiffres); font-size: 22px; font-weight: 700; color: var(--r-vermillon); }
.plan-choice:has(input:checked) .plan-choice__price { color: var(--r-laiton-clair); }
.plan-choice__limits { font-size: 13px; opacity: .85; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.top .btn { white-space: nowrap; }
@media (max-width: 420px) { .brand { font-size: 22px; } .brand svg { width: 34px; height: 34px; } .top .btn { padding: 0 12px; font-size: 14px; } }
@media (max-width: 599px) { .plans { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; } .plan-choice { padding: 12px 4px; } .plan-choice__name { font-size: 16px; } .plan-choice__price { font-size: 18px; } .plan-choice__limits { font-size: 11px; } }

/* Pages légales */
.legal { padding: 48px 0 72px; }
.legal__wrap { max-width: 760px; }
.legal h1 { font-size: clamp(34px, 6vw, 50px); }
.legal h2 { font-size: 26px; margin-top: 1.4em; }
.legal__intro { font-size: 18px; color: var(--r-encre-2); }
.legal__section p { color: var(--r-encre); }
.legal__section { padding: 0; }
