/* levonespark.com — feuille de style unique. Aucune ressource externe : polices et images sont servies par le site. */

@font-face {
  font-family: "Archivo";
  src: url("fonts/archivo-var.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Bodoni Moda";
  src: url("fonts/bodoni-moda-var.woff2") format("woff2");
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Bodoni Moda";
  src: url("fonts/bodoni-moda-var-italic.woff2") format("woff2");
  font-weight: 400 900;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Mrs Saint Delafield";
  src: url("fonts/mrs-saint-delafield.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #0B0F17;
  --night: #0B0F17;
  --studio: #F2F3F4;
  --accent: #2340FF;
  --accent-on-dark: #8696FF;
  --text-2: #4F5563;
  --text-3: #2B303B;
  --fog: #9AA1B2;
  --mist: #C9CDD6;
  --dim: #6E7585;
  --rule-dark: #2A3040;
  --pad-x: clamp(16px, 4vw, 56px);
  --pad-y: clamp(56px, 8vw, 120px);
  --mast: min(21vw, 330px);
  --serif: "Bodoni Moda", "Bodoni 72", Didot, Georgia, serif;
  --sans: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  --script: "Mrs Saint Delafield", "Snell Roundhand", cursive;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--studio);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 18px;
  line-height: 1.5;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
p { margin: 0; }
h1, h2 { margin: 0; }
button, input, select { font: inherit; }

:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.on-accent :focus-visible, .on-dark :focus-visible { outline-color: #FFFFFF; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0; border: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}

.wrap { max-width: 1280px; margin: 0 auto; }
.section { padding: var(--pad-y) var(--pad-x); }
.on-dark { background: var(--night); color: #FFFFFF; }
.on-accent { background: var(--accent); color: #FFFFFF; }

.title {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(40px, 5.2vw, 76px);
  line-height: 1;
  letter-spacing: -0.02em;
}
.lede { font-size: 18px; line-height: 1.55; max-width: 32em; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 56px; padding: 0 28px;
  border: 0; border-radius: 0;
  background: var(--accent); color: #FFFFFF;
  font-weight: 700; font-size: 18px; text-decoration: none;
  cursor: pointer;
  transition: background-color .15s ease, color .15s ease;
}
.btn--small { min-height: 44px; padding: 0 20px; font-size: 16px; font-weight: 600; }
.btn--light { background: #FFFFFF; color: var(--accent); }
.btn--ghost { background: transparent; color: #FFFFFF; border: 2px solid #FFFFFF; }
@media (hover: hover) {
  .btn:hover { background: var(--ink); }
  .btn--light:hover { background: var(--ink); color: #FFFFFF; }
  .btn--ghost:hover { background: #FFFFFF; color: var(--accent); }
}
.btn[disabled] { opacity: .6; cursor: progress; }

/* ---------- Couverture ---------- */
.cover { position: relative; overflow: hidden; padding: 0 var(--pad-x) clamp(40px, 6vw, 88px); }
.topbar {
  position: relative; z-index: 4;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 12px 16px;
  padding: 18px 0;
}
.wordmark {
  font-family: var(--serif); font-weight: 700; font-size: 22px;
  letter-spacing: -0.01em; text-decoration: none;
}
.masthead {
  font-family: var(--serif); font-weight: 900;
  font-size: var(--mast); line-height: .8; letter-spacing: -0.025em;
  color: var(--accent); white-space: nowrap; text-align: center;
}
.masthead--top { position: relative; z-index: 1; margin-top: clamp(8px, 1.5vw, 24px); }
.portrait {
  position: relative; z-index: 2;
  width: min(100%, max(62vw, 340px), 900px);
  margin: calc(-0.48 * var(--mast)) auto 0;
}
.portrait img { width: 100%; }
.masthead--bottom {
  position: absolute; left: 50%; bottom: calc(-0.06 * var(--mast));
  transform: translateX(-50%);
}
.coverlines {
  max-width: 1280px;
  margin: calc(clamp(28px, 4vw, 56px) + 0.06 * var(--mast)) auto 0;
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between;
  gap: clamp(24px, 4vw, 64px);
}
.question {
  flex: 1 1 340px; max-width: 11em;
  font-family: var(--serif); font-style: italic; font-weight: 500;
  font-size: clamp(36px, 4.6vw, 68px); line-height: 1.02; letter-spacing: -0.015em;
}
.coverlines__side { flex: 1 1 300px; max-width: 460px; display: flex; flex-direction: column; gap: 22px; }
.bio { color: var(--text-2); }
.bio strong { color: var(--ink); font-weight: 600; }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; }
.counter-inline { font-size: 16px; color: var(--text-2); }
.counter-inline .num {
  font-family: var(--serif); font-weight: 700; font-size: 24px; color: var(--ink);
  font-variant-numeric: lining-nums;
}

/* ---------- Signature ---------- */
.sign__grid { max-width: 1180px; margin: 0 auto; display: flex; flex-wrap: wrap; gap: clamp(36px, 6vw, 96px); }
.sign__intro { flex: 1 1 320px; min-width: 0; }
.sign__intro .title { max-width: 9em; }
.sign__intro .lede { margin-top: 22px; color: rgba(255, 255, 255, .9); max-width: 30em; }
.sign__panel { flex: 1 1 380px; min-width: 0; }
.form { display: flex; flex-direction: column; gap: 24px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 15px; font-weight: 600; }
.field input, .field select {
  width: 100%; min-height: 48px; padding: 10px 0;
  font-size: 20px; color: #FFFFFF;
  background: transparent; border: 0; border-bottom: 2px solid #FFFFFF; border-radius: 0;
}
.field input::placeholder { color: rgba(255, 255, 255, .6); }
.field select { padding-right: 40px; appearance: none; -webkit-appearance: none; cursor: pointer; }
.field option { color: var(--ink); background: #FFFFFF; }
.select { position: relative; }
.select svg {
  position: absolute; right: 4px; top: 50%; width: 22px; height: 22px;
  transform: translateY(-50%); pointer-events: none;
  fill: none; stroke: #FFFFFF; stroke-width: 2;
}
.help { font-size: 14px; color: rgba(255, 255, 255, .88); }
.check {
  display: flex; align-items: center; gap: 12px; min-height: 44px;
  font-size: 17px; cursor: pointer;
}
.check input { width: 22px; height: 22px; margin: 0; flex: none; accent-color: #FFFFFF; }
.sigline {
  display: flex; align-items: flex-end; gap: 14px;
  min-height: 92px; padding-bottom: 4px;
  border-bottom: 2px solid #FFFFFF; overflow: hidden;
}
.sigline__x { font-family: var(--sans); font-weight: 300; font-size: 36px; line-height: 1; padding-bottom: 8px; }
.sigline__name {
  font-family: var(--script); font-size: clamp(52px, 6vw, 76px); line-height: 1;
  white-space: nowrap;
}
.sigline--done .sigline__name { animation: write .9s cubic-bezier(.3, .6, .3, 1) both; }
@keyframes write {
  from { clip-path: inset(0 100% 0 0); }
  to { clip-path: inset(0 0 0 0); }
}
.sig-help { margin-top: -14px; }
.error {
  padding: 12px 16px; background: #FFFFFF; color: var(--ink);
  font-weight: 600; font-size: 16px;
}
.fineprint { font-size: 14px; line-height: 1.5; color: rgba(255, 255, 255, .88); }
.fineprint a { color: #FFFFFF; text-underline-offset: 3px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.linklike {
  min-height: 44px; padding: 0; border: 0; background: none;
  color: #FFFFFF; font-size: 15px; text-decoration: underline; text-underline-offset: 3px; cursor: pointer;
}
.done { display: flex; flex-direction: column; gap: 22px; }
.done__title {
  display: flex; align-items: center; gap: 14px;
  font-family: var(--serif); font-weight: 600;
  font-size: clamp(48px, 5.6vw, 80px); line-height: 1;
}
.done__title svg { width: .7em; height: .7em; fill: #FFFFFF; flex: none; }
.done__line { font-size: 20px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- La course ---------- */
.race__stack { display: flex; flex-direction: column; gap: clamp(28px, 4vw, 52px); }
.race__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 20px 48px; }
.race__head .title { flex: 1 1 320px; }
.total { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 16px; }
.total .num {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(76px, 11vw, 170px); line-height: .85; letter-spacing: -0.03em;
  font-variant-numeric: lining-nums;
}
.total .label { font-size: 18px; color: var(--fog); }
.race__line { max-width: 38em; color: var(--mist); }
.map { margin: 0 auto; width: 100%; max-width: 1040px; }
.map svg { display: block; width: 100%; height: auto; overflow: visible; }
.map .dot--lead { filter: drop-shadow(0 0 10px rgba(134, 150, 255, .55)); }
.map-label {
  font-family: var(--sans); font-stretch: 68%; font-weight: 700; letter-spacing: .01em;
  fill: #FFFFFF; stroke: var(--night); stroke-width: 5px; stroke-linejoin: round; paint-order: stroke;
}
.map-label__count { fill: var(--fog); font-stretch: 100%; font-weight: 500; }
.board { list-style: none; margin: 0; padding: 0; columns: 4 240px; column-gap: 40px; }
.board li {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 14px;
  padding: 12px 0; border-top: 1px solid var(--rule-dark);
  break-inside: avoid;
}
.board:not(.is-open) li.is-extra { display: none; }
.board-more { margin: -12px 0 0; }
.board-more .linklike { font-size: 16px; }
@media (max-width: 600px) {
  .board li { padding: 10px 0; }
  .board .name, .board .count { font-size: 22px; }
}
.board .rank { min-width: 2ch; color: var(--fog); font-size: 16px; font-variant-numeric: tabular-nums; }
.board .name {
  flex: 1 1 auto; font-stretch: 68%; font-weight: 700; font-size: 26px; line-height: 1.1;
  text-transform: uppercase; letter-spacing: .01em;
}
.board .count { font-family: var(--serif); font-weight: 600; font-size: 26px; font-variant-numeric: lining-nums; }
.board .detail { flex-basis: 100%; padding-left: calc(2ch + 14px); font-size: 14px; color: var(--fog); }
.board li.is-lead .name, .board li.is-lead .count { color: var(--accent-on-dark); }

/* ---------- Tournée ---------- */
.tour__head { display: flex; flex-wrap: wrap; gap: 18px 64px; align-items: flex-end; justify-content: space-between; }
.tour__head .title { flex: 1 1 320px; }
.tour__head .lede { flex: 1 1 320px; color: var(--text-2); }
.legs { list-style: none; margin: clamp(36px, 5vw, 64px) 0 0; padding: 0; border-bottom: 2px solid var(--ink); }
.legs li {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 32px;
  padding: 22px 0; border-top: 2px solid var(--ink);
}
.legs .dates {
  flex: 0 0 220px; font-stretch: 68%; font-weight: 700;
  font-size: clamp(24px, 2.6vw, 34px); line-height: 1.1; text-transform: uppercase;
}
.legs .leg {
  flex: 0 0 170px; font-family: var(--serif); font-style: italic; font-weight: 500;
  font-size: clamp(22px, 2.2vw, 30px); line-height: 1.2;
}
.legs .cities { flex: 1 1 300px; color: var(--text-3); }

/* ---------- L'histoire ---------- */
.story { padding-bottom: clamp(40px, 6vw, 80px); }
.posts { list-style: none; margin: clamp(32px, 4vw, 56px) 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 44px 24px; }
.posts li { flex: 1 1 280px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.posts img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; background: #1A1F2B; }
.posts .date {
  margin-top: 6px; font-stretch: 68%; font-weight: 700; font-size: 22px; line-height: 1.1;
  text-transform: uppercase; color: var(--fog);
}
.posts .caption {
  font-family: var(--serif); font-style: italic; font-weight: 500;
  font-size: clamp(24px, 2.4vw, 32px); line-height: 1.15;
}

/* ---------- Pied de page ---------- */
.footer { padding: 0 var(--pad-x) 48px; }
.footer__grid {
  max-width: 1280px; margin: 0 auto; padding-top: 40px;
  border-top: 2px solid var(--rule-dark);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 28px 64px;
}
.footer__follow { flex: 1 1 320px; }
.footer__follow p { font-family: var(--serif); font-weight: 600; font-size: 32px; line-height: 1.1; }
.links { list-style: none; margin: 16px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 24px; }
.links a, .legal a {
  display: inline-flex; align-items: center; min-height: 44px;
  text-underline-offset: 4px;
}
.links a { font-size: 18px; }
.footer__legal { flex: 1 1 320px; max-width: 36em; font-size: 15px; line-height: 1.6; color: var(--fog); }
.legal { margin-top: 10px; display: flex; flex-wrap: wrap; gap: 4px 20px; }
.legal a { color: var(--mist); }

/* ---------- Page confidentialité ---------- */
.doc { max-width: 720px; margin: 0 auto; padding: 32px var(--pad-x) 96px; }
.doc .wordmark { display: inline-block; margin-bottom: 48px; }
.doc h1 { font-family: var(--serif); font-weight: 600; font-size: clamp(40px, 6vw, 64px); line-height: 1; letter-spacing: -0.02em; }
.doc h2 { font-family: var(--serif); font-weight: 600; font-size: 28px; line-height: 1.15; margin: 40px 0 10px; }
.doc p, .doc li { color: var(--text-3); }
.doc p + p { margin-top: 12px; }
.doc ul { padding-left: 1.2em; }
.doc .updated { margin-top: 12px; color: var(--text-2); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
