/* RINDDEX — page « Bientôt » et paiement des échéances.
   Identité officielle : direction 03 « Carrefour », kit final (D-012, BRANDING/IDENTITE/LISEZ-MOI.txt).
   Couleurs et polices uniquement dans :root. */
:root {
  /* Palette de la charte */
  --nuit: #0a1a3f; /* couleur principale, texte */
  --nuit-2: #16295a; /* cartes sur bleu nuit */
  --nuit-3: #3a5288; /* barres éteintes */
  --orange: #ff5b1f; /* le X, action principale */
  --orange-hover: #ff7340;
  --mandarine: #ffa23a;
  --ciel: #5b8cff;
  --brume: #eef2fa;
  --blanc: #ffffff;

  /* Rôles */
  --bg: var(--blanc);
  --ink: var(--nuit);
  --muted: #4a5675;
  --muted-on-dark: #b7c3df;
  --line: #dde4f1;
  --accent: var(--orange);
  --accent-ink: var(--nuit); /* bleu nuit sur orange : 5,9:1 */
  --focus: var(--ciel);
  --warn: #9a4b16;
  --warn-soft: #fbefe3;
  --danger: #b42318;
  --danger-soft: #fbeceb;

  --radius-card: 24px;
  --radius-btn: 12px;
  --radius-field: 12px;
  --shadow-card: 0 1px 2px rgb(10 26 63 / 0.05), 0 24px 60px -28px rgb(10 26 63 / 0.28);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --wrap: 1200px;
  --gutter: clamp(20px, 5vw, 48px);

  --font-title: 'Sora', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-text: 'DM Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  color-scheme: light;
}

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

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

[hidden] {
  display: none !important;
}

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-text);
  font-size: 16px;
  line-height: 1.5;
  font-variant-numeric: lining-nums tabular-nums;
  -webkit-font-smoothing: antialiased;
}

main {
  flex: 1;
}

body.page-light {
  background: var(--brume);
}

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

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

h1,
h2,
h3 {
  font-family: var(--font-title);
  color: inherit;
  text-wrap: balance;
}

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  border-radius: 6px;
}

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

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

/* ——— Logo (tracés du kit, jamais recomposé en police) ——— */

.logo {
  display: inline-flex;
  color: var(--nuit);
  text-decoration: none;
  border-radius: 4px;
}

.logo svg {
  height: 28px; /* version optique 24–40 px */
  width: auto;
}

.logo .logo__letters {
  fill: currentColor; /* bleu nuit, ou blanc en négatif */
}

.logo--negatif {
  color: var(--blanc);
}

/* ——— Barre du haut ——— */

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgb(255 255 255 / 0.92);
  backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid var(--line);
}

.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 72px;
}

.topbar__right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.pill-soon {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--brume);
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--nuit);
  white-space: nowrap;
}

.pulse {
  position: relative;
  flex: none;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

.pulse::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 2.2s var(--ease-out) infinite;
}

/* ——— Boutons ——— */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 24px;
  border-radius: var(--radius-btn);
  border: 1.5px solid var(--nuit);
  background: transparent;
  color: var(--nuit);
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 0.9375rem;
  letter-spacing: -0.005em;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition:
    background-color 160ms ease,
    border-color 160ms ease,
    color 160ms ease,
    transform 160ms var(--ease-out);
  -webkit-tap-highlight-color: transparent;
}

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

.btn svg {
  flex: none;
  width: 18px;
  height: 18px;
  transition: transform 200ms var(--ease-out);
}

.btn--primary {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--accent-ink);
}

.btn--ghost:hover {
  background: var(--nuit);
  color: var(--blanc);
}

.btn--on-dark {
  border-color: rgb(255 255 255 / 0.7);
  color: var(--blanc);
}

.btn--small {
  min-height: 42px;
  padding: 0 16px;
  font-size: 0.875rem;
}

.btn--block {
  width: 100%;
}

.btn[disabled],
.btn[aria-busy='true'] {
  cursor: progress;
  opacity: 0.75;
}

