/* ══════════════════════════════════════════════════════════════
   JOYEUX ANNIVERSAIRE MAÎTRE ODRIC HOUNDEKON - JURISTE DIGIWEB SARL
   Thème « Justice & Droit » - l'élégance d'une salle d'audience
   Palette  : bleu nuit encre #0E1B33 · parchemin #F4EEE2 ·
              or/laiton #C9A24B · bordeaux #7A2E33 (accent)
   Polices  : Fraunces (titres, gravité) + Outfit (texte)
   ══════════════════════════════════════════════════════════════ */

:root {
  --ink: #0e1b33;
  --ink-2: #16264a;
  --parchment: #f4eee2;
  --parchment-2: #eae0cc;
  --ink-soft: #4a5468;
  --slate: #2b3a55;
  --night: #0b1424;
  --night-2: #101d34;
  --gold: #c9a24b;
  --gold-soft: #e8ce8e;
  --gold-deep: #8a6a1e;
  --burgundy: #7a2e33;
  --burgundy-soft: #a04a50;
  --cork: #6a4f2c;

  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Outfit", "Segoe UI", sans-serif;

  --radius: 22px;
  --shadow-soft: 0 18px 50px rgba(14, 27, 51, 0.16);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--parchment);
  color: var(--ink);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

.container { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.container--narrow { max-width: 820px; }

section { position: relative; padding: 110px 0; }

/* ─── Canvas confettis ─────────────────────────────────────── */
#confetti-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 900;
}

/* ══════════════════════════════════════════════════════════════
   INTRO - Les portes du tribunal s'ouvrent
   ══════════════════════════════════════════════════════════════ */
.courtroom { position: fixed; inset: 0; z-index: 2000; pointer-events: none; }

.courtroom__door {
  position: absolute;
  top: 0;
  width: 50.5%;
  height: 100%;
  background: repeating-linear-gradient(180deg, #12213f 0px, #12213f 46px, #0e1b33 46px, #0e1b33 92px);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: inset 0 0 120px rgba(0, 0, 0, 0.6);
  transition: transform 1.2s var(--ease);
}

.courtroom__door--left { left: 0; border-right: 2px solid var(--gold); }
.courtroom__door--right { right: 0; border-left: 2px solid var(--gold); }

.courtroom__word {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 3vw, 2.2rem);
  letter-spacing: 0.4em;
  color: rgba(201, 162, 75, 0.8);
  writing-mode: vertical-rl;
  text-transform: uppercase;
}

.courtroom__seal {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: var(--gold-soft);
  transition: opacity 0.5s ease;
  z-index: 1;
}

.courtroom__seal i { font-size: 3.4rem; color: var(--gold); animation: sealPulse 2.4s ease-in-out infinite; }
.courtroom__seal p { margin-top: 14px; font-family: var(--font-display); font-style: italic; letter-spacing: 0.05em; }

.courtroom__count {
  margin-top: 12px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(4.5rem, 17vw, 8.5rem);
  line-height: 1;
  color: var(--gold-soft);
  text-shadow: 0 8px 30px rgba(201, 162, 75, 0.4);
}

.courtroom__count.tick { animation: countTick 0.9s var(--ease); }

@keyframes countTick {
  0% { transform: scale(1.55); opacity: 0.15; }
  45% { transform: scale(1); opacity: 1; }
  100% { transform: scale(1); opacity: 1; }
}

.courtroom.open .courtroom__door--left { transform: translateX(-100%); }
.courtroom.open .courtroom__door--right { transform: translateX(100%); }
.courtroom.open .courtroom__seal { opacity: 0; }
.courtroom.done { display: none; }

/* ─── Étincelles dorées ─────────────────────────────────────── */
.spark {
  position: absolute;
  width: 22px;
  height: 22px;
  background: linear-gradient(135deg, var(--gold), var(--gold-soft));
  clip-path: polygon(50% 0%, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0% 50%, 38% 38%);
  animation: twinkle 3.2s ease-in-out infinite;
  pointer-events: none;
}

.spark--1 { top: 14%; left: 8%; animation-delay: 0s; }
.spark--3 { top: 20%; right: 9%; width: 17px; height: 17px; animation-delay: 2s; }
.spark--4 { top: 22%; left: 12%; animation-delay: 0.6s; }
.spark--5 { bottom: 20%; right: 10%; width: 15px; height: 15px; animation-delay: 1.7s; }

@keyframes twinkle {
  0%, 100% { transform: scale(0.55) rotate(0deg); opacity: 0.35; }
  50% { transform: scale(1.15) rotate(24deg); opacity: 1; }
}

@keyframes sealPulse {
  0%, 100% { transform: scale(1) rotate(0deg); }
  50% { transform: scale(1.08) rotate(-6deg); }
}

/* ─── Titres de section génériques ─────────────────────────── */
.eyebrow {
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold-deep);
  text-align: center;
  margin-bottom: 18px;
}

.eyebrow--gold { color: var(--gold); }

