/* Site public CARMIN, édition hiver.
   Fond de nuit, or champagne en accent, neige et guirlande discrètes.
   Le violet n'existe que dans le logo. */
body.site {
  --bg: #0a0d13;
  --bg-2: #0e121a;
  --surface: #121722;
  --surface-2: #171d2a;
  --surface-3: #1e2534;
  --line: rgba(214, 224, 240, 0.09);
  --line-strong: rgba(214, 224, 240, 0.18);
  --text: #eef1f5;
  --muted: #a7afbd;
  --faint: #8b93a3;
  --gold: #d6b46e;
  --gold-2: #e8cf98;
  --gold-ink: #1a1408;
  --pine: #4f7a64;
  --berry: #a6424d;
  --frost: #cfdbe8;
  --green: #6fbf95;
  --red: #e0707b;
  --display: 'Archivo', 'Arial Narrow', sans-serif;
  --radius: 14px;
  --shadow: 0 24px 60px -20px rgba(0, 0, 0, 0.7);
  background: var(--bg);
  overflow-x: hidden;
}
body.site ::selection { background: var(--gold); color: var(--gold-ink); }
body.site :focus-visible { outline-color: var(--gold); }
body.site { scrollbar-color: #2a3242 var(--bg); }

.wrap { width: min(1180px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(780px, 100% - 32px); margin-inline: auto; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 80; padding: 10px 14px; background: var(--gold); color: var(--gold-ink); border-radius: 8px; font-weight: 800; }
.skip:focus { top: 12px; }

/* ---------- Typographie ---------- */
.h-display, .h1, .h2, .h3 { font-family: var(--display); font-stretch: 112%; margin: 0; color: var(--text); text-wrap: balance; }
.h1 { font-weight: 800; font-size: clamp(2.4rem, 6vw, 4.4rem); line-height: 0.98; letter-spacing: -0.02em; text-transform: uppercase; }
.h2 { font-weight: 800; font-size: clamp(1.9rem, 4vw, 2.9rem); line-height: 1.02; letter-spacing: -0.015em; text-transform: uppercase; }
.h3 { font-weight: 700; font-size: 1.25rem; line-height: 1.2; letter-spacing: -0.005em; }
.lead { color: var(--muted); font-size: clamp(1.02rem, 1.6vw, 1.15rem); max-width: 40em; margin: 16px 0 0; }
.gold { color: var(--gold); }
p { text-wrap: pretty; }

/* ---------- Boutons ---------- */
body.site .btn { border-radius: 10px; font-weight: 700; letter-spacing: 0.01em; border-color: var(--line-strong); background: var(--surface-2); }
body.site .btn:hover { border-color: var(--frost); transform: translateY(-1px); }
body.site .btn-primary {
  background: var(--gold); border-color: var(--gold); color: var(--gold-ink);
  box-shadow: 0 10px 24px -12px rgba(0, 0, 0, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}
body.site .btn-primary:hover { background: var(--gold-2); border-color: var(--gold-2); }
body.site .btn-primary:active { background: #c4a05c; }
body.site .btn-ghost { background: transparent; }
body.site .btn-ghost:hover { background: rgba(255, 255, 255, 0.04); }
body.site .btn[disabled] { background: var(--surface-2); border-color: var(--line); color: var(--faint); }

/* ---------- En-tête ---------- */
.topbar { position: sticky; top: 0; z-index: 50; background: rgba(10, 13, 19, 0.82); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.topbar-in { display: flex; align-items: center; gap: 22px; min-height: 70px; }
.brand { flex: none; }
.brand img { height: 36px; width: auto; }
.nav { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.nav a { position: relative; padding: 9px 12px; border-radius: 8px; color: var(--muted); text-decoration: none; font-weight: 600; font-size: 0.92rem; transition: color 0.15s; }
.nav a:hover { color: var(--text); }
.nav a[aria-current='page'] { color: var(--text); }
.nav a[aria-current='page']::after { content: ''; position: absolute; left: 12px; right: 12px; bottom: 2px; height: 2px; border-radius: 2px; background: var(--gold); }
.nav .nav-staff { color: var(--faint); }
.topbar .btn { min-height: 42px; }
.menu-btn { display: none; }

/* Guirlande lumineuse sous l'en-tête */
.garland { position: absolute; left: 0; right: 0; top: 100%; height: 22px; pointer-events: none; overflow: hidden; }
.garland svg { width: 100%; height: 22px; display: block; }
.garland .bulb { animation: twinkle 3.2s ease-in-out infinite; }
@keyframes twinkle { 0%, 100% { opacity: 1; } 50% { opacity: 0.45; } }

@media (max-width: 980px) {
  .menu-btn {
    display: grid; place-content: center; gap: 5px; width: 44px; height: 44px; flex: none;
    border: 1px solid var(--line-strong); border-radius: 10px; background: var(--surface); cursor: pointer;
  }
  .menu-btn span { display: block; width: 18px; height: 2px; background: var(--text); border-radius: 2px; transition: transform 0.2s, opacity 0.2s; }
  .menu-btn[aria-expanded='true'] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-btn[aria-expanded='true'] span:nth-child(2) { opacity: 0; }
  .menu-btn[aria-expanded='true'] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .topbar .play-top { margin-left: auto; }
  .nav { position: absolute; left: 0; right: 0; top: 100%; z-index: 2; flex-direction: column; align-items: stretch; padding: 12px 16px 20px; background: #0c1017; border-bottom: 1px solid var(--line); display: none; }
  .nav.open { display: flex; }
  .nav a { padding: 14px 12px; font-size: 1.02rem; }
  .nav a[aria-current='page']::after { left: 0; right: auto; top: 14px; bottom: 14px; width: 3px; height: auto; }
}
@media (max-width: 420px) { .brand img { height: 28px; } .topbar .play-top { padding: 0 0.9em; } }

/* ---------- Neige ---------- */
#snow { position: fixed; inset: 0; z-index: 40; pointer-events: none; }

/* ---------- Héros (accueil) ---------- */
.hero { position: relative; isolation: isolate; overflow: hidden; min-height: min(860px, calc(100svh - 70px)); display: grid; align-items: center; padding: 70px 0 220px; }
.sky { position: absolute; inset: 0; z-index: -3; background:
  radial-gradient(90% 60% at 50% 100%, rgba(241, 199, 126, 0.13), transparent 60%),
  linear-gradient(180deg, #070a10 0%, #0c1220 45%, #172036 78%, #1d2638 100%); }
.stars { position: absolute; inset: 0 0 35% 0; z-index: -3; opacity: 0.7; background-image:
  radial-gradient(1px 1px at 12% 18%, #fff 50%, transparent 51%), radial-gradient(1px 1px at 27% 8%, #dfe7f0 50%, transparent 51%),
  radial-gradient(1.4px 1.4px at 41% 26%, #fff 50%, transparent 51%), radial-gradient(1px 1px at 58% 12%, #fff 50%, transparent 51%),
  radial-gradient(1px 1px at 69% 30%, #dfe7f0 50%, transparent 51%), radial-gradient(1.4px 1.4px at 83% 16%, #fff 50%, transparent 51%),
  radial-gradient(1px 1px at 92% 34%, #fff 50%, transparent 51%), radial-gradient(1px 1px at 6% 40%, #dfe7f0 50%, transparent 51%),
  radial-gradient(1px 1px at 35% 44%, #fff 50%, transparent 51%), radial-gradient(1px 1px at 76% 6%, #fff 50%, transparent 51%); }
.city { position: absolute; left: 0; right: 0; bottom: 0; z-index: -2; pointer-events: none; }
.city .layer { position: absolute; left: -4%; right: -4%; bottom: 0; background-repeat: no-repeat; background-position: bottom center; background-size: cover; will-change: transform; transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1); }
.city .far { height: 300px; background-image: url('/assets/skyline-far.svg'); opacity: 0.9; }
.city .near { height: 210px; background-image: url('/assets/skyline-near.svg'); }
.city .palms { height: 250px; background-image: url('/assets/palms.svg'); }
.city::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 90px; background: linear-gradient(180deg, transparent, var(--bg)); }
.hero-in { display: grid; justify-items: center; text-align: center; gap: 20px; }
.season { display: inline-flex; align-items: center; gap: 10px; padding: 9px 16px 9px 12px; border-radius: 999px; border: 1px solid rgba(214, 180, 110, 0.35); background: rgba(214, 180, 110, 0.07); color: var(--gold-2); font-weight: 700; font-size: 0.85rem; text-decoration: none; }
.season svg { width: 18px; height: 18px; }
.season:hover { border-color: var(--gold); }
.hero-logo { width: min(640px, 92%); height: auto; filter: drop-shadow(0 30px 40px rgba(0, 0, 0, 0.6)); }
.hero .h1 { font-size: clamp(1.7rem, 3.6vw, 2.6rem); max-width: 22em; }
.hero .lead { margin: 0; max-width: 34em; }
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 6px; }
.status { display: inline-flex; align-items: center; gap: 9px; padding: 9px 16px; border-radius: 999px; background: rgba(10, 13, 19, 0.7); border: 1px solid var(--line-strong); font-size: 0.85rem; font-weight: 700; color: var(--muted); }
body.site .dot.on { background: var(--green); }
body.site .dot.off { background: var(--red); }
.f8 { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px; margin: 0; color: var(--faint); font-size: 0.9rem; }
.copy { display: inline-flex; align-items: center; gap: 8px; padding: 9px 13px; border-radius: 8px; border: 1px solid var(--line-strong); background: rgba(18, 23, 34, 0.9); color: var(--frost); cursor: pointer; }
.copy:hover { border-color: var(--gold); }
.copy svg { width: 15px; height: 15px; }
body.site kbd { padding: 4px 9px; background: var(--surface-2); border-color: var(--line-strong); }
@media (max-width: 560px) {
  .hero { padding-bottom: 180px; }
  .hero-actions { display: grid; width: 100%; }
  .hero-actions .btn { width: 100%; }
  .city .far { height: 210px; } .city .near { height: 150px; } .city .palms { height: 170px; }
}

/* ---------- Sections ---------- */
.section { padding: clamp(64px, 9vw, 112px) 0; }
.section + .section { padding-top: 0; }
.section-head { display: grid; gap: 4px; margin-bottom: clamp(28px, 4vw, 44px); max-width: 720px; }
.section-head.row { max-width: none; grid-template-columns: 1fr auto; align-items: end; gap: 20px; }
@media (max-width: 640px) { .section-head.row { grid-template-columns: 1fr; } }
.page-hero { position: relative; padding: clamp(56px, 8vw, 96px) 0 clamp(36px, 5vw, 56px); border-bottom: 1px solid var(--line); background: var(--bg-2); }
.page-hero .lead { margin-top: 14px; }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }

/* Étapes */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); position: relative; counter-reset: step; }
.steps li { position: relative; padding: 0 26px 0 0; }
.steps li::before { counter-increment: step; content: counter(step); display: grid; place-items: center; width: 46px; height: 46px; margin-bottom: 18px; border-radius: 50%; border: 1px solid rgba(214, 180, 110, 0.5); color: var(--gold); font-family: var(--display); font-weight: 800; font-size: 1.15rem; background: var(--bg); position: relative; z-index: 1; }
.steps li:not(:last-child)::after { content: ''; position: absolute; top: 23px; left: 46px; right: 0; height: 1px; background: linear-gradient(90deg, rgba(214, 180, 110, 0.5), var(--line)); }
.steps p { margin: 8px 0 0; color: var(--muted); }
.steps code { color: var(--frost); }
@media (max-width: 760px) {
  .steps { grid-template-columns: 1fr; gap: 28px; }
  .steps li { padding: 0 0 0 66px; }
  .steps li::before { position: absolute; left: 0; top: -4px; margin: 0; }
  .steps li:not(:last-child)::after { top: 46px; bottom: -24px; left: 23px; right: auto; width: 1px; height: auto; background: var(--line-strong); }
}

/* Piliers */
.pillars { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.pillar { padding: 34px 34px 38px 0; border-bottom: 1px solid var(--line); }
.pillar:nth-child(odd) { border-right: 1px solid var(--line); }
.pillar:nth-child(even) { padding-left: 34px; padding-right: 0; }
.pillar p { margin: 10px 0 0; color: var(--muted); max-width: 34em; }
@media (max-width: 760px) {
  .pillars { grid-template-columns: 1fr; }
  .pillar, .pillar:nth-child(even) { padding: 26px 0; border-right: 0; }
}

/* Bandeau Snake */
.promo-band { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 30px; padding: 40px; border-radius: 18px; background: linear-gradient(120deg, #141b27, #10151f); border: 1px solid rgba(214, 180, 110, 0.28); position: relative; overflow: hidden; }
.promo-band p { margin: 10px 0 0; color: var(--muted); }
.promo-band .actions { display: flex; gap: 10px; flex-wrap: wrap; }
.mini-snake { position: absolute; right: -10px; bottom: -10px; display: grid; grid-template-columns: repeat(9, 16px); gap: 3px; opacity: 0.18; pointer-events: none; }
.mini-snake i { width: 16px; height: 16px; border-radius: 4px; }
.mini-snake i.s { background: var(--pine); }
.mini-snake i.f { background: var(--berry); }
@media (max-width: 720px) { .promo-band { grid-template-columns: 1fr; padding: 26px; } }

/* Grand appel final */
.closing { text-align: center; display: grid; justify-items: center; gap: 18px; padding: 80px 24px; border-radius: 22px; background: var(--surface); border: 1px solid var(--line); }
.closing p { margin: 0; color: var(--muted); }

/* ---------- Boutique ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.chip { padding: 8px 15px; border-radius: 999px; border: 1px solid var(--line-strong); background: transparent; color: var(--muted); font-weight: 700; font-size: 0.88rem; cursor: pointer; }
.chip:hover { color: var(--text); }
.chip[aria-selected='true'] { background: var(--text); border-color: var(--text); color: var(--bg); }
.products { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; }
.product { display: grid; grid-template-rows: auto 1fr auto; overflow: hidden; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; transition: border-color 0.2s, transform 0.2s; }
.product:hover { border-color: var(--line-strong); transform: translateY(-2px); }
.product-media { position: relative; aspect-ratio: 16 / 10; background: linear-gradient(160deg, #1a2232, #0f141d); overflow: hidden; }
.product-media img { width: 100%; height: 100%; object-fit: cover; }
.product-media .ph { position: absolute; inset: 0; display: grid; place-items: center; }
.product-media .ph img { width: 54%; height: auto; object-fit: contain; opacity: 0.28; filter: grayscale(1) brightness(1.4); }
.tag { position: absolute; left: 12px; top: 12px; padding: 6px 12px; border-radius: 999px; background: var(--gold); color: var(--gold-ink); font-size: 0.74rem; font-weight: 800; }
.product-body { padding: 18px 20px 6px; }
.product-cat { font-size: 0.78rem; font-weight: 700; color: var(--faint); }
.product h3 { margin: 4px 0 6px; font-size: 1.12rem; }
.product p { margin: 0; color: var(--muted); font-size: 0.92rem; white-space: pre-line; }
.product-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 20px 20px; }
.price { font-family: var(--display); font-stretch: 112%; font-weight: 800; font-size: 1.55rem; line-height: 1; font-variant-numeric: tabular-nums; }
.price s { font-family: var(--body); font-weight: 600; font-size: 0.9rem; color: var(--faint); margin-right: 6px; }
.empty { grid-column: 1 / -1; margin: 0; padding: 40px 20px; text-align: center; color: var(--muted); border: 1px dashed var(--line-strong); border-radius: 16px; }
.promo-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-bottom: 26px; padding: 14px 16px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); }
.promo-bar .input { width: auto; flex: 1 1 200px; max-width: 280px; min-height: 42px; text-transform: uppercase; }
.promo-bar .note { color: var(--muted); font-size: 0.9rem; }
.promo-bar .ok { color: var(--green); font-weight: 700; }

/* ---------- Formulaires ---------- */
body.site .input, body.site .select, body.site .textarea { background: #0c1018; border-color: var(--line-strong); }
body.site .input:focus, body.site .select:focus, body.site .textarea:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(214, 180, 110, 0.18); }
body.site .select { background-image: linear-gradient(45deg, transparent 50%, var(--gold) 50%), linear-gradient(135deg, var(--gold) 50%, transparent 50%); }
body.site .check input { accent-color: var(--gold); }
body.site .counter.ok { color: var(--green); }
.apply { display: grid; gap: 22px; }
.apply fieldset { margin: 0; border: 0; padding: 0; min-width: 0; }
.pole-pick { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.pole-pick legend { margin-bottom: 10px; }
.pole-pick .field-error { grid-column: 1 / -1; margin: 0; }
.pole-option { position: relative; display: grid; gap: 4px; padding: 20px 22px; cursor: pointer; border-radius: 14px; border: 1px solid var(--line-strong); background: var(--surface); transition: border-color 0.15s, background 0.15s; }
.pole-option input { position: absolute; opacity: 0; pointer-events: none; }
.po-title { font-family: var(--display); font-stretch: 112%; font-weight: 800; font-size: 1.5rem; text-transform: uppercase; }
.po-sub { color: var(--muted); font-size: 0.9rem; }
.pole-option:hover { border-color: var(--frost); }
.pole-option:has(input:focus-visible) { outline: 2px solid var(--gold); outline-offset: 3px; }
.pole-option:has(input:checked) { border-color: var(--gold); background: rgba(214, 180, 110, 0.07); }
.pole-option:has(input:checked) .po-title { color: var(--gold-2); }
@media (max-width: 520px) { .pole-pick { grid-template-columns: 1fr; } }
.apply-section { display: grid; gap: 18px; padding: clamp(20px, 3.5vw, 30px); border-radius: 16px; background: var(--surface); border: 1px solid var(--line); }
.apply-section h3 { margin: 0; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 620px) { .grid-2 { grid-template-columns: 1fr; } }
.apply-end { display: grid; gap: 14px; justify-items: start; }
.form-error { margin: 0; padding: 12px 14px; border-radius: 10px; background: rgba(224, 112, 123, 0.1); border: 1px solid rgba(224, 112, 123, 0.4); color: #f3c3c8; font-weight: 600; font-size: 0.92rem; }
.notice { padding: 18px 20px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line-strong); color: var(--muted); }
.done { display: grid; justify-items: center; text-align: center; gap: 8px; padding: 40px 24px; border-radius: 18px; background: var(--surface); border: 1px solid rgba(111, 191, 149, 0.4); }
.done:focus { outline: none; }
.done h3 { margin: 6px 0 0; font-size: 1.35rem; }
.done p { margin: 0; color: var(--muted); max-width: 32em; }
.done-icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: rgba(111, 191, 149, 0.14); color: var(--green); }
.done-icon svg { width: 28px; height: 28px; }
.side-note { display: grid; gap: 14px; align-content: start; }
.side-note .panel { padding: 22px; }
.side-note h3 { margin: 0 0 8px; }
.side-note p, .side-note li { color: var(--muted); font-size: 0.94rem; }
.side-note ul { margin: 0; padding-left: 18px; display: grid; gap: 6px; }
.two { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 28px; align-items: start; }
@media (max-width: 900px) { .two { grid-template-columns: 1fr; } }

/* ---------- Le serveur ---------- */
.rules { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 40px; }
.rules li { display: grid; grid-template-columns: auto 1fr; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.rules b { font-family: var(--display); font-stretch: 112%; font-weight: 800; color: var(--gold); font-size: 1rem; min-width: 1.6em; }
.rules strong { display: block; margin-bottom: 4px; }
.rules p { margin: 0; color: var(--muted); font-size: 0.94rem; }
@media (max-width: 760px) { .rules { grid-template-columns: 1fr; } }
.connect-box { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px; }
.connect-box .panel { padding: 26px; display: grid; gap: 12px; align-content: start; }
.connect-box .panel p { margin: 0; color: var(--muted); }
@media (max-width: 760px) { .connect-box { grid-template-columns: 1fr; } }
.cmd { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 16px; border-radius: 10px; background: #0b0f16; border: 1px solid var(--line-strong); font-size: 1rem; color: var(--frost); }

/* ---------- Contact / FAQ ---------- */
.contact { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.contact-card { display: flex; align-items: center; gap: 18px; padding: 26px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); color: var(--text); text-decoration: none; transition: border-color 0.15s; }
.contact-card:hover { border-color: var(--gold); }
.contact-card svg { width: 30px; height: 30px; color: var(--gold); flex: none; }
.contact-card strong { display: block; font-size: 1.05rem; }
.contact-card span { color: var(--muted); font-size: 0.95rem; overflow-wrap: anywhere; }
.contact-card.is-disabled { pointer-events: none; opacity: 0.55; }
@media (max-width: 640px) { .contact { grid-template-columns: 1fr; } }
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 0; cursor: pointer; list-style: none; font-weight: 700; font-size: 1.05rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ''; width: 10px; height: 10px; border-right: 2px solid var(--gold); border-bottom: 2px solid var(--gold); transform: rotate(45deg); transition: transform 0.2s; flex: none; margin-right: 4px; }
.faq details[open] summary::after { transform: rotate(-135deg); }
.faq details p { margin: 0 0 20px; color: var(--muted); max-width: 46em; }

/* ---------- Pied de page ---------- */
.footer { margin-top: clamp(40px, 6vw, 80px); padding: 52px 0 36px; border-top: 1px solid var(--line); background: var(--bg-2); }
.footer-in { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 32px; }
.footer-logo { width: 150px; height: auto; }
.footer p { margin: 14px 0 0; color: var(--faint); font-size: 0.88rem; max-width: 30em; }
.footer h2 { margin: 0 0 12px; font-size: 0.9rem; color: var(--text); }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer a { color: var(--muted); text-decoration: none; font-size: 0.92rem; }
.footer a:hover { color: var(--text); }
.footer-copy { grid-column: 1 / -1; padding-top: 24px; border-top: 1px solid var(--line); color: var(--faint); font-size: 0.82rem; }
@media (max-width: 760px) { .footer-in { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }

/* ---------- Fenêtre d'achat ---------- */
.modal { width: min(480px, calc(100vw - 24px)); max-height: calc(100dvh - 24px); padding: 0; border: 1px solid var(--line-strong); border-radius: 20px; background: var(--surface); color: var(--text); box-shadow: var(--shadow); }
.modal::backdrop { background: rgba(4, 6, 10, 0.75); }
.modal-close-form { position: absolute; right: 10px; top: 10px; margin: 0; }
.modal-x { width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface-2); color: var(--muted); font-size: 1.5rem; line-height: 1; cursor: pointer; }
.modal-body { display: grid; gap: 16px; padding: 26px 24px 24px; }
.co-name { margin: 0; font-size: 1.3rem; padding-right: 44px; }
.co-price { margin: -8px 0 0; }
.co-fields { display: grid; gap: 14px; }
.paypal-zone { min-height: 50px; }
.paypal-zone .note { margin: 0; color: var(--muted); font-size: 0.9rem; text-align: center; }

/* ---------- Snake ---------- */
.game { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 28px; align-items: start; }
@media (max-width: 900px) { .game { grid-template-columns: 1fr; } }
.board-wrap { position: relative; border-radius: 18px; overflow: hidden; border: 1px solid var(--line-strong); background: #0b1210; aspect-ratio: 1; max-width: 640px; width: 100%; margin-inline: auto; touch-action: none; }
#board { width: 100%; height: 100%; display: block; }
.overlay { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 14px; padding: 24px; text-align: center; background: rgba(8, 12, 11, 0.82); }
.overlay h2 { margin: 0; }
.overlay p { margin: 0; color: var(--muted); max-width: 26em; }
.scores { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.score { padding: 16px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); }
.score span { display: block; color: var(--muted); font-size: 0.82rem; font-weight: 600; }
.score b { font-family: var(--display); font-stretch: 112%; font-size: 2rem; font-variant-numeric: tabular-nums; }
.goal { display: grid; gap: 8px; }
.goal .bar { height: 8px; border-radius: 99px; background: var(--surface-2); overflow: hidden; }
.goal .bar i { display: block; height: 100%; width: 100%; background: var(--gold); border-radius: inherit; transform: scaleX(0); transform-origin: left; transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1); }
.goal small { color: var(--muted); }
.reward { padding: 22px; border-radius: 14px; border: 1px solid rgba(214, 180, 110, 0.5); background: rgba(214, 180, 110, 0.07); display: grid; gap: 10px; }
.reward .code { font-family: ui-monospace, 'Cascadia Code', Consolas, monospace; font-size: 1.6rem; font-weight: 800; letter-spacing: 0.08em; color: var(--gold-2); }
.pad { display: none; grid-template-columns: repeat(3, 64px); grid-template-rows: repeat(2, 56px); gap: 8px; justify-content: center; margin-top: 16px; }
.pad button { border-radius: 12px; border: 1px solid var(--line-strong); background: var(--surface-2); color: var(--text); cursor: pointer; display: grid; place-items: center; }
.pad button svg { width: 22px; height: 22px; }
.pad .up { grid-column: 2; }
.pad .left { grid-column: 1; grid-row: 2; }
.pad .down { grid-column: 2; grid-row: 2; }
.pad .right { grid-column: 3; grid-row: 2; }
@media (hover: none), (max-width: 760px) { .pad { display: grid; } }
.help-keys { color: var(--muted); font-size: 0.9rem; margin: 0; }

/* ---------- Divers ---------- */
body.site .toast { background: var(--surface-3); }
@media (prefers-reduced-motion: reduce) { #snow { display: none; } .garland .bulb { animation: none; } }

@media (max-width: 640px) { .closing { padding: 56px 20px; } }

/* Paiement par lien PayPal.me */
.link-zone, .link-done { display: grid; gap: 12px; }
.link-zone .btn, .link-done .btn { width: 100%; }
.link-zone .note, .link-done .note { margin: 0; color: var(--muted); font-size: 0.88rem; }
.link-done h3 { margin: 0; }
.link-done p { margin: 0; color: var(--muted); }
.link-done strong { color: var(--text); }