@media (hover: hover) and (pointer: fine) {
  .btn--primary:hover {
    background: var(--orange-hover);
    border-color: var(--orange-hover);
  }

  .btn--on-dark:hover {
    background: var(--blanc);
    color: var(--nuit);
  }

  .btn:hover svg.arrow {
    transform: translateX(3px);
  }
}

.spinner {
  flex: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2.5px solid currentColor;
  border-right-color: transparent;
  animation: spin 700ms linear infinite;
}

/* ——— Accueil « Bientôt » : un seul bloc bleu nuit, plein écran ——— */

body.page-soon {
  background: var(--nuit);
  color: var(--blanc);
}

.soon {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100dvh;
  overflow: hidden;
}

.soon__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 88px;
}

.pill-soon--dark {
  background: var(--nuit-2);
  color: var(--blanc);
}

.soon__main {
  flex: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  align-items: center;
  gap: clamp(32px, 6vw, 96px);
  padding-top: clamp(24px, 5vw, 56px);
  padding-bottom: clamp(32px, 5vw, 56px);
}

.soon__foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  padding-top: 20px;
  padding-bottom: 24px;
  border-top: 1px solid var(--nuit-2);
  font-size: 0.875rem;
  color: var(--muted-on-dark);
}

.eyebrow {
  margin: 0 0 16px;
  font-family: var(--font-title);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}

/* Sur fond clair, l'orange est réservé aux titres et icônes (charte) : sur-titre bleu nuit + trait orange. */
.eyebrow--light {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--nuit);
}

.eyebrow--light::before {
  content: '';
  flex: none;
  width: 20px;
  height: 4px;
  border-radius: 2px;
  background: var(--accent);
}

.soon h1 {
  margin: 0;
  font-size: clamp(2.5rem, 5.6vw, 4.5rem);
  line-height: 1.04;
  font-weight: 800;
  letter-spacing: -0.025em;
}

.soon h1 em {
  font-style: normal;
  color: var(--accent);
}

.soon .lead {
  margin: 24px 0 0;
  max-width: 34em;
  font-size: 1.125rem;
  line-height: 1.55;
  color: var(--muted-on-dark);
}

.pay-callout {
  margin-top: 36px;
  padding: 24px;
  border-radius: 20px;
  background: var(--nuit-2);
  max-width: 560px;
}

.pay-callout h2 {
  margin: 0;
  font-size: 1.375rem;
  line-height: 1.25;
  font-weight: 700;
}

.pay-callout p {
  margin: 8px 0 20px;
  color: var(--muted-on-dark);
}

.secure {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 16px 0 0 !important;
  font-size: 0.8125rem;
  color: var(--muted-on-dark);
}

.secure svg {
  flex: none;
  width: 16px;
  height: 16px;
}

/* ——— Intro : le logo s'anime avant la page (une fois par session, voir intro.js) ———
   0–0,6 s lettres dévoilées ; 0,45–0,95 s convergence du X (charte) ; pause 0,3 s ; 1,25–1,65 s sortie. */

.page-soon {
  --intro: 1.35s; /* décalage des animations de la page */
}

.no-intro .page-soon {
  --intro: 0s;
}

.no-intro .intro {
  display: none;
}

.intro {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  background: var(--nuit);
  pointer-events: none; /* ne bloque jamais la page */
  animation: intro-out 400ms ease-in 1.25s forwards;
}

.intro__logo {
  width: min(72vw, 380px);
  height: auto;
  animation: intro-logo-out 400ms ease-in 1.25s forwards;
}

.intro__letters {
  fill: var(--blanc);
}

.intro__cover {
  fill: var(--nuit);
  animation: intro-wipe 600ms cubic-bezier(0.65, 0, 0.35, 1) 100ms both;
}

.intro__bar {
  fill: var(--orange);
  transform-box: fill-box;
  transform-origin: center;
  animation: converge 500ms var(--ease-out) 450ms both;
}