/* ─── Boutons ──────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  min-height: 50px;
  padding: 14px 26px;
  border-radius: 999px;
  border: none;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.22s var(--ease), box-shadow 0.22s var(--ease), background 0.22s var(--ease);
}

.btn:focus-visible, .floating__btn:focus-visible, .depo__nav:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

.btn--primary {
  color: var(--parchment);
  background: linear-gradient(120deg, var(--ink-2), var(--ink));
  box-shadow: 0 12px 30px rgba(14, 27, 51, 0.35);
}

.btn--primary:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(14, 27, 51, 0.48); }

.btn--outline {
  color: var(--ink-2);
  background: rgba(255, 255, 255, 0.7);
  border: 1.5px solid rgba(201, 162, 75, 0.55);
}

.btn--outline:hover { transform: translateY(-3px); background: #fff; border-color: var(--gold); }

/* ══════════════════════════════════════════════════════════════
   HERO - CLAIR · « Citation à comparaître »
   ══════════════════════════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 120px 24px 90px;
  background:
    radial-gradient(ellipse 60% 55% at 82% 86%, rgba(201, 162, 75, 0.22), transparent 70%),
    radial-gradient(ellipse 46% 42% at 10% 8%, rgba(14, 27, 51, 0.1), transparent 70%),
    linear-gradient(160deg, #efe6d4 0%, #e6dabf 60%, #ddcfae 100%);
}

.hero__watermark {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  font-size: 52rem;
  line-height: 1;
  color: rgba(14, 27, 51, 0.035);
  pointer-events: none;
  z-index: 0;
}

.hero__glow { position: absolute; border-radius: 50%; pointer-events: none; filter: blur(14px); }
.hero__glow--gold {
  width: 620px; height: 620px; top: -220px; left: -180px;
  background: radial-gradient(circle, rgba(201, 162, 75, 0.3), transparent 65%);
  animation: glowDrift 10s var(--ease) infinite alternate;
}
.hero__glow--navy {
  width: 480px; height: 480px; bottom: -160px; right: -140px;
  background: radial-gradient(circle, rgba(14, 27, 51, 0.18), transparent 65%);
  animation: glowDrift 12s var(--ease) infinite alternate-reverse;
}

@keyframes glowDrift {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(52px, 36px) scale(1.12); }
}

/* La feuille officielle */
.summons {
  position: relative;
  z-index: 2;
  width: min(760px, 100%);
  margin: 0 auto;
  padding: 54px clamp(26px, 5vw, 68px) 40px;
  background:
    repeating-linear-gradient(0deg, transparent 0 33px, rgba(14, 27, 51, 0.03) 33px 34px),
    linear-gradient(180deg, #fffdf7, #fbf6ea);
  border-radius: 4px;
  box-shadow:
    0 2px 0 rgba(14, 27, 51, 0.06),
    0 40px 80px rgba(14, 27, 51, 0.28),
    inset 0 0 0 1px rgba(201, 162, 75, 0.35),
    inset 0 0 0 7px #fffdf7,
    inset 0 0 0 8px rgba(201, 162, 75, 0.25);
}

/* Photo d'identité agrafée en haut à droite */
.summons__photo {
  position: absolute;
  top: -26px;
  right: -18px;
  width: clamp(120px, 20vw, 168px);
  padding: 9px 9px 30px;
  background: #fff;
  border: 1px solid rgba(14, 27, 51, 0.12);
  box-shadow: 0 16px 34px rgba(14, 27, 51, 0.3);
  transform: rotate(4deg);
  transition: transform 0.4s var(--ease);
  z-index: 4;
}

.summons__photo:hover { transform: rotate(0deg) scale(1.03); }

.summons__photo img {
  width: 100%;
  aspect-ratio: 3 / 3.5;
  object-fit: cover;
  object-position: top center;
  filter: grayscale(0.15) contrast(1.03);
}

.summons__clip {
  position: absolute;
  top: -16px;
  left: 50%;
  transform: translateX(-50%) rotate(8deg);
  font-size: 1.9rem;
  color: #8a94a6;
  z-index: 5;
}

.summons__photo-cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 7px;
  text-align: center;
  font-family: var(--font-body);
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-deep);
}

.summons__letterhead {
  text-align: center;
  margin-bottom: 26px;
}

.summons__court {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold-deep);
}

.summons__crest {
  width: 54px;
  height: 54px;
  margin: 12px auto 10px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--ink);
  background: radial-gradient(circle at 35% 30%, var(--gold-soft), var(--gold));
  box-shadow: 0 8px 20px rgba(138, 106, 30, 0.4);
  border: 2px solid rgba(255, 255, 255, 0.7);
  font-size: 1.3rem;
}

.summons__case {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--slate);
  border-top: 1px solid rgba(14, 27, 51, 0.15);
  border-bottom: 1px solid rgba(14, 27, 51, 0.15);
  padding: 6px 0;
}

.summons__kicker {
  text-align: center;
  font-family: var(--font-display);
  font-weight: 600;
  font-style: italic;
  font-size: clamp(1.1rem, 2.2vw, 1.4rem);
  letter-spacing: 0.02em;
  color: var(--burgundy);
  margin-bottom: 6px;
}

.summons__title {
  text-align: center;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.05rem, 2.2vw, 1.35rem);
  color: var(--ink-soft);
  line-height: 1.3;
}

.summons__name {
  display: block;
  margin-top: 6px;
  font-size: clamp(2.1rem, 6vw, 3.6rem);
  font-weight: 600;
  font-style: normal;
  letter-spacing: -0.01em;
  background: linear-gradient(92deg, var(--burgundy) 0%, var(--ink-2) 48%, var(--gold-deep) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1.05;
}

.summons__charge {
  max-width: 52ch;
  margin: 24px auto 0;
  text-align: center;
  font-size: 1.08rem;
  font-weight: 300;
  color: var(--ink-soft);
}

.summons__charge strong { font-weight: 600; color: var(--ink); }
.summons__charge em { font-style: italic; color: var(--burgundy); font-weight: 500; }
.summons__charge-icon { color: var(--gold-deep); margin-left: 4px; }

.summons__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  margin-top: 34px;
}

