/*
 * Wishdeal — page de pré-lancement.
 * Même langage que l'app : fond blanc cassé, encre noire, Playfair Display
 * pour les titres, et le rouge-orangé réservé au trait qui barre les prix.
 */

@font-face {
  font-family: "Playfair Display";
  src: url("assets/fonts/PlayfairDisplay_500Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Playfair Display";
  src: url("assets/fonts/PlayfairDisplay_500Medium_Italic.ttf") format("truetype");
  font-weight: 500;
  font-style: italic;
  font-display: swap;
}

:root {
  --paper: #f5f5f3;
  --white: #ffffff;
  --ink: #111111;
  --muted: #62625e;
  --line: #dededa;
  --sale: #e85d3f; /* trait et pastilles */
  --sale-text: #c03a1b; /* texte sur fond clair */
  --good: #1a7045;
  --tile: #f2f2ef; /* fond derrière les photos d’articles */
  --night: #161615;
  --night-ink: #f4f4f2;
  --night-muted: #a9a9a3;
  --night-line: #33332f;
  --night-surface: #242422;
  --sale-night: #ff8266; /* baisse de prix sur fond sombre */
  --good-night: #6ccb97; /* vraie promo sur fond sombre */
  --serif: "Playfair Display", "Iowan Old Style", Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --wrap: 1180px;
  --gutter: clamp(20px, 4vw, 40px);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
}

button,
input {
  font: inherit;
  color: inherit;
}

:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}

.band :focus-visible,
.section--night :focus-visible,
.foot :focus-visible {
  outline-color: var(--night-ink);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

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

.eyebrow {
  margin: 0;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -0.015em;
}

h2 {
  font-size: clamp(34px, 5vw, 64px);
  line-height: 1.04;
}

.lede {
  margin: 0;
  max-width: 46ch;
  font-size: clamp(17px, 1.6vw, 20px);
  color: var(--muted);
}

/* Le trait de la marque, posé sur un mot : il monte de gauche à droite. */
.struck {
  position: relative;
  display: inline-block;
  white-space: nowrap;
}

.struck::after {
  content: "";
  position: absolute;
  left: -4%;
  right: -4%;
  top: 56%;
  height: 0.085em;
  border-radius: 99px;
  background: var(--sale);
  transform: rotate(-7deg) scaleX(0);
  transform-origin: left center;
  transition: transform 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) 0.35s;
}

.in .struck::after,
.struck.in::after {
  transform: rotate(-7deg) scaleX(1);
}

/* Apparition au défilement */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 0.7s ease,
    transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.reveal.in {
  opacity: 1;
  transform: none;
}

/* Boutons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 52px;
  padding: 0 24px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  background: var(--ink);
  color: var(--white);
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition:
    background 0.2s ease,
    color 0.2s ease,
    transform 0.2s ease;
}

.btn:hover {
  background: #2c2c2a;
}

.btn:active {
  transform: scale(0.98);
}

.btn--small {
  height: 40px;
  padding: 0 16px;
  font-size: 14px;
}

.btn--outline {
  background: transparent;
  color: var(--ink);
}

.btn--outline:hover {
  background: var(--ink);
  color: var(--white);
}

.btn--light {
  background: var(--night-ink);
  border-color: var(--night-ink);
  color: var(--night);
}

.btn--light:hover {
  background: #ffffff;
}

/* ───────────── En-tête ───────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--paper);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease;
}

.nav.scrolled {
  border-bottom-color: var(--line);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 68px;
}

.logo {
  display: inline-flex;
  color: var(--ink);
}

.logo svg {
  display: block;
  height: 30px;
  width: auto;
}

.logo .logo-strike {
  stroke: var(--sale);
}

.nav__links {
  display: flex;
  gap: 32px;
  margin-left: auto;
  font-size: 15px;
}

.nav__links a {
  text-decoration: none;
  color: var(--muted);
  transition: color 0.2s ease;
}

.nav__links a:hover {
  color: var(--ink);
}

/* ───────────── Accroche ───────────── */
.hero {
  padding: clamp(36px, 6vw, 84px) 0 clamp(56px, 8vw, 112px);
  overflow: hidden;
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  align-items: center;
  gap: clamp(32px, 5vw, 72px);
}

