/* ==========================================================================
   Réponse Mariage — « La soirée des enveloppes »
   Papier vergé crème, encre bleu nuit, un seul rouge : celui du timbre
   ========================================================================== */

:root {
    --desk: #f5efe2;
    --desk-2: #ece4d2;
    --envelope: #ece2cc;
    --flap: #e1d2b3;
    --card: #fffcf5;
    --ink: #1d2a44;
    --ink-2: #3a4763;
    --muted: #5d6680;
    --red: #c8402f;
    --red-deep: #a83223;
    --line: rgba(29, 42, 68, .16);
    --display: "Libre Caslon Text", Georgia, serif;
    --text: "Jost", system-ui, sans-serif;
    --hand: "Caveat", "Segoe Print", cursive;
    --ease: cubic-bezier(.16, 1, .3, 1);
    --bs-body-font-family: var(--text);
}

body {
    background-color: var(--desk);
    /* papier vergé : fines lignes horizontales */
    background-image: repeating-linear-gradient(0deg, rgba(29, 42, 68, .025) 0 1px, transparent 1px 7px);
    color: var(--ink); font-family: var(--text); font-size: 1.06rem; line-height: 1.6; -webkit-font-smoothing: antialiased;
    caret-color: var(--red); accent-color: var(--ink); scrollbar-color: rgba(29, 42, 68, .45) var(--desk);
}
::selection { background: var(--ink); color: var(--desk); }
a { color: var(--ink); text-decoration-color: var(--red); text-underline-offset: .22em; }
a:hover { color: var(--red-deep); }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }
.ink-red { color: var(--red); }

/* --- En-tête -------------------------------------------------------------- */
.site-header { position: sticky; top: 0; z-index: 30; background: rgba(245, 239, 226, .94); backdrop-filter: blur(6px); border-bottom: 1px solid var(--line); }
.site-header-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 1rem; }
.brand { font-family: var(--display); font-size: 1.35rem; color: var(--ink); text-decoration: none; margin: 0; letter-spacing: .005em; }
.brand span { font-style: italic; color: var(--red); }
.site-nav { display: flex; align-items: center; gap: 1.4rem; font-size: .95rem; }
.site-nav a:not(.btn-brand) { color: var(--ink); text-decoration: none; }
.site-nav a:not(.btn-brand):hover { color: var(--red); }