.summons__foot {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-top: 40px;
  padding-top: 22px;
  border-top: 1px dashed rgba(14, 27, 51, 0.2);
}

.summons__sign { text-align: left; }
.summons__sign-name {
  display: block;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.35rem;
  color: var(--ink);
  transform: rotate(-3deg);
  transform-origin: left;
}
.summons__sign-role {
  display: block;
  margin-top: 8px;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.summons__stamp {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 112px;
  height: 112px;
  border: 4px solid var(--burgundy-soft);
  border-radius: 50%;
  color: var(--burgundy);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.92rem;
  line-height: 1.15;
  text-align: center;
  letter-spacing: 0.04em;
  transform: rotate(-14deg);
  opacity: 0.85;
  box-shadow: inset 0 0 0 2px rgba(160, 74, 80, 0.4);
}

/* ══════════════════════════════════════════════════════════════
   SECTIONS SOMBRES (base commune)
   ══════════════════════════════════════════════════════════════ */
.section--dark {
  background:
    radial-gradient(ellipse 55% 60% at 85% 10%, rgba(201, 162, 75, 0.12), transparent 70%),
    radial-gradient(ellipse 45% 50% at 8% 90%, rgba(122, 46, 51, 0.14), transparent 70%),
    linear-gradient(160deg, var(--night) 0%, var(--night-2) 100%);
  overflow: hidden;
}

.tribute__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(22px);
  pointer-events: none;
}
.tribute__glow--1 { width: 460px; height: 460px; top: -180px; right: -120px; background: radial-gradient(circle, rgba(201, 162, 75, 0.16), transparent 65%); }
.tribute__glow--2 { width: 380px; height: 380px; bottom: -140px; left: -100px; background: radial-gradient(circle, rgba(122, 46, 51, 0.2), transparent 65%); }

/* ══════════════════════════════════════════════════════════════
   LE SERMENT - SOMBRE, interactif
   ══════════════════════════════════════════════════════════════ */
.oath {
  text-align: center;
  overflow: hidden;
  background:
    radial-gradient(ellipse 50% 60% at 50% 0%, rgba(201, 162, 75, 0.16), transparent 70%),
    linear-gradient(160deg, var(--night) 0%, var(--night-2) 100%);
}

.oath__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.6rem, 3.6vw, 2.4rem);
  line-height: 1.24;
  color: var(--parchment);
  margin-bottom: 40px;
}
.oath__title em { font-style: italic; color: var(--gold-soft); }

.oath__panel {
  position: relative;
  max-width: 620px;
  margin: 0 auto;
  padding: 44px 30px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(201, 162, 75, 0.3);
  backdrop-filter: blur(4px);
}

.oath__hand { font-size: 3rem; color: var(--gold); transition: transform 0.5s var(--ease); }
.oath__hand.raised { animation: handRaise 0.7s var(--ease); }

@keyframes handRaise {
  0% { transform: translateY(0) rotate(0); }
  40% { transform: translateY(-14px) rotate(-12deg); }
  100% { transform: translateY(0) rotate(0); }
}

.oath__text {
  margin: 22px auto 30px;
  max-width: 46ch;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.12rem;
  color: rgba(244, 238, 226, 0.9);
}

.oath__panel.sworn .oath__btn { display: none; }

.oath__stamp {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(-16deg) scale(2.4);
  opacity: 0;
  pointer-events: none;
  display: grid;
  place-items: center;
  width: 150px;
  height: 150px;
  border: 5px solid var(--burgundy-soft);
  border-radius: 50%;
  color: var(--burgundy-soft);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.1rem;
  line-height: 1.1;
  letter-spacing: 0.05em;
  text-align: center;
}

.oath__panel.sworn .oath__stamp { animation: stampDown 0.5s var(--ease) forwards; }

@keyframes stampDown {
  0% { opacity: 0; transform: translate(-50%, -50%) rotate(-16deg) scale(2.4); }
  60% { opacity: 0.95; transform: translate(-50%, -50%) rotate(-16deg) scale(0.9); }
  100% { opacity: 0.9; transform: translate(-50%, -50%) rotate(-16deg) scale(1); }
}

/* ══════════════════════════════════════════════════════════════
   LE RÉQUISITOIRE - CLAIR (hommage) + compteurs
   ══════════════════════════════════════════════════════════════ */
.tribute { background: linear-gradient(180deg, #fbf7ee 0%, var(--parchment) 100%); }

.tribute__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.6rem, 3.6vw, 2.5rem);
  line-height: 1.22;
  text-align: center;
  color: var(--ink);
  margin-bottom: 40px;
}
.tribute__title em { font-style: italic; color: var(--burgundy); }

.tribute__body p {
  font-size: 1.14rem;
  font-weight: 300;
  color: var(--ink-soft);
  margin-bottom: 26px;
  text-align: center;
}
.tribute__body p strong { font-weight: 600; color: var(--gold-deep); }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 54px; }

.stat {
  text-align: center;
  padding: 26px 14px;
  background: #fffdf7;
  border: 1px solid rgba(201, 162, 75, 0.35);
  border-radius: 16px;
  box-shadow: 0 12px 30px rgba(14, 27, 51, 0.08);
}

