/* TorqPack : couleurs et polices de l'appli (src/theme/theme.js). */

@font-face {
  font-family: 'Saira Condensed';
  font-weight: 700;
  font-display: swap;
  src: url('fonts/saira-condensed-700.woff2') format('woff2');
}
@font-face {
  font-family: 'Saira Condensed';
  font-weight: 800;
  font-display: swap;
  src: url('fonts/saira-condensed-800.woff2') format('woff2');
}
@font-face {
  font-family: 'Barlow';
  font-weight: 400;
  font-display: swap;
  src: url('fonts/barlow-400.woff2') format('woff2');
}
@font-face {
  font-family: 'Barlow';
  font-weight: 500;
  font-display: swap;
  src: url('fonts/barlow-500.woff2') format('woff2');
}
@font-face {
  font-family: 'Barlow';
  font-weight: 600;
  font-display: swap;
  src: url('fonts/barlow-600.woff2') format('woff2');
}

:root {
  --bg: #eef0ec;
  --surface: #ffffff;
  --surface2: #e2e5e0;
  --ink: #1c222b;
  --ink-soft: #56606c;
  --line: #cdd2cc;
  --shadow: 0 18px 40px -22px rgba(28, 34, 43, 0.45);

  --plate: #ffc400;
  --plate-ink: #121212;
  --signal: #d8352a;
  --eu: #1d4ed8;
  --asphalt: #0a0d12;
  --asphalt2: #161b22;
  --asphalt-ink: #eef0ec;
  --asphalt-soft: #a7b0bb;

  --r-c: #8a949e;
  --r-pc: #3fa34d;
  --r-r: #2d7ff9;
  --r-e: #9b4de0;
  --r-l: #e89a00;
  --holo: #ff5f6d, #ffc371, #7cffcb, #4facfe, #b983ff, #ff5f6d;

  --display: 'Saira Condensed', 'Arial Narrow', sans-serif;
  --body: 'Barlow', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --wrap: 1120px;
  --gutter: 16px;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) {
    --bg: #161b22;
    --surface: #212833;
    --surface2: #2b3340;
    --ink: #eef0ec;
    --ink-soft: #9aa4b0;
    --line: #364050;
    --shadow: 0 18px 40px -22px rgba(0, 0, 0, 0.8);
    color-scheme: dark;
  }
}
:root[data-theme='dark'] {
  --bg: #161b22;
  --surface: #212833;
  --surface2: #2b3340;
  --ink: #eef0ec;
  --ink-soft: #9aa4b0;
  --line: #364050;
  --shadow: 0 18px 40px -22px rgba(0, 0, 0, 0.8);
  color-scheme: dark;
}

@media (min-width: 720px) {
  :root {
    --gutter: 28px;
  }
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 1.0625rem/1.6 var(--body);
  overflow-x: clip;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-underline-offset: 3px;
}

h1,
h2,
h3 {
  font-family: var(--display);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: 0.005em;
  margin: 0;
  text-wrap: balance;
}

p {
  margin: 0;
}

:focus-visible {
  outline: 3px solid var(--plate);
  outline-offset: 3px;
  border-radius: 6px;
  box-shadow: 0 0 0 6px rgba(18, 18, 18, 0.55);
}

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

.skip {
  position: absolute;
  left: var(--gutter);
  top: -100px;
  z-index: 100;
  background: var(--plate);
  color: var(--plate-ink);
  padding: 10px 16px;
  border-radius: 10px;
  font-weight: 600;
  text-decoration: none;
}
.skip:focus {
  top: 12px;
}