.hero__text {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.hero h1 {
  font-size: clamp(46px, 8.2vw, 112px);
  line-height: 0.96;
  letter-spacing: -0.03em;
}

.hero h1 em {
  font-style: italic;
}

/* Formulaire d'inscription */
.signup {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  max-width: 480px;
}

.signup input[type="email"] {
  height: 52px;
  padding: 0 20px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  background: var(--white);
  font-size: 16px;
}

.signup input[type="email"]::placeholder {
  color: #8a8a85;
}

.signup__msg:empty {
  display: none;
}

.signup__msg {
  grid-column: 1 / -1;
  margin: 2px 0 0;
  font-size: 14px;
  font-weight: 600;
}

.fineprint {
  margin: 0;
  max-width: 480px;
  font-size: 13px;
  color: var(--muted);
}

/* Téléphone */
.stage {
  position: relative;
  display: flex;
  justify-content: center;
  padding: 24px 0;
}

.phone {
  position: relative;
  width: min(310px, 78vw);
  aspect-ratio: 310 / 640;
  padding: 10px;
  border-radius: 52px;
  background: var(--ink);
  box-shadow:
    0 40px 80px -30px rgba(17, 17, 17, 0.45),
    0 0 0 1px rgba(17, 17, 17, 0.9);
}

.phone__screen {
  position: relative;
  height: 100%;
  overflow: hidden;
  border-radius: 42px;
  background: var(--white);
  color: var(--ink);
}

.phone__island {
  position: absolute;
  top: 10px;
  left: 50%;
  width: 34%;
  height: 26px;
  border-radius: 99px;
  background: var(--ink);
  transform: translateX(-50%);
  z-index: 2;
}

.app {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding-top: 48px;
  font-size: 12px;
}

.app__head {
  padding: 0 16px 12px;
}

.app__head svg {
  display: block;
  height: 22px;
  width: auto;
}

.app__head p {
  margin: 4px 0 0;
  font-size: 10.5px;
  color: var(--muted);
}

.app__photo {
  position: relative;
  aspect-ratio: 1 / 1;
  background: #ffffff;
  border-top: 1px solid #efefec;
  border-bottom: 1px solid #efefec;
}

/* Photo produit sur fond blanc : on la montre entière, sans recadrage. */
.app__photo img {
  width: 100%;
  height: 100%;
  padding: 0 4%;
  object-fit: contain;
}

.app__heart {
  position: absolute;
  top: 8px;
  right: 8px;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--white);
  color: var(--sale);
}

.app__body {
  padding: 12px 16px 0;
}

.app__eyebrow {
  margin: 0;
  font-size: 8.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.app__name {
  margin: 4px 0;
  font-family: var(--serif);
  font-size: 21px;
  line-height: 1.15;
}

.app__prices {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-variant-numeric: tabular-nums;
}

.app__prices b {
  font-size: 15px;
}

.app__prices s {
  color: var(--muted);
}

.app__prices span {
  font-weight: 700;
  color: var(--sale-text);
}

.verdict {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  font-weight: 600;
  color: var(--good);
}

.verdict::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}

.verdict--bad {
  color: var(--sale-text);
}

.verdict--flat {
  color: var(--muted);
}

.app .verdict {
  margin-top: 4px;
  font-size: 10.5px;
}

.app__tabs {
  display: flex;
  justify-content: space-around;
  margin: auto 16px 12px;
  padding: 8px;
  border-radius: 99px;
  background: #f1f1ee;
  font-size: 9px;
  font-weight: 600;
  color: var(--muted);
}

.app__tabs span:first-child {
  color: var(--ink);
}

/* Cartes flottantes autour du téléphone */
.stage__note {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  margin: 0;
  font-size: 12px;
  text-align: center;
  color: var(--muted);
}

.float {
  position: absolute;
  z-index: 3;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--white);
  box-shadow: 0 18px 40px -22px rgba(17, 17, 17, 0.4);
  font-size: 13px;
  line-height: 1.35;
  animation: drift 7s ease-in-out infinite;
}

.float--verdict {
  top: 27%;
  left: calc(50% - 292px);
  width: 178px;
}

.float--alert {
  right: calc(50% - 286px);
  bottom: 11%;
  width: 208px;
  animation-delay: -3.5s;
}

.float small {
  display: block;
  margin-bottom: 4px;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.float__row {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-variant-numeric: tabular-nums;
}

.float__row + .float__row {
  margin-top: 2px;
}

.float__row s {
  color: var(--muted);
}

.float__row b {
  color: var(--sale-text);
}

.float b {
  white-space: nowrap;
}

.float__app {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  font-size: 11px;
  color: var(--muted);
}

.float__app img {
  width: 20px;
  height: 20px;
  border-radius: 5px;
  border: 1px solid var(--line);
}

@keyframes drift {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-9px);
  }
}

