/* FleetGrid : sites vitrines des clubs et page d'accueil FleetGrid (même système de design que l'application). */
:root { --accent: #2f6fed; --accent-ink: #ffffff; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font-sans); font-size: 17px; line-height: 1.55; color: var(--ink); background: #fff; }
a { color: var(--accent); }
img { max-width: 100%; display: block; }
h1, h2, h3 { letter-spacing: -.03em; line-height: 1.08; margin: 0 0 14px; }
h1 em, h2 em { font-family: var(--font-serif); font-style: italic; font-weight: 400; letter-spacing: -.01em; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: inherit; font-size: 16px; font-weight: 700; border-radius: 12px; padding: 13px 22px; border: 1px solid transparent; cursor: pointer; text-decoration: none; transition: transform .12s, background .12s, box-shadow .12s; min-height: 48px; }
.btn:hover { transform: translateY(-1px); }
.btn.primary { background: var(--accent); color: var(--accent-ink); box-shadow: 0 8px 22px color-mix(in srgb, var(--accent) 35%, transparent); }
.btn.dark { background: var(--ink); color: #fff; }
.btn.light { background: #fff; color: var(--ink); }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn.ghost-light { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.35); backdrop-filter: blur(6px); }
.eyebrow { font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin-bottom: 10px; }
.muted { color: var(--muted); }

/* en-tête */
.s-head { position: sticky; top: 0; z-index: 30; background: rgba(255,255,255,.92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line-2); }
.s-head .wrap { display: flex; align-items: center; gap: 20px; height: 70px; }
.s-brand { display: flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; font-weight: 800; font-size: 18px; letter-spacing: -.02em; min-width: 0; }
.s-brand span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.s-logo { width: 40px; height: 40px; border-radius: 12px; background: var(--accent); color: var(--accent-ink); display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 800; flex-shrink: 0; overflow: hidden; }
.s-logo img { width: 100%; height: 100%; object-fit: cover; }
.s-nav { display: flex; gap: 4px; margin-left: auto; }
.s-nav a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: 15px; padding: 8px 12px; border-radius: 10px; }
.s-nav a:hover { background: var(--cloud); }
.s-head .btn { padding: 10px 18px; min-height: 42px; font-size: 15px; }
.s-member { font-size: 14px; font-weight: 600; color: var(--muted); text-decoration: none; white-space: nowrap; }
.s-member:hover { color: var(--ink); }

/* bandeau principal */
.hero { position: relative; color: #fff; background: #0f1d33; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.hero-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(10,16,28,.82) 0%, rgba(10,16,28,.55) 50%, rgba(10,16,28,.2) 100%); }
.hero.no-photo .hero-bg { background: radial-gradient(1200px 500px at 85% 20%, color-mix(in srgb, var(--accent) 70%, #fff 0%) 0%, transparent 60%), linear-gradient(135deg, #0f1d33, color-mix(in srgb, var(--accent) 45%, #0f1d33)); }
.hero.no-photo .hero-bg::after { display: none; }
.hero .wrap { position: relative; padding: 110px 24px 120px; }
.hero h1 { font-size: clamp(40px, 6.4vw, 76px); max-width: 860px; margin-bottom: 18px; }
.hero p { font-size: clamp(17px, 2vw, 21px); max-width: 640px; opacity: .92; margin: 0 0 30px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-meta { display: flex; gap: 26px; flex-wrap: wrap; margin-top: 46px; font-size: 14px; opacity: .85; }
.hero-meta b { display: block; font-size: 26px; letter-spacing: -.02em; opacity: 1; }
.contrail { position: absolute; left: -5%; right: -5%; bottom: 40px; height: 120px; pointer-events: none; opacity: .5; }

/* sections */
section.s { padding: 88px 0; }
section.s.alt { background: var(--surface-alt); }
.s-title { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 34px; flex-wrap: wrap; }
section.s h2 { font-size: clamp(30px, 4vw, 46px); }
.s-title h2 { margin: 0; }
.s-title p { margin: 8px 0 0; color: var(--muted); max-width: 560px; }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }
.c { background: #fff; border: 1px solid var(--line); border-radius: 20px; overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--shadow); }
.c-img { height: 180px; background: linear-gradient(160deg, color-mix(in srgb, var(--accent) 14%, #fff), #f6f7f9); display: flex; align-items: center; justify-content: center; }
.c-img img { width: 100%; height: 100%; object-fit: cover; }
.c-img svg { width: 70%; }
.c-body { padding: 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.c-body h3 { font-size: 22px; margin: 0; }
.c-body p { margin: 0; color: var(--muted); font-size: 15px; }
.c-foot .btn { white-space: nowrap; padding: 11px 16px; }
.c-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: auto; padding-top: 8px; }
.price { font-size: 26px; font-weight: 800; letter-spacing: -.02em; }
.price small { font-size: 14px; font-weight: 600; color: var(--muted); }
.tag { display: inline-block; font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 20px; background: var(--cloud); color: var(--ink); align-self: flex-start; }
.tag.acc { background: color-mix(in srgb, var(--accent) 14%, #fff); color: var(--accent); }
.tag.off { background: var(--warn-bg); color: var(--warn); }

.split { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: start; }
.prose { white-space: pre-line; font-size: 18px; color: var(--ink-2); }
.box { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 26px; box-shadow: var(--shadow); }
.box h3 { font-size: 20px; }
.rows { width: 100%; border-collapse: collapse; }
.rows td { padding: 12px 0; border-bottom: 1px solid var(--line-2); }
.rows td:last-child { text-align: right; font-weight: 800; white-space: nowrap; }
.rows tr:last-child td { border-bottom: 0; }
.news { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; }
.news article { border-left: 3px solid var(--accent); padding: 4px 0 4px 18px; }
.news time { font-size: 13px; font-weight: 700; color: var(--muted); }
.news h3 { font-size: 21px; margin: 4px 0 8px; }
.news p { margin: 0; color: var(--ink-2); font-size: 16px; }
.join { background: var(--ink); color: #fff; border-radius: 28px; padding: 56px; display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: center; position: relative; overflow: hidden; }
.join h2 { font-size: clamp(30px, 4vw, 44px); }
.join p { opacity: .85; margin: 0; }
.join ul { margin: 18px 0 0; padding-left: 20px; opacity: .9; }
.contact-list { list-style: none; padding: 0; margin: 0 0 18px; }
.contact-list li { padding: 10px 0; border-bottom: 1px solid var(--line-2); display: flex; gap: 12px; }
.contact-list b { min-width: 100px; color: var(--muted); font-weight: 600; }

/* formulaires */
.fld { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.fld span { font-size: 13px; font-weight: 700; color: var(--muted); }
.fld input, .fld select, .fld textarea { font: inherit; font-size: 16px; border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; background: #fff; color: var(--ink); min-height: 48px; width: 100%; }
.fld input:focus, .fld select:focus, .fld textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: var(--accent); }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.f-err { color: var(--bad); font-size: 14px; min-height: 20px; margin-bottom: 8px; }
.f-ok { background: var(--ok-bg); color: var(--ok); border-radius: 14px; padding: 18px; font-weight: 600; }
.legal { font-size: 12px; color: var(--muted); margin: 10px 0 0; }

/* fenêtre de réservation */
.m-root { position: fixed; inset: 0; z-index: 60; display: none; }
.m-root.open { display: block; }
.m-back { position: absolute; inset: 0; background: rgba(10,16,28,.45); }
.m-box { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: min(560px, calc(100vw - 28px)); max-height: calc(100vh - 40px); overflow: auto; background: #fff; border-radius: 24px; box-shadow: var(--shadow-modal); padding: 28px; }
.m-box h3 { font-size: 26px; margin-bottom: 4px; }
.m-close { position: absolute; top: 14px; right: 14px; width: 44px; height: 44px; border: 0; background: var(--cloud); border-radius: 50%; font-size: 16px; cursor: pointer; }

/* pied de page */
.s-foot { background: #0b1220; color: rgba(255,255,255,.75); padding: 40px 0; font-size: 14px; }
.s-foot .wrap { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.s-foot a { color: #fff; }
.state { min-height: 70vh; display: flex; align-items: center; justify-content: center; text-align: center; padding: 40px 20px; }
.preview-bar { background: var(--warn-bg); color: var(--warn); text-align: center; font-size: 14px; font-weight: 700; padding: 8px 16px; }

@media (max-width: 900px) {
  .s-nav { display: none; }
  .split, .join { grid-template-columns: 1fr; }
  .join { padding: 34px 24px; }
  section.s { padding: 64px 0; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .s-head .wrap { height: 62px; gap: 10px; }
  .s-member { display: none; }
  .s-head .btn { padding: 8px 14px; font-size: 14px; }
  .hero .wrap { padding: 72px 16px 84px; }
  .hero-cta .btn { flex: 1 1 auto; }
  .grid2 { grid-template-columns: 1fr; }
  .m-box { top: auto; bottom: 0; left: 0; transform: none; width: 100%; border-radius: 24px 24px 0 0; max-height: 92vh; padding: 24px 18px calc(24px + env(safe-area-inset-bottom)); }
}
.pay-opt { display: flex; gap: 10px; align-items: flex-start; background: var(--ok-bg); border-radius: 12px; padding: 12px 14px; margin: 0 0 12px; font-size: 15px; cursor: pointer; }
.pay-opt input { margin-top: 4px; width: 18px; height: 18px; accent-color: var(--accent); }
.paid-bar { position: fixed; left: 50%; bottom: 20px; transform: translateX(-50%); z-index: 90; background: var(--ink); color: #fff; border-radius: 14px; padding: 14px 44px 14px 18px; max-width: min(560px, calc(100% - 32px)); box-shadow: 0 16px 40px rgba(0,0,0,.25); font-size: 15px; }
.paid-bar button { position: absolute; right: 8px; top: 8px; background: none; border: 0; color: #fff; font-size: 22px; cursor: pointer; }
.price-big { font-size: 56px; font-weight: 800; letter-spacing: -.03em; line-height: 1.1; margin: 10px 0 6px; }
.price-big small { font-size: 18px; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.price-box { border: 2px solid var(--accent); }
.seg { display: flex; gap: 6px; background: var(--surface-alt, #f3f4f6); border-radius: 12px; padding: 4px; margin-bottom: 16px; }
.seg label { flex: 1; cursor: pointer; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg span { display: block; text-align: center; padding: 9px 10px; border-radius: 9px; font-weight: 700; font-size: 15px; color: var(--muted); }
.seg input:checked + span { background: #fff; color: var(--ink); box-shadow: 0 1px 4px rgba(0,0,0,.08); }
@media (max-width: 760px) { .price-big { font-size: 44px; } }
:root { --fgs-accent: var(--accent); }