.wrap {
  width: 100%;
  max-width: calc(var(--wrap) + var(--gutter) * 2);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* Plaque jaune à bande européenne, comme le numéro de Dex dans l'appli. */
.plate {
  display: inline-flex;
  align-items: stretch;
  background: var(--plate);
  color: var(--plate-ink);
  border: 2px solid var(--plate-ink);
  border-radius: 6px;
  overflow: hidden;
  font: 700 1rem/1 var(--display);
  letter-spacing: 0.04em;
  text-decoration: none;
}
.plate::before {
  content: '';
  width: 0.55em;
  background: var(--eu);
  flex: none;
}
.plate span {
  padding: 0.28em 0.5em 0.24em;
}

/* En-tête */

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--asphalt) 88%, transparent);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  color: var(--asphalt-ink);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}
.header .wrap {
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: 64px;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font: 800 1.45rem/1 var(--display);
  letter-spacing: 0.02em;
  color: var(--asphalt-ink);
}
.logo-mark {
  width: 46px;
  height: auto;
  flex: none;
}
.nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav a {
  color: var(--asphalt-soft);
  text-decoration: none;
  font-weight: 500;
  padding: 8px 12px;
  border-radius: 999px;
}
.nav a:hover {
  color: var(--asphalt-ink);
  background: rgba(255, 255, 255, 0.07);
}
.nav .btn {
  margin-left: 8px;
}
.menu-toggle {
  display: none;
  margin-left: auto;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 12px;
  background: transparent;
  color: var(--asphalt-ink);
  cursor: pointer;
}
.menu-toggle svg {
  margin: auto;
}

@media (max-width: 819px) {
  .menu-toggle {
    display: block;
  }
  .nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 10px var(--gutter) 18px;
    background: var(--asphalt);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }
  .nav.open {
    display: flex;
  }
  .nav a {
    padding: 12px;
    border-radius: 10px;
  }
  .nav .btn {
    margin: 8px 0 0;
    justify-content: center;
  }
}

/* Boutons */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 10px 20px;
  border-radius: 999px;
  border: 0;
  font: 600 1rem/1.1 var(--body);
  text-decoration: none;
  cursor: pointer;
}
.nav a.btn,
.btn-plate {
  background: var(--plate);
  color: var(--plate-ink);
}
.nav a.btn:hover,
.btn-plate:hover {
  background: #ffd23f;
  color: var(--plate-ink);
}
.btn-ghost {
  background: transparent;
  color: inherit;
  border: 1.5px solid currentColor;
}

/* Boutons des stores : remplacés par les badges officiels à la publication. */
.stores {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.store {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 56px;
  padding: 8px 18px 8px 14px;
  border-radius: 14px;
  background: #000;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.28);
  text-decoration: none;
  line-height: 1.15;
}
.store svg {
  flex: none;
}
.store small {
  display: block;
  font-size: 0.75rem;
  color: #c9cfd6;
  letter-spacing: 0.02em;
}
.store strong {
  display: block;
  font: 700 1.2rem/1.05 var(--display);
  letter-spacing: 0.01em;
}
span.store {
  cursor: default;
}
.store .soon {
  margin-left: 4px;
  align-self: flex-start;
  background: var(--plate);
  color: var(--plate-ink);
  font: 700 0.7rem/1 var(--body);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 4px 6px;
  border-radius: 6px;
}

/* Héros */

.hero {
  position: relative;
  overflow: hidden;
  color: var(--asphalt-ink);
  background:
    radial-gradient(ellipse 60% 70% at 78% 40%, rgba(255, 196, 0, 0.14), transparent 70%),
    radial-gradient(ellipse 50% 60% at 10% 100%, rgba(79, 172, 254, 0.12), transparent 70%),
    linear-gradient(180deg, var(--asphalt) 0%, var(--asphalt2) 100%);
}
/* Ligne médiane de la route, en pointillés jaunes. */
.hero::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 22px;
  height: 4px;
  background: repeating-linear-gradient(90deg, rgba(255, 196, 0, 0.5) 0 46px, transparent 46px 86px);
  opacity: 0.6;
}
.hero .wrap {
  display: grid;
  gap: 40px;
  padding-top: 56px;
  padding-bottom: 84px;
}
@media (min-width: 900px) {
  .hero .wrap {
    grid-template-columns: 1.05fr 1fr;
    align-items: center;
    padding-top: 88px;
    padding-bottom: 120px;
  }
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font: 600 0.82rem/1.2 var(--body);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ink-soft);
}
.eyebrow::before {
  content: '';
  width: 22px;
  height: 4px;
  border-radius: 2px;
  background: var(--plate);
}
.hero .eyebrow {
  color: var(--asphalt-soft);
}
.hero h1 {
  margin-top: 18px;
  font-size: clamp(2.7rem, 9vw, 4.6rem);
  text-transform: uppercase;
}
.hero h1 em {
  font-style: normal;
  background: linear-gradient(100deg, var(--holo));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero .lead {
  margin-top: 18px;
  max-width: 34em;
  font-size: 1.15rem;
  color: #c9cfd6;
}
.hero .stores {
  margin-top: 30px;
}
.hero .facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
  color: var(--asphalt-soft);
  font-size: 0.95rem;
}
.hero .facts li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.hero .facts li::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--plate);
}

