/* DailyPromise — site vitrine
   Papier chaud, encre douce, une seule couleur d'accent : la même grammaire que l'app. */

@font-face {
  font-family: "Fraunces";
  src: url("/fonts/fraunces-soft-normal.woff2") format("woff2-variations");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Fraunces";
  src: url("/fonts/fraunces-soft-italic.woff2") format("woff2-variations");
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Figtree";
  src: url("/fonts/figtree.woff2") format("woff2-variations");
  font-weight: 300 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --canvas: #f7f3ec;
  --paper: #fffdf9;
  --surface: #ffffff;
  --ink: #2e2a24;
  --ink-soft: #5b544a;
  --muted: #8a8378;
  --hairline: #dbd5cb;
  --terracotta: #b4552d;
  --terracotta-deep: #8b3c1b;
  --terracotta-wash: #f3dfd3;
  --sage: #7c8b6f;

  --serif: "Fraunces", "Iowan Old Style", "Palatino", Georgia, serif;
  --sans: "Figtree", ui-sans-serif, -apple-system, "Segoe UI", sans-serif;

  --radius: 20px;
  --gutter: clamp(20px, 5vw, 56px);
  --max: 1180px;
}

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

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

body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* Grain de papier, très léger, au-dessus de tout mais sans capter le clic. */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 100;
  opacity: 0.35;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.45 0 0 0 0 0.38 0 0 0 0 0.3 0 0 0 0.09 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

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

a { color: inherit; }

::selection { background: var(--terracotta-wash); color: var(--ink); }

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

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

.skip {
  position: absolute;
  left: -9999px;
  top: 12px;
  z-index: 200;
  background: var(--ink);
  color: var(--canvas);
  padding: 10px 16px;
  border-radius: 999px;
  text-decoration: none;
}
.skip:focus { left: 16px; }

/* ---------- En-tête ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--canvas) 82%, transparent);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease;
}
.site-header.is-scrolled { border-bottom-color: color-mix(in srgb, var(--hairline) 70%, transparent); }

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 68px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.02em;
}

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  box-shadow: 0 0 0 1px rgba(46, 42, 36, 0.08), 0 6px 14px -6px rgba(46, 42, 36, 0.35);
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 15px;
  font-weight: 500;
}
.nav a {
  text-decoration: none;
  color: var(--ink-soft);
  transition: color 0.2s ease;
}
.nav a:hover { color: var(--ink); }

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border-radius: 999px;
  border: 1px solid var(--hairline);
  background: var(--paper);
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}
.pill .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--sage);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--sage) 22%, transparent);
}

@media (max-width: 760px) {
  .nav .nav-link { display: none; }
}

/* ---------- Typographie ---------- */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 1.5px;
  background: var(--terracotta);
}

.display {
  font-family: var(--serif);
  font-weight: 380;
  font-variation-settings: "opsz" 144, "SOFT" 100;
  letter-spacing: -0.035em;
  line-height: 0.98;
  margin: 0;
}
.display em {
  font-style: italic;
  font-weight: 300;
  color: var(--terracotta);
}

.h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-variation-settings: "opsz" 96, "SOFT" 100;
  font-size: clamp(34px, 4.6vw, 56px);
  letter-spacing: -0.03em;
  line-height: 1.04;
  margin: 18px 0 0;
}
.h2 em { font-style: italic; color: var(--terracotta); font-weight: 300; }

.lede {
  font-size: clamp(18px, 1.6vw, 20px);
  color: var(--ink-soft);
  max-width: 34em;
}

/* ---------- Boutons ---------- */

.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 22px 14px 18px;
  border-radius: 16px;
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.btn:hover { transform: translateY(-1px); }

.btn-store {
  background: var(--ink);
  color: var(--canvas);
  box-shadow: 0 14px 30px -16px rgba(46, 42, 36, 0.7);
  cursor: default;
}
.btn-store:hover { transform: none; }
.btn-store small {
  display: block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.04em;
  opacity: 0.7;
  line-height: 1.1;
}
.btn-store span { line-height: 1.15; }
.btn-store svg { width: 22px; height: 22px; }

.btn-ghost {
  color: var(--ink);
  border: 1px solid var(--hairline);
  background: var(--paper);
  padding: 14px 20px;
}
.btn-ghost:hover { border-color: var(--terracotta); color: var(--terracotta-deep); }

/* ---------- Héros ---------- */