/* --- Boutons : le timbre ------------------------------------------------- */
/* Le bord est dentelé (perforations sur 5 px), le centre reste plein */
.btn-stamp, .btn-brand {
    --perf: var(--red);
    position: relative; display: inline-block; padding: 1rem 1.9rem; border: 5px solid transparent;
    background:
        linear-gradient(var(--perf), var(--perf)) padding-box,
        radial-gradient(circle at 50% 50%, transparent 2.4px, var(--perf) 2.9px) -4.5px -4.5px / 9px 9px border-box;
    color: #fff8ef; text-decoration: none; text-align: center;
    font-family: var(--text); font-weight: 600; font-size: 1rem; letter-spacing: .02em;
    box-shadow: inset 0 0 0 4px var(--perf), inset 0 0 0 5px rgba(255, 248, 239, .6);
    transition: transform .3s var(--ease), filter .3s var(--ease);
}
.btn-stamp:hover, .btn-stamp:focus-visible, .btn-brand:hover, .btn-brand:focus-visible { --perf: var(--red-deep); color: #fff; transform: rotate(-1.5deg); }
.btn-stamp:active, .btn-brand:active { transform: scale(.97); }
.btn-brand--small { padding: .55rem 1.05rem; font-size: .9rem; }
.btn-stamp--light { --perf: #fff8ef; color: var(--red-deep); box-shadow: inset 0 0 0 4px var(--perf), inset 0 0 0 5px rgba(200, 64, 47, .45); }
.btn-stamp--light:hover, .btn-stamp--light:focus-visible { --perf: #ffffff; color: var(--red-deep); }
.btn-ghost { display: inline-block; padding: .9rem .2rem; color: var(--ink); font-weight: 500; text-decoration: underline; text-decoration-color: var(--red); text-underline-offset: .35em; }

/* --- Timbres et cachets --------------------------------------------------- */
.stamp {
    display: inline-grid; place-items: center; width: 54px; height: 64px; padding: 2px; border: 4px solid transparent;
    background:
        linear-gradient(#fff8ef, #fff8ef) padding-box,
        radial-gradient(circle at 50% 50%, transparent 2.2px, #fff8ef 2.7px) -4px -4px / 8px 8px border-box;
    filter: drop-shadow(0 1px 1.5px rgba(29, 42, 68, .3));
}
.stamp span { display: grid; place-items: center; width: 100%; height: 100%; background: var(--red); color: #fff8ef; font-family: var(--display); font-style: italic; font-size: 1.4rem; }
.stamp--big { width: 112px; height: 132px; padding: 9px; transform: rotate(-6deg); margin-bottom: 1.5rem; }
.stamp--big span { font-size: 2rem; font-style: normal; }
.postmark { position: absolute; width: 76px; height: 76px; border-radius: 50%; border: 2px solid rgba(29, 42, 68, .45); display: grid; place-items: center; transform: rotate(-16deg); }
.postmark span { font-family: var(--hand); font-size: 1.6rem; color: rgba(29, 42, 68, .7); }
.postmark::after { content: ""; position: absolute; left: 60%; width: 90px; height: 16px; background: repeating-linear-gradient(0deg, rgba(29, 42, 68, .45) 0 2px, transparent 2px 6px); }

/* --- Notes manuscrites en marge ----------------------------------------- */
.margin-note { font-family: var(--hand); font-size: 1.65rem; line-height: 1.2; color: var(--red-deep); margin: 0; }

/* --- Ouverture : la table d'envoi --------------------------------------- */
.desk { padding: clamp(2.5rem, 6vw, 5rem) 0 clamp(3.5rem, 7vw, 6rem); overflow: hidden; }
.desk-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.home-title { font-family: var(--display); font-weight: 400; font-size: clamp(2.3rem, 4.6vw, 3.8rem); line-height: 1.08; letter-spacing: -.01em; margin: 0 0 1.4rem; text-wrap: balance; }
.home-lead { font-size: 1.18rem; color: var(--ink-2); max-width: 32em; margin-bottom: 2rem; }
.home-ctas { display: flex; flex-wrap: wrap; gap: 1rem 1.6rem; align-items: center; }
.home-free { margin: 1.4rem 0 0; color: var(--muted); }
.home-free strong { color: var(--ink); }

.desk-scene { position: relative; min-height: 560px; }
/* Éventail de trois enveloppes, adresses lisibles à gauche du téléphone */
.fan { position: absolute; left: 0; top: 100px; width: 260px; height: 370px; }
.envelope {
    position: absolute; left: 0; width: 250px; height: 128px; background: var(--envelope); transform-origin: 20% 50%;
    box-shadow: 0 18px 30px -18px rgba(29, 42, 68, .45), 0 1px 0 rgba(255, 255, 255, .6) inset; overflow: hidden;
}
.env-flap { position: absolute; inset: 0 0 auto; height: 58%; background: var(--flap); clip-path: polygon(0 0, 100% 0, 50% 100%); }
.envelope .stamp { position: absolute; top: 12px; right: 12px; }
.env-label {
    position: absolute; left: 18px; bottom: 14px; max-width: 76%; padding: .25rem .7rem .2rem;
    background: var(--card); border: 1px solid rgba(29, 42, 68, .18); box-shadow: 0 2px 4px -2px rgba(29, 42, 68, .3);
    font-family: var(--hand); font-size: 1.6rem; line-height: 1.1; color: var(--ink); white-space: nowrap;
}
.env-1 { top: 0; left: 6px; transform: rotate(-7deg); }
.env-2 { top: 106px; left: -4px; transform: rotate(-2deg); }
.env-3 { top: 212px; left: 8px; transform: rotate(3deg); }
.env-3 .postmark { top: 8px; right: 64px; }
.phone {
    position: absolute; right: 2%; top: 0; z-index: 3; width: 280px; aspect-ratio: 9 / 18.5;
    border-radius: 40px; background: #111; padding: 11px; transform: rotate(3deg);
    box-shadow: 0 50px 70px -40px rgba(29, 42, 68, .75), 0 0 0 1px rgba(0, 0, 0, .4), inset 0 0 0 2px #2b2b2b;
}
.phone-notch { position: absolute; top: 17px; left: 50%; transform: translateX(-50%); width: 84px; height: 22px; background: #111; border-radius: 20px; z-index: 2; }
.phone-screen { width: 100%; height: 100%; border: 0; border-radius: 30px; background: #0d0c0a; display: block; }
.replies { position: absolute; left: 0; top: 448px; z-index: 4; width: 262px; transform: rotate(-2deg); }
/* Cartes-réponses en papier, pas en interface */
.reply-card {
    background: #fbf6ea; padding: .6rem .9rem; font-family: var(--display); font-size: 1rem; margin-bottom: 6px;
    display: flex; align-items: center; gap: .55rem; white-space: nowrap; border: 1px solid rgba(29, 42, 68, .14);
    box-shadow: 0 8px 16px -12px rgba(29, 42, 68, .6); outline: 1px solid rgba(29, 42, 68, .12); outline-offset: -5px;
}
.reply-card em { color: var(--muted); font-style: normal; font-family: var(--text); font-size: .9rem; }
.tick { width: 16px; height: 16px; border: 1.5px solid var(--ink); flex: 0 0 16px; position: relative; }
.tick.is-on::after { content: ""; position: absolute; left: 4px; top: 0; width: 6px; height: 11px; border: solid var(--red); border-width: 0 2.5px 2.5px 0; transform: rotate(45deg); }
.reply-count { background: var(--ink); color: var(--desk); padding: .55rem .9rem; font-size: .98rem; display: inline-flex; align-items: baseline; gap: .4rem; }
.reply-count b { font-variant-numeric: tabular-nums; font-size: 1.2rem; }
.reply-example { font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: rgba(245, 239, 226, .7); margin-left: .3rem; }
.note-phone { position: absolute; left: 0; top: 0; z-index: 5; max-width: 225px; font-size: 1.6rem; transform: rotate(-2deg); }

@media (max-width: 991.98px) {
    .desk-grid { grid-template-columns: 1fr; }
    .desk-scene { min-height: 0; display: flex; flex-direction: column; align-items: center; padding-top: .5rem; }
    .note-phone { position: static; transform: rotate(-2deg); text-align: center; max-width: 18em; margin-bottom: 1rem; }
    /* Une enveloppe dépasse derrière le téléphone */
    .fan { position: relative; left: auto; top: auto; width: min(330px, 92vw); height: 120px; z-index: 1; }
    .env-1, .env-2 { display: none; }
    .env-3 { top: 0; left: 50%; width: 100%; transform: translateX(-50%) rotate(-3deg); transform-origin: center; }
    .env-3 .env-label { top: 14px; bottom: auto; z-index: 2; }
    .env-3 .postmark { top: 30px; right: 70px; }
    .phone { position: relative; right: auto; transform: none; width: min(290px, 80vw); margin-top: -36px; }
    .replies { position: relative; left: auto; top: auto; margin-top: -40px; transform: rotate(-2deg); }
}

/* --- Le parcours : quatre cachets de la poste ----------------------------- */
.home-h2 { font-family: var(--display); font-weight: 400; font-size: clamp(1.95rem, 3.4vw, 2.7rem); line-height: 1.12; text-align: center; margin: 0 0 .8rem; text-wrap: balance; }
.home-sub { text-align: center; color: var(--muted); max-width: 36em; margin: 0 auto 2.8rem; }
.route { padding: 5rem 0; background: var(--card); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.route .home-h2 { margin-bottom: 3rem; }
.route-steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }
.route-steps li { position: relative; }
.route-mark {
    position: relative; display: grid; place-items: center; width: 108px; height: 108px; border-radius: 50%; margin-bottom: 1.2rem;
    border: 2px solid rgba(29, 42, 68, .7); color: var(--ink); transform: rotate(-12deg);
    box-shadow: inset 0 0 0 5px var(--card), inset 0 0 0 6px rgba(29, 42, 68, .45);
}
.route-mark span { font-family: var(--hand); font-size: 1.75rem; line-height: 1; white-space: nowrap; }
/* oblitération : lignes ondulées qui sortent du cachet */
.route-mark::after {
    content: ""; position: absolute; left: 88%; top: 38%; width: 70px; height: 26px;
    background: repeating-linear-gradient(0deg, rgba(29, 42, 68, .4) 0 2px, transparent 2px 7px);
}
.route-steps li:last-child .route-mark { border-color: var(--red); color: var(--red-deep); box-shadow: inset 0 0 0 5px var(--card), inset 0 0 0 6px rgba(200, 64, 47, .55); }
.route-steps li:last-child .route-mark::after { display: none; }
.route-steps h3 { font-family: var(--display); font-weight: 400; font-size: 1.5rem; margin: 0 0 .4rem; }
.route-steps p { color: var(--ink-2); margin: 0; }
@media (max-width: 991.98px) { .route-steps { grid-template-columns: 1fr 1fr; } .route-mark::after { display: none; } }
@media (max-width: 575.98px) { .route-steps { grid-template-columns: 1fr; } }

/* --- Deux modèles : deux cartons, un encart pour le dîner ----------------- */
.models { padding: 5.5rem 0; }
.models-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 3rem; align-items: center; }
.models .margin-note { transform: rotate(-2deg); }
.model-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; align-items: start; }
.model-card {
    position: relative; background: #fbf6ea; padding: 1.9rem 1.6rem; transform: rotate(-1.2deg);
    border: 1px solid rgba(29, 42, 68, .14); outline: 1px solid rgba(29, 42, 68, .2); outline-offset: -9px;
    box-shadow: 0 22px 30px -24px rgba(29, 42, 68, .6);
}
.model-card--alt { transform: rotate(1.4deg) translateY(1rem); margin-bottom: 4.5rem; }
.model-card h3 { font-family: var(--display); font-weight: 400; font-size: 1.6rem; margin: 0 0 .9rem; text-align: center; }
.model-card ul { list-style: none; padding: 0; margin: 0; }
.model-card li { padding: .45rem 0 .45rem 1.6rem; border-top: 1px solid var(--line); position: relative; }
.model-card li::before { content: ""; position: absolute; left: 0; top: .78rem; width: 13px; height: 13px; border: 1.5px solid var(--ink); }
.dinner-insert {
    position: absolute; left: 12%; right: -8%; bottom: -4.2rem; padding: .9rem 1.1rem; background: var(--card);
    border: 1px solid rgba(200, 64, 47, .45); transform: rotate(-3deg); box-shadow: 0 16px 24px -18px rgba(29, 42, 68, .6);
}
.dinner-title { font-family: var(--display); font-style: italic; font-size: 1.25rem; color: var(--red-deep); margin: 0 0 .2rem; }
.dinner-insert p:last-child { margin: 0; font-size: .95rem; color: var(--ink-2); }
@media (max-width: 991.98px) { .models-grid { grid-template-columns: 1fr; } }
@media (max-width: 575.98px) { .model-cards { grid-template-columns: 1fr; } .model-card--alt { transform: rotate(1deg); } .dinner-insert { right: -2%; } }

/* --- Planche de timbres : un vrai aperçu de chaque design ------------------ */
.designs-sheet { padding: 5.5rem 0; background: var(--desk-2); }
.sheet { display: grid; grid-template-columns: repeat(auto-fill, minmax(176px, 1fr)); gap: 1.6rem 1.2rem; }
.design-stamp { display: flex; flex-direction: column; gap: .25rem; color: var(--ink); text-decoration: none; }
.design-perf {
    display: block; padding: 6px; border: 6px solid transparent;
    background:
        linear-gradient(#fffcf5, #fffcf5) padding-box,
        radial-gradient(circle at 50% 50%, transparent 3px, #fffcf5 3.6px) -5px -5px / 10px 10px border-box;
    filter: drop-shadow(0 6px 10px rgba(29, 42, 68, .22));
    transition: transform .35s var(--ease), filter .35s var(--ease);
}
.design-perf img, .design-swatch { display: block; width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; object-position: top center; }
.design-stamp:nth-child(odd) .design-perf { transform: rotate(-1deg); }
.design-stamp:nth-child(3n) .design-perf { transform: rotate(1.2deg); }
.design-stamp:hover .design-perf, .design-stamp:focus-visible .design-perf { transform: rotate(-2.5deg) translateY(-4px); filter: drop-shadow(0 14px 18px rgba(29, 42, 68, .3)); }
.design-stamp:focus-visible { outline: none; }
.design-stamp:focus-visible .design-perf { outline: 2px solid var(--red); outline-offset: 4px; }
.design-name { font-family: var(--display); font-size: 1.12rem; line-height: 1.2; margin-top: .55rem; }
.design-text { font-size: .88rem; color: var(--muted); line-height: 1.4; }
.sheet-note { text-align: center; margin-top: 2rem; }

/* --- Le registre des réponses -------------------------------------------- */
.ledger { padding: 5.5rem 0; }
.ledger-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 3.5rem; align-items: center; }
.ledger-board { background: var(--ink); color: var(--desk); padding: 2rem; box-shadow: 0 30px 50px -30px rgba(29, 42, 68, .8); transform: rotate(-1deg); }
.ledger-row { display: flex; justify-content: space-between; align-items: baseline; padding: .65rem 0; border-bottom: 1px dashed rgba(245, 239, 226, .25); }
.ledger-row b { font-family: var(--display); font-weight: 400; font-size: 1.7rem; font-variant-numeric: tabular-nums; }
.ledger-row b.ink-red { color: #f08a78; }
.ledger-bar { height: 8px; background: rgba(245, 239, 226, .15); margin-top: 1.4rem; }
.ledger-bar span { display: block; height: 100%; background: #f08a78; }
.ledger-foot { font-size: .92rem; color: rgba(245, 239, 226, .75); margin: .6rem 0 0; }
.features { display: grid; grid-template-columns: 1fr 1fr; gap: 1.6rem 2.4rem; margin: 1.8rem 0 0; }
.features dt { font-family: var(--display); font-weight: 400; font-size: 1.2rem; padding-top: .8rem; border-top: 2px solid var(--ink); margin-bottom: .3rem; }
.features dd { margin: 0; color: var(--ink-2); }
@media (max-width: 991.98px) { .ledger-grid { grid-template-columns: 1fr; } }
@media (max-width: 575.98px) { .features { grid-template-columns: 1fr; } }

/* --- Gratuit --------------------------------------------------------------- */
.free-band { padding: 5.5rem 0; background: var(--ink); color: var(--desk); text-align: center; }
.free-band h2 { font-family: var(--display); font-weight: 400; font-size: clamp(2.2rem, 4.6vw, 3.3rem); margin: 0 0 1rem; }
.free-band p { max-width: 38em; margin: 0 auto 2rem; color: rgba(245, 239, 226, .82); }

/* --- Questions ------------------------------------------------------------ */
.home-faq { padding: 5.5rem 0 3rem; }
.faq { max-width: 760px; margin: 2.4rem auto 0; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); padding: 1.1rem 0; }
.faq summary { cursor: pointer; font-family: var(--display); font-size: 1.18rem; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: 0 0 16px; height: 16px; margin-top: .35rem; background: linear-gradient(var(--red), var(--red)) center / 16px 2px no-repeat, linear-gradient(var(--red), var(--red)) center / 2px 16px no-repeat; transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p { margin: .75rem 0 0; color: var(--ink-2); }
.last-call { padding: 2rem 0 5rem; text-align: center; }
.last-call .margin-note { margin-bottom: 1rem; transform: rotate(-2deg); }

/* --- Pied de page --------------------------------------------------------- */
.site-footer { padding: 3rem 0; text-align: center; border-top: 1px solid var(--line); color: var(--muted); font-size: .95rem; }
.site-footer .brand { font-size: 1.5rem; margin-bottom: .4rem; }
.site-footer p { margin: 0 0 .3rem; }

/* --- Entrée : les enveloppes glissent sur la table ------------------------ */
@media (prefers-reduced-motion: no-preference) {
    .fan .envelope { animation: slide-in 1.1s var(--ease) both; }
    .fan .env-2 { animation-delay: .15s; }
    .fan .env-3 { animation-delay: .3s; }
    .replies .reply-card { animation: drop .7s var(--ease) both; }
    .replies .reply-card:nth-child(1) { animation-delay: .9s; }
    .replies .reply-card:nth-child(2) { animation-delay: 1.1s; }
}
@keyframes slide-in { from { opacity: 0; translate: -50px 18px; } to { opacity: 1; translate: 0 0; } }
@keyframes drop { from { opacity: 0; transform: translateY(-16px); } to { opacity: 1; transform: none; } }

/* --- Connexion / inscription (même papeterie) ----------------------------- */
.page-auth { background-color: var(--desk-2); }
.page-auth .site-footer { border-top: 0; }
.auth { min-height: calc(100vh - 64px - 160px); display: flex; align-items: center; justify-content: center; padding: 3rem 1rem; }
.auth-card { width: 100%; max-width: 460px; background: var(--card); position: relative; box-shadow: 0 30px 60px -36px rgba(29, 42, 68, .55); display: grid; border-top: 4px solid var(--red); }
.auth-card--wide { max-width: 940px; grid-template-columns: 1fr 1.25fr; }
.auth-main { padding: clamp(2rem, 5vw, 3rem); position: relative; }
.auth-aside { padding: clamp(2rem, 5vw, 3rem); background: var(--ink); color: var(--desk); position: relative; }
.auth-aside h1 { font-family: var(--display); font-weight: 400; font-size: 1.9rem; line-height: 1.2; color: var(--desk); margin: 0 0 1.75rem; }
.auth-points { list-style: none; padding: 0; margin: 0; display: grid; gap: .9rem; }
.auth-points li { padding-left: 1.6rem; position: relative; color: rgba(245, 239, 226, .85); }
.auth-points li::before { content: ""; position: absolute; left: 0; top: .5em; width: 12px; height: 12px; border: 1.5px solid #f08a78; }
.auth-points li::after { content: ""; position: absolute; left: 4px; top: .35em; width: 5px; height: 10px; border: solid #f08a78; border-width: 0 2px 2px 0; transform: rotate(45deg); }
@media (max-width: 767.98px) { .auth-card--wide { grid-template-columns: 1fr; } .auth-aside { display: none; } }
.auth-main h1, .auth-main h2 { font-family: var(--display); font-weight: 400; font-size: 1.9rem; margin: 0 0 .3rem; }
.auth-sub { color: var(--muted); margin-bottom: 1.5rem; }
.auth-alt { text-align: center; margin: 1.25rem 0 0; font-size: .95rem; color: var(--muted); }
.auth .form-label { font-size: .92rem; font-weight: 500; margin-bottom: .3rem; }
.auth .opt { color: var(--muted); font-weight: 400; }
.auth .form-control { border-radius: 0; border-color: rgba(29, 42, 68, .3); padding: .72rem .85rem; background: #fff; color: var(--ink); }
.auth .form-control:focus { border-color: var(--ink); box-shadow: 0 0 0 3px rgba(200, 64, 47, .18); }
.auth .form-check-label { font-size: .92rem; color: var(--ink-2); }
.auth .form-check-input:checked { background-color: var(--ink); border-color: var(--ink); }
.auth .btn-brand { width: 100%; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.notice { padding: .8rem 1rem; margin-bottom: 1.25rem; font-size: .95rem; border: 1px solid; }
.notice--ok { background: #eef3e8; border-color: #4f7a3a; color: #2f4a20; }
.notice--err { background: #f9ece9; border-color: var(--red); color: #8a2a1d; }
.notice--info { background: #eef1f7; border-color: var(--ink); color: var(--ink-2); }
.notice--dev { background: #fff7d6; border-color: #b08900; color: #5a4600; word-break: break-all; }

/* --- Pages légales -------------------------------------------------------- */
.legal { padding: 3.5rem 0 4.5rem; }
.legal-sheet { max-width: 820px; margin: 0 auto; background: var(--card); padding: clamp(1.8rem, 5vw, 3.2rem); border: 1px solid var(--line); box-shadow: 0 30px 50px -40px rgba(29, 42, 68, .5); }
.legal-sheet h1 { font-family: var(--display); font-weight: 400; font-size: clamp(2rem, 4vw, 2.6rem); margin: 0 0 .3rem; }
.legal-updated { color: var(--muted); font-size: .95rem; margin-bottom: 1.2rem; }
.legal-nav { display: flex; flex-wrap: wrap; gap: .4rem 1.4rem; padding: .8rem 0; margin-bottom: 1.8rem; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); font-size: .95rem; }
.legal-sheet h2 { font-family: var(--display); font-weight: 400; font-size: 1.4rem; margin: 2rem 0 .6rem; }
.legal-sheet p, .legal-sheet li { color: var(--ink-2); }
.legal-lead { font-size: 1.15rem; color: var(--ink) !important; }
.legal-table { overflow-x: auto; }
.legal-table table { width: 100%; border-collapse: collapse; font-size: .95rem; min-width: 620px; }
.legal-table th, .legal-table td { text-align: left; vertical-align: top; padding: .7rem .6rem; border-bottom: 1px solid var(--line); }
.legal-table th { font-weight: 600; color: var(--ink); background: var(--desk); }
.footer-links a { color: var(--muted); }