/* Éventail de cartes du héros */
.fan {
  position: relative;
  height: clamp(300px, 78vw, 440px);
  max-width: 520px;
  width: 100%;
  margin: 0 auto;
}
.fan .tq-card {
  position: absolute;
  left: 50%;
  top: 50%;
  --w: clamp(140px, 39vw, 220px);
  width: var(--w);
  transition: transform 0.35s ease;
}
.fan .tq-card:nth-child(1) {
  transform: translate(-112%, -46%) rotate(-11deg);
}
.fan .tq-card:nth-child(2) {
  transform: translate(12%, -46%) rotate(11deg);
}
.fan .tq-card:nth-child(3) {
  z-index: 2;
  transform: translate(-50%, -54%) scale(1.08);
}
@media (max-width: 479px) {
  .fan .tq-card:nth-child(1) {
    transform: translate(-102%, -46%) rotate(-9deg);
  }
  .fan .tq-card:nth-child(2) {
    transform: translate(2%, -46%) rotate(9deg);
  }
}
@media (hover: hover) {
  .fan:hover .tq-card:nth-child(1) {
    transform: translate(-122%, -44%) rotate(-14deg);
  }
  .fan:hover .tq-card:nth-child(2) {
    transform: translate(22%, -44%) rotate(14deg);
  }
}

/* Carte TorqPack (mêmes proportions que CarCard : 170 px de large pour référence) */

.tq-card {
  --w: 200px;
  --rarity: var(--r-c);
  container-type: inline-size;
  width: var(--w);
  aspect-ratio: 1 / 1.4;
  /* Les unités cqw ne visent que les enfants : la carte elle-même se mesure avec --w. */
  border-radius: calc(var(--w) * 0.082);
  padding: calc(var(--w) * 0.0295);
  background: var(--rarity);
  box-shadow: 0 24px 50px -20px rgba(0, 0, 0, 0.6);
  color: var(--ink);
  position: relative;
  isolation: isolate;
  user-select: none;
}
.tq-card.c { --rarity: var(--r-c); }
.tq-card.pc { --rarity: var(--r-pc); }
.tq-card.r { --rarity: var(--r-r); }
.tq-card.e { --rarity: var(--r-e); }
.tq-card.l { --rarity: var(--r-l); }