.hero {
  position: relative;
  padding: clamp(40px, 7vw, 88px) 0 clamp(64px, 9vw, 120px);
}
.hero::before {
  content: "";
  position: absolute;
  inset: -120px 0 auto;
  height: 720px;
  background: radial-gradient(48% 52% at 72% 38%, rgba(180, 85, 45, 0.14), transparent 70%);
  pointer-events: none;
  z-index: -1;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}

.hero .display {
  font-size: clamp(44px, 6.4vw, 84px);
  margin-top: 22px;
}

.hero .lede { margin: 28px 0 36px; }

.hero-note {
  margin-top: 22px;
  font-size: 14px;
  color: var(--muted);
}

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { order: 2; }
}

/* Révélation au chargement, en cascade */
.reveal { opacity: 0; transform: translateY(18px); animation: rise 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) forwards; }
.reveal.d1 { animation-delay: 0.08s; }
.reveal.d2 { animation-delay: 0.2s; }
.reveal.d3 { animation-delay: 0.34s; }
.reveal.d4 { animation-delay: 0.5s; }
.reveal.d5 { animation-delay: 0.65s; }
@keyframes rise { to { opacity: 1; transform: none; } }

/* ---------- Téléphone ---------- */

.hero-visual {
  position: relative;
  display: grid;
  place-items: center;
}

