/* Facteur — pages /soutenir, /offrir et /bon-cadeau (story premium.16).
 *
 * Tokens alignés sur la palette de l'app (apps/mobile/lib/config/theme.dart) :
 * fond paille, papier, encre, ocre ; plus la nuit et l'or du bon de Noël.
 * Le bon (`.bon`) est partagé entre l'aperçu de /offrir et la page imprimable.
 */
:root {
  --font-serif: 'Fraunces', Georgia, serif;
  --font-sans: 'DM Sans', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, Menlo, monospace;
  --bg: #F2E8D5;
  --bg-alt: #EBE0CC;
  --paper: #FDFBF7;
  --ink: #2C2A29;
  --ink2: #5D5B5A;
  --ink3: #6B6866;
  --acc: #D35400;
  --cta: #C24E00;
  --link: #A84300;
  --night: #2C3447;
  --gold: #D9A441;
  --cream: #F2E8D5;
  --red: #A8321F;
  --line: rgba(210, 199, 179, 0.9);
  --card-shadow: 0 1px 2px rgba(44, 42, 41, 0.06), 0 0 0 1px rgba(210, 199, 179, 0.7);
}

* { box-sizing: border-box; }
html { overflow-x: clip; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font-sans); -webkit-font-smoothing: antialiased; }
a { color: var(--link); }
a:hover { color: #7F3300; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, summary:focus-visible { outline: 2px solid var(--acc); outline-offset: 2px; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
h1, h2, h3 { margin: 0; }
p { margin: 0; }

.s-wrap { max-width: 1160px; margin: 0 auto; padding: 0 20px; }
.serif { font-family: var(--font-serif); }
.mono { font-family: var(--font-mono); }
.check { flex: none; width: 18px; height: 18px; }

/* Boutons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 54px; padding: 0 24px; border: none; border-radius: 14px; font: 700 16px var(--font-sans); text-decoration: none; cursor: pointer; transition: transform 150ms, box-shadow 150ms, opacity 150ms; }
.btn svg { flex: none; }
.btn--cta { background: var(--cta); color: #FFFFFF; box-shadow: 0 10px 22px -12px rgba(194, 78, 0, 0.9); }
.btn--cta:hover { color: #FFFFFF; transform: translateY(-1px); }
.btn--ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px rgba(44, 42, 41, 0.25); }
.btn--ghost:hover { color: var(--ink); }
.btn--gold { width: 100%; height: 58px; background: var(--gold); color: var(--ink); font-size: 17px; box-shadow: 0 12px 24px -14px rgba(217, 164, 65, 0.9); }
.btn--block { width: 100%; }
.btn:disabled { opacity: 0.6; cursor: default; transform: none; }

/* 1. Hero */
.hero { display: flex; flex-wrap: wrap; align-items: center; gap: 48px 56px; padding-top: clamp(40px, 6vw, 80px); padding-bottom: 24px; }
.hero__text { flex: 999 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.hero h1 { font-family: var(--font-serif); font-weight: 700; font-size: clamp(40px, 5.6vw, 66px); line-height: 1.02; letter-spacing: -0.025em; }
.hero__lede { font-family: var(--font-serif); font-style: italic; font-size: clamp(20px, 2.3vw, 25px); line-height: 1.4; color: var(--link); }
.hero__quote { max-width: 560px; display: flex; flex-direction: column; gap: 12px; padding: 22px 24px; border-radius: 18px; background: var(--paper); box-shadow: var(--card-shadow); }
.hero__quote p:first-child { font-size: 17px; line-height: 1.6; }
.hero__quote .sign { font-family: var(--font-serif); font-style: italic; font-size: 18px; color: var(--ink2); }
.pledges { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 20px; }
.pledges li { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 600; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 4px; }
.polaroids { flex: 1 1 340px; min-width: 0; display: flex; justify-content: center; align-items: flex-start; padding: 12px 0 28px; }
.polaroid { margin: 0; width: 188px; padding: 12px 12px 14px; background: #FFFFFF; border-radius: 6px; transform: rotate(-5deg); box-shadow: 0 22px 36px -22px rgba(44, 42, 41, 0.55), 0 0 0 1px rgba(210, 199, 179, 0.6); position: relative; z-index: 1; }
.polaroid + .polaroid { margin: 44px 0 0 -26px; transform: rotate(4deg); z-index: 2; }
.polaroid img { display: block; width: 164px; height: 176px; object-fit: cover; object-position: 50% 20%; border-radius: 3px; }
.polaroid figcaption { margin-top: 10px; font-family: var(--font-serif); font-weight: 600; font-size: 21px; }
.polaroid figcaption i { font-style: italic; }

/* 2. Offre de Noël */
.noel { padding-top: 40px; scroll-margin-top: 80px; }
.noel__card { display: flex; flex-wrap: wrap; background: var(--paper); border-radius: 28px; overflow: hidden; box-shadow: 0 18px 40px -26px rgba(44, 42, 41, 0.45), 0 0 0 1.5px rgba(217, 164, 65, 0.55); }
.noel__text { flex: 999 1 480px; min-width: 0; padding: clamp(28px, 4vw, 52px); display: flex; flex-direction: column; justify-content: center; gap: 20px; }
.ribbon { align-self: flex-start; display: inline-flex; align-items: center; gap: 10px; min-height: 42px; padding: 6px 20px; border-radius: 100px; background: var(--red); color: #FFFFFF; font-family: var(--font-mono); font-size: 15px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; box-shadow: 0 10px 20px -12px rgba(168, 50, 31, 0.9); }
.noel h2 { font-family: var(--font-serif); font-weight: 700; font-size: clamp(30px, 3.8vw, 46px); line-height: 1.08; letter-spacing: -0.015em; }
.noel__sub { max-width: 480px; font-size: 17px; line-height: 1.55; color: var(--ink2); }
.price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 12px; }
.price__big { font-family: var(--font-serif); font-weight: 700; font-size: 58px; line-height: 1; }
.price__per { font-size: 17px; font-weight: 600; }
.price__was { font-size: 16px; color: var(--ink2); }
.price__was b { color: var(--red); }
.noel__buy { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; }
.noel__buy .btn { height: 58px; padding: 0 30px; font-size: 17px; }
.noel__fine { font-size: 14px; line-height: 1.5; color: var(--ink2); }
.noel__art { flex: 1.3 1 460px; min-width: 0; min-height: 520px; position: relative; background: #E9EFE6; display: flex; flex-direction: column; align-items: center; padding: 28px 20px; overflow: hidden; }
.noel__bubble { position: relative; z-index: 3; display: inline-flex; padding: 10px 18px; border-radius: 100px; background: var(--night); color: var(--cream); font-family: var(--font-serif); font-style: italic; font-weight: 600; font-size: 19px; box-shadow: 0 10px 22px -14px rgba(44, 52, 71, 0.9), inset 0 0 0 1px rgba(217, 164, 65, 0.4); }
.noel__sparkles { position: absolute; inset: 0; width: 100%; height: 100%; }
.noel__tree { position: absolute; z-index: 1; left: 4%; bottom: 9%; width: min(230px, 46%); height: auto; }
.mini-bon { position: absolute; z-index: 4; left: 5%; bottom: 7%; width: 228px; border-radius: 14px; background: var(--night); transform: rotate(-7deg); box-shadow: 0 16px 28px -14px rgba(44, 52, 71, 0.95); padding: 15px 16px; display: flex; flex-direction: column; gap: 10px; }
.mini-bon__tag { font-family: var(--font-mono); font-size: 10px; font-weight: 700; letter-spacing: 0.12em; color: var(--gold); }
.mini-bon__title { font-family: var(--font-serif); font-size: 22px; font-weight: 700; line-height: 1.1; color: var(--cream); }
.mini-bon__medias { display: flex; align-items: center; gap: 8px; font-size: 11px; font-weight: 600; color: rgba(242, 232, 213, 0.85); }
.mini-bon__code { align-self: flex-start; font-family: var(--font-mono); font-size: 10px; font-weight: 700; letter-spacing: 0.08em; color: var(--night); background: var(--gold); border-radius: 6px; padding: 3px 7px; }
.dots { display: flex; }
.dot { width: 26px; height: 26px; border-radius: 100px; background: var(--paper); color: var(--night); font-family: var(--font-serif); font-weight: 700; font-size: 11px; display: flex; align-items: center; justify-content: center; box-shadow: 0 0 0 2px var(--night); }
.dot + .dot { margin-left: -6px; }
.facteur-noel { position: absolute; z-index: 2; right: 4%; bottom: 8%; width: min(270px, 54%); aspect-ratio: 475 / 555; }
.facteur-noel img, .facteur-noel svg { position: absolute; inset: 0; display: block; width: 100%; height: 100%; overflow: visible; }

/* 3. Mode Éclairé */
.eclaire { margin-top: 80px; background: var(--night); color: var(--cream); }
.eclaire__inner { padding-top: clamp(56px, 7vw, 88px); padding-bottom: clamp(56px, 7vw, 88px); display: flex; flex-direction: column; gap: 36px; }
.eclaire__head { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 12px; }
.pill-gold { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 6px 22px; border-radius: 100px; background: rgba(217, 164, 65, 0.16); box-shadow: inset 0 0 0 1.5px rgba(217, 164, 65, 0.7); font-family: var(--font-mono); font-size: 16px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold); }
.eclaire h2 { max-width: 720px; font-family: var(--font-serif); font-weight: 700; font-size: clamp(30px, 3.8vw, 44px); line-height: 1.1; letter-spacing: -0.015em; color: var(--cream); }
.perks-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.perk { background: var(--paper); color: var(--ink); border-radius: 22px; padding: 14px; display: flex; flex-direction: column; gap: 18px; }
.perk__visual { height: 300px; border-radius: 14px; background: var(--bg); padding: 16px 14px 14px; display: flex; flex-direction: column; gap: 9px; }
.perk__visual--center { padding: 18px; align-items: center; justify-content: center; gap: 12px; }
.perk__body { padding: 0 10px 10px; display: flex; flex-direction: column; gap: 6px; }
.perk h3 { font-family: var(--font-serif); font-weight: 700; font-size: 23px; }
.perk__body p { font-size: 15px; line-height: 1.5; color: var(--ink2); }
.angle-title { margin: 0 2px 2px; display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.angle-title b { font-family: var(--font-serif); font-size: 16px; }
.angle-title span { font-size: 12px; font-weight: 600; color: var(--ink2); }
.angle { background: #FFFFFF; border-radius: 10px; padding: 9px 11px; display: flex; flex-direction: column; gap: 6px; box-shadow: inset 3px 0 0 var(--c), 0 1px 2px rgba(44, 42, 41, 0.08); }
.angle__top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.angle__side { font-family: var(--font-mono); font-size: 11px; font-weight: 700; letter-spacing: 0.08em; color: var(--t); }
.angle__quote { font-size: 13px; line-height: 1.35; font-weight: 600; }
.angle .dot { width: 22px; height: 22px; font-family: var(--font-sans); font-size: 9px; background: var(--bg); color: var(--ink); box-shadow: 0 0 0 2px #FFFFFF; }
.angle .dot + .dot { margin-left: -5px; }
.paywall { width: 100%; max-width: 250px; background: #FFFFFF; border-radius: 12px; padding: 16px; display: flex; flex-direction: column; gap: 9px; box-shadow: 0 12px 24px -16px rgba(44, 42, 41, 0.5); }
.paywall__tag { font-family: var(--font-mono); font-size: 10px; font-weight: 700; letter-spacing: 0.1em; color: var(--ink3); text-decoration: line-through; }
.paywall__title { font-family: var(--font-serif); font-weight: 700; font-size: 17px; line-height: 1.2; }
.paywall__line { display: block; height: 7px; border-radius: 4px; background: #E7DECD; }
.paywall__found { align-self: flex-start; margin-top: 4px; display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; border-radius: 100px; background: var(--night); color: var(--gold); font-size: 13px; font-weight: 700; }
.game { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; width: 220px; }
.game span { height: 40px; border-radius: 8px; font-family: 'Inter', var(--font-sans); font-weight: 800; font-size: 18px; display: flex; align-items: center; justify-content: center; color: #FFFFFF; }
.game .g-miss { background: #C9BCA5; }
.game .g-near { background: #E2925C; }
.game .g-hit { background: var(--night); color: var(--gold); }
.game .g-empty { box-shadow: inset 0 0 0 1.5px #D2C7B3; }
.game__done { font-size: 13px; font-weight: 700; color: var(--night); }
.eclaire__more { text-align: center; font-size: 20px; color: var(--cream); }

/* 4. Formules */
.formules { padding-top: 80px; scroll-margin-top: 40px; }
.formules__head { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 10px; margin-bottom: 40px; }
.formules h2 { font-family: var(--font-serif); font-weight: 700; font-size: clamp(28px, 3.4vw, 40px); letter-spacing: -0.015em; }
.formules__head p { max-width: 560px; font-size: 16px; line-height: 1.6; color: var(--ink2); }
.plans { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 20px; }
.plan { min-width: 0; display: flex; flex-direction: column; }
.plan ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.plan li { display: flex; gap: 11px; align-items: flex-start; }
.plan li svg { flex: none; margin-top: 2px; }
.plan--eclaire { flex: 1.2 1 340px; max-width: 440px; position: relative; background: var(--night); color: var(--cream); border-radius: 26px; padding: 40px 34px 34px; gap: 18px; box-shadow: 0 30px 50px -28px rgba(44, 52, 71, 0.85), inset 0 0 0 1px rgba(217, 164, 65, 0.35); }
.plan--eclaire h3 { font-family: var(--font-serif); font-weight: 700; font-size: 32px; color: var(--cream); }
.plan--eclaire .amount { font-family: var(--font-serif); font-weight: 700; font-size: 54px; line-height: 1.05; color: var(--gold); }
.plan--eclaire .per { font-size: 16px; color: rgba(242, 232, 213, 0.78); }
.plan--eclaire .lede { font-size: 16px; line-height: 1.55; color: rgba(242, 232, 213, 0.85); }
.plan--eclaire ul { gap: 12px; font-size: 16px; }
.plan--eclaire .btn--gold { margin-top: 6px; }
.badge-reco { position: absolute; top: -15px; left: 50%; transform: translateX(-50%); height: 30px; padding: 0 16px; border-radius: 100px; background: var(--gold); color: var(--ink); font-size: 13px; font-weight: 700; display: flex; align-items: center; white-space: nowrap; }
.plan__price { display: flex; align-items: baseline; gap: 6px; }
.plan__head { display: flex; flex-direction: column; gap: 4px; }
.plan--soutien { flex: 1 1 290px; max-width: 380px; background: var(--paper); border-radius: 20px; padding: 28px 26px; gap: 16px; box-shadow: 0 1px 2px rgba(44, 42, 41, 0.06), 0 0 0 1.5px rgba(211, 84, 0, 0.35); }
.plan--soutien h3 { font-family: var(--font-serif); font-weight: 700; font-size: 26px; }
.plan--soutien .from { font-size: 14px; color: var(--ink2); }
.plan--soutien .amount { font-family: var(--font-serif); font-weight: 700; font-size: 40px; line-height: 1.1; }
.plan--soutien .per { font-size: 15px; color: var(--ink2); }
.plan--soutien .lede { font-size: 15px; line-height: 1.55; color: var(--ink2); }
.plan--soutien ul { gap: 10px; font-size: 15px; }
.chips { display: flex; gap: 8px; }
.chip { flex: 1; height: 44px; border: none; border-radius: 100px; background: #FFFFFF; color: var(--ink); font: 700 15px var(--font-sans); cursor: pointer; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.10), inset 0 0 0 1px rgba(210, 199, 179, 0.8); transition: background 140ms, color 140ms; }
.chip--other { flex: 1.3; }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--paper); box-shadow: none; }
.custom { display: flex; align-items: center; gap: 8px; height: 48px; padding: 0 14px; border-radius: 12px; background: #FFFFFF; box-shadow: inset 0 0 0 1.5px var(--acc); }
.custom input { flex: 1; min-width: 0; border: none; outline: none; background: transparent; font: 700 16px var(--font-sans); color: var(--ink); }
.custom span { font-size: 14px; color: var(--ink2); }
.too-low { margin: -6px 0 0; font-size: 13px; color: var(--red); }
.formules__budget { margin: 28px auto 0; max-width: 620px; text-align: center; font-size: 15px; line-height: 1.6; color: var(--ink2); }
.formules__budget a { font-weight: 700; }
.trust { margin: 14px 0 0; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 6px 14px; font-size: 13.5px; color: var(--ink2); text-align: center; }
.trust > span { display: inline-flex; align-items: center; gap: 6px; }

/* 5. Argent + contact */
.money-row { padding-top: 80px; display: flex; flex-wrap: wrap; gap: 20px; }
.money { flex: 1.3 1 420px; min-width: 0; background: var(--paper); border-radius: 20px; padding: 30px; display: flex; flex-direction: column; gap: 18px; box-shadow: var(--card-shadow); }
.money h2, .contact h2 { font-family: var(--font-serif); font-weight: 700; font-size: 26px; }
.money__bar { display: flex; gap: 3px; height: 16px; }
.money__bar i { display: block; border-radius: 2px; }
.money__bar i:first-child { border-radius: 8px 2px 2px 8px; }
.money__bar i:last-child { border-radius: 2px 8px 8px 2px; }
.money ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 20px; }
.money li { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; line-height: 1.4; color: var(--ink2); }
.money li i { flex: none; width: 12px; height: 12px; margin-top: 5px; border-radius: 4px; }
.money li b { display: block; font-size: 20px; color: var(--ink); }
.money > p { font-size: 14px; line-height: 1.5; color: var(--ink2); }
.contact { flex: 1 1 320px; min-width: 0; background: var(--night); color: var(--cream); border-radius: 20px; padding: 30px; display: flex; flex-direction: column; justify-content: space-between; gap: 22px; }
.contact__faces { display: flex; }
.contact__faces img { width: 72px; height: 72px; border-radius: 100px; object-fit: cover; box-shadow: 0 0 0 4px var(--night); }
.contact__faces img + img { margin-left: -16px; }
.contact h2 { line-height: 1.2; color: var(--cream); }
.contact p { font-size: 16px; line-height: 1.55; color: rgba(242, 232, 213, 0.85); }
.contact__text { display: flex; flex-direction: column; gap: 10px; }
.contact a { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; height: 48px; padding: 0 20px; border-radius: 100px; background: rgba(242, 232, 213, 0.10); color: var(--cream); font-size: 15px; font-weight: 700; text-decoration: none; box-shadow: inset 0 0 0 1px rgba(242, 232, 213, 0.3); }

/* 6. FAQ */
.sfaq { max-width: 800px; margin: 0 auto; padding: 80px 20px; }
.sfaq h2 { margin: 0 0 12px; font-family: var(--font-serif); font-weight: 700; font-size: 28px; letter-spacing: -0.01em; }
.sfaq details { border-bottom: 1px solid var(--line); }
.sfaq summary { display: flex; align-items: center; gap: 12px; padding: 18px 0; list-style: none; cursor: pointer; }
.sfaq summary::-webkit-details-marker { display: none; }
.sfaq summary h3 { font-family: var(--font-sans); font-size: 17px; font-weight: 700; }
.sfaq summary .plus { margin-left: auto; font-size: 24px; line-height: 1; color: var(--ink2); transition: transform 200ms; }
.sfaq details[open] .plus { transform: rotate(45deg); }
.sfaq details p { margin: 0 0 18px; font-size: 15px; line-height: 1.65; color: var(--ink2); }
.sfaq__more { margin-top: 18px !important; font-size: 14px; line-height: 1.6; color: var(--ink2); }

/* Mur des soutiens (messages modérés) */
.wall { display: grid; gap: 12px; padding-bottom: 56px; }
.wall h2 { font-family: var(--font-serif); font-weight: 700; font-size: 22px; text-align: center; }

.s-footer { border-top: 1px solid var(--line); background: var(--bg-alt); }
.s-footer .s-wrap { padding-top: 22px; padding-bottom: 22px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.s-footer .brand { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); text-decoration: none; }
.s-footer .brand img { width: 22px; height: 22px; border-radius: 6px; }
.s-footer .brand span { font-family: var(--font-serif); font-weight: 700; font-size: 17px; }
.s-footer p { font-size: 12px; line-height: 1.7; color: var(--ink3); }
.s-footer p a { color: var(--ink3); }

/* Dernière étape avant Stripe (fenêtre) */
.step { width: min(480px, calc(100vw - 32px)); max-height: calc(100vh - 32px); border: none; border-radius: 24px; padding: 0; background: var(--paper); color: var(--ink); box-shadow: 0 30px 60px -30px rgba(44, 42, 41, 0.7); }
.step::backdrop { background: rgba(44, 42, 41, 0.45); }
.step form { padding: 30px 30px 26px; display: flex; flex-direction: column; gap: 16px; }
.step__top { display: flex; align-items: center; justify-content: space-between; }
.secure { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--ink2); }
.step__close { width: 44px; height: 44px; border: none; border-radius: 100px; display: flex; align-items: center; justify-content: center; color: var(--ink2); background: rgba(44, 42, 41, 0.06); cursor: pointer; }
.step h2 { font-family: var(--font-serif); font-weight: 700; font-size: 30px; letter-spacing: -0.01em; }
.step__recap { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; border-radius: 14px; background: rgba(211, 84, 0, 0.07); box-shadow: inset 0 0 0 1px rgba(211, 84, 0, 0.25); }
.step__recap > span { display: flex; flex-direction: column; gap: 2px; }
.step__recap b { font-size: 16px; }
.step__recap small { font-size: 13px; color: var(--ink2); }
.step__recap button { border: none; background: none; padding: 8px 4px; color: var(--link); font: 700 14px var(--font-sans); text-decoration: underline; cursor: pointer; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field__label { font-size: 13px; font-weight: 700; color: var(--ink2); }
.field__help { font-size: 13px; line-height: 1.45; color: var(--ink2); }
.input { width: 100%; height: 48px; padding: 0 14px; border: none; border-radius: 12px; background: #FFFFFF; font: 400 16px var(--font-sans); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
.input:focus { outline: none; box-shadow: inset 0 0 0 1.5px var(--cta); }
textarea.input { height: auto; padding: 12px 14px; line-height: 1.5; resize: none; }
.word summary { cursor: pointer; font-size: 14px; font-weight: 600; color: var(--ink2); }
.word textarea { margin-top: 8px; }
.word p { margin-top: 8px; font-size: 13px; color: var(--ink2); }
.error { font-size: 13.5px; line-height: 1.5; color: #A8321F; background: rgba(192, 57, 43, 0.08); border-radius: 10px; padding: 11px 14px; }
.step .btn--cta { height: 56px; margin-top: 4px; font-size: 17px; }
.step__fine { font-size: 13px; line-height: 1.5; color: var(--ink2); text-align: center; }

/* /offrir : personnalisation */
.offrir { display: flex; flex-wrap: wrap; gap: 48px; padding-top: 44px; padding-bottom: 64px; }
.offrir__form { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.back { align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; text-decoration: none; }
.tag-red { margin-top: 4px; align-self: flex-start; display: inline-flex; align-items: center; min-height: 28px; padding: 4px 12px; border-radius: 100px; background: rgba(176, 58, 46, 0.10); color: var(--red); font-family: var(--font-mono); font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.offrir h1 { font-family: var(--font-serif); font-weight: 700; font-size: 38px; line-height: 1.1; letter-spacing: -0.015em; }
.offrir__intro { font-size: 15px; line-height: 1.55; color: var(--ink2); }
.row2 { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 6px; }
.row2 .field { flex: 1 1 180px; }
.field__count { display: flex; justify-content: space-between; }
.field__count span:last-child { font-weight: 500; }
.offrir textarea.input { font-family: var(--font-serif); font-style: italic; }
.summary { margin-top: 4px; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; border-radius: 14px; background: var(--paper); box-shadow: 0 0 0 1px rgba(210, 199, 179, 0.7); }
.summary > span:first-child { display: flex; flex-direction: column; gap: 2px; }
.summary b { font-size: 15px; }
.summary small { font-size: 13px; color: var(--ink2); }
.summary__price { display: flex; align-items: baseline; gap: 10px; }
.summary__price s { font-size: 15px; color: var(--ink3); }
.summary__price b { font-family: var(--font-serif); font-size: 28px; }
.offrir .btn--cta { height: 56px; font-size: 17px; }
.offrir__fine { font-size: 13px; line-height: 1.5; color: var(--ink2); }
.offrir__preview { flex: 0 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.preview-label { font-family: var(--font-mono); font-size: 11px; font-weight: 700; letter-spacing: 0.12em; color: var(--ink3); }
.preview-frame { width: 100%; aspect-ratio: 794 / 1123; overflow: hidden; border-radius: 14px; box-shadow: 0 24px 40px -26px rgba(44, 42, 41, 0.6); position: relative; container-type: inline-size; }
.preview-frame .bon-sheet { position: absolute; top: 0; left: 0; transform-origin: 0 0; transform: scale(calc(100cqw / 794px)); }
@supports not (transform: scale(calc(100cqw / 794px))) {
  .preview-frame .bon-sheet { transform: scale(0.6); }
}

/* Le bon (A4 : 794 × 1123 px à 96 dpi) */
.bon-sheet { width: 794px; height: 1123px; padding: 40px; background: var(--bg); color: var(--ink); font-family: var(--font-sans); }
.bon { width: 100%; height: 100%; background: var(--paper); border-radius: 24px; overflow: hidden; display: flex; flex-direction: column; box-shadow: inset 0 0 0 1.5px rgba(217, 164, 65, 0.7); }
.bon__band { position: relative; height: 390px; flex: none; background: var(--night); overflow: hidden; }
.bon__band > svg { position: absolute; inset: 0; }
.bon__intro { position: absolute; left: 52px; top: 50px; width: 300px; display: flex; flex-direction: column; gap: 16px; }
.bon__kicker { font-family: var(--font-mono); font-size: 12px; font-weight: 700; letter-spacing: 0.14em; color: var(--gold); }
.bon h1 { font-family: var(--font-serif); font-weight: 700; font-size: 44px; line-height: 1.08; letter-spacing: -0.015em; color: var(--cream); }
.bon__sub { font-family: var(--font-serif); font-style: italic; font-size: 19px; line-height: 1.45; color: var(--gold); }
.bon__medal { position: absolute; right: 44px; top: 40px; width: 300px; height: 300px; border-radius: 300px; background: var(--cream); box-shadow: 0 0 0 6px rgba(217, 164, 65, 0.35); overflow: hidden; }
.bon__medal .facteur-noel { right: auto; bottom: auto; left: 34px; top: 30px; width: 232px; }
.bon__body { flex: 1; padding: 32px 56px 26px; display: flex; flex-direction: column; gap: 16px; }
.bon__label { font-family: var(--font-mono); font-size: 12px; font-weight: 700; letter-spacing: 0.12em; color: var(--ink3); }
.bon__for { display: flex; align-items: baseline; gap: 14px; padding-bottom: 8px; border-bottom: 1.5px dotted #C9BCA5; }
.bon__name { font-family: var(--font-serif); font-style: italic; font-weight: 600; font-size: 38px; line-height: 1.1; overflow-wrap: anywhere; }
.bon__word { position: relative; padding-left: 34px; font-family: var(--font-serif); font-style: italic; font-size: 18px; line-height: 1.6; white-space: pre-line; overflow-wrap: anywhere; }
.bon__word::before { content: "“"; position: absolute; left: 0; top: -10px; font-family: var(--font-serif); font-size: 54px; line-height: 1; color: var(--gold); }
.bon__from { align-self: flex-end; display: flex; align-items: baseline; gap: 12px; }
.bon__from .bon__name { font-size: 28px; }
.bon__code { margin-top: 4px; display: flex; align-items: center; gap: 20px; padding: 18px 22px; border-radius: 16px; border: 2px dashed var(--gold); background: rgba(217, 164, 65, 0.08); }
.bon__code > span { flex: 1; display: flex; flex-direction: column; gap: 6px; }
.bon__code-value { font-family: var(--font-mono); font-size: 34px; font-weight: 700; letter-spacing: 0.1em; color: var(--night); }
.bon__where { flex: none; width: 112px; min-height: 92px; padding: 8px; border-radius: 10px; border: 1.5px dashed var(--ink3); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; text-align: center; font-size: 11px; line-height: 1.25; color: var(--ink3); }
.bon__where b { font-family: var(--font-mono); font-size: 12px; color: var(--ink2); }
.bon__steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.bon__steps li { display: flex; gap: 11px; align-items: flex-start; font-size: 15px; line-height: 1.45; font-weight: 500; }
.bon__steps li span { flex: none; width: 30px; height: 30px; border-radius: 100px; background: var(--night); color: var(--gold); font-size: 15px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.bon__foot { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.bon__brand { display: inline-flex; align-items: center; gap: 8px; }
.bon__brand img { width: 24px; height: 24px; border-radius: 100px; }
.bon__brand b { font-family: var(--font-serif); font-size: 17px; }
.bon__brand small { font-size: 12px; color: var(--ink3); }
.bon__civic { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; color: #2E6B4F; text-align: right; }

/* /bon-cadeau : page imprimable */
.bon-page { display: flex; flex-direction: column; align-items: center; gap: 22px; padding: 36px 16px 64px; }
.bon-page__bar { width: min(794px, 100%); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.bon-page__bar h1 { font-family: var(--font-serif); font-weight: 700; font-size: 26px; }
.bon-page__bar p { font-size: 15px; line-height: 1.5; color: var(--ink2); }
.bon-page__state { width: min(560px, 100%); text-align: center; display: flex; flex-direction: column; gap: 12px; align-items: center; padding: 40px 0; }
.bon-page__state h1 { font-family: var(--font-serif); font-weight: 700; font-size: 30px; }
.bon-page__state p { font-size: 16px; line-height: 1.55; color: var(--ink2); }
.bon-page__scroller { width: 100%; overflow-x: auto; display: flex; justify-content: center; }
.bon-page__scroller .preview-frame { width: min(794px, 100%); border-radius: 0; box-shadow: 0 24px 40px -26px rgba(44, 42, 41, 0.6); }
@media print {
  @page { size: A4; margin: 0; }
  html, body { background: #FFFFFF; }
  .lc-header, .bon-page__bar, .s-footer, .no-print { display: none !important; }
  .bon-page { padding: 0; }
  .bon-page__scroller .preview-frame { width: 794px; box-shadow: none; overflow: visible; }
  .bon-page__scroller .preview-frame .bon-sheet { transform: none; }
  * { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}

@media (max-width: 560px) {
  .plan--eclaire { padding: 36px 22px 26px; }
  .chips { flex-wrap: wrap; }
  .chip { flex: 1 1 40%; }
  .noel__art { min-height: 440px; }
  .money ul { grid-template-columns: minmax(0, 1fr); }
  .step form { padding: 24px 20px 20px; }
  .step .btn--cta { font-size: 15.5px; padding: 0 12px; }
}