.stat__num {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  color: var(--ink);
  line-height: 1;
}
.stat__num--inf { color: var(--gold-deep); }
.stat__suf { font-family: var(--font-display); font-size: 1.6rem; color: var(--gold-deep); }
.stat__label { display: block; margin-top: 10px; font-size: 0.82rem; font-weight: 500; color: var(--ink-soft); }

/* ══════════════════════════════════════════════════════════════
   LE CASIER JUDICIAIRE - SOMBRE (dossier)
   ══════════════════════════════════════════════════════════════ */
.rapsheet {
  background:
    radial-gradient(ellipse 60% 50% at 85% 8%, rgba(201, 162, 75, 0.1), transparent 70%),
    linear-gradient(160deg, var(--night) 0%, var(--night-2) 100%);
  overflow: hidden;
}

.rapsheet__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.7rem, 3.6vw, 2.6rem);
  text-align: center;
  color: var(--parchment);
}
.rapsheet__title em { font-style: italic; color: var(--gold); }

.rapsheet__sub {
  text-align: center;
  font-weight: 300;
  color: rgba(244, 238, 226, 0.72);
  margin: 14px auto 48px;
  max-width: 54ch;
}

.rapsheet__folder {
  max-width: 860px;
  margin: 0 auto;
  background: repeating-linear-gradient(0deg, transparent 0 30px, rgba(14, 27, 51, 0.035) 30px 31px), #fdf8ec;
  border-radius: 6px 6px 10px 10px;
  border-top: 6px solid var(--gold);
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.45);
  overflow: hidden;
}

.rapsheet__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 26px 30px;
  border-bottom: 2px dashed rgba(14, 27, 51, 0.2);
}

.rapsheet__id-label {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-deep);
  font-weight: 700;
}
.rapsheet__id strong { display: block; font-family: var(--font-display); font-size: 1.5rem; color: var(--ink); margin: 4px 0 2px; }
.rapsheet__id-role { font-size: 0.9rem; color: var(--ink-soft); }

.rapsheet__mug {
  position: relative;
  flex-shrink: 0;
  width: 96px;
  height: 96px;
  border-radius: 8px;
  overflow: hidden;
  border: 3px solid var(--ink);
  filter: grayscale(0.4) contrast(1.05);
}
.rapsheet__mug img { width: 100%; height: 100%; object-fit: cover; }
.rapsheet__mug-tag {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: rgba(14, 27, 51, 0.82);
  color: var(--gold-soft);
  font-size: 0.56rem;
  letter-spacing: 0.08em;
  text-align: center;
  padding: 2px 0;
}

.rapsheet__list { list-style: none; padding: 12px 30px 8px; }

.rapsheet__row {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 20px 0;
  border-bottom: 1px solid rgba(14, 27, 51, 0.1);
}
.rapsheet__row:last-child { border-bottom: none; }

.rapsheet__chef {
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: linear-gradient(140deg, var(--ink-2), var(--ink));
  color: var(--gold-soft);
  font-size: 1.1rem;
}
.rapsheet__row:nth-child(3n) .rapsheet__chef { background: linear-gradient(140deg, var(--burgundy-soft), var(--burgundy)); color: #fff; }

.rapsheet__data h3 { font-family: var(--font-display); font-size: 1.14rem; color: var(--ink); margin-bottom: 3px; }
.rapsheet__data p { font-size: 0.95rem; font-weight: 300; color: var(--ink-soft); }

.rapsheet__verdict {
  margin-left: auto;
  flex-shrink: 0;
  align-self: center;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--burgundy);
  border: 1.5px solid var(--burgundy);
  border-radius: 999px;
  padding: 5px 12px;
  transform: rotate(-4deg);
  white-space: nowrap;
}

.rapsheet__foot {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px 30px 24px;
  background: rgba(14, 27, 51, 0.05);
  font-family: var(--font-display);
  font-style: italic;
  color: var(--ink-2);
}
.rapsheet__foot i { color: var(--gold-deep); font-size: 1.2rem; }

/* ══════════════════════════════════════════════════════════════
   L'INSTRUCTION - SOMBRE (chronologie)
   ══════════════════════════════════════════════════════════════ */
.instruction {
  background:
    radial-gradient(ellipse 50% 50% at 10% 10%, rgba(201, 162, 75, 0.1), transparent 70%),
    linear-gradient(160deg, var(--night-2) 0%, var(--night) 100%);
  overflow: hidden;
}

.instruction__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.8rem, 4vw, 2.7rem);
  text-align: center;
  color: var(--parchment);
}
.instruction__title em { font-style: italic; color: var(--gold); }

.instruction__sub {
  text-align: center;
  font-weight: 300;
  color: rgba(244, 238, 226, 0.72);
  margin: 14px auto 60px;
  max-width: 56ch;
}

.chrono { position: relative; max-width: 760px; margin: 0 auto; padding-left: 8px; }

.chrono__line {
  position: absolute;
  left: 27px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: linear-gradient(180deg, transparent, var(--gold), transparent);
}

.chrono__item { position: relative; display: flex; gap: 24px; padding-bottom: 34px; }
.chrono__item:last-child { padding-bottom: 0; }

.chrono__dot {
  position: relative;
  z-index: 1;
  flex-shrink: 0;
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(140deg, var(--ink-2), var(--ink));
  border: 2px solid var(--gold);
  color: var(--gold-soft);
  font-size: 1.15rem;
}
.chrono__dot--accent { background: radial-gradient(circle at 35% 30%, var(--gold-soft), var(--gold)); color: var(--ink); animation: sealPulse 3s ease-in-out infinite; }