/* ───────────── Bandeau défilant ───────────── */
.band {
  overflow: hidden;
  padding: 16px 0;
  background: var(--night);
  color: var(--night-ink);
}

.band__track {
  display: flex;
  width: max-content;
  animation: slide 34s linear infinite;
}

.band__track span {
  display: inline-flex;
  align-items: center;
  gap: 28px;
  padding-right: 28px;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(20px, 2.4vw, 30px);
  white-space: nowrap;
}

.band__track i {
  display: inline-block;
  width: 26px;
  height: 3px;
  border-radius: 99px;
  background: currentColor;
  opacity: 0.4;
  transform: rotate(-18deg);
}

@keyframes slide {
  to {
    transform: translateX(-50%);
  }
}

/* ───────────── Sections ───────────── */
[id] {
  scroll-margin-top: 84px;
}

.section {
  padding: clamp(72px, 10vw, 140px) 0;
}

.section__head {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: clamp(32px, 5vw, 64px);
}

.section--night {
  background: var(--night);
  color: var(--night-ink);
}

.section--night .eyebrow,
.section--night .lede {
  color: var(--night-muted);
}

/* La preuve : une promo, deux histoires */
.proof__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: clamp(20px, 3vw, 40px);
  align-items: stretch;
}

.card {
  border: 1px solid var(--line);
  border-radius: 2px;
  background: var(--white);
}

.chart-card {
  padding: clamp(16px, 2.5vw, 32px);
}

.switch {
  display: inline-flex;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
}

.switch button {
  height: 40px;
  padding: 0 16px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
  cursor: pointer;
  transition:
    background 0.2s ease,
    color 0.2s ease;
}

.switch button[aria-pressed="true"] {
  background: var(--ink);
  color: var(--white);
}

.chart {
  margin-top: 24px;
}

.chart svg {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}

.chart text {
  font-family: var(--sans);
  font-size: 12px;
  fill: var(--muted);
}

.chart .line {
  fill: none;
  stroke: var(--ink);
  stroke-width: 2;
  stroke-linejoin: round;
}

.chart .usual {
  stroke: var(--muted);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-dasharray: 0.1 6;
}

.chart .list {
  stroke: var(--muted);
  stroke-width: 1;
  stroke-dasharray: 8 5;
}

.chart .dot {
  fill: var(--sale);
}

.chart__legend {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
  font-size: 13px;
  color: var(--muted);
}

.chart__legend li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.chart__legend i {
  width: 20px;
  border-top: 2px solid var(--ink);
}

.chart__legend .is-usual {
  border-top: 2px dotted var(--muted);
}

.chart__legend .is-list {
  border-top: 1px dashed var(--muted);
}

.readout {
  display: flex;
  flex-direction: column;
}

.readout__block {
  flex: 1;
  padding: clamp(16px, 2.5vw, 28px);
}

.readout__block + .readout__block {
  border-top: 1px solid var(--line);
}

.readout__block--us {
  background: var(--ink);
  color: var(--white);
  border-radius: 0 0 1px 1px;
}

.readout__block--us .eyebrow {
  color: #b9b9b3;
}

.figure {
  margin: 8px 0 0;
  font-family: var(--serif);
  font-size: clamp(44px, 5.4vw, 68px);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.figure--shown {
  color: var(--muted);
}

.readout dl {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4px 16px;
  margin: 16px 0 0;
  font-size: 14px;
  font-variant-numeric: tabular-nums;
}

.readout dt {
  opacity: 0.72;
}

.readout dd {
  margin: 0;
  font-weight: 600;
  text-align: right;
}

/* Verdict : un point et un libellé, jamais de pastille pleine. */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  color: var(--sale-night);
  font-size: 14px;
  font-weight: 600;
}

.pill::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}

.pill[data-kind="vraie"] {
  color: var(--good-night);
}

.note {
  margin: 16px 0 0;
  font-size: 13px;
  color: var(--muted);
}

/* Les articles : une grille, chaque pièce avec ses photos à faire défiler */
.items {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px 16px;
}

.item__media {
  position: relative;
  overflow: hidden;
  border-radius: 2px;
  background: var(--tile);
}

