/* Blocus en ligne · Pas de prof ? · feuille de style */

@font-face { font-family: 'Schibsted Grotesk'; src: url('fonts/schibsted-grotesk-latin-wght-normal.woff2') format('woff2'); font-weight: 400 900; font-display: swap; }
@font-face { font-family: 'Schibsted Grotesk'; src: url('fonts/schibsted-grotesk-latin-ext-wght-normal.woff2') format('woff2'); font-weight: 400 900; font-display: swap; unicode-range: U+0100-024F, U+20AC; }
@font-face { font-family: 'DM Mono'; src: url('fonts/dm-mono-latin-400-normal.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'DM Mono'; src: url('fonts/dm-mono-latin-500-normal.woff2') format('woff2'); font-weight: 500 900; font-display: swap; }
@font-face { font-family: 'Playwrite FR Moderne'; src: url('fonts/playwrite-fr-moderne-latin-400-normal.woff2') format('woff2'); font-weight: 100 900; font-display: swap; }

:root {
  --blanc: #FFFFFF;
  --nuit: #0B1140;
  --bleu: #17259C;
  --orange: #F26B1D;
  --ticket: #EEF1FC;
  --pointille: rgba(23, 37, 156, 0.5);
  --cursive: 'Playwrite FR Moderne', cursive;
  --texte: 'Schibsted Grotesk', system-ui, sans-serif;
  --mono: 'DM Mono', ui-monospace, monospace;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: #E9ECF7; color: var(--bleu); font-family: var(--texte); font-size: 16px; line-height: 1.45; }
a { color: var(--bleu); }
a:hover { color: var(--nuit); }
h1, h2, h3, p { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
[hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Chaque bouton réagit au toucher. */
button, a { transition: transform .08s ease; -webkit-tap-highlight-color: transparent; }
button:active, a:active { transform: translateY(2px) scale(.97); }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }

/* ---------- Cadre ---------- */
.shell { max-width: 480px; min-height: 100vh; min-height: 100dvh; margin: 0 auto; background: var(--blanc); display: flex; flex-direction: column; position: relative; }
.top { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 5; flex: none; background: var(--blanc); }
.top-row { height: 56px; display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 0 14px 0 6px; }
.top.home .top-row { padding: 0 12px 0 20px; }

/* Le rail de lecture, sur le bord droit : le curseur orange montre où on en est dans la hauteur de la page. */
.rail { position: fixed; z-index: 7; top: calc(8px + env(safe-area-inset-top, 0px)); bottom: calc(76px + env(safe-area-inset-bottom)); right: max(3px, calc(50vw - 240px + 3px)); width: 6px; border-radius: 3px; background: rgba(23, 37, 156, .14); pointer-events: none; }
.rail span { position: absolute; left: 0; right: 0; top: 0; height: 40px; border-radius: 3px; background: var(--orange); box-shadow: 0 0 0 1px rgba(11, 17, 64, .25); transition: top .08s linear; }

/* Le slogan, en grand, sous le logo. Le tampon « Tu payes ! » claque à l'arrivée, puis bouge un peu de temps en temps. */
.slogan-band { margin: 0; min-height: 44px; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 4px 10px; padding: 6px 12px; background: var(--nuit); color: var(--blanc); font-size: clamp(15px, 4.4vw, 19px); line-height: 1.15; font-weight: 900; letter-spacing: -.01em; overflow: hidden; }
/* Une seule animation par élément : Safari les applique alors toutes. */
.slogan-band .s1 { display: inline-block; -webkit-animation: s1-in .5s ease-out both; animation: s1-in .5s ease-out both; }
.slogan-band .tampon { display: inline-block; -webkit-animation: tampon-in .45s cubic-bezier(.2, 1.6, .4, 1) .55s both; animation: tampon-in .45s cubic-bezier(.2, 1.6, .4, 1) .55s both; }
.slogan-band .t-in { display: inline-block; padding: 3px 10px 4px; border: 2px solid var(--orange); border-radius: 4px; background: var(--orange); color: var(--nuit); text-transform: uppercase; letter-spacing: .02em; transform: rotate(-3deg);
  -webkit-animation: tampon-wiggle 7s ease-in-out 2.5s infinite; animation: tampon-wiggle 7s ease-in-out 2.5s infinite; }
@-webkit-keyframes s1-in { from { opacity: 0; -webkit-transform: translateY(-8px); } to { opacity: 1; -webkit-transform: none; } }
@keyframes s1-in { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
@-webkit-keyframes tampon-in { 0% { opacity: 0; -webkit-transform: scale(2.6) rotate(-9deg); } 70% { opacity: 1; -webkit-transform: scale(.92) rotate(1deg); } 100% { opacity: 1; -webkit-transform: none; } }
@keyframes tampon-in { 0% { opacity: 0; transform: scale(2.6) rotate(-9deg); } 70% { opacity: 1; transform: scale(.92) rotate(1deg); } 100% { opacity: 1; transform: none; } }
@-webkit-keyframes tampon-wiggle { 0%, 88%, 100% { -webkit-transform: scale(1) rotate(-3deg); } 91% { -webkit-transform: scale(1.12) rotate(-6deg); } 94% { -webkit-transform: scale(1.06) rotate(1deg); } 97% { -webkit-transform: scale(1.1) rotate(-5deg); } }
@keyframes tampon-wiggle { 0%, 88%, 100% { transform: scale(1) rotate(-3deg); } 91% { transform: scale(1.12) rotate(-6deg); } 94% { transform: scale(1.06) rotate(1deg); } 97% { transform: scale(1.1) rotate(-5deg); } }
/* Téléphone réglé sur « Réduire les animations » : rien ne bouge, mais le tampon s'allume quand même. */
@keyframes glow { 0%, 86%, 100% { background: var(--orange); box-shadow: none; } 90%, 96% { background: #FFD27A; box-shadow: 0 0 0 4px rgba(242, 107, 29, .55); } }
@-webkit-keyframes glow { 0%, 86%, 100% { background: var(--orange); box-shadow: none; } 90%, 96% { background: #FFD27A; box-shadow: 0 0 0 4px rgba(242, 107, 29, .55); } }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
@-webkit-keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  .slogan-band .s1 { -webkit-animation: fade-in .5s both !important; animation: fade-in .5s both !important; }
  .slogan-band .tampon { -webkit-animation: fade-in .5s .4s both !important; animation: fade-in .5s .4s both !important; }
  .slogan-band .t-in { -webkit-animation: glow 5s ease-in-out 1.5s infinite !important; animation: glow 5s ease-in-out 1.5s infinite !important; }
}
.back { height: 44px; min-width: 0; display: flex; align-items: center; gap: 2px; padding: 0 6px; text-decoration: none; font-size: 13px; font-weight: 800; white-space: nowrap; }
.toplink { height: 44px; display: flex; align-items: center; padding: 0 8px; font-size: 15px; font-weight: 700; }
.logo { flex: none; display: flex; align-items: center; gap: 6px; min-height: 44px; text-decoration: none; color: var(--bleu); }
.logo .rond { width: 26px; height: 26px; flex: none; border: 2px solid var(--nuit); border-radius: 50%; background: var(--orange); display: flex; align-items: center; justify-content: center; }
.logo .nom { font-family: var(--cursive); font-size: 15px; line-height: 1.8; }
.logo span span { display: block; }

main { flex: 1; padding: 20px 20px 104px; display: flex; flex-direction: column; gap: 20px; }
.view { display: flex; flex-direction: column; gap: 20px; }

.nav { position: sticky; bottom: 0; z-index: 5; height: 66px; flex: none; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); border-top: 2px solid var(--bleu); background: var(--blanc); padding-bottom: env(safe-area-inset-bottom); height: calc(66px + env(safe-area-inset-bottom)); }
.nav a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; text-decoration: none; font-size: 10.5px; font-weight: 600; min-width: 0; white-space: nowrap; padding: 0 2px; }
.nav a[aria-current="page"] { background: var(--bleu); color: var(--blanc); font-weight: 800; }

.fab { position: fixed; z-index: 6; right: max(14px, calc(50vw - 240px + 14px)); bottom: calc(80px + env(safe-area-inset-bottom)); width: 64px; height: 64px; border: 3px solid var(--nuit); border-radius: 50%; background: var(--orange); color: var(--nuit); display: flex; align-items: center; justify-content: center; box-shadow: 4px 4px 0 var(--nuit); text-decoration: none; }
.fab.don { right: auto; left: max(14px, calc(50vw - 240px + 14px)); background: var(--blanc); color: var(--orange); }
.fab.don .pastille { background: var(--orange); color: var(--nuit); left: -3px; transform: none; }
.fab .pastille { position: absolute; left: 50%; bottom: -12px; transform: translateX(-50%); padding: 2px 8px; border-radius: 10px; background: var(--nuit); color: var(--blanc); font-size: 11px; line-height: 1.3; font-weight: 800; white-space: nowrap; }

/* ---------- Textes ---------- */
.kicker { font-size: 14px; line-height: 1.3; font-weight: 800; }
.h1 { font-family: var(--cursive); font-size: 25px; line-height: 1.6; font-weight: 400; }
.h2 { font-size: 22px; line-height: 1.2; font-weight: 800; }
.h3 { font-size: 18px; line-height: 1.25; font-weight: 800; }
.cursive { font-family: var(--cursive); font-weight: 400; }
.lead { font-size: 16px; line-height: 1.4; font-weight: 800; }
.p { font-size: 15px; line-height: 1.45; font-weight: 500; }
.help { font-size: 14px; line-height: 1.4; font-weight: 600; }
.small { font-size: 14px; line-height: 1.45; font-weight: 500; }
.b { font-weight: 800; }
.stack { display: flex; flex-direction: column; gap: 8px; }
.stack4 { display: flex; flex-direction: column; gap: 4px; }
.orange { color: var(--orange); }

/* ---------- Boutons ---------- */
.btn { min-height: 52px; width: 100%; display: flex; align-items: center; justify-content: center; padding: 8px 14px; text-align: center; border-radius: 6px; font-size: 16px; font-weight: 800; text-decoration: none; cursor: pointer; border: 2px solid var(--bleu); }
.btn.primary { background: var(--orange); border-color: var(--orange); color: var(--nuit); min-height: 56px; font-size: 17px; }
.btn.secondary { background: var(--blanc); color: var(--bleu); min-height: 48px; font-size: 15px; }
.btn.navy { background: var(--bleu); color: var(--blanc); }
.btn.dark { background: var(--nuit); border-color: var(--nuit); color: var(--blanc); }
.btn[aria-busy="true"] { opacity: .8; pointer-events: none; }
.btn:disabled { opacity: .55; cursor: not-allowed; }
.link { min-height: 44px; display: flex; align-items: center; justify-content: center; font-size: 15px; font-weight: 800; background: none; border: 0; color: var(--bleu); text-decoration: underline; cursor: pointer; padding: 0 8px; }
.link.left { justify-content: flex-start; padding: 0; }
.row2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.row3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }

/* ---------- Champs ---------- */
label.lab, .lab { font-size: 14px; font-weight: 700; }
.field { display: flex; flex-direction: column; gap: 6px; }
.input { height: 48px; width: 100%; border: 2px solid var(--bleu); border-radius: 6px; padding: 0 12px; background: var(--blanc); color: var(--bleu); font-size: 16px; }
.input.big { height: 56px; width: 120px; border-width: 3px; font-size: 26px; font-weight: 800; padding: 0 14px; }
textarea.input { height: auto; padding: 10px 12px; }
.chip { min-height: 44px; border: 2px solid var(--bleu); border-radius: 6px; background: var(--blanc); color: var(--bleu); font-size: 14px; font-weight: 800; cursor: pointer; padding: 6px 8px; }
.chip[aria-pressed="true"] { background: var(--bleu); color: var(--blanc); }
.chip.two { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-height: 60px; text-decoration: none; }
.chip.two .t { font-size: 16px; line-height: 1.2; }
.chip.two .s { font-size: 13px; line-height: 1.25; font-weight: 600; }
.check { min-height: 44px; display: flex; align-items: flex-start; gap: 10px; font-size: 15px; line-height: 1.35; font-weight: 700; cursor: pointer; }
.check input { width: 24px; height: 24px; flex: none; margin: 0; accent-color: var(--bleu); }
.error { padding: 10px 12px; border: 2px solid var(--orange); border-radius: 6px; font-size: 15px; font-weight: 700; }
.ok { padding: 10px 12px; border: 2px solid var(--bleu); border-radius: 6px; font-size: 15px; font-weight: 700; }

/* ---------- Blocs ---------- */
.card { border: 3px solid var(--bleu); border-radius: 10px; padding: 16px; display: flex; flex-direction: column; gap: 12px; }
.card.thin { border-width: 2px; }
.result { border: 3px solid var(--bleu); border-radius: 14px; padding: 18px 16px 16px; display: flex; flex-direction: column; gap: 8px; }
.big-n { display: flex; align-items: baseline; gap: 10px; }
.big-n .n { font-size: 56px; line-height: .95; font-weight: 800; letter-spacing: -.03em; }
.big-n .u { font-size: 18px; font-weight: 800; }
.money { font-size: 58px; line-height: 1; font-weight: 800; letter-spacing: -.03em; color: var(--orange); }
.money.m { font-size: 44px; }
.band { padding: 14px 16px; border-radius: 8px; background: var(--orange); color: var(--nuit); display: flex; flex-direction: column; gap: 4px; }
.box { border: 2px solid var(--bleu); border-radius: 6px; padding: 14px 16px; display: flex; flex-direction: column; gap: 10px; }
.box .check { font-size: 17px; line-height: 1.25; font-weight: 800; }
.box .sub { display: block; font-size: 15px; line-height: 1.4; font-weight: 500; margin-top: 4px; }
.note { padding: 12px 14px; border: 2px solid var(--orange); border-radius: 6px; font-size: 15px; line-height: 1.4; font-weight: 700; }
.letter { padding: 16px 14px; border-radius: 6px; background: var(--ticket); color: var(--nuit); display: flex; flex-direction: column; gap: 10px; font-size: 14px; line-height: 1.5; }
.dots { border-top: 2px dotted var(--pointille); }
.steps { display: flex; flex-direction: column; gap: 22px; }
.step { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 12px; align-items: start; }
.step .num { width: 34px; height: 34px; border: 2px solid var(--bleu); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 800; }
.step .body { display: flex; flex-direction: column; gap: 8px; }
.line { display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 8px 0; border-bottom: 2px dotted var(--pointille); }
.line .grow { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.line .t { font-size: 15px; font-weight: 700; }
.line .s { font-size: 13px; font-weight: 600; }
.line .btn { width: auto; min-height: 44px; font-size: 14px; padding: 0 14px; }
.line .acts { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.line.wrap { flex-wrap: wrap; }
.line.wrap .acts { width: 100%; padding-left: 32px; justify-content: flex-start; }

/* Ticket et jugements */
.tkt { background: var(--ticket); color: var(--nuit); font-family: var(--mono); font-size: 13px; padding: 16px; display: flex; flex-direction: column; gap: 8px; }
.tkt .r { display: flex; align-items: baseline; gap: 6px; }
.tkt .r .fill { flex: 1; border-bottom: 2px dotted rgba(11, 17, 64, .5); transform: translateY(-4px); }
.tkt .tot { border-top: 2px solid var(--nuit); padding-top: 8px; }
details { border-bottom: 2px dotted var(--pointille); padding: 12px 0; }
summary { min-height: 32px; font-size: 16px; line-height: 1.35; font-weight: 800; cursor: pointer; }
details > div { padding-top: 8px; display: flex; flex-direction: column; gap: 6px; }

/* Image à partager (aperçu) */
.share-card { border: 3px solid var(--bleu); border-radius: 14px; padding: 20px; box-shadow: 6px 6px 0 var(--bleu); display: flex; flex-direction: column; gap: 8px; }
.share-card img { width: 100%; height: auto; display: block; }
/* Le kit à partager : flyers, vidéo, communiqué */
.kit { display: grid; gap: 14px; }
.kit-item { display: grid; grid-template-columns: 112px 1fr; gap: 12px; align-items: start; border: 2px solid var(--bleu); border-radius: 12px; padding: 10px; }
.kit-item > img, .kit-video { width: 112px; border-radius: 6px; display: block; }
.kit-item > img, .kit-video img { width: 100%; height: auto; display: block; border-radius: 6px; border: 1px solid rgba(11,17,64,.2); }
.kit-video { position: relative; }
.kit-video .play { position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%); width: 44px; height: 44px; border-radius: 50%; background: var(--orange); color: var(--nuit); display: flex; align-items: center; justify-content: center; font-size: 18px; border: 2px solid var(--nuit); box-shadow: 2px 2px 0 var(--nuit); }
.kit-body { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.kit-body .row2 .btn { min-height: 44px; font-size: 14px; padding: 0 10px; }

.toast { position: fixed; z-index: 9; left: 50%; bottom: 160px; transform: translateX(-50%); max-width: 90vw; padding: 10px 16px; border-radius: 8px; background: var(--nuit); color: var(--blanc); font-size: 15px; font-weight: 700; }

@media print {
  body * { visibility: hidden; }
  .print-me, .print-me * { visibility: visible; }
  .print-me { position: absolute; left: 0; top: 0; width: 100%; background: #fff; color: #000; font-family: serif; font-size: 13pt; }
}
.big-dots { font-size: 40px; font-weight: 900; color: var(--bleu); line-height: 1; animation: bel-pulse 1.2s ease-in-out infinite; }
@keyframes bel-pulse { 50% { opacity: .3; } }
@media (prefers-reduced-motion: reduce) { .big-dots { animation: none; } }
/* Bouton « Je compte » : il dit aussi l'argent */
.btn.euro-btn { gap: 12px; padding: 8px 16px; min-height: 64px; }
.euro-btn .coin { flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--nuit); color: #FFD54A; display: flex; align-items: center; justify-content: center; font-size: 19px; font-weight: 900; box-shadow: inset 0 0 0 3px #FFD54A; }
.euro-btn .two { display: flex; flex-direction: column; align-items: flex-start; text-align: left; line-height: 1.2; }
.euro-btn .two small { font-size: 14px; font-weight: 700; }
/* Pluie d'euros */
.euro-rain { position: fixed; inset: 0; pointer-events: none; z-index: 50; overflow: hidden; }
.euro-rain .piece { position: absolute; width: 30px; height: 30px; border-radius: 50%; background: var(--orange); color: var(--nuit); display: flex; align-items: center; justify-content: center; font-size: 17px; font-weight: 900; box-shadow: inset 0 0 0 3px #FFD54A; animation: euro-fall 1.2s cubic-bezier(.3,.1,.7,1) forwards; opacity: 0; }
.euro-rain .piece.b { background: var(--nuit); color: #FFD54A; }
@keyframes euro-fall { 0% { transform: translateY(0) rotate(0); opacity: 1; } 85% { opacity: 1; } 100% { transform: translateY(110vh) rotate(var(--rot, 360deg)); opacity: 0; } }
.euro-btn .two > span { font-size: 16px; }
.euro-btn .two small { font-size: 13px; }

/* Une phrase simple sur le coût. */
.cost-line { margin: 0; padding: 12px 14px; border-left: 5px solid var(--orange); background: var(--blanc); font-size: 15px; line-height: 1.45; font-weight: 600; }

/* Mot de passe : je vois ce que j'écris, et je sais tout de suite s'il est bon. */
.pw-wrap { position: relative; display: block; }
.pw-wrap .input { padding-right: 92px; }
.pw-eye { position: absolute; right: 4px; top: 4px; bottom: 4px; display: flex; align-items: center; gap: 6px; padding: 0 10px; border: 0; border-radius: 4px; background: var(--bleu); color: var(--blanc); font-size: 14px; font-weight: 800; cursor: pointer; }
.pw-eye:active { transform: scale(.95); }
.help.pw-ko { color: #B4410B; font-weight: 800; }
.help.pw-ok { color: var(--bleu); font-weight: 800; }
.input.pw-bad { border-color: var(--orange); border-width: 3px; }

/* Montants que j'estime moi-même. */
.box .extra { margin-top: 10px; padding-top: 10px; border-top: 2px dashed rgba(23, 37, 156, .35); }
.euro-in { display: flex; align-items: center; gap: 8px; }
.euro-in .input { max-width: 180px; font-size: 20px; font-weight: 800; }
.euro-in span { font-size: 22px; font-weight: 800; }
.mail-acts { display: flex; gap: 8px; margin-top: 6px; }
.mail-acts .chip { min-height: 40px; padding: 4px 12px; }
/* Bouton sur deux lignes : l'action, puis pourquoi. */
.btn.btn-two { flex-direction: column; gap: 2px; min-height: 64px; line-height: 1.15; }
.btn.btn-two small { font-size: 13px; font-weight: 600; }
.links-row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 2px; }
.links-row .link { min-height: 36px; padding: 0; font-size: 14px; font-weight: 700; }
/* Réglages repliés, discrets. */
details.reglages { border-top: 1px solid rgba(23, 37, 156, .3); padding-top: 4px; }
details.reglages > summary { list-style: none; cursor: pointer; min-height: 40px; display: flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 700; color: var(--bleu); opacity: .8; }
details.reglages > summary::-webkit-details-marker { display: none; }
details.reglages > summary::before { content: "▸"; font-size: 12px; }
details[open].reglages > summary::before { content: "▾"; }
details.reglages .line .t { font-size: 15px; font-weight: 700; }
details.reglages .line .s { font-size: 13px; }
details.reglages .line .link { min-height: 40px; padding: 0 4px; font-size: 14px; white-space: nowrap; }
/* Accueil : les familles déjà indemnisées, et le zéro euro. */
.deja { display: flex; align-items: center; gap: 12px; padding: 8px 12px; border-left: 4px solid var(--bleu); text-decoration: none; color: var(--bleu); font-size: 14px; line-height: 1.4; font-weight: 600; }
.deja .sceau { flex: 0 0 86px; width: 86px; height: 86px; transform: rotate(-8deg); filter: drop-shadow(0 1px 1px rgba(11,17,64,.25)); }
.deja-t { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.deja .b { font-size: 16px; font-weight: 800; }
.deja u { text-decoration: underline; text-underline-offset: 3px; font-weight: 800; }
.zero { margin: 0; padding: 8px 12px; border-left: 4px solid var(--orange); font-size: 14px; line-height: 1.45; font-weight: 600; color: var(--bleu); }
.zero b { font-weight: 800; color: var(--nuit); }
/* Déjà jugé : le côté officiel. */
.officiel { display: flex; flex-direction: column; gap: 4px; padding: 14px 16px; border: 3px double var(--nuit); background: var(--blanc); color: var(--nuit); }
.officiel .rf { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; font-weight: 700; }
.officiel .anpf { font-family: var(--mono); font-size: 17px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; padding: 4px 0 6px; border-bottom: 2px solid var(--nuit); }
.officiel p { margin: 6px 0 0; font-size: 15px; line-height: 1.45; font-weight: 600; }
.tkt .cachet { align-self: flex-start; display: flex; flex-direction: column; padding: 4px 10px; border: 2px solid var(--nuit); transform: rotate(-2deg); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
.tkt .cachet b { font-size: 13px; letter-spacing: 0; text-transform: none; }
.tkt .juge { margin: 4px 0 0; padding: 8px 12px; border-left: 4px solid var(--nuit); font-family: var(--texte); font-size: 14px; line-height: 1.4; font-weight: 700; display: flex; flex-direction: column; gap: 4px; }
.tkt .juge span { font-size: 12px; font-weight: 600; opacity: .8; }
/* Accueil : un extrait de jugement, pour montrer que c'est réel. */
.preuve { display: flex; flex-direction: column; gap: 4px; padding: 12px 14px; border: 3px double var(--nuit); background: var(--blanc); color: var(--nuit); text-decoration: none; }
.preuve .anpf { font-family: var(--mono); font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; border-bottom: 2px solid var(--nuit); padding-bottom: 4px; }
.preuve .l1 { font-family: var(--mono); font-size: 12px; line-height: 1.4; }
.preuve .l2 { font-size: 16px; line-height: 1.35; font-weight: 700; }
.preuve .l2 b { color: var(--orange); font-size: 19px; }
.preuve .l3 { font-size: 14px; line-height: 1.4; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
/* Accueil : les quatre demandes. */
.dem { display: flex; gap: 12px; padding: 14px 14px; border-bottom: 2px solid rgba(23, 37, 156, .25); align-items: flex-start; }
.dem:last-child { border-bottom: 0; }
.dem .num { width: 28px; height: 28px; border-radius: 50%; background: var(--bleu); color: var(--blanc); display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 800; flex: none; margin-top: 2px; }
.dem .grow { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.dem .t { font-size: 17px; font-weight: 800; line-height: 1.2; }
.dem .s { font-size: 14px; line-height: 1.4; font-weight: 600; }
.dem .m { font-size: 30px; line-height: 1; font-weight: 800; color: var(--orange); letter-spacing: -.02em; padding: 2px 0; }
.dem.fort { background: var(--orange); }
.dem.fort .num { background: var(--nuit); }
.dem.fort .s b { font-size: 20px; }
.dem.total { background: var(--ticket); }
.dem.total .m { font-size: 36px; }
/* L'alerte : un gyrophare qui clignote, un cadre orange qui pulse. */
.note.alerte { position: relative; border-color: var(--orange); padding-left: 48px; animation: alerte-pulse 2.4s ease-in-out infinite; }
.note.alerte .gyro { position: absolute; left: 12px; top: 10px; width: 28px; height: 28px; border-radius: 50%; background: var(--orange); color: var(--nuit); display: flex; align-items: center; justify-content: center; animation: gyro-blink 1.2s ease-in-out infinite; }
@keyframes gyro-blink { 0%, 100% { background: var(--orange); box-shadow: 0 0 0 0 rgba(242, 107, 29, .6); } 50% { background: #FFD27A; box-shadow: 0 0 0 7px rgba(242, 107, 29, 0); } }
@keyframes alerte-pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(242, 107, 29, 0); } 50% { box-shadow: 0 0 0 4px rgba(242, 107, 29, .25); } }
@media (prefers-reduced-motion: reduce) { .note.alerte, .note.alerte .gyro { animation: none !important; } .note.alerte .gyro { background: #FFD27A; } }

/* Les huit points qui rassurent, page Dossier */
ol.rassure{margin:0;padding-left:22px;display:flex;flex-direction:column;gap:8px}
ol.rassure li{padding-left:2px}
ol.rassure li::marker{font-weight:800;color:var(--bleu)}

/* Le pied de page : les mentions obligatoires, discrètes, sous chaque page */
.pied { margin-top: 8px; padding-top: 14px; border-top: 1px solid rgba(23, 37, 156, .2); display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 8px; font-size: 12.5px; color: var(--bleu); text-align: center; }
.pied a { color: var(--bleu); font-weight: 700; text-underline-offset: 3px; }