.phone {
  position: relative;
  width: min(292px, 78vw);
  aspect-ratio: 9 / 19.2;
  border-radius: 52px;
  padding: 11px;
  background: linear-gradient(160deg, #3b352d, #1f1b16);
  box-shadow:
    0 50px 80px -40px rgba(46, 42, 36, 0.55),
    0 30px 60px -30px rgba(180, 85, 45, 0.35),
    inset 0 0 0 1.5px rgba(255, 255, 255, 0.08);
  transform: rotate(-2.5deg);
}

.screen {
  position: relative;
  height: 100%;
  border-radius: 42px;
  overflow: hidden;
  background:
    radial-gradient(90% 40% at 50% 0%, rgba(180, 85, 45, 0.12), transparent 70%),
    var(--canvas);
  display: flex;
  flex-direction: column;
  padding: 44px 18px 18px;
  font-family: var(--sans);
}

.island {
  position: absolute;
  top: 12px;
  left: 50%;
  translate: -50% 0;
  width: 92px;
  height: 26px;
  border-radius: 20px;
  background: #15120e;
}

.app-date { font-size: 11.5px; color: var(--muted); }
.app-hello { font-size: 21px; font-weight: 650; letter-spacing: -0.02em; margin-top: 2px; }

.app-card {
  margin-top: 16px;
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: 18px;
  padding: 18px 16px;
  min-height: 38%;
  display: flex;
  flex-direction: column;
}
.app-label {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 6px;
}
.app-label .tick {
  opacity: 0;
  color: var(--terracotta);
  font-size: 11px;
}
.app-promise {
  font-family: var(--serif);
  font-variation-settings: "opsz" 48, "SOFT" 100;
  font-size: 27px;
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin-top: 14px;
}

.app-streak {
  margin-top: 12px;
  font-size: 11.5px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 6px;
}

.app-note {
  margin-top: 10px;
  border: 1px solid color-mix(in srgb, var(--hairline) 70%, transparent);
  background: rgba(255, 255, 255, 0.6);
  border-radius: 14px;
  padding: 10px 12px;
  font-size: 11.5px;
  color: var(--muted);
}

.app-button {
  margin-top: auto;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-weight: 650;
  font-size: 13.5px;
  color: #fff;
  background: var(--terracotta);
  position: relative;
  overflow: hidden;
}
.app-button .label-kept {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: var(--canvas);
  color: var(--terracotta);
  opacity: 0;
}

/* Le moment « promesse tenue » : un cercle, une coche, une ligne. */
.kept {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 18px;
  background: var(--canvas);
  opacity: 0;
  pointer-events: none;
}
.kept .circle {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: var(--terracotta);
  display: grid;
  place-items: center;
  transform: scale(0.7);
}
.kept svg { width: 42px; height: 32px; }
.kept .check {
  stroke-dasharray: 60;
  stroke-dashoffset: 60;
}
.kept p {
  margin: 0;
  font-family: var(--serif);
  font-size: 22px;
  letter-spacing: -0.02em;
}

/* Le moment se joue quand le téléphone entre à l'écran. */
.screen.play .kept { animation: kept-in 2.1s ease forwards 0.9s; }
.screen.play .kept .circle { animation: pop 0.7s cubic-bezier(0.2, 0.8, 0.2, 1) forwards 1s; }
.screen.play .kept .check { animation: draw 0.55s ease-in-out forwards 1.35s; }
.screen.play .app-label .tick { animation: fadein 0.4s ease forwards 2.8s; }
.screen.play .app-button .label-kept { animation: fadein 0.5s ease forwards 2.7s; }

@keyframes kept-in {
  0% { opacity: 0; }
  12% { opacity: 1; }
  80% { opacity: 1; }
  100% { opacity: 0; }
}
@keyframes pop { to { transform: scale(1); } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fadein { to { opacity: 1; } }

.replay {
  margin-top: 26px;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  background: none;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.replay:hover { color: var(--terracotta); }

.sticky-note {
  position: absolute;
  right: max(-8px, calc(50% - 250px));
  bottom: 14%;
  width: 150px;
  padding: 14px 14px 16px;
  background: #fbeedd;
  border-radius: 4px 14px 14px 14px;
  box-shadow: 0 18px 30px -18px rgba(46, 42, 36, 0.45);
  font-family: var(--serif);
  font-style: italic;
  font-size: 15px;
  line-height: 1.3;
  color: var(--ink-soft);
  transform: rotate(5deg);
}
.sticky-note b { font-style: normal; color: var(--terracotta); font-weight: 600; }

@media (max-width: 520px) {
  .sticky-note { display: none; }
}

/* ---------- Sections ---------- */

.section { padding: clamp(72px, 10vw, 128px) 0; }
.section-head { max-width: 760px; }

.rule { border: 0; border-top: 1px solid var(--hairline); margin: 0; }

/* Les trois temps */
.steps {
  list-style: none;
  padding: 0;
  margin: clamp(40px, 6vw, 72px) 0 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 3vw, 40px);
}
.step {
  position: relative;
  padding-top: 26px;
  border-top: 1px solid var(--ink);
}
.step-num {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: 64px;
  line-height: 1;
  color: var(--terracotta);
}
.step h3 {
  font-family: var(--serif);
  font-weight: 450;
  font-size: 28px;
  letter-spacing: -0.02em;
  margin: 18px 0 8px;
}
.step p { margin: 0; color: var(--ink-soft); }

@media (max-width: 820px) {
  .steps { grid-template-columns: 1fr; }
}

/* Le fil du mois */
.thread {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(36px, 6vw, 88px);
  align-items: center;
}
@media (max-width: 900px) { .thread { grid-template-columns: 1fr; } }

.month {
  background: var(--paper);
  border: 1px solid var(--hairline);
  border-radius: 28px;
  padding: clamp(24px, 4vw, 40px);
  box-shadow: 0 30px 60px -45px rgba(46, 42, 36, 0.5);
}
.month-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 22px;
}
.month-head strong { font-family: var(--serif); font-weight: 450; font-size: 24px; letter-spacing: -0.02em; }
.month-head span { color: var(--muted); font-size: 14px; }

.dots {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: clamp(8px, 1.4vw, 12px);
  max-width: 340px;
}
.nowrap { white-space: nowrap; }
.dots i {
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1.5px solid var(--hairline);
  background: transparent;
  transform: scale(0.6);
  opacity: 0;
  transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.5s ease, background 0.4s ease, border-color 0.4s ease;
}
.dots i.kept-dot { background: var(--terracotta); border-color: var(--terracotta); }
.dots i.today { border-color: var(--terracotta); border-style: dashed; }
.dots i.future { border-color: color-mix(in srgb, var(--hairline) 55%, transparent); }
.month.is-visible .dots i { transform: scale(1); opacity: 1; }

.month-foot {
  margin-top: 24px;
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--muted);
}
.month-foot span { display: inline-flex; align-items: center; gap: 8px; }
.month-foot i { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }

/* Citation */
.quote {
  text-align: center;
  padding: clamp(80px, 12vw, 150px) 0;
}
.quote blockquote {
  margin: 0 auto;
  max-width: 900px;
  font-family: var(--serif);
  font-weight: 330;
  font-variation-settings: "opsz" 144, "SOFT" 100;
  font-size: clamp(32px, 4.8vw, 62px);
  line-height: 1.1;
  letter-spacing: -0.03em;
}
.quote blockquote em { font-style: italic; color: var(--terracotta); }
.quote .mark {
  width: 56px;
  height: 56px;
  margin: 0 auto 30px;
}

/* Cartes */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: clamp(40px, 6vw, 64px);
}
@media (max-width: 900px) { .cards { grid-template-columns: 1fr; } }