.chrono__card {
  flex: 1;
  padding: 20px 24px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(201, 162, 75, 0.24);
  border-radius: 14px;
  transition: transform 0.4s var(--ease), border-color 0.4s var(--ease);
}
.chrono__card:hover { transform: translateX(6px); border-color: rgba(201, 162, 75, 0.6); }
.chrono__card--accent { background: rgba(201, 162, 75, 0.1); border-color: rgba(201, 162, 75, 0.5); }

.chrono__act { display: inline-block; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); margin-bottom: 8px; }
.chrono__card h3 { font-family: var(--font-display); font-size: 1.2rem; color: var(--parchment); margin-bottom: 6px; }
.chrono__card p { font-size: 0.97rem; font-weight: 300; color: rgba(244, 238, 226, 0.78); }

/* ══════════════════════════════════════════════════════════════
   LE CONTRE-INTERROGATOIRE - CLAIR (quiz)
   ══════════════════════════════════════════════════════════════ */
.quiz { background: linear-gradient(180deg, var(--parchment) 0%, #fbf7ee 100%); }

.quiz__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.7rem, 3.6vw, 2.5rem);
  text-align: center;
  color: var(--ink);
}
.quiz__title em { font-style: italic; color: var(--burgundy); }

.quiz__sub { text-align: center; font-weight: 300; color: var(--ink-soft); margin: 14px auto 42px; max-width: 52ch; }

.quiz__card {
  max-width: 640px;
  margin: 0 auto;
  padding: 30px 30px 34px;
  background: #fffdf7;
  border: 1px solid rgba(201, 162, 75, 0.4);
  border-radius: 20px;
  box-shadow: 0 24px 60px rgba(14, 27, 51, 0.12);
}

.quiz__progress { height: 7px; background: rgba(14, 27, 51, 0.1); border-radius: 999px; overflow: hidden; }
.quiz__progress-bar { height: 100%; width: 20%; background: linear-gradient(90deg, var(--gold), var(--gold-deep)); border-radius: 999px; transition: width 0.4s var(--ease); }

.quiz__meta { display: flex; justify-content: space-between; margin: 14px 2px 22px; font-size: 0.82rem; font-weight: 600; color: var(--ink-soft); }

.quiz__question { font-family: var(--font-display); font-size: 1.28rem; color: var(--ink); margin-bottom: 22px; line-height: 1.35; }

.quiz__options { display: flex; flex-direction: column; gap: 12px; }

.quiz__option {
  text-align: left;
  padding: 15px 20px;
  border-radius: 12px;
  border: 1.5px solid rgba(14, 27, 51, 0.16);
  background: #fff;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--slate);
  cursor: pointer;
  transition: transform 0.18s var(--ease), border-color 0.18s var(--ease), background 0.18s var(--ease);
}
.quiz__option:hover:not(:disabled) { transform: translateX(4px); border-color: var(--gold); background: #fffdf3; }
.quiz__option.correct { border-color: #2e7d52; background: #eaf6ef; color: #1c5637; font-weight: 600; }
.quiz__option.wrong { border-color: var(--burgundy); background: #fbeeef; color: var(--burgundy); }
.quiz__option:disabled { cursor: default; }

.quiz__result { text-align: center; padding: 10px 4px; }
.quiz__result-icon {
  width: 74px;
  height: 74px;
  margin: 0 auto 18px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, var(--gold-soft), var(--gold));
  color: var(--ink);
  font-size: 1.8rem;
  box-shadow: 0 12px 30px rgba(201, 162, 75, 0.5);
}
.quiz__result h3 { font-family: var(--font-display); font-size: 1.6rem; color: var(--ink); margin-bottom: 10px; }
.quiz__result p { color: var(--ink-soft); margin-bottom: 24px; font-weight: 300; }

/* ══════════════════════════════════════════════════════════════
   LES TÉMOIGNAGES - CLAIR (carrousel de dépositions)
   ══════════════════════════════════════════════════════════════ */
.depo {
  text-align: center;
  background: linear-gradient(180deg, #fbf7ee 0%, var(--parchment) 60%, var(--parchment-2) 100%);
}

.depo__title { font-family: var(--font-display); font-weight: 500; font-size: clamp(1.7rem, 3.6vw, 2.5rem); color: var(--ink); }
.depo__title em { font-style: italic; color: var(--burgundy); }
.depo__sub { font-weight: 300; color: var(--ink-soft); margin: 14px auto 44px; max-width: 54ch; }

.depo__stage { position: relative; max-width: 620px; margin: 0 auto; }

/* La feuille de déposition, façon papier officiel à marge rouge */
.depo__paper {
  position: relative;
  text-align: left;
  min-height: 340px;
  padding: 30px 34px 34px 60px;
  background:
    linear-gradient(90deg, transparent 44px, rgba(160, 74, 80, 0.4) 44px, rgba(160, 74, 80, 0.4) 46px, transparent 46px),
    repeating-linear-gradient(0deg, #fffdf7 0 37px, #f4ecdb 37px 38px);
  border-radius: 6px;
  border: 1px solid rgba(201, 162, 75, 0.4);
  box-shadow: 0 26px 60px rgba(14, 27, 51, 0.16);
  overflow: hidden;
}

.depo__head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  padding-bottom: 14px;
  margin-bottom: 20px;
  border-bottom: 2px solid rgba(14, 27, 51, 0.14);
}
.depo__head-title { font-size: 0.74rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-deep); }
.depo__head-title i { margin-right: 6px; }
.depo__num { font-family: var(--font-display); font-style: italic; color: var(--burgundy); font-size: 0.95rem; }

.depo__body { min-height: 170px; }

.depo__text {
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 2.2vw, 1.24rem);
  font-style: italic;
  line-height: 1.55;
  color: var(--slate);
  white-space: pre-line;
}

.depo__witness { margin-top: 22px; padding-top: 16px; border-top: 1px dashed rgba(14, 27, 51, 0.22); }
.depo__witness-name { display: block; font-family: var(--font-display); font-size: 1.2rem; color: var(--ink); transform: rotate(-2deg); transform-origin: left; }
.depo__witness-role { display: block; margin-top: 6px; font-size: 0.74rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold-deep); }