.intro__bar--tl {
  --from: translate(-14px, -14px);
}
.intro__bar--tr {
  --from: translate(14px, -14px);
}
.intro__bar--br {
  --from: translate(14px, 14px);
}
.intro__bar--bl {
  --from: translate(-14px, 14px);
}

.page-soon .soon {
  animation: soon-in 500ms var(--ease-out) var(--intro) both;
}

/* Le X animé. Entrée (charte) : convergence 0,5 s, pause 0,3 s, allumage de Pay 0,2 s.
   Puis boucle de 6,4 s : l'orange passe d'une barre à l'autre dans l'ordre des sous-marques
   (Pay haut droite → Crédit bas droite → Livraison bas gauche → Store haut gauche),
   et à chaque fin de tour les barres s'écartent puis reconvergent. */
.hero__mark {
  margin: 0;
  justify-self: center;
  width: min(100%, 380px);
  --cycle: 6.4s;
  --step: 1.6s;
  --start: 0.8s;
}

.xmark .bar-g {
  transform-box: fill-box;
  transform-origin: center;
  animation: regroup var(--cycle) var(--ease-out) calc(var(--intro, 0s) + var(--start)) infinite;
}

.xmark .bar {
  fill: var(--nuit-3);
  transform-box: fill-box;
  transform-origin: center;
  animation:
    converge 500ms var(--ease-out) var(--intro, 0s) both,
    lit var(--cycle) linear calc(var(--intro, 0s) + var(--start) + var(--i) * var(--step)) infinite;
}

.xmark .bar--tr {
  --i: 0;
  --from: translate(14px, -14px);
  --out: translate(5px, -5px);
}
.xmark .bar--br {
  --i: 1;
  --from: translate(14px, 14px);
  --out: translate(5px, 5px);
}
.xmark .bar--bl {
  --i: 2;
  --from: translate(-14px, 14px);
  --out: translate(-5px, 5px);
}
.xmark .bar--tl {
  --i: 3;
  --from: translate(-14px, -14px);
  --out: translate(-5px, -5px);
}

/* ——— Pied de page ——— */

.site-foot {
  margin-top: auto;
  background: var(--nuit);
  color: var(--muted-on-dark);
  font-size: 0.875rem;
}

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

.site-foot__sign {
  margin: 10px 0 0;
  color: var(--blanc);
  font-family: var(--font-title);
  font-weight: 700;
}

.site-foot__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 24px;
}

/* ——— Pages simples (retour, 404, simulation) ——— */

.stage {
  flex: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  place-items: center;
  padding: clamp(16px, 4vw, 56px) var(--gutter);
}

.card {
  width: min(1200px, 100%);
  background: var(--blanc);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  padding: clamp(24px, 4vw, 48px);
  display: flex;
  flex-direction: column;
  gap: 24px;
  animation: rise 600ms var(--ease-out) both;
}

.card--narrow {
  width: min(720px, 100%);
}

/* ——— Fenêtre de paiement ——— */

dialog.sheet {
  width: min(480px, calc(100vw - 32px));
  max-height: calc(100dvh - 32px);
  padding: 0;
  border: 0;
  border-radius: 24px;
  background: var(--blanc);
  color: var(--ink);
  box-shadow: 0 30px 80px -20px rgb(10 26 63 / 0.45);
  overflow: auto;
}

dialog.sheet::backdrop {
  background: rgb(10 26 63 / 0.6);
}

dialog.sheet[open] {
  animation: sheet-in 260ms var(--ease-out) both;
}

dialog.sheet[open]::backdrop {
  animation: fade-in 200ms ease both;
}

.sheet__inner {
  padding: 28px;
}

.sheet__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 6px;
}

.sheet__head .eyebrow {
  margin-bottom: 6px;
}