.slides {
  display: flex;
  aspect-ratio: 3 / 4;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.slides::-webkit-scrollbar {
  display: none;
}

.slide {
  flex: 0 0 100%;
  overflow: hidden;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

/* Les plans rapprochés sont la même photo, agrandie sur une zone (réglée dans la page). */
.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 12px;
  display: flex;
  justify-content: center;
  gap: 8px;
  pointer-events: none;
}

.dots i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ffffff;
  opacity: 0.5;
  box-shadow: 0 0 0 1px rgba(17, 17, 17, 0.18);
  transition:
    opacity 0.2s ease,
    transform 0.2s ease;
}

.dots i.on {
  opacity: 1;
  transform: scale(1.25);
}

.heart,
.slide-nav {
  position: absolute;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: var(--white);
  color: var(--ink);
  cursor: pointer;
}

.heart {
  top: 12px;
  right: 12px;
  width: 40px;
  height: 40px;
  transition: transform 0.2s ease;
}

.heart:active {
  transform: scale(0.9);
}

.heart[aria-pressed="true"] {
  color: var(--sale);
}

.heart[aria-pressed="true"] svg {
  fill: currentColor;
  animation: pop 0.35s cubic-bezier(0.2, 0.9, 0.3, 1.4);
}

@keyframes pop {
  0% {
    transform: scale(0.6);
  }
  100% {
    transform: scale(1);
  }
}

.slide-nav {
  top: 50%;
  width: 36px;
  height: 36px;
  margin-top: -18px;
  font-size: 22px;
  line-height: 1;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.slide-nav--prev {
  left: 10px;
}

.slide-nav--next {
  right: 10px;
}

.item__media:hover .slide-nav,
.slide-nav:focus-visible {
  opacity: 1;
}

@media (hover: none) {
  .slide-nav {
    display: none;
  }
}

.item__body {
  display: grid;
  gap: 4px;
  padding-top: 12px;
}

.item__name {
  font-weight: 500;
}

.item__prices {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-variant-numeric: tabular-nums;
}

.item__prices b {
  font-weight: 700;
}

.item__prices s {
  font-size: 14px;
  color: var(--muted);
}

.item__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 8px;
  font-size: 14px;
}

.item__meta > b {
  color: var(--sale-text);
  font-variant-numeric: tabular-nums;
}

/* Les wishs */
.wish__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 88px);
  align-items: center;
}

.picker {
  display: grid;
  gap: 24px;
}

.picker fieldset {
  margin: 0;
  padding: 0;
  border: 0;
}

.picker legend {
  margin-bottom: 12px;
  padding: 0;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--night-muted);
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip {
  height: 40px;
  padding: 0 16px;
  border: 1px solid var(--night-line);
  border-radius: 999px;
  background: transparent;
  color: var(--night-ink);
  font-size: 15px;
  cursor: pointer;
  transition:
    background 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease;
}

.chip:hover {
  border-color: #6b6b65;
}

.chip[aria-pressed="true"] {
  border-color: var(--night-ink);
  background: var(--night-ink);
  color: var(--night);
}

.wish__result {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}

.wish__sentence {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.12;
  letter-spacing: -0.015em;
}

.wish__sentence mark {
  background: none;
  color: inherit;
  font-style: italic;
}

/* Seule la baisse de prix porte la couleur vive. */
.wish__sentence mark.is-sale {
  color: var(--sale-night);
}

.push {
  display: flex;
  gap: 12px;
  width: min(100%, 400px);
  padding: 16px;
  border: 1px solid var(--night-line);
  border-radius: 18px;
  background: var(--night-surface);
  font-size: 14px;
  line-height: 1.35;
}

.push img {
  width: 38px;
  height: 38px;
  border-radius: 9px;
}

.push small {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 2px;
  font-size: 12px;
  color: var(--night-muted);
}

.push p {
  margin: 0;
}

/* La liste des wishs, alimentée par le compositeur et par les cœurs des articles */
.wishlist {
  width: min(100%, 440px);
  border: 1px solid var(--night-line);
  border-radius: 18px;
  background: var(--night-surface);
}

.wishlist__head {
  display: flex;
  justify-content: space-between;
  padding: 16px;
  border-bottom: 1px solid var(--night-line);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--night-muted);
  font-variant-numeric: tabular-nums;
}

.wishlist ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.wishlist li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--night-line);
  font-size: 14px;
  line-height: 1.35;
}