.depo__sworn {
  position: absolute;
  bottom: 22px;
  right: 26px;
  width: 92px;
  height: 92px;
  display: grid;
  place-items: center;
  border: 3px solid rgba(46, 125, 82, 0.55);
  border-radius: 50%;
  color: rgba(46, 125, 82, 0.7);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.78rem;
  line-height: 1.15;
  text-align: center;
  letter-spacing: 0.06em;
  transform: rotate(-14deg);
  pointer-events: none;
}

.depo__body.swap { animation: depoSwap 0.4s var(--ease); }
@keyframes depoSwap {
  from { opacity: 0; transform: translateX(16px); }
  to { opacity: 1; transform: none; }
}

.depo__controls { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 26px; }

.depo__nav {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1.5px solid rgba(201, 162, 75, 0.6);
  background: #fffdf7;
  color: var(--ink-2);
  font-size: 1rem;
  cursor: pointer;
  transition: transform 0.2s var(--ease), background 0.2s var(--ease), color 0.2s var(--ease);
}
.depo__nav:hover { transform: translateY(-3px); background: var(--ink); color: var(--parchment); }

.depo__dots { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; max-width: 300px; }
.depo__dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: none;
  padding: 0;
  background: rgba(14, 27, 51, 0.2);
  cursor: pointer;
  transition: transform 0.2s var(--ease), background 0.2s var(--ease);
}
.depo__dot.active { background: var(--gold-deep); transform: scale(1.35); }

.depo__counter { margin-top: 16px; font-size: 0.82rem; font-weight: 600; letter-spacing: 0.06em; color: var(--ink-soft); }

/* ══════════════════════════════════════════════════════════════
   LES PIÈCES À CONVICTION - Le tableau d'enquête (liège)
   ══════════════════════════════════════════════════════════════ */