.sheet__head h2 {
  margin: 0;
  font-size: 1.5rem;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.sheet__intro {
  margin: 0 0 22px;
  color: var(--muted);
  font-size: 0.9375rem;
}

.icon-btn {
  flex: none;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin: -6px -8px 0 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}

.icon-btn:hover {
  background: var(--brume);
}

.icon-btn svg {
  width: 20px;
  height: 20px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}

.field label {
  font-weight: 700;
  font-size: 0.9375rem;
}

.field .optional {
  font-weight: 400;
  color: var(--muted);
}

.field input {
  width: 100%;
  min-height: 52px;
  padding: 0 16px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-field);
  background: var(--blanc);
  font-size: 1rem; /* 16px : pas de zoom automatique sur iOS */
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.field input::placeholder {
  color: #8a94ad;
}

.field input:hover {
  border-color: #b9c4dc;
}

.field input:focus {
  outline: none;
  border-color: var(--nuit);
  box-shadow: 0 0 0 4px rgb(91 140 255 / 0.25);
}

.field input[aria-invalid='true'] {
  border-color: var(--danger);
}

.field input[aria-invalid='true']:focus {
  box-shadow: 0 0 0 4px var(--danger-soft);
}

.phone-wrap {
  position: relative;
  display: flex;
  align-items: stretch;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-field);
  background: var(--blanc);
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.phone-wrap:hover {
  border-color: #b9c4dc;
}

.phone-wrap:focus-within {
  border-color: var(--nuit);
  box-shadow: 0 0 0 4px rgb(91 140 255 / 0.25);
}

.phone-wrap:has([aria-invalid='true']) {
  border-color: var(--danger);
}

/* Le vrai <select> natif (accessible, adapté au mobile) est posé, invisible, sur l'indicatif affiché. */
.phone-wrap select {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 112px;
  opacity: 0;
  cursor: pointer;
  font-size: 1rem;
}

.phone-dial {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: 112px;
  padding: 0 28px 0 16px;
  border-right: 1.5px solid var(--line);
  font-weight: 700;
  white-space: nowrap;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234a5675' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E")
    right 10px center / 14px no-repeat;
  pointer-events: none;
}

.phone-wrap select:focus-visible + .phone-dial {
  color: var(--ciel);
}

.field .phone-wrap input {
  min-height: 49px;
  border: 0;
  border-radius: 0 var(--radius-field) var(--radius-field) 0;
  box-shadow: none !important;
  flex: 1;
  min-width: 0;
}

.amount-wrap {
  position: relative;
}

.amount-wrap input {
  padding-right: 72px;
  font-weight: 700;
}

.amount-wrap .suffix {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  font-weight: 700;
  color: var(--muted);
  pointer-events: none;
}

.field__error {
  margin: 0;
  font-size: 0.875rem;
  color: var(--danger);
  font-weight: 600;
}

.field__error:empty {
  display: none;
}

.form-alert {
  margin: 0 0 16px;
  padding: 12px 14px;
  border-radius: 12px;
  background: var(--danger-soft);
  color: var(--danger);
  font-size: 0.9375rem;
  font-weight: 600;
}

.form-note {
  margin: 14px 0 0;
  font-size: 0.8125rem;
  color: var(--muted);
  text-align: center;
}

/* ——— Page de retour ——— */

.status {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: clamp(8px, 3vw, 24px) 0;
}

.status[hidden] {
  display: none;
}

.status__icon {
  width: 88px;
  height: 88px;
  margin-bottom: 24px;
}

.status h1 {
  margin: 0;
  font-size: clamp(1.75rem, 4.2vw, 2.5rem);
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.status .lead {
  margin: 12px 0 0;
  max-width: 34em;
  font-size: 1.0625rem;
  color: var(--muted);
}

.status.is-visible {
  animation: rise 420ms var(--ease-out) both;
}

.details {
  width: 100%;
  max-width: 460px;
  margin: 28px 0 0;
  padding: 0;
  border-top: 1px dashed var(--line);
  text-align: left;
}

.details div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px dashed var(--line);
}

.details dt {
  color: var(--muted);
}

.details dd {
  margin: 0;
  font-weight: 700;
  text-align: right;
  overflow-wrap: anywhere;
}

.details .amount {
  align-items: baseline;
}

.details .amount dt {
  font-family: var(--font-title);
  font-weight: 700;
  color: var(--nuit);
}

.details .amount dd {
  font-family: var(--font-title);
  font-size: 1.625rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 28px;
}

.notice {
  margin: 20px 0 0;
  max-width: 460px;
  font-size: 0.875rem;
  color: var(--muted);
}

.banner-test {
  margin: 0;
  padding: 10px 14px;
  border-radius: 12px;
  background: var(--warn-soft);
  color: var(--warn);
  font-size: 0.875rem;
  font-weight: 700;
  text-align: center;
}

/* ——— Animations ——— */

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes converge {
  from {
    opacity: 0;
    transform: var(--from);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes intro-wipe {
  to {
    transform: translateX(500px);
  }
}

@keyframes intro-logo-out {
  to {
    opacity: 0;
    transform: scale(1.04);
  }
}

@keyframes intro-out {
  to {
    opacity: 0;
    visibility: hidden;
  }
}

@keyframes soon-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
}

@keyframes lit {
  0% {
    fill: var(--nuit-3);
  }
  3%,
  22% {
    fill: var(--orange);
  }
  26%,
  100% {
    fill: var(--nuit-3);
  }
}

@keyframes regroup {
  0%,
  84% {
    transform: none;
  }
  92% {
    transform: var(--out);
  }
  100% {
    transform: none;
  }
}

@keyframes sheet-in {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes fade-in {
  from {
    opacity: 0;
  }
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 0.6;
  }
  80%,
  100% {
    transform: scale(2.6);
    opacity: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    animation-delay: 0ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 1ms !important;
  }

  .xmark .bar,
  .xmark .bar-g {
    animation: none !important;
  }

  .intro {
    display: none;
  }

  .xmark .bar--tr .bar {
    fill: var(--orange);
  }
}

/* ——— Petits écrans ——— */

@media (max-width: 900px) {
  .soon__main {
    grid-template-columns: minmax(0, 1fr);
    align-content: center;
  }

  /* Le X animé devient un grand filigrane qui déborde à droite, derrière le titre
     (un X seul sous le logo faisait doublon ; .soon masque déjà le débordement). */
  .soon__main {
    position: relative;
  }

  .hero__text {
    position: relative;
    z-index: 1;
  }

  .hero__mark {
    position: absolute;
    top: 8px;
    right: -56px;
    width: 230px;
    opacity: 0.45;
    pointer-events: none;
    z-index: 0;
  }
}

@media (max-width: 560px) {
  .topbar__inner {
    min-height: 64px;
  }

  .logo svg {
    height: 24px;
  }

  .topbar .pill-soon {
    display: none;
  }

  .soon__top {
    min-height: 72px;
  }

  .pay-callout {
    padding: 20px;
  }

  .pay-callout .btn {
    width: 100%;
  }

  .stage {
    padding: 12px;
    place-items: start center;
  }

  .card {
    border-radius: 20px;
  }

  .sheet__inner {
    padding: 22px;
  }

  .actions .btn {
    width: 100%;
  }
}

/* ——— Liens du pied de page et page « Mentions légales » ——— */

.soon__foot a,
.site-foot__meta a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.soon__foot a:hover,
.site-foot__meta a:hover {
  color: var(--blanc);
}

.legal h1 {
  margin: 0;
  font-size: clamp(1.75rem, 4.2vw, 2.5rem);
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.legal .lead {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 1.0625rem;
}

.legal h2 {
  margin: 0 0 8px;
  font-size: 1.125rem;
  font-weight: 700;
}

.legal p {
  margin: 0 0 10px;
}

.legal a {
  color: var(--nuit);
  text-underline-offset: 3px;
}

.legal .details {
  max-width: none;
  margin-top: 4px;
}

.legal .details dd {
  max-width: 62%;
}

@media (max-width: 560px) {
  .legal .details div {
    flex-direction: column;
    gap: 2px;
  }

  .legal .details dd {
    max-width: none;
    text-align: left;
  }
}