.tq-inner {
  height: 100%;
  border-radius: 5.9cqw;
  background: var(--surface);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
}
.tq-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 4.1cqw 4.7cqw 2.4cqw;
}
.tq-top .plate {
  font-size: 7.5cqw;
  border-width: 0.8cqw;
  border-radius: 2.2cqw;
}
.tq-top .plate::before {
  display: none;
}
.tq-top .plate span {
  padding: 0.12em 0.38em 0.08em;
}
.pips {
  display: flex;
  gap: 1.2cqw;
}
.pips i {
  width: 3.5cqw;
  height: 3.5cqw;
  border-radius: 50%;
  background: var(--line);
}
.pips i.on {
  background: var(--rarity);
}
.tq-art {
  margin: 0 4.7cqw;
  aspect-ratio: 12 / 8;
  border-radius: 4.1cqw;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: flex-end;
  background:
    radial-gradient(ellipse 80% 70% at 50% 55%, rgba(255, 255, 255, 0.9), transparent 70%),
    linear-gradient(180deg, color-mix(in srgb, var(--rarity) 22%, var(--surface)), var(--surface2));
}
:root[data-theme='dark'] .tq-art {
  background:
    radial-gradient(ellipse 80% 70% at 50% 55%, rgba(255, 255, 255, 0.16), transparent 70%),
    linear-gradient(180deg, color-mix(in srgb, var(--rarity) 22%, var(--surface)), var(--surface2));
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) .tq-art {
    background:
      radial-gradient(ellipse 80% 70% at 50% 55%, rgba(255, 255, 255, 0.16), transparent 70%),
      linear-gradient(180deg, color-mix(in srgb, var(--rarity) 22%, var(--surface)), var(--surface2));
  }
}
/* Rayons aux couleurs de la rareté, à partir de rare. */
.tq-card.r .tq-art::before,
.tq-card.e .tq-art::before,
.tq-card.l .tq-art::before {
  content: '';
  position: absolute;
  inset: -40% -20% 20%;
  background: repeating-conic-gradient(from 270deg at 50% 92%, color-mix(in srgb, var(--rarity) 24%, transparent) 0 5deg, transparent 5deg 14deg);
  -webkit-mask: linear-gradient(180deg, #000 30%, transparent 95%);
  mask: linear-gradient(180deg, #000 30%, transparent 95%);
}
.tq-art svg {
  position: relative;
  width: 100%;
  margin-bottom: 3cqw;
}
.tq-name {
  font: 800 11.5cqw/1.02 var(--display);
  padding: 3.5cqw 5.3cqw 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.tq-make {
  font: 500 6.8cqw/1.3 var(--body);
  color: var(--ink-soft);
  padding: 0.6cqw 5.3cqw 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.tq-stats {
  margin-top: auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
}
.tq-stats div {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 2.4cqw 0 2.9cqw;
}
.tq-stats div + div {
  border-left: 1px solid var(--line);
}
.tq-stats b {
  font: 700 8.8cqw/1.1 var(--display);
}
.tq-stats span {
  font: 400 5.8cqw/1.2 var(--body);
  color: var(--ink-soft);
}
.tq-seal {
  position: absolute;
  z-index: 3;
  left: 7cqw;
  top: 20cqw;
  padding: 1.2cqw 4.1cqw;
  border-radius: 999px;
  background: rgba(18, 18, 18, 0.78);
  color: #fff;
  font: 600 5.8cqw/1.3 var(--body);
}

/* Carte holo : cadre irisé qui tourne et reflet qui passe. */
@property --holo-angle {
  syntax: '<angle>';
  inherits: false;
  initial-value: 0deg;
}
.tq-card.holo {
  background: conic-gradient(from var(--holo-angle), var(--holo));
  animation: holo-spin 6s linear infinite;
}
.tq-card.holo .tq-inner::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(115deg, transparent 38%, rgba(255, 255, 255, 0.55) 47%, rgba(124, 200, 255, 0.35) 51%, transparent 60%);
  background-size: 300% 100%;
  animation: holo-shine 4.2s ease-in-out infinite;
  mix-blend-mode: soft-light;
}
@keyframes holo-spin {
  to {
    --holo-angle: 360deg;
  }
}
@keyframes holo-shine {
  0%,
  100% {
    background-position: 100% 0;
  }
  50% {
    background-position: 0 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .tq-card.holo,
  .tq-card.holo .tq-inner::after {
    animation: none;
  }
  .fan .tq-card {
    transition: none;
  }
}

/* Sections */

.section {
  padding: 72px 0;
}
@media (min-width: 900px) {
  .section {
    padding: 104px 0;
  }
}
.section-head {
  max-width: 44em;
  margin-bottom: 40px;
}
.section-head h2 {
  margin-top: 14px;
  font-size: clamp(2.1rem, 6vw, 3.3rem);
  text-transform: uppercase;
}
.section-head p {
  margin-top: 14px;
  color: var(--ink-soft);
  font-size: 1.1rem;
}
.alt {
  background: var(--surface);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

/* Fonctionnalités */
.features {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
}
.feature {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 24px;
  box-shadow: var(--shadow);
}
.alt .feature {
  background: var(--bg);
}
.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--asphalt2);
  color: var(--plate);
  margin-bottom: 18px;
}
.feature-icon.holo-icon {
  background: linear-gradient(135deg, var(--holo));
  color: #121212;
}
.feature h3 {
  font-size: 1.55rem;
  font-weight: 700;
  text-transform: uppercase;
}
.feature p {
  margin-top: 8px;
  color: var(--ink-soft);
}

/* Comment ça marche */
.steps {
  display: grid;
  gap: 16px;
  counter-reset: step;
  padding: 0;
  margin: 0;
  list-style: none;
}
@media (min-width: 820px) {
  .steps {
    grid-template-columns: repeat(3, 1fr);
  }
}
.step {
  position: relative;
  padding: 26px 24px 28px;
  border-radius: 18px;
  background: var(--asphalt2);
  color: var(--asphalt-ink);
  overflow: hidden;
}
.step .plate {
  font-size: 1.25rem;
}
.step h3 {
  margin-top: 18px;
  font-size: 1.7rem;
  text-transform: uppercase;
}
.step p {
  margin-top: 8px;
  color: #c9cfd6;
}
.step svg.step-art {
  position: absolute;
  right: -18px;
  bottom: -6px;
  width: 150px;
  opacity: 0.12;
}

/* Raretés */
.rarities {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 190px), 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
}
.rarity {
  --rarity: var(--r-c);
  border-radius: 16px;
  padding: 18px 18px 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-top: 5px solid var(--rarity);
}
.alt .rarity {
  background: var(--bg);
}
.rarity.pc { --rarity: var(--r-pc); }
.rarity.r { --rarity: var(--r-r); }
.rarity.e { --rarity: var(--r-e); }
.rarity.l { --rarity: var(--r-l); }
.rarity .pips {
  gap: 5px;
}
.rarity .pips i {
  width: 10px;
  height: 10px;
}
.rarity h3 {
  margin-top: 12px;
  font-size: 1.45rem;
  font-weight: 700;
  text-transform: uppercase;
}
.rarity dl {
  margin: 10px 0 0;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2px 12px;
  font-size: 0.95rem;
}
.rarity dt {
  color: var(--ink-soft);
}
.rarity dd {
  margin: 0;
  text-align: right;
  font-weight: 600;
}
.note {
  margin-top: 22px;
  color: var(--ink-soft);
  font-size: 0.98rem;
  max-width: 52em;
}

/* FAQ */
.faq {
  display: grid;
  gap: 10px;
  max-width: 860px;
}
.faq details {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
}
.alt .faq details {
  background: var(--bg);
}
.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  font-weight: 600;
  font-size: 1.08rem;
  border-radius: 14px;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: '';
  flex: none;
  width: 14px;
  height: 14px;
  background:
    linear-gradient(currentColor, currentColor) center / 100% 2px no-repeat,
    linear-gradient(currentColor, currentColor) center / 2px 100% no-repeat;
  transition: transform 0.2s ease;
}
.faq details[open] summary::after {
  transform: rotate(45deg);
}
.faq .answer {
  padding: 0 20px 20px;
  color: var(--ink-soft);
}
.faq .answer p + p {
  margin-top: 10px;
}

/* Obtenir l'app */
.get {
  position: relative;
  overflow: hidden;
  border-radius: 26px;
  padding: 40px 24px;
  background:
    radial-gradient(ellipse 70% 90% at 100% 0%, rgba(255, 196, 0, 0.18), transparent 70%),
    linear-gradient(160deg, var(--asphalt2), var(--asphalt));
  color: var(--asphalt-ink);
  display: grid;
  gap: 28px;
}
@media (min-width: 900px) {
  .get {
    grid-template-columns: 1.3fr 1fr;
    align-items: center;
    padding: 56px;
  }
}
.get h2 {
  font-size: clamp(2.1rem, 6vw, 3.2rem);
  text-transform: uppercase;
}
.get p {
  margin-top: 12px;
  color: #c9cfd6;
}
.get .stores {
  margin-top: 26px;
}
.get .phone {
  justify-self: center;
  width: min(100%, 240px);
}

/* Contact */
.contact {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
}
.contact .feature a {
  font-weight: 600;
  color: var(--ink);
}
.mail {
  display: inline-block;
  margin-top: 12px;
  font: 700 1.35rem/1.2 var(--display);
  letter-spacing: 0.01em;
  word-break: break-all;
}

/* Pages légales */
.page-head {
  background: linear-gradient(180deg, var(--asphalt), var(--asphalt2));
  color: var(--asphalt-ink);
  padding: 56px 0 48px;
}
.page-head h1 {
  margin-top: 14px;
  font-size: clamp(2.3rem, 7vw, 3.6rem);
  text-transform: uppercase;
}
.page-head p {
  margin-top: 12px;
  color: var(--asphalt-soft);
}
.prose {
  max-width: 780px;
  padding-top: 48px;
  padding-bottom: 80px;
}
.prose h2 {
  margin: 44px 0 12px;
  font-size: 1.9rem;
  text-transform: uppercase;
}
.prose h2:first-child {
  margin-top: 0;
}
.prose h3 {
  margin: 26px 0 8px;
  font-size: 1.35rem;
}
.prose p,
.prose ul,
.prose table {
  margin: 0 0 14px;
}
.prose ul {
  padding-left: 1.2em;
}
.prose li + li {
  margin-top: 6px;
}
.prose a {
  font-weight: 600;
}
.prose .table-wrap {
  overflow-x: auto;
  margin: 0 0 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
}
.prose table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.97rem;
  margin: 0;
}
.prose th,
.prose td {
  text-align: left;
  vertical-align: top;
  padding: 10px 14px;
  border-bottom: 1px solid var(--line);
}
.prose tr:last-child td {
  border-bottom: 0;
}
.prose th {
  background: var(--surface2);
  font-weight: 600;
}
/* Sur téléphone, chaque ligne du tableau devient une fiche. */
@media (max-width: 640px) {
  .prose thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
  }
  .prose table,
  .prose tbody,
  .prose tr,
  .prose td {
    display: block;
  }
  .prose tr {
    padding: 12px 16px;
    border-bottom: 1px solid var(--line);
  }
  .prose tr:last-child {
    border-bottom: 0;
  }
  .prose td {
    padding: 4px 0;
    border: 0;
  }
  .prose td[data-label]::before {
    content: attr(data-label);
    display: block;
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--ink-soft);
  }
}
.prose .muted {
  color: var(--ink-soft);
}
.todo {
  background: #ffe066;
  color: #121212;
  border: 2px dashed #b45309;
  border-radius: 6px;
  padding: 0 6px;
  font-weight: 600;
}
.callout {
  border-left: 4px solid var(--plate);
  background: var(--surface);
  border-radius: 0 12px 12px 0;
  padding: 14px 18px;
  margin: 0 0 18px;
}

/* 404 */
.lost {
  min-height: 70vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 64px 0;
}
.lost .plate {
  font-size: clamp(2.6rem, 12vw, 4.5rem);
}
.lost h1 {
  margin-top: 26px;
  font-size: clamp(2rem, 6vw, 3rem);
  text-transform: uppercase;
}
.lost p {
  margin: 12px auto 28px;
  color: var(--ink-soft);
  max-width: 30em;
}

/* Pied de page */
.footer {
  background: var(--asphalt);
  color: var(--asphalt-soft);
  padding: 52px 0 36px;
  font-size: 0.97rem;
}
.footer .cols {
  display: grid;
  gap: 32px;
}
@media (min-width: 820px) {
  .footer .cols {
    grid-template-columns: 1.4fr 1fr 1fr;
  }
}
.footer h2 {
  font-size: 1.1rem;
  color: var(--asphalt-ink);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 12px;
}
.footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}
.footer a {
  color: var(--asphalt-soft);
  text-decoration: none;
}
.footer a:hover {
  color: var(--asphalt-ink);
  text-decoration: underline;
}
.footer .logo {
  margin-bottom: 14px;
}
.footer .legal {
  margin-top: 40px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  justify-content: space-between;
  font-size: 0.88rem;
}