.board {
  overflow: hidden;
  background:
    radial-gradient(circle at 20% 20%, rgba(0, 0, 0, 0.12), transparent 60%),
    radial-gradient(circle at 80% 80%, rgba(0, 0, 0, 0.16), transparent 55%),
    repeating-radial-gradient(circle at 50% 50%, rgba(0,0,0,0.02) 0 2px, transparent 2px 4px),
    linear-gradient(160deg, #6f5330 0%, #5c4327 60%, #4d3820 100%);
}

.board__vignette { position: absolute; inset: 0; pointer-events: none; box-shadow: inset 0 0 160px rgba(0, 0, 0, 0.55); }

.board__title { font-family: var(--font-display); font-weight: 500; font-size: clamp(1.9rem, 4vw, 2.9rem); text-align: center; color: #fdf6e6; }
.board__title em { font-style: italic; color: var(--gold-soft); }

.board__sub { text-align: center; font-weight: 300; color: rgba(253, 246, 230, 0.78); margin: 16px auto 64px; max-width: 54ch; }

.board__wall {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  gap: clamp(28px, 6vw, 72px);
  max-width: 980px;
  margin: 0 auto;
  padding-top: 20px;
}

/* Le fil rouge de l'enquête */
.board__thread {
  position: absolute;
  height: 2px;
  background: linear-gradient(90deg, rgba(178, 40, 40, 0.15), #b22828 20%, #b22828 80%, rgba(178, 40, 40, 0.15));
  transform-origin: left center;
  z-index: 1;
  pointer-events: none;
}
.board__thread--1 { top: 60px; left: 20%; width: 34%; transform: rotate(9deg); }
.board__thread--2 { top: 78px; left: 52%; width: 30%; transform: rotate(-11deg); }

/* Polaroid = pièce à conviction, épinglée */
.evidence {
  position: relative;
  z-index: 2;
  width: clamp(200px, 26vw, 246px);
  margin: 0;
  padding: 12px 12px 0;
  background: linear-gradient(180deg, #fffdf7, #f6efdf);
  border-radius: 3px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  transform: rotate(var(--rot, 0deg));
  cursor: pointer;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.evidence:hover, .evidence:focus-visible {
  transform: rotate(0deg) translateY(-8px) scale(1.03);
  box-shadow: 0 34px 60px rgba(0, 0, 0, 0.55);
  outline: none;
  z-index: 3;
}

.evidence__pin {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #ff6b6b, #b22222 70%);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.45), inset -2px -2px 4px rgba(0, 0, 0, 0.3);
  z-index: 4;
}
.evidence__pin::after {
  content: "";
  position: absolute;
  top: 8px;
  left: 7px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.65);
}

.evidence__photo { overflow: hidden; border-radius: 2px; }
.evidence__photo img {
  width: 100%;
  aspect-ratio: 4 / 3.4;
  object-fit: cover;
  filter: grayscale(0.15) contrast(1.05);
  transition: transform 0.6s var(--ease), filter 0.4s var(--ease);
}
.evidence:hover .evidence__photo img { transform: scale(1.06); filter: grayscale(0) contrast(1.05); }

.evidence figcaption {
  padding: 12px 6px 16px;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 0.92rem;
  color: var(--slate);
  text-align: center;
}
.evidence__no {
  display: block;
  font-family: var(--font-body);
  font-style: normal;
  font-weight: 700;
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--burgundy);
  margin-bottom: 3px;
}

/* Mémo manuscrit de l'enquêteur */
.board__memo {
  position: relative;
  z-index: 2;
  align-self: center;
  width: clamp(200px, 24vw, 230px);
  padding: 22px 20px 26px;
  background: #f4e05a;
  color: #4a3d10;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 0.96rem;
  line-height: 1.4;
  transform: rotate(3deg);
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.35);
}
.board__memo::before {
  content: "";
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%) rotate(-4deg);
  width: 70px;
  height: 22px;
  background: rgba(255, 255, 255, 0.45);
  border-left: 1px dashed rgba(0, 0, 0, 0.2);
  border-right: 1px dashed rgba(0, 0, 0, 0.2);
}
.board__memo-sign { display: block; margin-top: 10px; text-align: right; font-size: 0.82rem; color: #6b5713; }

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1500;
  display: grid;
  place-items: center;
  padding: 30px;
  background: rgba(8, 14, 26, 0.92);
  backdrop-filter: blur(6px);
}
.lightbox[hidden] { display: none; }
.lightbox img {
  max-width: min(900px, 92vw);
  max-height: 86vh;
  border-radius: 14px;
  border: 3px solid var(--gold);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
}
.lightbox__close {
  position: absolute;
  top: 22px;
  right: 24px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  font-size: 1.2rem;
  color: var(--ink);
  background: linear-gradient(135deg, var(--gold-soft), var(--gold));
}

/* ══════════════════════════════════════════════════════════════
   LE DÉLIBÉRÉ - CLAIR (verdict interactif)
   ══════════════════════════════════════════════════════════════ */
.verdict {
  text-align: center;
  overflow: hidden;
  background:
    radial-gradient(ellipse 50% 60% at 50% 100%, rgba(201, 162, 75, 0.14), transparent 70%),
    linear-gradient(160deg, var(--night-2) 0%, var(--night) 100%);
}

.verdict__title { font-family: var(--font-display); font-weight: 500; font-size: clamp(1.6rem, 3.6vw, 2.4rem); color: var(--parchment); margin-bottom: 44px; }
.verdict__title em { font-style: italic; color: var(--gold-soft); }

.verdict__stage { position: relative; min-height: 220px; }

.verdict__gavel {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 34px 40px;
  border-radius: 20px;
  border: 2px solid rgba(201, 162, 75, 0.5);
  background: rgba(255, 255, 255, 0.04);
  color: var(--gold-soft);
  cursor: pointer;
  transition: transform 0.2s var(--ease), background 0.3s var(--ease), border-color 0.3s var(--ease);
}
.verdict__gavel i { font-size: 3rem; color: var(--gold); }
.verdict__gavel span { font-family: var(--font-display); font-style: italic; font-size: 1.1rem; }
.verdict__gavel:hover { transform: translateY(-4px); border-color: var(--gold); background: rgba(255, 255, 255, 0.07); }
.verdict__gavel.striking i { animation: gavelBang 0.5s ease; }

@keyframes gavelBang {
  0% { transform: rotate(0); }
  25% { transform: rotate(-32deg); }
  50% { transform: rotate(4deg); }
  70% { transform: rotate(-14deg); }
  100% { transform: rotate(0); }
}

.verdict__reveal[hidden] { display: none; }
.verdict__reveal { animation: verdictIn 0.7s var(--ease); }
@keyframes verdictIn {
  from { opacity: 0; transform: translateY(18px) scale(0.98); }
  to { opacity: 1; transform: none; }
}

.verdict__mark { font-size: 2rem; color: var(--gold); margin-bottom: 18px; }
.verdict__text {
  font-family: var(--font-display);
  font-weight: 400;
  font-style: italic;
  font-size: clamp(1.5rem, 3.6vw, 2.3rem);
  line-height: 1.35;
  color: var(--parchment);
}
.verdict__text span { color: var(--gold); font-weight: 600; }
.verdict__author { margin-top: 30px; font-weight: 500; letter-spacing: 0.04em; color: rgba(244, 238, 226, 0.7); }

/* ══════════════════════════════════════════════════════════════
   PROCHAINE COMPARUTION - SOMBRE (countdown)
   ══════════════════════════════════════════════════════════════ */
.countdown { text-align: center; }

.countdown__title { font-family: var(--font-display); font-weight: 500; font-size: clamp(1.7rem, 3.6vw, 2.5rem); color: var(--parchment); }
.countdown__sub { font-weight: 300; color: rgba(244, 238, 226, 0.75); margin: 14px auto 44px; max-width: 50ch; }

.countdown__grid { display: flex; justify-content: center; align-items: center; gap: 14px; flex-wrap: wrap; }

.countdown__cell {
  min-width: 92px;
  padding: 22px 10px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 16px;
  border: 1px solid rgba(201, 162, 75, 0.4);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.25);
}
.countdown__value { display: block; font-family: var(--font-display); font-weight: 600; font-size: clamp(1.9rem, 5vw, 2.8rem); color: var(--gold-soft); line-height: 1; }
.countdown__label { display: block; margin-top: 8px; font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(244, 238, 226, 0.7); }
.countdown__sep { font-family: var(--font-display); font-size: 1.8rem; color: var(--gold); }