.wishlist__thumb {
  flex: none;
  display: grid;
  place-items: center;
  width: 44px;
  height: 58px;
  overflow: hidden;
  border-radius: 2px;
  background: #2b2b28;
  color: var(--night-muted);
}

.wishlist__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.wishlist__text {
  flex: 1;
  min-width: 0;
}

.wishlist__text b {
  display: block;
  font-weight: 600;
}

.wishlist__text span {
  color: var(--night-muted);
}

.wishlist__remove {
  flex: none;
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--night-muted);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}

.wishlist__remove:hover {
  color: var(--night-ink);
}

.wishlist__hint {
  margin: 0;
  padding: 12px 16px;
  font-size: 13px;
  color: var(--night-muted);
}

/* Comment ça marche */
.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--ink);
}

.steps li {
  padding: 28px 28px 8px 0;
}

.steps li + li {
  padding-left: 28px;
  border-left: 1px solid var(--line);
}

.steps span {
  display: block;
  font-family: var(--serif);
  font-style: italic;
  font-size: 22px;
  color: var(--muted);
}

.steps h3 {
  margin: 16px 0 8px;
  font-size: clamp(24px, 2.4vw, 30px);
  line-height: 1.15;
}

.steps p {
  margin: 0;
  color: var(--muted);
}

/* Appel final */
.final {
  position: relative;
  overflow: hidden;
  text-align: center;
}

.final__mark {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(900px, 130vw);
  color: #222220;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.final__mark .logo-strike {
  stroke: #3a2019;
}

.final__inner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.final h2 {
  max-width: 14ch;
  font-size: clamp(40px, 7vw, 92px);
  line-height: 0.98;
}

.final .lede {
  max-width: 44ch;
}

.final .signup {
  width: 100%;
}

.final .signup input[type="email"] {
  border-color: var(--night-ink);
  background: transparent;
  color: var(--night-ink);
}

.final .signup input[type="email"]::placeholder {
  color: #8d8d87;
}

.final .fineprint {
  color: var(--night-muted);
}

/* Pied de page */
.foot {
  padding: 40px 0 48px;
  background: var(--night);
  color: var(--night-muted);
  border-top: 1px solid var(--night-line);
  font-size: 14px;
}

.foot__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 32px;
}

.foot .logo {
  color: var(--night-ink);
}

.foot .logo svg {
  height: 24px;
}

.foot nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
}

.foot p {
  flex-basis: 100%;
  margin: 0;
  max-width: 70ch;
  font-size: 13px;
}

/* Page de mentions légales */
.legal {
  max-width: 760px;
  padding-top: 56px;
  padding-bottom: 96px;
}

.legal h1 {
  margin-bottom: 32px;
  font-size: clamp(36px, 5vw, 56px);
  line-height: 1.05;
}

.legal h2 {
  margin: 44px 0 12px;
  font-size: 28px;
}

.legal p,
.legal li {
  color: #3d3d3a;
}

.todo {
  padding: 1px 6px;
  border-radius: 4px;
  background: #ffe3da;
  color: #8f2a12;
  font-weight: 600;
}

/* ───────────── Écrans étroits ───────────── */
@media (max-width: 900px) {
  .nav__links {
    display: none;
  }

  .hero__grid,
  .proof__grid,
  .wish__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .stage {
    padding-top: 8px;
  }

  .float--verdict {
    left: 0;
  }

  .float--alert {
    right: 0;
  }

  .items {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 12px;
  }

  .steps {
    grid-template-columns: minmax(0, 1fr);
  }

  .steps li,
  .steps li + li {
    padding: 24px 0;
    border-left: 0;
  }

  .steps li + li {
    border-top: 1px solid var(--line);
  }
}

@media (max-width: 520px) {
  body {
    font-size: 16px;
  }

  .signup {
    grid-template-columns: minmax(0, 1fr);
  }

  .float {
    padding: 12px;
    font-size: 12px;
  }

  .float--verdict {
    width: 150px;
  }

  .float--alert {
    width: 176px;
  }

  .heart {
    top: 8px;
    right: 8px;
    width: 36px;
    height: 36px;
  }

}

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

  .reveal,
  .struck::after {
    transition: none;
  }

  .heart[aria-pressed="true"] svg {
    animation: none;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .struck::after {
    transform: rotate(-7deg) scaleX(1);
  }

  .float,
  .band__track {
    animation: none;
  }
}