.card {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  padding: 28px 26px 30px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: 0 24px 40px -30px rgba(46, 42, 36, 0.45); }
.card .icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: var(--terracotta-wash);
  display: grid;
  place-items: center;
  color: var(--terracotta-deep);
}
.card .icon svg { width: 22px; height: 22px; }
.card h3 {
  font-family: var(--serif);
  font-weight: 450;
  font-size: 24px;
  letter-spacing: -0.02em;
  margin: 22px 0 8px;
}
.card p { margin: 0; color: var(--ink-soft); font-size: 16px; }

/* Confidentialité : le carnet sous clé, seul bloc à l'encre sur la page */
.vault {
  background:
    radial-gradient(70% 60% at 100% 0%, rgba(180, 85, 45, 0.22), transparent 60%),
    var(--ink);
  color: #f4ede3;
  border-radius: 36px;
  padding: clamp(36px, 6vw, 80px) clamp(24px, 5vw, 72px);
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(32px, 6vw, 80px);
}
@media (max-width: 900px) { .vault { grid-template-columns: 1fr; } }

.vault .eyebrow { color: #e3a684; }
.vault .h2 { color: #fffaf3; }
.vault .h2 em { color: #e3a684; }
.vault-intro p { margin: 22px 0 0; color: #cfc6b9; font-size: 18px; max-width: 30em; }
.vault-link {
  display: inline-block;
  margin-top: 26px;
  color: #fffaf3;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 250, 243, 0.35);
  padding-bottom: 2px;
  transition: border-color 0.2s ease;
}
.vault-link:hover { border-color: #e3a684; }

.vault-list { list-style: none; margin: 0; padding: 0; }
.vault-list li {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  gap: 16px;
  padding: 20px 0;
  border-top: 1px solid rgba(244, 237, 227, 0.14);
}
.vault-list li:first-child { border-top: 0; padding-top: 0; }
.vault-list h3 {
  margin: 0 0 4px;
  font-family: var(--serif);
  font-weight: 450;
  font-size: 22px;
  letter-spacing: -0.015em;
  color: #fffaf3;
}
.vault-list p { margin: 0; color: #cfc6b9; font-size: 16px; }

/* Pastille : barrée par défaut, cochée pour « toi », à moitié pour l'éditeur. */
.vault-list .mark {
  width: 26px;
  height: 26px;
  margin-top: 3px;
  border-radius: 50%;
  border: 1.5px solid rgba(244, 237, 227, 0.35);
  position: relative;
}
.vault-list .mark::after {
  content: "";
  position: absolute;
  left: 6px;
  right: 6px;
  top: 11px;
  height: 1.5px;
  background: rgba(244, 237, 227, 0.55);
}
.vault-list .yes .mark { background: var(--terracotta); border-color: var(--terracotta); }
.vault-list .yes .mark::after {
  left: 8px;
  top: 6px;
  right: auto;
  width: 6px;
  height: 10px;
  background: none;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(45deg);
}
.vault-list .partial .mark { border-style: dashed; border-color: #e3a684; }
.vault-list .partial .mark::after { background: #e3a684; }

.vault-facts {
  grid-column: 1 / -1;
  list-style: none;
  margin: 0;
  padding: 26px 0 0;
  border-top: 1px solid rgba(244, 237, 227, 0.14);
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.vault-facts li {
  font-size: 14px;
  color: #f4ede3;
  border: 1px solid rgba(244, 237, 227, 0.22);
  border-radius: 999px;
  padding: 7px 14px;
}

/* FAQ */
.faq {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(32px, 6vw, 88px);
}
@media (max-width: 900px) { .faq { grid-template-columns: 1fr; } }

.faq-list details {
  border-bottom: 1px solid var(--hairline);
  padding: 4px 0;
}
.faq-list details:first-child { border-top: 1px solid var(--hairline); }
.faq-list summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 18px 0;
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 420;
  letter-spacing: -0.015em;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "";
  flex: none;
  width: 12px;
  height: 12px;
  border-right: 1.5px solid var(--terracotta);
  border-bottom: 1.5px solid var(--terracotta);
  transform: rotate(45deg) translate(-3px, -3px);
  transition: transform 0.3s ease;
}
.faq-list details[open] summary::after { transform: rotate(-135deg) translate(-3px, -3px); }
.faq-list details p { margin: 0 0 20px; color: var(--ink-soft); max-width: 40em; }

/* Bandeau final */
.closing {
  margin: clamp(40px, 6vw, 80px) 0 0;
  border-radius: 36px;
  background:
    radial-gradient(60% 90% at 85% 10%, rgba(255, 255, 255, 0.16), transparent 60%),
    linear-gradient(150deg, var(--terracotta), var(--terracotta-deep));
  color: #fff8f2;
  padding: clamp(48px, 8vw, 96px) clamp(28px, 6vw, 80px);
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) auto;
  gap: 32px;
  align-items: end;
  position: relative;
  overflow: hidden;
}
.closing::after {
  content: "";
  position: absolute;
  right: -60px;
  bottom: -90px;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.22);
}
.closing h2 {
  font-family: var(--serif);
  font-weight: 350;
  font-variation-settings: "opsz" 144, "SOFT" 100;
  font-size: clamp(38px, 5.6vw, 72px);
  line-height: 1;
  letter-spacing: -0.035em;
  margin: 0;
}
.closing h2 em { font-style: italic; font-weight: 300; }
.closing p { margin: 18px 0 0; color: rgba(255, 248, 242, 0.82); max-width: 30em; }
.closing .btn-light {
  background: #fff8f2;
  color: var(--terracotta-deep);
  position: relative;
  z-index: 1;
}
@media (max-width: 760px) { .closing { grid-template-columns: 1fr; } }

/* ---------- Pied de page ---------- */

.site-footer {
  padding: 56px 0 44px;
  margin-top: clamp(64px, 9vw, 112px);
  border-top: 1px solid var(--hairline);
  font-size: 15px;
  color: var(--ink-soft);
}
.footer-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 28px 48px;
}
.footer-grid p { margin: 12px 0 0; max-width: 22em; color: var(--muted); }
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  align-items: flex-start;
}
.footer-links a { text-decoration: none; }
.footer-links a:hover { color: var(--terracotta); }
.footer-base {
  margin-top: 40px;
  font-size: 13px;
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
}

/* ---------- Pages juridiques ---------- */

.doc {
  max-width: 720px;
  margin: 0 auto;
  padding: clamp(48px, 8vw, 96px) var(--gutter) 0;
}
.doc .display { font-size: clamp(42px, 6vw, 68px); margin-top: 18px; }
.doc .updated { color: var(--muted); font-size: 15px; margin: 18px 0 0; }
.doc .intro { font-size: 19px; color: var(--ink-soft); margin: 30px 0 0; }

.doc h2 {
  font-family: var(--serif);
  font-weight: 450;
  font-size: 28px;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 56px 0 14px;
  padding-top: 26px;
  border-top: 1px solid var(--hairline);
}
.doc h3 { font-size: 17px; margin: 28px 0 8px; }
.doc p, .doc li { color: var(--ink-soft); }
.doc ul { padding-left: 1.2em; }
.doc li { margin: 6px 0; }
.doc li::marker { color: var(--terracotta); }
.doc strong { color: var(--ink); font-weight: 650; }
.doc a { color: var(--terracotta-deep); text-underline-offset: 3px; }

.doc table {
  width: 100%;
  border-collapse: collapse;
  margin: 18px 0;
  font-size: 15px;
}
.doc th, .doc td {
  text-align: left;
  vertical-align: top;
  padding: 12px 10px;
  border-bottom: 1px solid var(--hairline);
  color: var(--ink-soft);
}
.doc th { color: var(--ink); font-weight: 650; font-size: 13px; letter-spacing: 0.04em; text-transform: uppercase; }
.table-scroll { overflow-x: auto; }

.callout {
  margin: 28px 0;
  padding: 22px 24px;
  border-radius: var(--radius);
  background: var(--paper);
  border: 1px solid var(--hairline);
}
.callout p { margin: 0; }
.callout p + p { margin-top: 8px; }

.toc {
  margin: 36px 0 0;
  padding: 22px 24px;
  border-radius: var(--radius);
  background: var(--paper);
  border: 1px solid var(--hairline);
  columns: 2 220px;
  column-gap: 32px;
  font-size: 15px;
}
.toc a { display: block; padding: 4px 0; text-decoration: none; color: var(--ink-soft); break-inside: avoid; }
.toc a:hover { color: var(--terracotta); }

/* ---------- Mouvement réduit ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; animation: none; }
  .kept { display: none; }
  .app-label .tick, .app-button .label-kept, .screen.play .app-label .tick, .screen.play .app-button .label-kept { animation: none; opacity: 1; }
  .dots i { transition: none; opacity: 1; transform: none; }
  .card, .btn { transition: none; }
}
