@font-face {
  font-family: "Bricolage Grotesque";
  src: url("/fonts/bricolage-grotesque.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "DM Sans";
  src: url("/fonts/dm-sans.woff2") format("woff2");
  font-weight: 100 1000;
  font-style: normal;
  font-display: swap;
}

:root {
  --accent: #FFB020;
  --ink: #1B1F3B;
  --ink-soft: #3F4360;
  --ink-mute: #5A5E78;
  --paper: #F4F1EA;
  --map: #E9E4D8;
  --line: #E2DED3;
  --white: #FFFFFF;
  --teal: #0F8B8D;
  --green: #0F6B4F;
  --on-dark: #C9CCE0;
  --off: #E2DED3;
  --off-ink: #55596F;
  --display: "Bricolage Grotesque", system-ui, sans-serif;
  --body: "DM Sans", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  overflow-x: hidden;
}

a { color: var(--ink); }
a:hover { color: #000; }
p { margin: 0; }

.wrap { max-width: 1200px; margin: 0 auto; }
.narrow { max-width: 860px; }
.stack { display: flex; flex-direction: column; gap: 44px; }
.row { display: flex; justify-content: space-between; align-items: center; gap: 12px; }

/* Titres */
.h2, .h2s, .h1s, .h3, .h3s, h1 { margin: 0; font-family: var(--display); font-weight: 800; }
h1 { font-size: clamp(48px, 7vw, 92px); line-height: 0.95; letter-spacing: -2px; }
.h1s { font-size: clamp(40px, 6vw, 72px); line-height: 0.98; letter-spacing: -1.5px; }
.h2 { font-size: clamp(34px, 4.6vw, 56px); line-height: 1.02; letter-spacing: -1px; }
.h2s { font-size: clamp(30px, 3.6vw, 44px); line-height: 1.05; }
.h3 { font-size: 26px; }
.h3s { font-size: 24px; }
.eyebrow { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; color: var(--ink-mute); }
.eyebrow-light { color: var(--on-dark); }
.intro { display: flex; flex-direction: column; gap: 14px; max-width: 760px; }
.lead { font-size: 20px; line-height: 1.5; color: var(--ink-soft); max-width: 540px; }
.lead-s { font-size: 18px; line-height: 1.55; color: var(--ink-soft); }
.lead-s.light { color: var(--on-dark); }
.note { font-size: 14px; color: var(--ink-mute); }

/* Logo */
.logo { text-decoration: none; font-family: var(--display); font-weight: 800; font-size: 28px; letter-spacing: -0.5px; color: var(--ink); display: inline-flex; align-items: center; gap: 4px; }
.logo span { background: var(--accent); border: 2px solid var(--ink); border-radius: 10px; padding: 0 6px; line-height: 1.15; }
.logo-light { color: var(--white); font-size: 30px; }
.logo-light span { color: var(--ink); border-color: var(--white); }

/* Boutons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; text-decoration: none; font-family: var(--body); font-weight: 700; border-radius: 16px; border: 2px solid var(--ink); }
.btn-ghost { background: var(--white); color: var(--ink); font-size: 17px; padding: 17px 22px; }
.btn-off { background: var(--off); color: var(--off-ink); border-color: #A9A596; cursor: not-allowed; }
.btn-s { font-size: 15px; padding: 12px 18px; border-radius: 14px; }
.btn-m { font-size: 16px; padding: 13px; border-radius: 14px; width: 100%; margin-top: auto; }
.btn-l { font-family: var(--display); font-weight: 800; font-size: 20px; padding: 16px 22px; }
.btn-l small { font-family: var(--body); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; background: var(--white); border: 1.5px solid #A9A596; border-radius: 999px; padding: 3px 8px; }
.btn-off-dark { background: #3A3F66; color: var(--white); border-color: var(--ink); font-family: var(--display); font-weight: 800; font-size: 22px; padding: 20px 30px; border-radius: 18px; cursor: not-allowed; }
button.btn { font-family: inherit; }

/* En-tête */
.top { padding: 16px 24px; border-bottom: 2px solid var(--ink); background: var(--paper); }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.nav-links { display: flex; gap: 28px; font-size: 15px; font-weight: 500; }
.nav-links a { text-decoration: none; }

/* Accueil */
.hero { padding: 72px 24px 104px; }
.hero-grid { display: flex; flex-wrap: wrap; align-items: center; gap: 56px; }
.hero-text { flex: 1 1 460px; min-width: 0; display: flex; flex-direction: column; gap: 26px; }
.pill { align-self: flex-start; display: flex; align-items: center; gap: 8px; background: var(--white); border: 2px solid var(--ink); border-radius: 999px; padding: 8px 14px; font-size: 14px; font-weight: 700; }
.dot { width: 10px; height: 10px; border-radius: 50%; background: var(--accent); border: 1.5px solid var(--ink); }
.mark { background: linear-gradient(transparent 60%, var(--accent) 60%); padding: 0 4px; }
.actions { display: flex; gap: 14px; flex-wrap: wrap; }
.checks { list-style: none; margin: 0; padding: 0; display: flex; gap: 18px; flex-wrap: wrap; font-size: 15px; font-weight: 500; color: var(--ink-soft); }
.checks li { display: flex; align-items: center; gap: 6px; }

.hero-art { flex: 1 1 460px; min-width: 0; position: relative; height: 640px; }
.map-bg { position: absolute; left: 0; right: 0; top: 40px; bottom: 0; border-radius: 36px; border: 3px solid var(--ink); background: var(--map); overflow: hidden; }
.phone { position: absolute; left: 50%; top: 0; width: 280px; height: 584px; margin-left: -140px; transform: rotate(-3deg); background: var(--paper); border: 10px solid var(--ink); border-radius: 46px; overflow: hidden; display: flex; flex-direction: column; box-shadow: 12px 14px 0 var(--ink); }
.phone-top { padding: 16px 14px 10px; display: flex; align-items: center; justify-content: space-between; }
.phone-logo { font-family: var(--display); font-weight: 800; font-size: 18px; }
.phone-logo span { color: #C2410C; }
.phone-balance { background: var(--ink); color: var(--white); border-radius: 999px; padding: 5px 10px; font-size: 11px; font-weight: 700; }
.phone-map { margin: 0 8px; height: 300px; border-radius: 20px; border: 2px solid var(--ink); background: var(--map); overflow: hidden; }
.phone-card { margin: 8px; background: var(--white); border: 2px solid var(--ink); border-radius: 20px; padding: 12px; display: flex; flex-direction: column; gap: 8px; }
.phone-eyebrow { font-size: 10px; text-transform: uppercase; letter-spacing: 1px; font-weight: 700; color: var(--ink-mute); }
.phone-street { font-family: var(--display); font-weight: 800; font-size: 17px; line-height: 1.1; }
.phone-meta { font-size: 11px; color: var(--ink-mute); }
.phone-btn { display: block; text-align: center; background: var(--accent); border: 2px solid var(--ink); border-radius: 12px; padding: 10px; font-family: var(--display); font-weight: 800; font-size: 15px; box-shadow: 0 3px 0 var(--ink); }
.phone-dots { margin-top: auto; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; padding: 8px 20px 16px; }
.phone-dots span { height: 6px; border-radius: 3px; background: #D6D1C4; }
.phone-dots span.on { background: var(--ink); }

.float-card { position: absolute; width: 220px; background: var(--white); border: 2px solid var(--ink); border-radius: 18px; padding: 12px 14px; box-shadow: 0 5px 0 var(--ink); }
.float-rent { left: -8px; top: 120px; display: flex; gap: 10px; align-items: center; transform: rotate(-4deg); }
.avatar { width: 36px; height: 36px; border-radius: 50%; color: var(--white); font-weight: 800; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.small { font-size: 12px; color: var(--ink-soft); }
.gain { font-family: var(--display); font-weight: 800; font-size: 22px; color: var(--green); }
.float-district { right: -8px; bottom: 56px; display: flex; flex-direction: column; gap: 8px; transform: rotate(3deg); }
.float-district .row { font-size: 13px; }
.gain-s { font-size: 12px; font-weight: 700; color: var(--green); }
.bars { display: grid; gap: 5px; }
.bars-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.bars-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.bars span { height: 8px; border-radius: 4px; background: var(--teal); }
.bars span.miss { background: #C2410C; }

.float-card-plain { position: absolute; right: -6px; top: 70px; display: flex; gap: 10px; }
.die { width: 64px; height: 64px; border-radius: 16px; background: var(--white); border: 3px solid var(--ink); transform: rotate(-12deg); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); padding: 10px; gap: 3px; box-shadow: 0 5px 0 var(--ink); }
.die-accent { background: var(--accent); transform: rotate(9deg) translateY(18px); }
.pip { width: 10px; height: 10px; border-radius: 50%; background: var(--ink); }
.pip.end { justify-self: end; }
.pip.center { justify-self: center; }

@media (max-width: 760px) { .nav-links { display: none; } }
@media (max-width: 640px) {
  .float-card, .float-card-plain { display: none; }
  .hero { padding: 48px 16px 72px; }
}

/* Bandeaux sombres */
.band { background: var(--ink); color: var(--white); padding: 80px 24px; }
.band-pad { padding: 104px 24px; }
.band .h2 { color: var(--white); }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 40px; }
.feature { display: flex; flex-direction: column; gap: 14px; }
.feature p { font-size: 17px; line-height: 1.55; color: var(--on-dark); }
.icon { width: 56px; height: 56px; border-radius: 16px; border: 2px solid var(--white); display: flex; align-items: center; justify-content: center; }
.icon-b { border-color: var(--ink); }

/* Sections claires */
.section { padding: 104px 24px; }
.section-tight { padding: 0 24px 104px; }
.grid-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 24px; }
.card { background: var(--white); border: 2px solid var(--ink); border-radius: 24px; }
.step { padding: 26px; display: flex; flex-direction: column; gap: 14px; box-shadow: 0 6px 0 var(--ink); }
.step p, .place p { font-size: 16px; line-height: 1.55; color: var(--ink-soft); }
.step-head { display: flex; justify-content: space-between; align-items: center; }
.num { font-family: var(--display); font-weight: 800; font-size: 46px; color: transparent; -webkit-text-stroke: 1.5px var(--ink); }

.panel { background: var(--white); border: 2px solid var(--ink); border-radius: 36px; padding: clamp(28px, 5vw, 64px); }
.prices { display: flex; flex-wrap: wrap; align-items: center; gap: 48px; }
.prices-text { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.tickets { flex: 1 1 420px; min-width: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 24px; padding: 16px 0; }
.ticket { flex: 0 1 260px; background: var(--white); border: 3px solid var(--ink); border-radius: 22px; overflow: hidden; box-shadow: 0 8px 0 var(--ink); }
.ticket-head { color: var(--white); padding: 16px 18px; }
.ticket-kind { font-size: 11px; text-transform: uppercase; letter-spacing: 1px; font-weight: 700; }
.ticket-name { font-family: var(--display); font-weight: 800; font-size: 22px; line-height: 1.1; margin-top: 4px; }
.ticket-body { margin: 0; padding: 16px 18px; display: flex; flex-direction: column; gap: 8px; font-size: 14px; }
.ticket-body div { display: flex; justify-content: space-between; align-items: baseline; }
.ticket-body dd { margin: 0; font-weight: 700; }
.ticket-body .price { padding-bottom: 8px; border-bottom: 1px solid var(--line); }
.ticket-body .price dd { font-family: var(--display); font-weight: 800; font-size: 24px; }

.place { overflow: hidden; display: flex; flex-direction: column; }
.place-art { height: 128px; display: flex; align-items: center; justify-content: center; border-bottom: 2px solid var(--ink); }
.place-text { padding: 22px; display: flex; flex-direction: column; gap: 8px; }

.chips { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.chip { font-size: 14px; font-weight: 700; background: var(--white); border: 2px dashed #A9A596; color: var(--off-ink); border-radius: 999px; padding: 8px 14px; }
.later { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; background: var(--ink); color: var(--white); border-radius: 8px; padding: 6px 10px; }
.later-light { align-self: flex-start; background: var(--white); color: var(--ink); }

/* Saisons */
.season-card { background: var(--white); color: var(--ink); border-radius: 28px; padding: 28px; display: flex; flex-direction: column; gap: 22px; }
.weeks { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 6px; }
.weeks li { display: flex; flex-direction: column; gap: 8px; align-items: center; font-size: 13px; font-weight: 700; }
.weeks li span { width: 100%; height: 16px; border-radius: 8px; background: var(--teal); border: 2px solid var(--ink); }
.legend { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; font-size: 15px; }
.legend p { display: flex; gap: 10px; align-items: flex-start; }
.key { width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--ink); flex-shrink: 0; margin-top: 3px; }
.reset { border: 2px dashed #A6AAC8; border-radius: 24px; padding: 26px; display: flex; flex-direction: column; gap: 12px; }
.reset p { font-size: 16px; color: var(--on-dark); line-height: 1.6; }
.keep { background: var(--accent); color: var(--ink); border: 2px solid var(--white); border-radius: 24px; padding: 26px; display: flex; flex-direction: column; gap: 12px; }
.keep p { font-size: 16px; line-height: 1.6; }

/* Clan et équité */
.clan { background: var(--teal); color: var(--white); border: 2px solid var(--ink); border-radius: 32px; padding: clamp(26px, 4vw, 44px); display: flex; flex-direction: column; gap: 18px; box-shadow: 0 8px 0 var(--ink); }
.clan p { font-size: 17px; line-height: 1.55; }
.members { display: flex; align-items: center; margin-top: 6px; }
.members span { width: 48px; height: 48px; border-radius: 50%; border: 3px solid var(--ink); margin-right: -10px; display: flex; align-items: center; justify-content: center; font-weight: 800; color: var(--white); }
.members em { margin-left: 22px; font-style: normal; font-size: 15px; font-weight: 700; }
.clan-goal { background: var(--white); color: var(--ink); border-radius: 18px; padding: 14px 16px; display: flex; flex-direction: column; gap: 8px; }
.clan-goal .row { font-size: 14px; }
.fair { border-radius: 32px; padding: clamp(26px, 4vw, 44px); display: flex; flex-direction: column; gap: 18px; box-shadow: 0 8px 0 var(--ink); }
.fair ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.fair li { position: relative; padding-left: 40px; font-size: 17px; line-height: 1.45; }
.fair li::before { content: ""; position: absolute; left: 0; top: 0; width: 28px; height: 28px; border-radius: 8px; background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%231B1F3B' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center no-repeat; border: 2px solid var(--ink); }

/* Villes */
.city { padding: 24px; display: flex; flex-direction: column; gap: 14px; }
.city p { font-size: 15px; color: var(--ink-soft); }
.city-main { border-width: 3px; box-shadow: 0 8px 0 var(--accent); }
.city-name { font-family: var(--display); font-weight: 800; font-size: 30px; }
.tag { font-size: 12px; font-weight: 700; background: var(--line); color: var(--ink-soft); border-radius: 8px; padding: 5px 9px; }
.tag-next { background: #FFF1D0; color: #7A4D00; }
.notify { padding: 22px; display: flex; flex-direction: column; gap: 12px; }
.notify fieldset { border: 0; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 14px; align-items: flex-end; }
.notify .btn { width: auto; flex: 0 0 auto; padding: 14px 22px; }
.field { flex: 1 1 220px; display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 14px; font-weight: 700; color: var(--off-ink); }
.field input { font-family: inherit; font-size: 16px; padding: 13px 14px; border-radius: 12px; border: 2px solid #A9A596; background: var(--paper); color: var(--ink); cursor: not-allowed; }

/* Questions */
.faq { display: flex; flex-direction: column; gap: 12px; }
.faq details { background: var(--white); border: 2px solid var(--ink); border-radius: 20px; padding: 20px 22px; }
.faq summary { cursor: pointer; list-style: none; font-family: var(--display); font-weight: 800; font-size: 20px; }
.faq summary::-webkit-details-marker { display: none; }
.faq p { margin-top: 12px; font-size: 16px; line-height: 1.6; color: var(--ink-soft); }

/* Appel final */
.final { background: var(--accent); border: 3px solid var(--ink); border-radius: 40px; padding: clamp(36px, 6vw, 80px) clamp(24px, 5vw, 64px); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 32px; box-shadow: 0 10px 0 var(--ink); }
.final > div { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.final p { font-size: 20px; line-height: 1.5; }

/* Pied de page */
.foot { background: var(--ink); color: var(--white); padding: 64px 24px 40px; }
.foot .stack { gap: 40px; }
.foot-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 32px; }
.foot-brand { display: flex; flex-direction: column; gap: 12px; max-width: 340px; }
.foot-brand p { font-size: 16px; line-height: 1.5; color: var(--on-dark); }
.foot-links { display: flex; gap: 56px; flex-wrap: wrap; }
.foot-links nav { display: flex; flex-direction: column; gap: 10px; font-size: 15px; }
.foot-links strong { font-size: 13px; text-transform: uppercase; letter-spacing: 1.2px; color: var(--on-dark); }
.foot-links a { color: var(--white); text-decoration: none; }
.foot-links a:hover { text-decoration: underline; }
.foot-legal { border-top: 1px solid #3A3F66; padding-top: 24px; font-size: 13px; line-height: 1.6; color: #A6AAC8; }
.foot-legal a { color: var(--white); }

@media (max-width: 640px) {
  .section { padding: 72px 16px; }
  .section-tight { padding: 0 16px 72px; }
  .band, .band-pad { padding: 72px 16px; }
  .top { padding: 14px 16px; }
  .foot { padding: 48px 16px 32px; }
  .hero-art { height: 600px; }
}

/* Mentions légales */
.legal { padding: 56px 24px 104px; }
.legal .wrap { max-width: 760px; display: flex; flex-direction: column; gap: 36px; }
.legal section { display: flex; flex-direction: column; gap: 10px; }
.legal h2 { margin: 0; font-family: var(--display); font-weight: 800; font-size: 26px; }
.legal p, .legal li { font-size: 16px; line-height: 1.6; color: var(--ink-soft); }
.legal ul { margin: 0; padding-left: 20px; }
@media (max-width: 640px) { .legal { padding: 40px 16px 72px; } }
