/* Se Venger : direction « l'affiche de règlement de comptes ».
   Titres en capitales serrées, bordures noires franches, ombres dures, un seul bouton vert. */

@font-face { font-family: "Anton"; src: url("/fonts/anton.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Epilogue"; src: url("/fonts/epilogue.woff2") format("woff2"); font-weight: 400 800; font-display: swap; }
@font-face { font-family: "Caveat"; src: url("/fonts/caveat.woff2") format("woff2"); font-weight: 500 700; font-display: swap; }

:root {
    --ink: #141414;
    --paper: #f4efe6;
    --paper-2: #ebe4d6;
    --white: #fffdf8;
    --red: #d13434;
    --red-dark: #a82424;
    --green: #6dcd36;
    --green-dark: #4fa81f;
    --yellow: #ffd23f;
    --pink: #ff5d8f;
    --blue: #3fa7ff;
    --muted: #5a554c;
    --accent: var(--red);
    --hero-bg: var(--ink);
    --hero-ink: var(--white);
    --hero-muted: #cfc9bd;
    --display: "Anton", "Haettenschweiler", "Arial Narrow Bold", Impact, sans-serif;
    --body: "Epilogue", system-ui, -apple-system, "Segoe UI", sans-serif;
    --hand: "Caveat", "Bradley Hand", cursive;
    --radius: 10px;
    --border: 3px solid var(--ink);
    --shadow: 6px 6px 0 var(--ink);
    --shadow-small: 4px 4px 0 var(--ink);
    --gutter: clamp(1.1rem, 4vw, 2rem);
    --block: clamp(3.25rem, 8vw, 6rem);
}

.ambiance-fete {
    --accent: var(--pink);
    --hero-bg: var(--yellow);
    --hero-ink: var(--ink);
    --hero-muted: #3a3526;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 5rem; }
body {
    margin: 0;
    font-family: var(--body);
    font-size: 1.0625rem;
    line-height: 1.6;
    color: var(--ink);
    background: var(--paper);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
img, svg, canvas { max-width: 100%; display: block; }
img { height: auto; }
a { color: inherit; text-underline-offset: 0.18em; text-decoration-thickness: 2px; }
a:hover { text-decoration-color: var(--accent); }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.2em; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; text-transform: uppercase; line-height: 1.1; letter-spacing: 0.01em; margin: 0 0 0.5em; text-wrap: balance; }
h1 { font-size: clamp(2.5rem, 10.5vw, 4.25rem); }
h2 { font-size: clamp(1.9rem, 6.2vw, 3.2rem); }
h3 { font-size: clamp(1.3rem, 3.6vw, 1.6rem); letter-spacing: 0.02em; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 4px; }
[hidden] { display: none !important; }
.nw { white-space: nowrap; }

.wrap { width: 100%; max-width: 1180px; margin-inline: auto; padding-inline: var(--gutter); }
.wrap--narrow { max-width: 780px; }
.skip { position: absolute; left: -999px; top: 0; z-index: 100; background: var(--white); padding: 0.7rem 1rem; border: var(--border); }
.skip:focus { left: 0.5rem; top: 0.5rem; }

.kicker {
    display: inline-block;
    font-family: var(--body);
    line-height: 1.35;
    text-shadow: none;
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    background: var(--accent);
    color: var(--white);
    padding: 0.35em 0.7em;
    margin: 0 0 1.1rem;
    transform: rotate(-1.5deg);
    border-radius: 3px;
}
.ambiance-fete .kicker { color: var(--ink); }

/* Boutons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5em;
    font-family: var(--display);
    font-size: 1.15rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    text-decoration: none;
    line-height: 1.1;
    color: var(--ink);
    background: var(--green);
    border: var(--border);
    border-radius: var(--radius);
    padding: 0.85em 1.3em;
    box-shadow: var(--shadow-small);
    cursor: pointer;
    transition: transform 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}
.btn:hover { background: #7fe044; transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--ink); }
.btn:active { transform: translate(3px, 3px); box-shadow: 1px 1px 0 var(--ink); }
.btn--big { font-size: clamp(1.25rem, 4.6vw, 1.55rem); padding: 0.9em 1.5em; box-shadow: var(--shadow); }
.btn--small { font-size: 0.95rem; padding: 0.6em 0.95em; box-shadow: 3px 3px 0 var(--ink); }
.btn--ghost { background: var(--white); }
.btn--ghost:hover { background: var(--paper-2); }
.btn--danger { background: var(--white); color: var(--red-dark); border-color: var(--red-dark); box-shadow: 4px 4px 0 var(--red-dark); }
.btn--danger:hover { background: #fff3f1; box-shadow: 6px 6px 0 var(--red-dark); }

/* Bandeau démonstration */
.demo-banner { margin: 0; padding: 0.5rem var(--gutter); background: var(--yellow); color: var(--ink); font-size: 0.875rem; font-weight: 700; text-align: center; border-bottom: var(--border); }

/* En-tête */
.site-header { position: sticky; top: 0; z-index: 40; background: var(--ink); color: var(--white); border-bottom: 3px solid var(--ink); }
.site-header__inner { display: flex; align-items: center; gap: 1rem; min-height: 3.75rem; }
.logo { font-family: var(--display); font-size: 1.6rem; text-transform: uppercase; letter-spacing: 0.03em; text-decoration: none; color: var(--white); line-height: 1; }
.logo span { color: var(--red); margin-left: 0.06em; }
.logo--footer { font-size: 2rem; margin-bottom: 0.6rem; }
.site-nav { display: none; gap: 1.5rem; margin-left: auto; font-size: 0.95rem; font-weight: 700; }
.site-nav a { text-decoration: none; padding: 0.4rem 0; border-bottom: 2px solid transparent; transition: border-color 160ms ease; }
.site-nav a:hover { border-color: var(--green); }
.site-header .btn { margin-left: auto; }
@media (min-width: 800px) {
    .site-nav { display: flex; }
    .site-header .btn { margin-left: 0; }
}

/* Hero */
.hero { position: relative; background: var(--hero-bg); color: var(--hero-ink); border-bottom: var(--border); overflow: hidden; isolation: isolate; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0.5; background-image: radial-gradient(rgba(255, 255, 255, 0.09) 1px, transparent 1px); background-size: 5px 5px; }
.ambiance-fete .hero::after { background-image: radial-gradient(rgba(20, 20, 20, 0.12) 1px, transparent 1px); }
.hero__confetti { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
.hero__grid { position: relative; z-index: 1; display: grid; gap: 2rem; padding-block: clamp(1.75rem, 4vw, 3.25rem) clamp(2.25rem, 5vw, 4rem); }
.hero h1 { margin-bottom: 0.35em; }
.hero h1 .kicker { display: table; }
.hero__title { display: block; }
.hero--vengeance .hero__title { text-shadow: 4px 4px 0 var(--red); }
.hero--fete .hero__title { text-shadow: 4px 4px 0 var(--white); }
.hero__subtitle { font-size: clamp(1.05rem, 3.4vw, 1.2rem); line-height: 1.5; max-width: 34em; color: var(--hero-muted); margin-bottom: 1.6rem; }
.hero__action { display: flex; flex-wrap: wrap; align-items: center; gap: 0.9rem 1.4rem; }
.hero__price { margin: 0; font-size: 1rem; }
.hero__price strong { font-family: var(--display); font-size: 1.7rem; letter-spacing: 0.02em; margin-right: 0.25em; }
.hero__facts { list-style: none; padding: 0; margin: 1.6rem 0 0; display: flex; flex-wrap: wrap; gap: 0.5rem 0.6rem; font-size: 0.875rem; font-weight: 700; }
.hero__facts li { border: 2px solid currentColor; border-radius: 100px; padding: 0.3em 0.85em; }
.hero__visual { align-self: center; }
.poster { margin: 0; background: var(--white); border: var(--border); border-color: var(--white); padding: 0.55rem 0.55rem 0; transform: rotate(1.6deg); box-shadow: 8px 8px 0 var(--red); }
.poster img { width: 100%; filter: contrast(1.08); }
.poster figcaption { font-family: var(--hand); font-size: 1.35rem; font-weight: 700; color: var(--ink); text-align: center; padding: 0.35rem 0.5rem 0.5rem; line-height: 1.2; }
.envelope { width: min(100%, 460px); margin-inline: auto; overflow: visible; }
.envelope__body { filter: drop-shadow(8px 8px 0 rgba(20, 20, 20, 0.9)); }
.envelope__confetti > * { animation: float 5s ease-in-out infinite; }
.envelope__confetti > *:nth-child(2n) { animation-duration: 6.2s; animation-delay: -1.4s; }
.envelope__confetti > *:nth-child(3n) { animation-duration: 7s; animation-delay: -3s; }
@keyframes float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -12px; } }
@media (min-width: 960px) {
    .hero__grid { grid-template-columns: 1.2fr 0.8fr; gap: 3rem; align-items: center; }
}

/* Étapes */
.steps { padding-block: var(--block); }
.steps__list { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; gap: 1.4rem; counter-reset: none; }
.steps__list li { position: relative; background: var(--white); border: var(--border); border-radius: var(--radius); box-shadow: var(--shadow-small); padding: 2.4rem 1.4rem 1.2rem; }
.steps__list li p { margin: 0; color: var(--muted); }
.steps__num { position: absolute; top: -1.2rem; left: 1.2rem; width: 2.8rem; height: 2.8rem; display: grid; place-items: center; font-family: var(--display); font-size: 1.5rem; background: var(--accent); color: var(--white); border: var(--border); border-radius: 50%; }
.ambiance-fete .steps__num { color: var(--ink); }
@media (min-width: 800px) { .steps__list { grid-template-columns: repeat(3, 1fr); gap: 1.6rem; } }

/* Blocs de texte */
.prose-block { padding-block: var(--block); }
.prose-block--alt { background: var(--paper-2); border-block: var(--border); }
.prose { font-size: 1.0938rem; }
.prose > *:last-child { margin-bottom: 0; }
.prose h2 { margin-top: 2.2em; font-size: clamp(1.6rem, 5vw, 2.3rem); }
.prose h3 { margin-top: 1.8em; font-family: var(--body); font-weight: 700; text-transform: none; font-size: 1.2rem; letter-spacing: 0; line-height: 1.3; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: 0.5em; }
.prose li::marker { color: var(--accent); font-weight: 700; }
.prose strong { font-weight: 700; }
.prose a { font-weight: 700; text-decoration-color: var(--accent); }
.prose blockquote { margin: 1.5em 0; padding: 0.9em 1.2em; border-left: 6px solid var(--accent); background: var(--white); font-family: var(--hand); font-size: 1.4rem; line-height: 1.3; }
.prose table { width: 100%; border-collapse: collapse; margin: 1.5em 0; font-size: 0.95rem; display: block; overflow-x: auto; }
.prose th, .prose td { border: 2px solid var(--ink); padding: 0.55em 0.7em; text-align: left; vertical-align: top; }
.prose th { background: var(--ink); color: var(--white); }

/* Exemples de messages */
.ideas { padding-block: var(--block) calc(var(--block) * 0.5); }
.ideas__lead { max-width: 40em; color: var(--muted); }
.ideas__list { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; gap: 1.1rem; }
.ideas__list { gap: 1.6rem 1.4rem; padding: 0.6rem 0.4rem 1.4rem; }
.note { --tilt: 0deg; position: relative; height: 100%; display: flex; flex-direction: column; background: var(--white); border: 1px solid rgba(20, 20, 20, 0.12); box-shadow: 0 1px 2px rgba(20, 20, 20, 0.08), 0 10px 24px -12px rgba(20, 20, 20, 0.35); padding: 2.6rem 1.3rem 2rem; min-height: 15rem; transform: rotate(var(--tilt)); transition: transform 180ms ease, box-shadow 180ms ease; background-image: repeating-linear-gradient(transparent, transparent 1.95rem, rgba(20, 20, 20, 0.08) 1.95rem, rgba(20, 20, 20, 0.08) 2rem); background-position: 0 2.6rem; }
.note:hover { transform: rotate(0deg) translateY(-3px); box-shadow: 0 2px 4px rgba(20, 20, 20, 0.08), 0 18px 30px -14px rgba(20, 20, 20, 0.4); }
.note__stamp { position: absolute; top: 0.7rem; right: 0.8rem; font-size: 0.6875rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); border: 2px solid var(--accent); border-radius: 999px; padding: 0.22em 0.7em; transform: rotate(5deg); background: var(--white); }
.note__text { font-family: var(--hand); font-size: 1.45rem; line-height: 2rem; font-weight: 700; margin: 0; overflow-wrap: anywhere; }
.note__sign { font-family: var(--hand); font-size: 1.6rem; line-height: 2rem; font-weight: 700; text-align: right; margin: auto 0 0; padding-top: 1rem; color: var(--accent); }
.note__sign::before { content: "Signé : "; color: var(--muted); font-size: 0.85em; }
.note__confetti { position: absolute; left: 0.6rem; right: 0.6rem; bottom: 0.45rem; height: 0.9rem; background-image: radial-gradient(circle, var(--red) 0 2.4px, transparent 3px), radial-gradient(circle, var(--yellow) 0 2.2px, transparent 2.8px), radial-gradient(circle, var(--blue) 0 2px, transparent 2.6px), radial-gradient(circle, var(--green) 0 2.2px, transparent 2.8px), radial-gradient(circle, var(--pink) 0 2px, transparent 2.6px); background-size: 41px 11px, 29px 13px, 53px 9px, 37px 12px, 23px 10px; background-position: 3px 2px, 11px 6px, 19px 1px, 7px 4px, 15px 5px; background-repeat: repeat-x; opacity: 0.9; }
@media (min-width: 700px) { .ideas__list { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .ideas__list { grid-template-columns: repeat(3, 1fr); } }

/* Commande */
.order { padding-block: calc(var(--block) * 0.6) var(--block); }
.order__head { margin-bottom: 1.6rem; }
.order__grid { display: grid; gap: 2rem; align-items: start; }
.order__form { background: var(--white); border: var(--border); border-radius: var(--radius); box-shadow: var(--shadow); padding: clamp(1.1rem, 4vw, 2rem); min-width: 0; }
.step { border: 0; padding: 0; margin: 0 0 1.8rem; min-width: 0; }
.step legend { display: flex; align-items: center; gap: 0.6rem; padding: 0; margin-bottom: 1rem; font-family: var(--display); font-size: 1.35rem; text-transform: uppercase; letter-spacing: 0.03em; }
.step__num { width: 2rem; height: 2rem; display: grid; place-items: center; font-size: 1.05rem; background: var(--ink); color: var(--white); border-radius: 50%; }
.field { margin-bottom: 1rem; }
.field label, .field__label { display: block; font-size: 0.9375rem; font-weight: 700; margin: 0 0 0.35rem; }
.field input[type="text"], .field input[type="email"], .field input[type="password"], .field textarea {
    width: 100%; font: inherit; font-size: 1rem; color: var(--ink); background: var(--white);
    border: 2px solid var(--ink); border-radius: 8px; padding: 0.75rem 0.85rem; min-height: 3rem;
    transition: box-shadow 160ms ease, border-color 160ms ease;
}
.field textarea { resize: vertical; min-height: 8.5rem; line-height: 1.5; }
.field input::placeholder, .field textarea::placeholder { color: #6f6a5f; }
.field input:focus, .field textarea:focus { outline: none; box-shadow: 0 0 0 3px var(--blue); }
.login { max-width: 26rem; margin: 2rem auto; }
.login__form .btn { width: 100%; margin-top: 0.5rem; }
.field__help { font-size: 0.875rem; color: var(--muted); margin: 0.35rem 0 0; }
.field__errors { list-style: none; padding: 0; margin: 0.4rem 0 0; font-size: 0.9375rem; font-weight: 700; color: var(--red-dark); }
.field--error input, .field--error textarea { border-color: var(--red); background: #fff3f1; }
.field-pair { display: grid; grid-template-columns: minmax(0, 8.5rem) minmax(0, 1fr); gap: 0.8rem; }
.counter { font-size: 0.8125rem; color: var(--muted); text-align: right; margin: -0.6rem 0 1rem; font-variant-numeric: tabular-nums; }
.counter.is-near { color: var(--red-dark); font-weight: 700; }
.choices { display: grid; gap: 0.6rem; }
.field label.choice, .field label.check, .choice, .check { display: flex; align-items: flex-start; gap: 0.7rem; cursor: pointer; font-weight: 700; font-size: 0.9688rem; line-height: 1.4; margin: 0; }
.choice { border: 2px solid var(--ink); border-radius: 8px; padding: 0.8rem 0.9rem; background: var(--white); transition: background-color 160ms ease; }
.choice:hover { background: var(--paper); }
.choice:has(input:checked) { background: #e9f9df; box-shadow: inset 0 0 0 1px var(--ink); }
.choice input, .check input { appearance: none; -webkit-appearance: none; flex: none; width: 1.375rem; height: 1.375rem; margin: 0; border: 2px solid var(--ink); background: var(--white); cursor: pointer; display: grid; place-content: center; transition: background-color 160ms ease; }
.choice input { border-radius: 50%; }
.check input { border-radius: 5px; }
.choice input::before, .check input::before { content: ""; width: 0.7rem; height: 0.7rem; transform: scale(0); transition: transform 160ms ease; background: var(--ink); }
.choice input::before { border-radius: 50%; }
.check input::before { clip-path: polygon(14% 52%, 0 66%, 38% 100%, 100% 22%, 86% 10%, 37% 72%); }
.choice input:checked::before, .check input:checked::before { transform: scale(1); }
.check input:checked { background: var(--green); }
.field--error .check input { border-color: var(--red); }
.check span { font-weight: 400; font-size: 0.9375rem; }
@media (min-width: 560px) { .choices { grid-template-columns: 1fr 1fr; } }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.alert { background: #fff3f1; border: 2px solid var(--red); border-radius: 8px; padding: 0.8rem 1rem; font-weight: 700; color: var(--red-dark); }
.order__pay { border-top: 2px dashed var(--ink); padding-top: 1.4rem; display: grid; gap: 0.9rem; }
.order__pay .btn { width: 100%; }
.price { margin: 0; display: flex; align-items: baseline; flex-wrap: wrap; gap: 0.2rem 0.7rem; }
.price strong { font-family: var(--display); font-size: 2.6rem; line-height: 1; letter-spacing: 0.02em; }
.price span { color: var(--muted); font-size: 0.9375rem; }
.reassure { margin: 0; font-size: 0.875rem; color: var(--muted); text-align: center; }
.order__preview-title { font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 0.9rem; }
.ticks { list-style: none; padding: 0; margin: 1.6rem 0 0; display: grid; gap: 0.5rem; font-size: 0.9375rem; font-weight: 700; }
.ticks li { position: relative; padding-left: 1.9rem; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 0.2em; width: 1.2rem; height: 1.2rem; border-radius: 50%; background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3.2 3.2L15 7' fill='none' stroke='%23141414' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat; border: 2px solid var(--ink); }
@media (min-width: 960px) {
    .order__grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: 3rem; }
    .order__preview { position: sticky; top: 5.5rem; }
}

/* Aperçu de la lettre */
.letter { position: relative; padding: 0 0.4rem 2.6rem; }
.letter__sheet { position: relative; z-index: 1; background: var(--white); border: 2px solid var(--ink); box-shadow: var(--shadow); padding: 1.6rem 1.4rem 1.2rem; min-height: 19rem; display: flex; flex-direction: column; transform: rotate(-1.2deg); background-image: repeating-linear-gradient(transparent, transparent 1.95rem, rgba(20, 20, 20, 0.07) 1.95rem, rgba(20, 20, 20, 0.07) 2rem); }
.letter__to { font-weight: 700; font-size: 0.9375rem; margin-bottom: 1rem; overflow-wrap: anywhere; }
.letter__message { font-family: var(--hand); font-size: 1.55rem; line-height: 1.3; font-weight: 700; white-space: pre-wrap; overflow-wrap: anywhere; margin-bottom: 1.2rem; }
.letter__message.is-empty, .letter__to.is-empty { color: #7a7469; }
.letter__signature { font-family: var(--hand); font-size: 1.4rem; font-weight: 700; text-align: right; margin: auto 0 1rem; overflow-wrap: anywhere; min-height: 1.4em; }
.letter__foot { font-size: 0.6875rem; line-height: 1.4; color: var(--muted); border-top: 1px solid rgba(20, 20, 20, 0.25); padding-top: 0.6rem; margin: 0; }
.letter__confetti { position: absolute; inset: auto 0 0 0; height: 4.2rem; z-index: 2; pointer-events: none; }
.letter__confetti i { position: absolute; width: 6px; height: 6px; border-radius: 50%; background: var(--yellow); }
.letter__confetti i:nth-child(4n + 1) { background: var(--red); }
.letter__confetti i:nth-child(4n + 2) { background: var(--blue); width: 5px; height: 5px; }
.letter__confetti i:nth-child(4n + 3) { background: var(--green); }
.letter__confetti i:nth-child(5n) { background: var(--pink); }

/* Règles */
.rules { background: var(--ink); color: var(--white); padding-block: var(--block); border-block: var(--border); }
.rules__inner { display: grid; gap: 1.5rem; }
.rules__list { list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; }
.rules__list li { border-left: 5px solid var(--green); padding: 0.2rem 0 0.2rem 1rem; color: #ddd7cb; }
.rules__list strong { color: var(--white); }
.rules__more { margin: 0; font-weight: 700; }
.rules__more a { text-decoration-color: var(--green); }
@media (min-width: 900px) {
    .rules__inner { grid-template-columns: 0.8fr 1.2fr; gap: 3rem; align-items: start; }
    .rules__more { grid-column: 2; }
}

/* Questions */
.faq { padding-block: var(--block); }
.faq__item { background: var(--white); border: var(--border); border-radius: var(--radius); margin-top: 0.9rem; }
.faq__item summary { list-style: none; cursor: pointer; font-weight: 700; font-size: 1.0625rem; line-height: 1.35; padding: 1rem 3.2rem 1rem 1.2rem; position: relative; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "+"; position: absolute; right: 1.1rem; top: 50%; translate: 0 -50%; font-family: var(--display); font-size: 1.8rem; line-height: 1; color: var(--accent); transition: rotate 200ms ease; }
.ambiance-fete .faq__item summary::after { color: #c4215a; }
.faq__item[open] summary::after { rotate: 45deg; }
.faq__item p { margin: 0; padding: 0 1.2rem 1.1rem; color: #2f2c27; }

/* Pages liées */
.more { padding-block: var(--block); background: var(--paper-2); border-top: var(--border); }
.cards { list-style: none; padding: 0; margin: 1.8rem 0 0; display: grid; gap: 1.1rem; }
.card { display: flex; flex-direction: column; gap: 0.6rem; height: 100%; text-decoration: none; border: var(--border); border-radius: var(--radius); padding: 1.2rem; box-shadow: var(--shadow-small); transition: transform 160ms ease, box-shadow 160ms ease; cursor: pointer; }
.card--vengeance { background: var(--ink); color: var(--white); }
.card--fete { background: var(--yellow); color: var(--ink); }
.card:hover { transform: translate(-2px, -2px); box-shadow: var(--shadow); }
.card__tag { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; opacity: 0.85; }
.card strong { font-family: var(--display); font-weight: 400; font-size: 1.5rem; line-height: 1.05; text-transform: uppercase; letter-spacing: 0.02em; }
.card__go { margin-top: auto; font-size: 0.875rem; font-weight: 700; text-decoration: underline; text-underline-offset: 0.2em; }
.more__sub { margin-top: 2.6rem; font-family: var(--body); font-weight: 700; text-transform: none; font-size: 1.15rem; letter-spacing: 0; }
.links { list-style: none; padding: 0; margin: 0.8rem 0 0; display: grid; gap: 0.5rem; }
.links a { font-weight: 700; }
@media (min-width: 800px) { .cards { grid-template-columns: repeat(3, 1fr); } }

/* Dernier appel */
.closing { padding-block: var(--block); text-align: center; background: var(--hero-bg); color: var(--hero-ink); border-top: var(--border); }
.closing p { color: var(--hero-muted); max-width: 34em; margin-inline: auto; }
.closing .btn { margin: 0.8rem 0 1rem; }
.closing .hero__price { color: var(--hero-ink); font-size: 0.9375rem; }

/* Bouton fixe mobile */
.sticky-cta { position: fixed; inset: auto 0 0 0; z-index: 50; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0.6rem var(--gutter) calc(0.6rem + env(safe-area-inset-bottom)); background: var(--white); border-top: var(--border); }
.sticky-cta p { margin: 0; font-size: 0.875rem; line-height: 1.2; }
.sticky-cta strong { display: block; font-family: var(--display); font-size: 1.35rem; font-weight: 400; }
.sticky-cta .btn { font-size: 1rem; padding: 0.7em 1em; box-shadow: 3px 3px 0 var(--ink); }
@media (min-width: 960px) { .sticky-cta { display: none !important; } }
@media (max-width: 959px) { body:has(.sticky-cta:not([hidden])) .site-footer { padding-bottom: 5.5rem; } }

/* Pied de page */
.site-footer { background: var(--ink); color: #cfc9bd; padding-block: 3rem 1.5rem; font-size: 0.9375rem; }
.site-footer__grid { display: grid; gap: 2rem; }
.site-footer__title { font-weight: 700; color: var(--white); text-transform: uppercase; letter-spacing: 0.07em; font-size: 0.8125rem; margin-bottom: 0.7rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.15rem; }
.site-footer a { text-decoration: none; display: inline-block; padding: 0.3rem 0; }
.site-footer a:hover { color: var(--white); text-decoration: underline; text-decoration-color: var(--green); }
.site-footer__legal { margin-top: 2.2rem; padding-top: 1.2rem; border-top: 1px solid #3a3835; font-size: 0.8125rem; color: #a39d91; }
@media (min-width: 800px) { .site-footer__grid { grid-template-columns: 1.3fr 1fr 1fr; gap: 3rem; } }

/* Pages simples (légales, confirmation) */
.plain { padding-block: clamp(2.5rem, 7vw, 4.5rem) var(--block); }
.plain h1 { font-size: clamp(2.1rem, 8vw, 3.6rem); }
.plain__lead { font-size: 1.15rem; color: var(--muted); max-width: 38em; }
.panel { background: var(--white); border: var(--border); border-radius: var(--radius); box-shadow: var(--shadow-small); padding: clamp(1.1rem, 4vw, 1.8rem); margin-block: 1.6rem; }
.panel > *:last-child { margin-bottom: 0; }
.panel h2 { font-size: 1.5rem; }
.timeline { list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; counter-reset: etape; }
.timeline li { counter-increment: etape; position: relative; padding-left: 3rem; }
.timeline li::before { content: counter(etape); position: absolute; left: 0; top: 0; width: 2.1rem; height: 2.1rem; display: grid; place-items: center; font-family: var(--display); background: var(--ink); color: var(--white); border-radius: 50%; }
.timeline strong { display: block; }
.recap { margin: 0; display: grid; gap: 0.7rem; }
.recap dt { font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.recap dd { margin: 0; overflow-wrap: anywhere; white-space: pre-line; }
.success { background: #e9f9df; border: 2px solid var(--green-dark); border-radius: 8px; padding: 0.8rem 1rem; font-weight: 700; }

/* Blog */
.blog-head { background: var(--ink); color: var(--white); padding-block: clamp(2.5rem, 7vw, 4.5rem); border-bottom: var(--border); }
.blog-head p { color: #cfc9bd; max-width: 38em; font-size: 1.1rem; margin: 0; }
.posts { list-style: none; padding: 0; margin: 0; display: grid; gap: 1.3rem; padding-block: var(--block); }
.post-card { display: flex; flex-direction: column; gap: 0.6rem; height: 100%; background: var(--white); border: var(--border); border-radius: var(--radius); box-shadow: var(--shadow-small); padding: 1.3rem; text-decoration: none; cursor: pointer; transition: transform 160ms ease, box-shadow 160ms ease; }
.post-card:hover { transform: translate(-2px, -2px); box-shadow: var(--shadow); }
.post-card h2 { font-size: 1.55rem; margin: 0; }
.post-card p { margin: 0; color: var(--muted); font-size: 0.9688rem; }
.post-card__meta { margin-top: auto; padding-top: 0.6rem; font-size: 0.8125rem; font-weight: 700; color: var(--muted); }
@media (min-width: 700px) { .posts { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .posts { grid-template-columns: repeat(3, 1fr); } }
.article-head { background: var(--hero-bg); color: var(--hero-ink); padding-block: clamp(2rem, 6vw, 4rem); border-bottom: var(--border); }
.article-head h1 { font-size: clamp(2.1rem, 8vw, 3.9rem); }
.article-head__meta { color: var(--hero-muted); font-size: 0.9375rem; margin: 0; }
.crumbs { list-style: none; padding: 0; margin: 0 0 1.2rem; display: flex; flex-wrap: wrap; gap: 0.4rem; font-size: 0.875rem; color: var(--hero-muted); }
.crumbs li + li::before { content: "/"; margin-right: 0.4rem; }
.article-body { padding-block: clamp(2rem, 6vw, 3.5rem) var(--block); }
.inline-cta { margin: 2.4rem 0; background: var(--hero-bg); color: var(--hero-ink); border: var(--border); border-radius: var(--radius); box-shadow: var(--shadow); padding: clamp(1.2rem, 4vw, 1.8rem); }
.inline-cta h2 { margin: 0 0 0.4em; font-size: clamp(1.5rem, 5vw, 2rem); }
.inline-cta p { color: var(--hero-muted); margin-bottom: 1.1rem; }
.inline-cta__row { display: flex; flex-wrap: wrap; align-items: center; gap: 0.8rem 1.2rem; }
.inline-cta__row .hero__price { color: var(--hero-ink); }

/* Gestion */
.admin { padding-block: 2rem var(--block); }
.admin h1 { font-size: clamp(1.9rem, 6vw, 2.8rem); }
.tabs { list-style: none; padding: 0; margin: 1.2rem 0 1.6rem; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.tabs a { display: inline-flex; gap: 0.5rem; align-items: center; text-decoration: none; font-weight: 700; font-size: 0.9375rem; border: 2px solid var(--ink); border-radius: 100px; padding: 0.45rem 0.95rem; background: var(--white); }
.tabs a[aria-current="page"] { background: var(--ink); color: var(--white); }
.tabs span { font-variant-numeric: tabular-nums; opacity: 0.75; }
.orders { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.9rem; }
.order-row { display: grid; gap: 0.35rem; background: var(--white); border: var(--border); border-radius: var(--radius); padding: 1rem 1.1rem; text-decoration: none; cursor: pointer; transition: transform 160ms ease, box-shadow 160ms ease; }
.order-row:hover { transform: translate(-2px, -2px); box-shadow: var(--shadow-small); }
.order-row__top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.3rem 1rem; font-weight: 700; }
.order-row__msg { margin: 0; color: #2f2c27; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere; }
.order-row__meta { font-size: 0.8125rem; color: var(--muted); }
.order-item { position: relative; }
.order-print { position: absolute; right: 1.1rem; bottom: 0.9rem; z-index: 1; font-size: 0.8125rem; font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase; text-decoration: none; color: var(--ink); background: var(--yellow); border: 2px solid var(--ink); border-radius: 6px; padding: 0.3rem 0.6rem; }
.order-print:hover { background: var(--ink); color: var(--yellow); }
.order-item .order-row__meta { padding-right: 6.5rem; }
.printbar { display: grid; gap: 0.6rem; margin: 0 0 1.2rem; padding-bottom: 1.2rem; border-bottom: 2px solid var(--paper-2); }
.printbar small { color: var(--muted); line-height: 1.4; }
.badge { display: inline-block; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; border: 2px solid var(--ink); border-radius: 100px; padding: 0.15rem 0.6rem; background: var(--paper); }
.badge--payee { background: var(--yellow); }
.badge--validee { background: var(--blue); }
.badge--postee { background: var(--green); }
.badge--refusee { background: var(--red); color: var(--white); }
.admin-grid { display: grid; gap: 1.6rem; align-items: start; }
@media (min-width: 960px) { .admin-grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); } }
.actions { display: grid; gap: 1.1rem; }
.actions form { display: grid; gap: 0.7rem; }
.actions label { font-weight: 700; font-size: 0.9375rem; }
.actions input[type="text"], .actions input[type="file"] { width: 100%; font: inherit; border: 2px solid var(--ink); border-radius: 8px; padding: 0.65rem 0.8rem; background: var(--white); }
.flash { border: 2px solid var(--ink); border-radius: 8px; padding: 0.75rem 1rem; font-weight: 700; margin-bottom: 1rem; }
.flash--ok { background: #e9f9df; }
.flash--erreur { background: #fff3f1; border-color: var(--red); color: var(--red-dark); }
.empty { border: 2px dashed var(--ink); border-radius: var(--radius); padding: 2rem 1.2rem; text-align: center; color: var(--muted); }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
    .hero__confetti { display: none; }
}

@media print {
    .site-header, .site-footer, .sticky-cta, .demo-banner, .no-print { display: none !important; }
    body { background: #fff; }
}

/* Option paillettes : la version ultime */
.upsell { display: grid; grid-template-columns: auto 1fr auto; gap: 0.9rem; align-items: center; margin-top: 1.1rem; padding: 1rem 1.1rem; background: var(--white); border: var(--border); border-radius: var(--radius); box-shadow: var(--shadow-small); cursor: pointer; transition: background-color 160ms ease, transform 160ms ease; }
.upsell:hover { transform: translate(-1px, -1px); }
.upsell.is-on { background: #fff3c4; border-color: var(--ink); box-shadow: 4px 4px 0 var(--yellow), var(--shadow-small); }
.upsell input { width: 1.6rem; height: 1.6rem; margin: 0; flex: none; }
.upsell__body { display: grid; gap: 0.2rem; min-width: 0; }
.upsell__tag { font-size: 0.75rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--red-dark); }
.upsell strong { font-family: var(--display); font-size: 1.35rem; letter-spacing: 0.02em; line-height: 1.1; }
.upsell__text { font-size: 0.875rem; color: var(--muted); line-height: 1.4; }
.upsell__price { font-family: var(--display); font-size: 1.5rem; white-space: nowrap; background: var(--ink); color: var(--yellow); padding: 0.25rem 0.6rem; border-radius: 6px; }
@media (max-width: 480px) { .upsell { grid-template-columns: auto 1fr; } .upsell__price { grid-column: 2; justify-self: start; } }
.letter.is-glitter .letter__sheet { background-image: radial-gradient(circle, #f5c518 0 1.1px, transparent 1.6px), radial-gradient(circle, #ffe08a 0 0.9px, transparent 1.4px), radial-gradient(circle, #e0a800 0 1px, transparent 1.5px); background-size: 37px 41px, 53px 47px, 29px 59px; background-position: 7px 11px, 23px 5px, 3px 29px; }
.letter.is-glitter .letter__confetti::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(circle, #ffd23f 0 1.5px, transparent 2.2px), radial-gradient(circle, #fff1a8 0 1px, transparent 1.6px); background-size: 19px 23px, 31px 17px; opacity: 0.9; }
.badge--glitter { background: var(--yellow); color: var(--ink); }
.glitter-flag { color: #8a6500; }

/* Emojis, bien visibles à côté des titres */
.emoji { font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif; font-style: normal; line-height: 1; display: inline-block; }
.hero__facts li { display: inline-flex; align-items: center; gap: 0.45em; }
.hero__facts .emoji { font-size: 1.15em; }
.steps__list h3 { display: flex; align-items: center; gap: 0.5em; }
.steps__list h3 .emoji { font-size: 1.9rem; }
.rules__list li { display: flex; gap: 0.8rem; align-items: flex-start; }
.rules__list li .emoji { font-size: 1.6rem; margin-top: -0.1rem; }
.ticks li { padding-left: 0; display: flex; gap: 0.6rem; align-items: center; }
.ticks li::before { display: none; }
.ticks .emoji { font-size: 1.35rem; }
.upsell__tag { display: inline-flex; align-items: center; gap: 0.35em; }
.article-head__meta { display: inline-flex; align-items: center; gap: 0.45em; }
.inline-cta h2 .emoji { font-size: 0.95em; }
.poster img { aspect-ratio: 3 / 2; object-fit: cover; display: block; }
.poster--fete { box-shadow: 8px 8px 0 var(--yellow); transform: rotate(-1.4deg); }
.article-cover { margin: clamp(1.2rem, 4vw, 2rem) 0 0; border: var(--border); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: var(--white); }
.article-cover img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.article-head__meta { display: inline-flex; align-items: center; gap: 0.45em; }
.post-card { padding-top: 0; overflow: hidden; }
.post-card__img { display: block; width: auto; align-self: stretch; margin: 0 -1.3rem 0.4rem; aspect-ratio: 16 / 9; object-fit: cover; border-bottom: var(--border); }
.inline-cta h2 .ico { color: var(--yellow); }

/* Blocs de texte illustrés */
.prose-block__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.8fr); gap: clamp(1.6rem, 5vw, 4rem); align-items: center; }
.prose-block__grid--flip .prose-block__text { order: 2; }
.prose-block__text { max-width: 36em; }
.poster--section { transform: rotate(-1.2deg); }
.prose-block__grid--flip .poster--section { transform: rotate(1.4deg); }
.poster--section img { aspect-ratio: 4 / 3; }
@media (max-width: 859px) { .prose-block__grid { grid-template-columns: 1fr; } .prose-block__grid--flip .prose-block__text { order: 0; } .poster--section { max-width: 32rem; } }
.upsell { grid-template-columns: auto 1fr auto auto; }
.upsell__img { width: 5.2rem; height: 5.2rem; object-fit: cover; border: 2px solid var(--ink); border-radius: 8px; }
@media (max-width: 560px) { .upsell { grid-template-columns: auto 1fr; } .upsell__img { grid-column: 2; width: 100%; height: 9rem; } .upsell__price { grid-column: 2; justify-self: start; } }

/* Clic sur une lettre : confettis et paillettes */
.note { cursor: pointer; }
.note.is-bursting { animation: note-shake 450ms ease; }
@keyframes note-shake { 0% { transform: rotate(var(--tilt)); } 20% { transform: rotate(calc(var(--tilt) - 2deg)) translateY(-2px); } 45% { transform: rotate(calc(var(--tilt) + 2deg)); } 70% { transform: rotate(calc(var(--tilt) - 1deg)); } 100% { transform: rotate(var(--tilt)); } }
.note__spark { position: absolute; width: 6px; height: 6px; margin: -3px 0 0 -3px; border-radius: 50%; pointer-events: none; z-index: 3; animation: spark var(--d, 900ms) cubic-bezier(0.2, 0.7, 0.3, 1) forwards; }
.note__spark--gold { width: 4px; height: 4px; margin: -2px 0 0 -2px; box-shadow: 0 0 6px 1px rgba(255, 221, 120, 0.9); animation-name: spark-gold; }
@keyframes spark { 0% { transform: translate(0, 0) scale(0.6); opacity: 1; } 60% { opacity: 1; } 100% { transform: translate(var(--dx), calc(var(--dy) + 70px)) rotate(200deg); opacity: 0; } }
@keyframes spark-gold { 0% { transform: translate(0, 0) scale(0.4); opacity: 1; } 30% { transform: translate(calc(var(--dx) * 0.5), calc(var(--dy) * 0.5)) scale(1.6); opacity: 1; } 55% { opacity: 0.4; } 70% { opacity: 1; } 100% { transform: translate(var(--dx), calc(var(--dy) + 60px)) scale(0.5); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .note.is-bursting { animation: none; } .note__spark { display: none; } }

/* Le formulaire est la lettre : une seule feuille, des autocollants, une bande de paiement */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.order__lead { max-width: 40em; color: var(--muted); margin: 0.4rem 0 0; }
.order__form { background: transparent; border: 0; box-shadow: none; padding: 0; max-width: 46rem; margin: 0 auto; }
.order__form > .alert { margin-bottom: 1.4rem; }
.sheet { --line: 2rem; position: relative; background: var(--white); border: 1px solid rgba(20, 20, 20, 0.14); box-shadow: 0 1px 2px rgba(20, 20, 20, 0.08), 0 16px 34px -16px rgba(20, 20, 20, 0.45); padding: var(--line) clamp(1rem, 4vw, 2rem) calc(var(--line) * 1.9); transform: rotate(-0.6deg); background-image: repeating-linear-gradient(transparent, transparent calc(var(--line) - 1px), rgba(20, 20, 20, 0.1) calc(var(--line) - 1px), rgba(20, 20, 20, 0.1) var(--line)); background-position: 0 0.4rem; }
.sheet__date { font-family: var(--hand); font-size: 1.2rem; font-weight: 700; line-height: var(--line); text-align: right; margin: 0; color: var(--muted); }
.sheet__input { width: 100%; border: 0; background: transparent; font-family: var(--hand); font-size: 1.45rem; font-weight: 700; line-height: var(--line); color: var(--ink); padding: 0 0.2rem; outline: none; border-radius: 0; }
.sheet__input::placeholder { color: #a39d93; font-weight: 500; }
.sheet__input:focus, .sheet__message:focus, .sheet__sign-input:focus { box-shadow: none; background: rgba(255, 210, 63, 0.18); }
.sheet .field--error .sheet__input, .sheet .field--error .sheet__message, .sheet .field--error .sheet__sign-input { background: #fff3f1; }
.sheet .field__errors { line-height: 1.3; margin: 0.1rem 0 0; background: var(--white); font-size: 0.875rem; }
.sheet__to { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: baseline; gap: 0.5rem; }
.sheet__to .field__errors { grid-column: 1 / -1; }
.sheet__word { font-family: var(--hand); font-size: 1.6rem; font-weight: 700; line-height: var(--line); }
.sheet__input--name { font-size: 1.6rem; }
.sheet__addr { margin-left: clamp(1rem, 6vw, 2.2rem); }
.sheet__addr .sheet__input { font-size: 1.25rem; color: #2f2c27; }
.sheet__cpville { display: grid; grid-template-columns: minmax(0, 7.5rem) minmax(0, 1fr); gap: 0.6rem; }
.sheet__more { line-height: var(--line); }
.sheet__more summary { list-style: none; cursor: pointer; font-size: 0.8125rem; font-weight: 700; color: var(--muted); }
.sheet__more summary::-webkit-details-marker { display: none; }
.sheet__more[open] summary { display: none; }
.sheet__message { display: block; width: 100%; border: 0; background: transparent; font-family: var(--hand); font-size: 1.6rem; font-weight: 700; line-height: var(--line); color: var(--ink); resize: none; padding: 0 0.2rem; margin-top: var(--line); min-height: calc(var(--line) * 5); outline: none; overflow-wrap: anywhere; }
.sheet__message::placeholder { color: #a39d93; font-weight: 500; }
.sheet__signrow { display: grid; gap: 0.3rem; margin-top: var(--line); }
.sheet .choices { display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: center; min-height: var(--line); }
.sheet .choice { padding: 0.3rem 0.7rem; border-radius: 999px; font-size: 0.8125rem; gap: 0.45rem; align-items: center; transform: rotate(-1.5deg); border: 2px solid var(--accent); color: var(--accent); background: var(--white); line-height: 1.2; }
.sheet .choice:nth-child(2) { transform: rotate(1.2deg); }
.sheet .choice:has(input:checked) { background: var(--accent); color: var(--white); box-shadow: none; }
.sheet .choice input { width: 0.9rem; height: 0.9rem; border-color: currentColor; }
.sheet .choice input::before { background: currentColor; width: 0.45rem; height: 0.45rem; }
.sheet__signature { text-align: right; min-height: var(--line); }
.sheet__sign-input { width: 100%; max-width: 18rem; border: 0; background: transparent; font-family: var(--hand); font-size: 1.7rem; font-weight: 700; line-height: var(--line); text-align: right; color: var(--accent); padding: 0 0.2rem; outline: none; }
.sheet__sign-input::placeholder { color: #c9a8a2; font-weight: 500; }
.sheet__anon { font-family: var(--hand); font-size: 1.5rem; font-weight: 700; line-height: var(--line); margin: 0; color: var(--accent); }
.sheet .counter { position: relative; z-index: 2; text-align: right; margin: 0.2rem 0 0; font-size: 0.75rem; line-height: var(--line); }
.sheet .letter__confetti { height: 3rem; }
.sheet.is-glitter { background-image: radial-gradient(circle, #f5c518 0 1.1px, transparent 1.6px), radial-gradient(circle, #ffe08a 0 0.9px, transparent 1.4px), repeating-linear-gradient(transparent, transparent calc(var(--line) - 1px), rgba(20, 20, 20, 0.1) calc(var(--line) - 1px), rgba(20, 20, 20, 0.1) var(--line)); background-size: 37px 41px, 53px 47px, auto; background-position: 7px 11px, 23px 5px, 0 0.4rem; }
.sheet.is-glitter .letter__confetti::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(circle, #ffd23f 0 1.5px, transparent 2.2px), radial-gradient(circle, #fff1a8 0 1px, transparent 1.6px); background-size: 19px 23px, 31px 17px; }
/* La section de commande tranche sur le reste du site */
.order--desk { background: var(--ink); color: var(--white); background-image: radial-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1.4px); background-size: 14px 14px; border-block: var(--border); }
.order--desk .order__head { margin-bottom: 1.4rem; }
.order--desk .kicker { background: var(--yellow); color: var(--ink); }
.order--desk .order__form { max-width: none; }
.order--desk > .wrap > .order__form > .alert { background: #fff3f1; color: var(--red-dark); }
.order--desk .order__lead { color: #cfc9bd; font-size: 1.125rem; margin-top: 0.5rem; }
.stepmark { display: flex; align-items: center; gap: 0.6rem; font-family: var(--display); font-size: 1.3rem; letter-spacing: 0.02em; margin: 0 0 0.7rem; color: var(--white); }
.stepmark span { width: 1.9rem; height: 1.9rem; display: grid; place-items: center; border-radius: 50%; background: var(--yellow); color: var(--ink); font-size: 1rem; flex: none; }
.stepmark--light { color: var(--ink); }
.stepmark--light span { background: var(--ink); color: var(--yellow); }
.desk { display: grid; gap: 2rem; align-items: start; }
@media (min-width: 960px) { .desk { grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr); gap: 2.6rem; } }
.desk__right { display: grid; gap: 1.6rem; }
.sheet__note { font-size: 0.8125rem; color: #cfc9bd; margin: 0.9rem 0 0; line-height: 1.45; }
.sheet__note a { color: var(--white); }
.order--desk .sheet .field__errors { color: var(--red-dark); }
/* Les extras : la carte vedette, l'inclus, le bientôt */
.addons { display: grid; gap: 0.7rem; }
.addon { display: grid; grid-template-columns: auto 1fr auto; gap: 0.8rem; align-items: center; padding: 0.8rem 1rem; background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.18); border-radius: var(--radius); color: var(--white); }
.addon__emoji { font-size: 1.5rem; line-height: 1; }
.addon__body { display: grid; gap: 0.15rem; min-width: 0; }
.addon__body strong { font-size: 0.9375rem; line-height: 1.25; }
.addon__body span { font-size: 0.8125rem; color: #cfc9bd; line-height: 1.35; }
.addon__price { font-family: var(--display); font-size: 1rem; white-space: nowrap; color: var(--green); }
.addon--soon { opacity: 0.55; }
.addon--star { position: relative; display: grid; grid-template-columns: 1fr; gap: 0.55rem; padding: 1.1rem 1.1rem 1rem; background: var(--white); color: var(--ink); border: 3px solid var(--yellow); box-shadow: 0 0 0 4px rgba(255, 210, 63, 0.18), var(--shadow); cursor: pointer; overflow: hidden; transition: background-color 160ms ease, box-shadow 160ms ease; }
.addon--star:hover { box-shadow: 0 0 0 4px rgba(255, 210, 63, 0.35), var(--shadow); }
.addon--star.is-on { background: #fff3c4; }
.addon--star input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.addon--star:focus-within { box-shadow: inset 0 0 0 3px var(--blue), var(--shadow); }
.addon__tag { display: inline-flex; align-items: center; gap: 0.35em; font-size: 0.75rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--red-dark); }
.addon__title { font-size: 1.2rem; line-height: 1.2; }
.addon__img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 10px; border: 2px solid var(--ink); }
.addon__text { font-size: 0.9375rem; color: #2f2c27; line-height: 1.45; }
.addon__cta { display: flex; align-items: center; justify-content: space-between; gap: 0.8rem; padding-top: 0.2rem; }
.addon--star .addon__price { font-size: 1.7rem; color: var(--ink); }
.addon__switch { display: inline-block; min-width: 8rem; text-align: center; font-weight: 800; font-size: 0.9375rem; padding: 0.6rem 1rem; border-radius: 999px; border: 2px solid var(--ink); background: var(--white); }
.addon__switch-on { display: none; }
.addon--star.is-on .addon__switch { background: var(--green); }
.addon--star.is-on .addon__switch-off { display: none; }
.addon--star.is-on .addon__switch-on { display: inline; }
.addon--star.is-on .addon__switch-on::before { content: "✓ "; }
.addon__spark { position: absolute; width: 5px; height: 5px; margin: -2.5px 0 0 -2.5px; border-radius: 50%; pointer-events: none; z-index: 3; box-shadow: 0 0 6px 1px rgba(255, 221, 120, 0.9); animation: spark-gold var(--d, 900ms) cubic-bezier(0.2, 0.7, 0.3, 1) forwards; }
/* La bande d'envoi */
.paybar { background: var(--yellow); color: var(--ink); border-radius: var(--radius); padding: 1.1rem 1.1rem 1rem; box-shadow: var(--shadow); display: grid; gap: 0.9rem; border: var(--border); }
.paybar__mail label { display: block; font-size: 0.8125rem; font-weight: 700; margin-bottom: 0.4rem; }
.paybar__input { position: relative; display: block; }
.paybar__ico { position: absolute; left: 0.9rem; top: 50%; translate: 0 -50%; font-size: 1.5rem; line-height: 1; pointer-events: none; }
.paybar__mail input { width: 100%; font: inherit; font-size: 1.125rem; padding: 1rem 1rem 1rem 3.3rem; border-radius: 10px; border: 2px solid var(--ink); background: var(--white); color: var(--ink); outline: none; }
.paybar__mail input:focus { box-shadow: 0 0 0 3px var(--blue); }
.paybar__mail.field--error input { border-color: var(--red); background: #fff3f1; }
.paybar__btn { width: 100%; white-space: normal; font-size: 1.2rem; }
.paybar__btn [data-total] { font-family: inherit; background: rgba(0, 0, 0, 0.16); padding: 0.05em 0.45em; border-radius: 6px; margin-left: 0.2em; }
.paybar__legal { margin: 0; font-size: 0.75rem; line-height: 1.45; color: #4a4030; }
.paybar__legal a { color: var(--ink); }

/* Les règles par-dessus la lettre */
.rules-dialog { border: var(--border); border-radius: var(--radius); padding: 1.4rem 1.4rem 1.2rem; max-width: 34rem; width: calc(100% - 2rem); background: var(--paper); color: var(--ink); box-shadow: var(--shadow); font-size: 0.9375rem; }
.rules-dialog::backdrop { background: rgba(20, 20, 20, 0.6); }
.rules-dialog h3 { font-family: var(--display); font-size: 1.6rem; margin: 0.6rem 0 0.8rem; line-height: 1.05; }
.rules-dialog ul { margin: 0 0 1rem; padding-left: 1.2rem; display: grid; gap: 0.5rem; }
.rules-dialog__more { font-size: 0.8125rem; color: var(--muted); margin: 0 0 1rem; }
.rules-dialog .btn { width: 100%; }

/* Page de réécriture après un refus : la même feuille, destinataire figé */
.order-form--rewrite { margin-top: 1.6rem; }
.order-form--rewrite .sheet { margin-inline: auto; max-width: 34rem; }
.sheet__static { font-family: var(--hand); font-size: 1.6rem; font-weight: 700; line-height: var(--line); color: var(--ink); margin: 0; }
.sheet__static--addr { font-size: 1.25rem; color: #2f2c27; margin-left: clamp(1rem, 6vw, 2.2rem); }
.rewrite__why { border-left: 6px solid var(--red); }
.rewrite__old { background: var(--paper-2); border-radius: 8px; padding: 0.7rem 0.9rem; white-space: pre-wrap; text-decoration: line-through; color: var(--muted); }
.rewrite__old-label { text-decoration: none; display: block; font-weight: 700; color: var(--ink); margin-bottom: 0.3rem; }
.rewrite__submit { margin: 1.6rem 0 0.6rem; text-align: center; }
.order-form--rewrite .paybar__legal { text-align: center; }

.article-head__author { margin: 0.2rem 0 0; font-size: 0.9375rem; color: var(--hero-muted); }

/* Bannière de consentement Sirdata sur petit écran : texte un peu plus petit, rien de masqué ni de défilant (le lien
   « Continuer sans accepter » doit rester aussi visible que « Tout accepter »), pour que ce soit le titre de la page
   et non le paragraphe de la bannière qui serve d'élément principal à la mesure de vitesse. Points d'accroche officiels
   de Sirdata (data-sd-override), pas ses classes hachées. */
@media (max-width: 760px) {
    [data-sd-override="text"] { font-size: 11px !important; line-height: 1.3 !important; }
    [data-sd-override="title"] { font-size: 1.1rem !important; }
}