/* ══════════════════════════════════════════════════════════════
   FOOTER
   ══════════════════════════════════════════════════════════════ */
.footer { text-align: center; padding: 54px 24px; background: #08111f; }
.footer__wish { font-family: var(--font-display); font-size: 1.15rem; color: var(--parchment); }
.footer__wish strong { color: var(--gold-soft); }
.footer__wish-icon { color: var(--gold); margin-left: 4px; }
.footer__copy { margin-top: 14px; font-size: 0.88rem; font-weight: 300; color: rgba(244, 238, 226, 0.55); }
.footer__copy i { color: var(--burgundy-soft); }

/* ─── Boutons flottants ────────────────────────────────────── */
.floating { position: fixed; right: 20px; bottom: 20px; display: flex; flex-direction: column; gap: 12px; z-index: 300; }

.floating__btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  font-size: 1.05rem;
  color: var(--parchment);
  background: linear-gradient(135deg, var(--ink-2), var(--ink));
  box-shadow: 0 12px 30px rgba(14, 27, 51, 0.4);
  transition: transform 0.2s var(--ease), opacity 0.3s var(--ease), background 0.3s var(--ease);
}
.floating__btn:hover { transform: translateY(-3px) scale(1.05); }
.floating__btn.playing { background: linear-gradient(135deg, var(--gold), var(--gold-deep)); color: var(--ink); animation: musicPulse 2s ease-in-out infinite; }

@keyframes musicPulse {
  0%, 100% { box-shadow: 0 12px 30px rgba(201, 162, 75, 0.4); }
  50% { box-shadow: 0 12px 40px rgba(201, 162, 75, 0.75); }
}

.floating__btn--top { opacity: 0; pointer-events: none; }
.floating__btn--top.show { opacity: 1; pointer-events: auto; }

/* ─── Reveal au scroll ─────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.reveal.vis { opacity: 1; transform: translateY(0); }

/* ─── Accessibilité : mouvement réduit ─────────────────────── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* ══════════════════════════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  section { padding: 92px 0; }
  .stats { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .board__thread { display: none; }
}

/* ─── Tablette / grand téléphone ───────────────────────────── */
@media (max-width: 768px) {
  section { padding: 72px 0; }
  .container { padding: 0 20px; }

  .hero { padding: 96px 16px 64px; }
  .summons { padding: 44px 20px 32px; }
  /* La photo passe au-dessus du document, centrée */
  .summons__photo { position: static; width: 134px; margin: 0 auto 10px; transform: rotate(-2deg); }
  .summons__photo:hover { transform: rotate(0deg) scale(1.03); }
  .summons__clip { top: -14px; }
  .summons__foot { flex-direction: column-reverse; align-items: center; gap: 22px; text-align: center; }
  .summons__sign { text-align: center; }
  .summons__sign-name { transform: none; }
  .hero__watermark { font-size: 32rem; }

  .rapsheet__header { flex-direction: column-reverse; align-items: flex-start; }
  .rapsheet__row { flex-wrap: wrap; }
  .rapsheet__verdict { margin-left: 62px; }

  .chrono__item { gap: 16px; }
  .chrono__dot { width: 46px; height: 46px; font-size: 1rem; }
  .chrono__line { left: 23px; }

  .courtroom__door { width: 51%; }
  .board__memo { transform: rotate(0deg); }
}

/* ─── Téléphone ────────────────────────────────────────────── */
@media (max-width: 560px) {
  section { padding: 60px 0; }
  .container { padding: 0 16px; }

  .summons__stamp { width: 96px; height: 96px; font-size: 0.82rem; }

  .stats { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .stat { padding: 20px 8px; }

  .rapsheet__header { padding: 22px 20px; }
  .rapsheet__list { padding: 8px 20px 4px; }
  .rapsheet__foot { padding: 18px 20px 22px; }

  .quiz__card { padding: 24px 20px 28px; }
  .quiz__question { font-size: 1.14rem; }

  .depo__paper { padding: 24px 20px 26px 44px; min-height: 300px; }
  .depo__sworn { width: 66px; height: 66px; font-size: 0.58rem; bottom: 12px; right: 12px; }
  .depo__nav { width: 44px; height: 44px; }
  .depo__controls { gap: 14px; }

  /* Compte à rebours : 2 par ligne, sans les deux-points */
  .countdown__grid { gap: 10px; }
  .countdown__sep { display: none; }
  .countdown__cell { min-width: 0; flex: 1 1 40%; padding: 16px 6px; }
}

/* ─── Petit téléphone ──────────────────────────────────────── */
@media (max-width: 400px) {
  .container { padding: 0 14px; }
  .btn { width: 100%; justify-content: center; }
  .summons__actions { flex-direction: column; width: 100%; }
  .summons__actions .btn { width: 100%; }
  .floating { right: 14px; bottom: 14px; }
  .floating__btn { width: 46px; height: 46px; }
  .stats { grid-template-columns: 1fr; }
  .depo__dots { max-width: 220px; }
  .evidence { width: min(80vw, 240px); }
  .board__memo { width: min(80vw, 230px); }
}
