@font-face{font-family:'Mulish';font-style:normal;font-display:swap;font-weight:500;src:url('fonts/mulish-latin-500-normal.woff2') format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
@font-face{font-family:'Mulish';font-style:normal;font-display:swap;font-weight:500;src:url('fonts/mulish-latin-ext-500-normal.woff2') format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;}
@font-face{font-family:'Mulish';font-style:normal;font-display:swap;font-weight:700;src:url('fonts/mulish-latin-700-normal.woff2') format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
@font-face{font-family:'Mulish';font-style:normal;font-display:swap;font-weight:700;src:url('fonts/mulish-latin-ext-700-normal.woff2') format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;}
@font-face{font-family:'Mulish';font-style:normal;font-display:swap;font-weight:800;src:url('fonts/mulish-latin-800-normal.woff2') format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
@font-face{font-family:'Mulish';font-style:normal;font-display:swap;font-weight:800;src:url('fonts/mulish-latin-ext-800-normal.woff2') format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;}
@font-face{font-family:'Mulish';font-style:normal;font-display:swap;font-weight:900;src:url('fonts/mulish-latin-900-normal.woff2') format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
@font-face{font-family:'Mulish';font-style:normal;font-display:swap;font-weight:900;src:url('fonts/mulish-latin-ext-900-normal.woff2') format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;}
/* Charte : affiche « Jeu de Noël des collaborateurs » — crème, brun chocolat, rouge lutin, vert sapin, vert pré, jaune grelot.
   Layout : une scène d'affiche en haut, puis des vues empilées (inscription, calendrier, admin) sur fond crème. */
:root {
  --cream: #fef7df;
  --cream-2: #f7ecc6;
  --paper: #fffcf1;
  --brown: #5a2e14;
  --ink: #3d1f0d;
  --muted: #86664d;
  --line: #ead9ad;
  --red: #e63339;
  --red-d: #b9232a;
  --green: #3a7841;
  --green-d: #2a5a30;
  --lime: #62b22f;
  --lime-d: #4a8d20;
  --yellow: #fde76e;
  --gold: #f2c230;
  --night: #10261a;
  --f-display: "Mulish", "Nunito Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-body: "Mulish", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --r: 18px;
  --sh: 0 10px 28px rgba(90, 46, 20, .12);
  --ease: cubic-bezier(.2, .8, .2, 1);
  --back: cubic-bezier(.34, 1.56, .64, 1);
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--cream); color: var(--ink);
  font-family: var(--f-body); font-size: 16px; line-height: 1.5;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; -webkit-tap-highlight-color: transparent; }
a { color: var(--green); font-weight: 700; }
img { max-width: 100%; }
:focus-visible { outline: 3px solid var(--lime); outline-offset: 3px; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap {
  width: 100%; max-width: 1120px; margin-inline: auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
.narrow { max-width: 760px; }
h1, h2, h3 { font-family: var(--f-display); color: var(--brown); text-wrap: balance; margin: 0; line-height: 1.1; }
p { margin: 0; }
.stack { display: flex; flex-direction: column; gap: 14px; }
.row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.muted { color: var(--muted); }
.tnum { font-variant-numeric: tabular-nums; }

/* ---------- Barre mode test ---------- */
.testbar {
  background: repeating-linear-gradient(-45deg, #2d2d2d 0 12px, #393939 12px 24px);
  color: var(--yellow); font-size: 13px; font-weight: 800; text-align: center;
  padding-block: 6px; position: relative; z-index: 40;
}
.testbar .wrap { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 12px; }
.testbar a { color: #fff; }

/* ---------- En-tête ---------- */
.top { position: relative; z-index: 30; padding-block: 12px; }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.brand { display: flex; align-items: center; gap: clamp(10px, 3vw, 24px); text-decoration: none; min-width: 0; }
.brand img { display: block; height: clamp(34px, 7vw, 54px); width: auto; }
.brand .cgp { height: clamp(32px, 6.4vw, 50px); }
.nav { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.pill-link {
  display: inline-flex; align-items: center; gap: 6px; text-decoration: none;
  font-weight: 800; font-size: 14px; color: var(--brown);
  padding: 9px 14px; border-radius: 999px; background: var(--paper); border: 2px solid var(--line);
  transition: transform .15s, background .2s;
}
.pill-link:hover { transform: translateY(-1px); background: #fff; }
.pill-link.on { background: var(--green); border-color: var(--green); color: var(--cream); }
.snd {
  width: 44px; height: 44px; border-radius: 50%; border: 2px solid var(--line); background: var(--paper);
  display: grid; place-items: center; color: var(--brown); position: relative; transition: transform .2s var(--back);
}
.snd:hover { transform: scale(1.06); }
.snd svg { width: 20px; height: 20px; }
.snd[aria-pressed="true"] { background: var(--red); border-color: var(--red); color: #fff; }
.snd .eq { position: absolute; right: -3px; bottom: -3px; display: none; gap: 2px; align-items: flex-end; height: 15px; padding: 2px 4px; background: var(--green); border-radius: 7px; }
.snd[aria-pressed="true"] .eq { display: flex; }
.eq i { width: 2px; background: #fff; border-radius: 1px; animation: eq .9s ease-in-out infinite; }
.eq i:nth-child(2) { animation-delay: -.3s; } .eq i:nth-child(3) { animation-delay: -.6s; }
@keyframes eq { 0%, 100% { height: 3px; } 50% { height: 10px; } }
@media (max-width: 560px) { .pill-link .lbl { display: none; } .pill-link { padding: 9px 11px; } }

/* ---------- Boutons ---------- */
.btn {
  --b: var(--red); --s: var(--red-d); --f: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 13px 26px; border: 0; border-radius: 999px;
  background: var(--b); color: var(--f); font-weight: 900; font-size: 17px; text-decoration: none; text-align: center;
  box-shadow: 0 5px 0 var(--s), 0 10px 18px rgba(61, 31, 13, .14);
  transition: transform .12s, box-shadow .12s, filter .2s, opacity .2s;
}
.btn:hover { filter: brightness(1.05); }
.btn:active { transform: translateY(4px); box-shadow: 0 1px 0 var(--s), 0 4px 8px rgba(61, 31, 13, .12); }
.btn[disabled], .btn.is-off { opacity: .45; pointer-events: none; }
.btn.green { --b: var(--green); --s: var(--green-d); }
.btn.lime { --b: var(--lime); --s: var(--lime-d); }
.btn.cream { --b: var(--paper); --s: #d8c592; --f: var(--brown); }
.btn.ghost { background: transparent; color: var(--brown); border: 2px solid var(--line); box-shadow: none; }
.btn.ghost:active { transform: translateY(1px); }
.btn.sm { min-height: 40px; padding: 8px 16px; font-size: 14px; box-shadow: 0 3px 0 var(--s); }
.btn.sm.ghost { box-shadow: none; }
.btn.xs { min-height: 32px; padding: 5px 12px; font-size: 13px; box-shadow: 0 2px 0 var(--s); }
.btn.xs.ghost { box-shadow: none; border-width: 1.5px; }
.linkbtn { background: none; border: 0; padding: 0; color: var(--green); font-weight: 800; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Accueil / scène d'affiche ---------- */
.hero { position: relative; overflow: hidden; }
.hero .confetti-l, .hero .confetti-r { position: absolute; pointer-events: none; width: min(46vw, 520px); opacity: .9; }
.hero .confetti-l { left: -10%; top: 40px; }
.hero .confetti-r { right: -14%; top: 120px; transform: scaleX(-1) rotate(8deg); }
.hero .corner { position: absolute; right: -40px; top: -86px; width: min(52vw, 520px); pointer-events: none; transform: rotate(-4deg); }
.hero-in { position: relative; z-index: 2; text-align: center; padding-block: 8px 0; }
.title {
  display: inline-grid; grid-template-columns: auto auto; align-items: end; justify-content: center;
  font-weight: 900; letter-spacing: -.035em; line-height: .84; text-transform: uppercase; color: var(--brown);
  font-size: clamp(74px, 17vw, 168px);
}
.title .t-jeu { grid-column: 1; }
.title .t-de { grid-column: 2; font-size: .44em; align-self: start; padding-top: .12em; padding-left: .06em; text-align: left; }
.title .t-noel { grid-column: 1 / span 2; margin-top: .17em; }
.title .t-sub { grid-column: 1 / span 2; font-size: .235em; letter-spacing: -.005em; line-height: 1.1; margin-top: .3em; }
.ribbons { display: flex; flex-direction: column; align-items: center; gap: 6px; margin-top: 20px; }
.ribbons span {
  background: var(--red); color: var(--cream); font-weight: 900; text-transform: uppercase; letter-spacing: .005em;
  font-size: clamp(19px, 3.6vw, 34px); line-height: 1.12; padding: .14em .5em .16em;
}
.ribbons span:nth-child(1) { transform: rotate(-1.6deg); }
.ribbons span:nth-child(2) { transform: rotate(1.4deg); }
.ribbons span:nth-child(3) { transform: rotate(-.6deg); }
.hero-cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 28px; }
.hero-note { margin-top: 14px; font-weight: 700; color: var(--muted); font-size: 15px; }
.scene { position: relative; height: clamp(210px, 33vw, 400px); margin-top: clamp(-30px, -2vw, -6px); }
.scene .garland { position: absolute; left: 50%; top: 30%; width: min(124vw, 1400px); transform: translateX(-50%); z-index: 2; }
.scene .elf { position: absolute; bottom: 4%; height: 92%; width: auto; z-index: 3; }
.scene .elf-g { left: max(-2vw, calc(50% - 600px)); }
.scene .elf-b { right: max(-2vw, calc(50% - 600px)); }
.scene .grass { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 34%; z-index: 1; display: block; }
.band { background: var(--green); color: var(--cream); padding-block: clamp(28px, 5vw, 54px); text-align: center; position: relative; }
.band h2 { color: var(--cream); font-size: clamp(40px, 8vw, 92px); font-weight: 900; letter-spacing: -.02em; text-transform: uppercase; line-height: .95; }
.band .dates { font-size: clamp(24px, 4.6vw, 52px); font-weight: 500; line-height: 1.1; margin-top: 6px; }
.band .dates sup { font-size: .5em; }
.band .lead { font-size: clamp(17px, 2.6vw, 28px); margin-top: clamp(18px, 3vw, 32px); line-height: 1.3; }
.band .lead b { font-weight: 900; }
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 30px; text-align: left; }
.fact { background: rgba(255, 255, 255, .08); border: 1.5px solid rgba(254, 247, 223, .22); border-radius: 16px; padding: 14px 16px; }
.fact b { display: block; font-size: 17px; color: var(--yellow); }
.fact span { font-size: 15px; opacity: .92; }
@media (max-width: 760px) { .facts { grid-template-columns: 1fr; } }
.band .small { margin-top: 26px; font-size: 14px; opacity: .85; }

/* ---------- Cartes / panneaux ---------- */
.panel { background: var(--paper); border: 2px solid var(--line); border-radius: 24px; padding: clamp(18px, 4vw, 34px); box-shadow: var(--sh); }
.page { padding-block: 18px 48px; }
.eyebrow { font-size: 13px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; color: var(--green); }
.h-xl { font-size: clamp(30px, 5.4vw, 48px); font-weight: 900; letter-spacing: -.02em; }
.h-lg { font-size: clamp(24px, 4vw, 34px); font-weight: 900; letter-spacing: -.01em; }
.h-md { font-size: 21px; font-weight: 900; }
.warn {
  display: flex; gap: 14px; align-items: flex-start; border-radius: 18px; padding: 16px 18px;
  background: #fff1d6; border: 2px solid var(--gold); color: var(--ink);
}
.warn svg { flex: 0 0 28px; width: 28px; height: 28px; color: var(--red); margin-top: 2px; }
.warn b { color: var(--red-d); }
.prize-list { display: grid; gap: 10px; }
.prize { display: flex; gap: 14px; align-items: center; padding: 12px 14px; background: var(--cream); border-radius: 16px; border: 1.5px solid var(--line); }
.prize .amt { flex: 0 0 auto; min-width: 82px; text-align: center; font-weight: 900; font-size: 22px; color: #fff; background: var(--red); border-radius: 12px; padding: 6px 8px; transform: rotate(-2deg); }
.prize .amt.g { background: var(--green); } .prize .amt.y { background: var(--gold); color: var(--brown); }
.prize p { font-size: 15px; }

/* ---------- Formulaire ---------- */
.formwrap { max-width: 720px; margin-inline: auto; }
.progress { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: var(--cream); padding-block: 10px 12px; }
.progress .meta { display: flex; justify-content: space-between; font-size: 13px; font-weight: 800; color: var(--muted); margin-bottom: 6px; }
.bar { height: 12px; border-radius: 999px; background: var(--cream-2); border: 1.5px solid var(--line); overflow: hidden; }
.bar i { display: block; height: 100%; width: 0; border-radius: 999px; transition: width .5s var(--ease);
  background: repeating-linear-gradient(-45deg, var(--red) 0 10px, #f0555a 10px 20px); }
.qcard { animation: qin .4s var(--ease) both; }
.qcard.back { animation-name: qinb; }
@keyframes qin { from { opacity: 0; transform: translateX(24px); } to { opacity: 1; transform: none; } }
@keyframes qinb { from { opacity: 0; transform: translateX(-24px); } to { opacity: 1; transform: none; } }
.qtitle { font-size: clamp(22px, 4.2vw, 30px); font-weight: 900; color: var(--brown); line-height: 1.15; text-wrap: balance; }
.qhint { font-size: 14px; font-weight: 700; color: var(--muted); }
.opts { display: grid; gap: 10px; }
.opt {
  display: flex; align-items: center; gap: 14px; width: 100%; text-align: left;
  padding: 14px 16px; min-height: 56px; border-radius: 16px; background: #fff; border: 2px solid var(--line);
  font-weight: 700; font-size: 16px; color: var(--ink); transition: border-color .15s, background .15s, transform .12s;
}
.opt:hover { border-color: #d9c38a; }
.opt:active { transform: scale(.99); }
.opt .mk { flex: 0 0 24px; height: 24px; border-radius: 50%; border: 2.5px solid #cdb67f; display: grid; place-items: center; transition: all .15s; background: #fff; }
.opt.multi .mk { border-radius: 7px; }
.opt .mk svg { width: 14px; height: 14px; color: #fff; opacity: 0; transform: scale(.5); transition: all .15s var(--back); }
.opt[aria-checked="true"] { border-color: var(--green); background: #eff7e6; }
.opt[aria-checked="true"] .mk { background: var(--green); border-color: var(--green); }
.opt[aria-checked="true"] .mk svg { opacity: 1; transform: none; }
.other-in { margin-top: -2px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label, .flabel { font-weight: 800; font-size: 14px; color: var(--brown); }
.input, .select, .textarea {
  width: 100%; min-height: 52px; padding: 12px 14px; border-radius: 14px; border: 2px solid var(--line); background: #fff;
  font-size: 16px; color: var(--ink); transition: border-color .15s, box-shadow .15s;
}
.textarea { min-height: 140px; resize: vertical; line-height: 1.45; }
.select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--brown) 50%), linear-gradient(135deg, var(--brown) 50%, transparent 50%); background-position: calc(100% - 22px) 50%, calc(100% - 16px) 50%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 40px; }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 4px rgba(98, 178, 47, .2); }
.field.err .input, .field.err .select { border-color: var(--red); }
.ferr { color: var(--red-d); font-size: 13px; font-weight: 800; min-height: 0; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 560px) { .grid2 { grid-template-columns: 1fr; } }
.check { display: flex; gap: 12px; align-items: flex-start; padding: 14px; border-radius: 16px; background: #fff; border: 2px solid var(--line); cursor: pointer; }
.check input { width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--green); flex: 0 0 22px; }
.check.err { border-color: var(--red); }
.rating { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.rate {
  aspect-ratio: 1; max-height: 86px; border-radius: 18px; border: 2px solid var(--line); background: #fff;
  font-size: clamp(22px, 5vw, 30px); font-weight: 900; color: var(--brown); transition: all .15s var(--back);
}
.rate:hover { border-color: #d9c38a; }
.rate[aria-checked="true"] { background: var(--red); border-color: var(--red); color: #fff; transform: translateY(-3px) rotate(-3deg); box-shadow: 0 6px 0 var(--red-d); }
.rate-legend { display: flex; justify-content: space-between; font-size: 13px; font-weight: 800; color: var(--muted); }
.slider { padding: 10px 4px 0; }
.slider input[type=range] { width: 100%; height: 40px; background: transparent; -webkit-appearance: none; appearance: none; margin: 0; }
.slider input[type=range]::-webkit-slider-runnable-track { height: 12px; border-radius: 999px; background: linear-gradient(90deg, var(--green), var(--lime) 50%, var(--gold)); }
.slider input[type=range]::-moz-range-track { height: 12px; border-radius: 999px; background: linear-gradient(90deg, var(--green), var(--lime) 50%, var(--gold)); }
.slider input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 34px; height: 34px; border-radius: 50%; background: var(--red); border: 4px solid #fff; box-shadow: 0 3px 10px rgba(0,0,0,.25); margin-top: -11px; }
.slider input[type=range]::-moz-range-thumb { width: 26px; height: 26px; border-radius: 50%; background: var(--red); border: 4px solid #fff; box-shadow: 0 3px 10px rgba(0,0,0,.25); }
.slider.unset input[type=range]::-webkit-slider-thumb { background: #cdb67f; }
.slider.unset input[type=range]::-moz-range-thumb { background: #cdb67f; }
.ticks { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px; margin-top: 4px; }
.ticks button { background: none; border: 0; padding: 6px 2px; font-size: 12.5px; font-weight: 800; color: var(--muted); line-height: 1.2; border-radius: 10px; }
.ticks button.on { color: var(--green-d); background: #eff7e6; }
.slider-val { text-align: center; font-weight: 900; font-size: 20px; color: var(--brown); min-height: 30px; }
.note { border-radius: 18px; padding: 16px 18px; background: #eaf5df; border: 2px solid var(--lime); animation: qin .35s var(--ease) both; }
.note b { color: var(--green-d); font-size: 18px; display: block; }
.note.info { background: #fff6d8; border-color: var(--gold); }
.note.info b { color: var(--brown); }
.wa-join { display: grid; grid-template-columns: 1fr auto; gap: 16px; align-items: center; }
.wa-qr { width: 132px; height: 132px; background: #fff; border-radius: 12px; padding: 8px; border: 1.5px solid var(--line); display: grid; place-items: center; }
.wa-qr img, .wa-qr canvas { width: 100% !important; height: auto !important; display: block; }
@media (max-width: 480px) { .wa-join { grid-template-columns: 1fr; } .wa-qr { margin-inline: auto; } }
.btn.wa { --b: #25d366; --s: #179c4a; --f: #0b3d1f; }
.bonus-badge { display: inline-flex; align-self: flex-start; gap: 8px; align-items: center; background: var(--gold); color: var(--brown); font-weight: 900; padding: 6px 14px; border-radius: 999px; transform: rotate(-2deg); }
.form-nav { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 8px; }
.form-nav .btn { flex: 0 1 auto; }
.done { text-align: center; padding-block: 20px; }
.done .tick { width: 96px; height: 96px; border-radius: 50%; background: var(--green); color: #fff; display: grid; place-items: center; margin: 0 auto 18px; animation: pop .6s var(--back) both; }
.done .tick svg { width: 50px; height: 50px; }
@keyframes pop { from { transform: scale(.3); opacity: 0; } to { transform: none; opacity: 1; } }

/* ---------- Calendrier ---------- */
.cal-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 14px 20px; margin-bottom: 18px; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; background: var(--paper); border: 2px solid var(--line); font-weight: 800; font-size: 14px; color: var(--brown); }
.chip.g { background: #eaf5df; border-color: var(--lime); color: var(--green-d); }
.chip.r { background: #fde3e2; border-color: #f2a4a6; color: var(--red-d); }
.chip.y { background: #fff3c4; border-color: var(--gold); }
.chip .dot { width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.launch { background: var(--green); color: var(--cream); border-radius: 28px; padding: clamp(20px, 4vw, 36px); text-align: center; position: relative; overflow: hidden; margin-bottom: 22px; }
.launch h2 { color: var(--cream); font-size: clamp(22px, 4vw, 32px); font-weight: 900; }
.launch .garl { position: absolute; left: 50%; top: -18px; width: 900px; max-width: none; transform: translateX(-50%); opacity: .95; pointer-events: none; }
.launch-in { position: relative; padding-top: clamp(60px, 9vw, 86px); }
.bigcd { display: flex; justify-content: center; gap: clamp(8px, 2vw, 16px); margin-top: 16px; }
.bigcd div { background: var(--cream); color: var(--brown); border-radius: 18px; min-width: clamp(64px, 17vw, 108px); padding: 10px 6px 8px; box-shadow: 0 5px 0 var(--green-d); }
.bigcd b { display: block; font-size: clamp(30px, 7vw, 54px); font-weight: 900; line-height: 1; font-variant-numeric: tabular-nums; }
.bigcd span { font-size: 12px; font-weight: 900; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.finale { background: linear-gradient(135deg, var(--red), #f05a3c); color: #fff; border-radius: 22px; padding: 18px 22px; margin-bottom: 20px; display: flex; gap: 14px; align-items: center; }
.finale b { font-size: 19px; }
.cal {
  display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); grid-auto-rows: clamp(118px, 13vw, 150px);
  grid-auto-flow: dense; gap: clamp(8px, 1.4vw, 14px);
  background: var(--brown); padding: clamp(10px, 1.6vw, 16px); border-radius: 26px;
  box-shadow: 0 16px 40px rgba(90, 46, 20, .25), inset 0 0 0 3px #6c3a1b;
}
@media (max-width: 900px) { .cal { grid-template-columns: repeat(5, minmax(0, 1fr)); grid-auto-rows: 124px; } }
@media (max-width: 600px) { .cal { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: 112px; } }
.cell { position: relative; border: 0; padding: 0; border-radius: 14px; perspective: 1400px; background: #2c1608; text-align: left; min-width: 0; }
.cell.wide { grid-column: span 2; }
.cell.big { grid-column: span 2; grid-row: span 2; }
.door {
  position: absolute; inset: 0; border-radius: 14px; overflow: hidden; color: var(--cream);
  background: var(--c, var(--red)); transform-origin: left center; transition: transform .7s var(--ease);
  display: flex; flex-direction: column; justify-content: space-between; padding: 10px;
}
.door::before { content: ""; position: absolute; inset: 6px; border: 2px dashed rgba(255, 255, 255, .35); border-radius: 10px; pointer-events: none; }
.door::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .18;
  background-image: radial-gradient(circle at 20% 30%, #fff 2px, transparent 3px), radial-gradient(circle at 70% 70%, #fff 2px, transparent 3px), radial-gradient(circle at 80% 20%, #fff 1.5px, transparent 2.5px);
  background-size: 54px 54px, 70px 70px, 40px 40px; }
.c0 { --c: var(--red); } .c1 { --c: var(--green); } .c2 { --c: var(--lime); } .c3 { --c: #c9262c; } .c4 { --c: var(--green-d); } .c5 { --c: #7b4120; }
.door .num { position: relative; z-index: 1; font-family: var(--f-display); font-weight: 900; font-size: clamp(34px, 5vw, 50px); line-height: .9; text-shadow: 0 3px 0 rgba(0, 0, 0, .14); }
.cell.big .door .num { font-size: clamp(64px, 10vw, 104px); }
.door .knob { position: absolute; right: 12px; top: 50%; width: 10px; height: 10px; border-radius: 50%; background: var(--yellow); box-shadow: 0 2px 0 rgba(0, 0, 0, .2); }
.door .cd { position: relative; z-index: 1; align-self: flex-start; max-width: 100%; font-size: 11.5px; font-weight: 900; line-height: 1.15; background: rgba(0, 0, 0, .22); padding: 4px 8px; border-radius: 9px; font-variant-numeric: tabular-nums; }
.door .cd small { display: block; font-size: 10px; opacity: .85; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; }
.cell.big .door .cd { font-size: 14px; }
.cell.big .door .tag { position: relative; z-index: 1; font-weight: 900; font-size: 14px; text-transform: uppercase; letter-spacing: .05em; color: var(--yellow); }
.inside { position: absolute; inset: 0; border-radius: 14px; background: var(--paper); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; padding: 8px 8px 8px 15%; text-align: center; color: var(--ink); overflow: hidden; }
.cell.big .inside { padding-left: 13%; gap: 8px; }
.inside .d { position: absolute; top: 7px; right: 9px; font-weight: 900; font-size: 13px; color: var(--muted); }
.inside .nm { font-weight: 900; font-size: 14px; line-height: 1.1; color: var(--brown); max-width: 100%; overflow-wrap: anywhere; }
.inside .cn { font-size: 11.5px; font-weight: 700; color: var(--muted); line-height: 1.15; max-width: 100%; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.inside .eur { font-size: 11px; font-weight: 900; color: #fff; background: var(--green); border-radius: 7px; padding: 1px 7px; }
.cell.big .inside .nm { font-size: 22px; }
.cell.big .inside .cn { font-size: 14px; }
.cell.big .inside .eur { font-size: 14px; background: var(--red); }
.cell.open .door { transform: scaleX(.11); box-shadow: 3px 0 8px rgba(0, 0, 0, .25); border-radius: 14px 4px 4px 14px; }
.cell.open .door::before, .cell.open .door::after { display: none; }
.cell.open .door > * { opacity: 0; }
.cell.locked .inside, .cell.wait .inside, .cell.ready .inside { visibility: hidden; }
.cell:hover .door { transform: rotateY(-8deg); }
.cell.open:hover .door { transform: scaleX(.14); }
.cell.ready .door { background: linear-gradient(145deg, var(--gold), #f7d867 50%, var(--gold)); color: var(--brown); animation: wiggle 2.6s ease-in-out infinite; }
.cell.ready .door::before { border-color: rgba(90, 46, 20, .35); }
.cell.ready { box-shadow: 0 0 0 3px var(--yellow), 0 0 28px 6px rgba(253, 231, 110, .7); }
.cell.ready .door .cd { background: var(--red); color: #fff; }
@keyframes wiggle { 0%, 86%, 100% { transform: rotate(0); } 89% { transform: rotate(-2.5deg); } 92% { transform: rotate(2.5deg); } 95% { transform: rotate(-1.5deg); } }
.cell.wait .door { filter: saturate(.7); }
.cell.today-lock { box-shadow: 0 0 0 3px var(--yellow); }
.logo { flex: 0 0 auto; border-radius: 50%; background: #fff; display: grid; place-items: center; overflow: hidden; box-shadow: 0 0 0 2px var(--line); }
.logo img { width: 86%; height: 86%; object-fit: contain; display: block; }
.logo.mono { color: #fff; font-weight: 900; letter-spacing: -.02em; box-shadow: none; }
.legend { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 16px; font-size: 13px; font-weight: 700; color: var(--muted); }
.legend i { display: inline-block; width: 14px; height: 14px; border-radius: 4px; vertical-align: -2px; margin-right: 6px; }
.pickup { display: flex; gap: 12px; align-items: flex-start; background: var(--cream); border: 1.5px solid var(--line); border-radius: 16px; padding: 14px 16px; font-size: 14.5px; text-align: left; color: var(--ink); }
.pickup svg { flex: 0 0 22px; width: 22px; height: 22px; color: var(--red); margin-top: 1px; }
.pickup b { color: var(--brown); }

/* ---------- Modales ---------- */
.modal-bg { position: fixed; inset: 0; z-index: 100; background: rgba(30, 14, 4, .55); display: grid; place-items: center; padding: 16px; padding-top: max(16px, env(safe-area-inset-top, 0px)); padding-bottom: max(16px, env(safe-area-inset-bottom, 0px)); animation: fade .2s both; overflow-y: auto; }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
.modal { position: relative; width: 100%; max-width: 560px; max-height: calc(100dvh - 32px); overflow-y: auto; background: var(--paper); border-radius: 26px; padding: clamp(20px, 4vw, 30px); box-shadow: 0 30px 70px rgba(0, 0, 0, .35); animation: mIn .35s var(--back) both; }
.modal.wide { max-width: 820px; }
@keyframes mIn { from { opacity: 0; transform: translateY(18px) scale(.97); } to { opacity: 1; transform: none; } }
.modal .x { position: absolute; top: 12px; right: 12px; width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--cream-2); color: var(--brown); display: grid; place-items: center; }
.modal .x svg { width: 18px; height: 18px; }
.modal h2 { padding-right: 40px; }
.rules { font-size: 15px; line-height: 1.6; }
.rules h3 { font-size: 16px; margin: 16px 0 4px; color: var(--green-d); }
.rules p { margin: 0 0 6px; }
.win-modal { text-align: center; }
.win-modal .logo { margin: 4px auto 10px; }
.win-modal .who { font-size: 26px; font-weight: 900; color: var(--brown); line-height: 1.15; }

/* ---------- Révélation : cadeau puis boule de Noël ---------- */
.rv { position: fixed; inset: 0; z-index: 200; overflow-x: hidden; overflow-y: auto; color: var(--cream); overscroll-behavior: contain;
  background: radial-gradient(circle at 50% 42%, #2d6a37 0%, #163b20 45%, var(--night) 100%); animation: fade .3s both; }
.rv-inner { position: relative; z-index: 3; min-height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: max(58px, calc(env(safe-area-inset-top, 0px) + 50px)) max(16px, env(safe-area-inset-right, 0px)) max(24px, env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px)); }
.rv.skip .gift { display: none; }
.rv.skip .rv-text > * { animation: none; opacity: 1; transform: none; }
.rv.gold { background: radial-gradient(circle at 50% 42%, #9a2a1d 0%, #561510 45%, #1d0705 100%); }
.rv-rays { position: fixed; left: 50%; top: 40%; width: 180vmax; height: 180vmax; margin: -90vmax 0 0 -90vmax; opacity: 0; transition: opacity .8s;
  background: repeating-conic-gradient(from 0deg, rgba(253, 231, 110, .16) 0deg 7deg, transparent 7deg 18deg); animation: spinr 24s linear infinite; pointer-events: none; }
.rv.s2 .rv-rays { opacity: 1; }
@keyframes spinr { to { transform: rotate(360deg); } }
.rv-flash { position: fixed; inset: 0; background: #fffbe6; opacity: 0; pointer-events: none; }
.rv.s2 .rv-flash { animation: flash .7s ease-out; }
@keyframes flash { 0% { opacity: 0; } 15% { opacity: .9; } 100% { opacity: 0; } }
.rv canvas { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 5; }
.rv-stage { position: relative; z-index: 3; flex: 0 0 auto; }
.gift { position: absolute; bottom: 0; left: 50%; width: 66%; aspect-ratio: 1 / .78; transform: translate(-50%, -120vh); }
.rv.s1 .gift { animation: drop .7s cubic-bezier(.3, 1.4, .5, 1) forwards, shake .5s .8s ease-in-out 2; }
.rv.s2 .gift { transform: translate(-50%, 0); animation: sink .8s ease-in forwards; }
@keyframes drop { to { transform: translate(-50%, 0); } }
@keyframes shake { 0%, 100% { transform: translate(-50%, 0) rotate(0); } 25% { transform: translate(-50%, 0) rotate(-5deg); } 75% { transform: translate(-50%, 0) rotate(5deg); } }
@keyframes sink { to { transform: translate(-50%, 40px) scale(.9); opacity: 0; } }
.gift .box { position: absolute; left: 6%; right: 6%; bottom: 0; height: 72%; background: var(--red); border-radius: 8px; box-shadow: inset -14px 0 0 rgba(0, 0, 0, .12); }
.gift .box::before { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 18%; transform: translateX(-50%); background: var(--lime); }
.gift .lid { position: absolute; left: 0; right: 0; top: 6%; height: 26%; background: #f04a50; border-radius: 8px; box-shadow: inset -14px 0 0 rgba(0, 0, 0, .1); z-index: 2; }
.gift .lid::before { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 17%; transform: translateX(-50%); background: var(--lime); }
.gift .bow { position: absolute; left: 50%; top: -44%; width: 56%; height: 60%; transform: translateX(-50%); }
.gift .bow::before, .gift .bow::after { content: ""; position: absolute; top: 10%; width: 50%; height: 80%; border: 9px solid var(--lime); border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%; }
.gift .bow::before { left: 0; transform: rotate(-24deg); } .gift .bow::after { right: 0; transform: rotate(24deg); }
.rv.s2 .gift .lid { animation: lidoff .7s ease-out forwards; }
@keyframes lidoff { to { transform: translate(60%, -260%) rotate(38deg); opacity: 0; } }
/* Boule de Noël suspendue : sort du cadeau puis se balance */
.rv-stage { --bs: min(190px, 46vw, 27vh); width: min(320px, 84vw); height: calc(var(--bs) * 1.2 + 96px); display: block; }
.bauble { position: absolute; left: 50%; top: 22px; width: var(--bs); transform-origin: 50% -22px; opacity: 0; transform: translate(-50%, 55%) scale(.2); z-index: 2; }
.rv.s3 .bauble { animation: bRise 1.1s cubic-bezier(.2, .9, .3, 1.25) forwards, swing 3.4s 1.1s ease-in-out infinite; }
@keyframes bRise { 0% { opacity: 0; transform: translate(-50%, 55%) scale(.2); } 25% { opacity: 1; } 100% { opacity: 1; transform: translate(-50%, 0) scale(1); } }
@keyframes swing { 0%, 100% { transform: translate(-50%, 0) rotate(-4deg); } 50% { transform: translate(-50%, 0) rotate(4deg); } }
.b-str { position: absolute; left: 50%; bottom: calc(100% + 10px); width: 2px; height: 70vh; margin-left: -1px; background: linear-gradient(rgba(253, 231, 110, 0), var(--yellow) 40%); }
.b-ring { position: absolute; left: 50%; top: -24px; width: 18px; height: 18px; margin-left: -9px; border: 3px solid var(--gold); border-radius: 50%; }
.b-cap { position: absolute; left: 50%; top: -10px; width: 30%; height: 18px; transform: translateX(-50%); background: var(--gold); border-radius: 5px 5px 3px 3px;
  box-shadow: inset -6px 0 0 #c99512; background-image: repeating-linear-gradient(90deg, transparent 0 6px, rgba(90, 46, 20, .18) 6px 8px); }
.ball { position: relative; width: 100%; aspect-ratio: 1; border-radius: 50%; overflow: hidden; background: var(--red); color: var(--cream);
  box-shadow: inset calc(var(--bs) * -.09) calc(var(--bs) * -.1) 0 rgba(0, 0, 0, .14), 0 18px 34px rgba(0, 0, 0, .35);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: calc(var(--bs) * .035); text-align: center; }
.b-band { position: absolute; left: 0; right: 0; height: 7.5%; background: var(--lime);
  background-image: radial-gradient(circle, var(--yellow) 0 32%, transparent 36%); background-size: calc(var(--bs) * .085) 100%; background-repeat: repeat-x; }
.b-band.t { top: 8.5%; } .b-band.b { bottom: 8.5%; }
.b-shine { position: absolute; left: 9%; top: 30%; width: 10%; height: 19%; border-radius: 50%; background: rgba(255, 255, 255, .5); transform: rotate(30deg); pointer-events: none; }
.b-day { position: relative; font-weight: 900; font-size: calc(var(--bs) * .07); letter-spacing: .08em; text-transform: uppercase; line-height: 1; margin-top: 2%; }
.ball .logo { position: relative; width: 60% !important; height: auto !important; aspect-ratio: 1; box-shadow: 0 0 0 4px rgba(254, 247, 223, .85), 0 6px 14px rgba(0, 0, 0, .2); }
.b-amt { position: relative; font-weight: 900; font-size: calc(var(--bs) * .15); line-height: 1; letter-spacing: -.02em; }
.b-ribbon { position: absolute; left: 50%; bottom: 0; z-index: 3; max-width: 100%; width: max-content; background: var(--red); color: var(--cream); text-align: center;
  font-weight: 900; text-transform: uppercase; font-size: clamp(14px, 3.6vw, 18px); line-height: 1.15; padding: .35em .8em .4em; opacity: 0; transform: translate(-50%, 10px) rotate(-2deg) scale(.8);
  box-shadow: 0 8px 18px rgba(0, 0, 0, .25); overflow-wrap: anywhere; }
.rv.s3b .b-ribbon { animation: ribbon .55s var(--back) forwards; }
@keyframes ribbon { to { opacity: 1; transform: translate(-50%, 0) rotate(-2deg) scale(1); } }
.rv.gold .ball { background: var(--gold); color: var(--brown); }
.rv.gold .b-band { background-color: var(--red); background-image: radial-gradient(circle, var(--cream) 0 32%, transparent 36%); }
.rv.gold .b-ribbon { background: var(--green); }
.rv.skip .bauble { opacity: 1; transform: translate(-50%, 0); animation: swing 3.4s ease-in-out infinite; }
.rv.skip .b-ribbon { opacity: 1; transform: translate(-50%, 0) rotate(-2deg); animation: none; }
.rv-text { position: relative; z-index: 6; text-align: center; max-width: 620px; margin-top: 14px; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.rv-text > * { opacity: 0; transform: translateY(16px); }
.rv.s4 .rv-text > * { animation: up .6s var(--ease) forwards; }
.rv.s4 .rv-text > *:nth-child(2) { animation-delay: .15s; } .rv.s4 .rv-text > *:nth-child(3) { animation-delay: .35s; }
.rv.s4 .rv-text > *:nth-child(4) { animation-delay: .55s; } .rv.s4 .rv-text > *:nth-child(5) { animation-delay: .75s; } .rv.s4 .rv-text > *:nth-child(6) { animation-delay: .9s; }
@keyframes up { to { opacity: 1; transform: none; } }
.rv-text .congrats { font-size: 14px; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; color: var(--yellow); }
.rv-text .wname { font-size: clamp(40px, 10vw, 72px); font-weight: 900; line-height: .95; letter-spacing: -.02em; color: #fff; text-shadow: 0 4px 0 rgba(0, 0, 0, .25); }
.rv-text .sentence { font-size: clamp(16px, 2.6vw, 20px); line-height: 1.4; }
.rv-text .sentence b { color: var(--yellow); }
.rv-text .pickup { background: rgba(254, 247, 223, .96); }
.rv-text .youwin { background: var(--yellow); color: var(--brown); font-weight: 900; padding: 6px 16px; border-radius: 999px; }
.rv-skip { position: fixed; z-index: 8; right: max(16px, env(safe-area-inset-right, 0px)); top: max(14px, env(safe-area-inset-top, 0px)); background: rgba(255, 255, 255, .14); color: #fff; border: 1.5px solid rgba(255, 255, 255, .35); border-radius: 999px; padding: 8px 16px; font-weight: 800; font-size: 14px; }
@media (max-height: 700px) { .rv-text .pickup { font-size: 13px; padding: 10px 12px; } .rv-text .wname { font-size: 38px; } }

/* ---------- Toasts ---------- */
.toasts { position: fixed; left: 50%; bottom: max(18px, env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); z-index: 300; display: flex; flex-direction: column; gap: 8px; align-items: center; width: min(92vw, 460px); pointer-events: none; }
.toast { background: var(--ink); color: var(--cream); padding: 12px 18px; border-radius: 14px; font-weight: 700; font-size: 14px; box-shadow: 0 10px 30px rgba(0, 0, 0, .3); animation: tIn .3s var(--back) both; }
.toast.warn { background: var(--red-d); }
.toast.ok { background: var(--green-d); }
@keyframes tIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

/* ---------- Pied de page ---------- */
.foot { padding-block: 26px calc(26px + env(safe-area-inset-bottom, 0px)); font-size: 13.5px; color: var(--muted); text-align: center; border-top: 2px dashed var(--line); margin-top: 20px; }
.foot .row { justify-content: center; gap: 6px 18px; }

/* ---------- Administration ---------- */
.adm { padding-block: 16px 60px; }
.adm-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; align-items: center; margin-bottom: 14px; }
.tabs { display: flex; gap: 6px; overflow-x: auto; padding: 4px; background: var(--cream-2); border-radius: 16px; margin-bottom: 18px; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tab { flex: 0 0 auto; border: 0; background: transparent; padding: 10px 16px; border-radius: 12px; font-weight: 800; font-size: 14px; color: var(--brown); white-space: nowrap; }
.tab[aria-selected="true"] { background: var(--paper); box-shadow: 0 2px 8px rgba(90, 46, 20, .12); color: var(--red-d); }
.kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-bottom: 16px; }
.kpi { background: var(--paper); border: 2px solid var(--line); border-radius: 16px; padding: 12px 14px; }
.kpi b { display: block; font-size: 26px; font-weight: 900; color: var(--brown); line-height: 1.1; font-variant-numeric: tabular-nums; }
.kpi span { font-size: 13px; font-weight: 700; color: var(--muted); }
@media (max-width: 700px) { .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.tblwrap { overflow-x: auto; background: var(--paper); border: 2px solid var(--line); border-radius: 18px; }
table.t { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 760px; }
.t th { text-align: left; font-size: 12px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); padding: 10px 12px; border-bottom: 2px solid var(--line); background: var(--cream); position: sticky; top: 0; }
.t td.nw { white-space: nowrap; }
.t td { padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.t tr:last-child td { border-bottom: 0; }
.t tr.is-today td { background: #fff6d0; }
.t .acts { display: flex; flex-wrap: wrap; gap: 6px; }
.st { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 900; padding: 4px 10px; border-radius: 999px; white-space: nowrap; }
.st i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.st.none { background: #efe6cc; color: #7a5f3f; }
.st.drawn { background: #fff0c2; color: #8a5a00; }
.st.sched { background: #e3effc; color: #1f4f86; }
.st.live { background: #e2f3d4; color: var(--green-d); }
.st.held { background: #fde3e2; color: var(--red-d); }
.adm-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 820px) { .adm-grid { grid-template-columns: 1fr; } }
.card { background: var(--paper); border: 2px solid var(--line); border-radius: 20px; padding: 18px; min-width: 0; }
.card h3 { font-size: 17px; font-weight: 900; margin-bottom: 4px; }
.switch { display: flex; gap: 12px; align-items: center; justify-content: space-between; padding: 12px 0; border-bottom: 1px dashed var(--line); }
.switch:last-child { border-bottom: 0; }
.switch .txt b { display: block; font-size: 15px; color: var(--brown); }
.switch .txt span { font-size: 13px; color: var(--muted); }
.tg { position: relative; flex: 0 0 52px; width: 52px; height: 30px; border-radius: 999px; background: #d9c9a0; border: 0; transition: background .2s; }
.tg::after { content: ""; position: absolute; top: 3px; left: 3px; width: 24px; height: 24px; border-radius: 50%; background: #fff; box-shadow: 0 2px 4px rgba(0, 0, 0, .2); transition: transform .2s var(--back); }
.tg[aria-checked="true"] { background: var(--green); }
.tg[aria-checked="true"]::after { transform: translateX(22px); }
.co-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.co { display: flex; gap: 12px; align-items: center; background: var(--paper); border: 2px solid var(--line); border-radius: 18px; padding: 12px; min-width: 0; }
.co .info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.co .input { min-height: 40px; padding: 7px 10px; font-size: 15px; font-weight: 800; }
.co .meta { font-size: 12.5px; color: var(--muted); font-weight: 700; display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.co input[type=color] { width: 28px; height: 28px; border: 0; padding: 0; background: none; border-radius: 6px; }
.stat-card { display: flex; flex-direction: column; gap: 12px; }
.stat-card .qh { display: flex; justify-content: space-between; gap: 10px; align-items: flex-start; }
.stat-card .qh h3 { font-size: 16px; line-height: 1.25; }
.bars { display: flex; flex-direction: column; gap: 9px; }
.bar-row { display: grid; grid-template-columns: minmax(0, 1fr); gap: 3px; }
.bar-row .lab { display: flex; justify-content: space-between; gap: 10px; font-size: 13.5px; font-weight: 700; }
.bar-row .lab span:last-child { font-variant-numeric: tabular-nums; color: var(--muted); white-space: nowrap; }
.bar-row .trk { height: 14px; background: var(--cream-2); border-radius: 4px; overflow: hidden; }
.bar-row .trk i { display: block; height: 100%; background: var(--green); border-radius: 0 4px 4px 0; min-width: 2px; transition: width .6s var(--ease); }
.bar-row.top .trk i { background: var(--red); }
.avg { font-weight: 900; color: var(--brown); font-size: 15px; }
.others { font-size: 13px; color: var(--muted); }
.others summary { cursor: pointer; font-weight: 800; color: var(--green); }
.others ul { margin: 6px 0 0; padding-left: 18px; }
.ideas { display: flex; flex-direction: column; gap: 10px; }
.idea { background: #fff; border: 1.5px solid var(--line); border-radius: 14px; padding: 12px 14px; }
.idea .by { font-size: 12.5px; color: var(--muted); font-weight: 700; margin-top: 4px; }
.empty { text-align: center; padding: 34px 16px; color: var(--muted); font-weight: 700; }
.hint { font-size: 13px; color: var(--muted); }
.pick-list { display: flex; flex-direction: column; gap: 6px; max-height: 50vh; overflow-y: auto; margin-top: 10px; }
.pick { display: flex; gap: 10px; align-items: center; text-align: left; padding: 10px 12px; border-radius: 12px; border: 1.5px solid var(--line); background: #fff; width: 100%; }
.pick:hover { border-color: var(--green); }
.pick .nm { font-weight: 800; }
.pick .sub { font-size: 12.5px; color: var(--muted); }
.flag { font-size: 11px; font-weight: 900; padding: 2px 7px; border-radius: 6px; background: #fde3e2; color: var(--red-d); }
.flag.g { background: #e2f3d4; color: var(--green-d); }
.flag.y { background: #fff0c2; color: #7a5200; }
.png-prev { width: 100%; border-radius: 14px; border: 1.5px solid var(--line); display: block; }
.login { max-width: 420px; margin: 40px auto; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .rv-rays { animation: none; }
}

@media (max-width: 600px) {
  .door { padding: 8px; }
  .door .num { font-size: 30px; }
  .door .cd { font-size: 10.5px; padding: 3px 6px; }
  .door .cd small { font-size: 9px; }
  .cell:not(.big) .inside .logo { display: none; }
  .cell:not(.big) .inside .cn { -webkit-line-clamp: 1; font-size: 11px; }
  .inside .d { font-size: 11px; top: 5px; right: 7px; }
  .inside { gap: 3px; padding-top: 16px; }
  .cell.big .inside .nm { font-size: 18px; }
}

/* ---------- Champ Entreprise avec recherche ---------- */
.combo { position: relative; }
.combo .input { padding-left: 44px; padding-right: 46px; }
.combo .input.picked { border-color: var(--green); background: #f6fbf0; font-weight: 800; color: var(--green-d); }
.combo-ico { position: absolute; left: 14px; top: 50%; width: 20px; height: 20px; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.combo-clear { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); width: 34px; height: 34px; border-radius: 50%; border: 0; background: var(--cream-2); color: var(--brown); display: grid; place-items: center; }
.combo-clear svg { width: 14px; height: 14px; }
.combo-list { position: absolute; z-index: 30; left: 0; right: 0; top: calc(100% + 6px); max-height: min(300px, 46vh); overflow-y: auto; overscroll-behavior: contain;
  margin: 0; padding: 6px; list-style: none; background: #fff; border: 2px solid var(--line); border-radius: 16px; box-shadow: 0 16px 36px rgba(61, 31, 13, .18); }
.combo-list li { padding: 11px 12px; border-radius: 10px; font-weight: 700; font-size: 15px; cursor: pointer; line-height: 1.25; }
.combo-list li:hover, .combo-list li[aria-selected="true"] { background: #eff7e6; color: var(--green-d); }
.combo-list li mark { background: var(--yellow); color: inherit; border-radius: 3px; padding: 0 1px; }
.combo-list li.none { color: var(--muted); font-weight: 600; cursor: default; background: none; }
#f-co { scroll-margin-top: 92px; }

/* Suspense avant le nom du gagnant */
.rv-suspense { position: relative; z-index: 6; height: 0; width: 100%; }
.rv-suspense p { position: absolute; left: 0; right: 0; top: 34px; text-align: center; font-weight: 900; font-size: clamp(24px, 5vw, 34px); color: var(--yellow); opacity: 0; transform: scale(.9); transition: opacity .4s, transform .5s var(--back); }
.rv.s3c .rv-suspense p { opacity: 1; transform: none; animation: beat .55s ease-in-out .4s infinite; }
.rv.s4 .rv-suspense p { opacity: 0 !important; animation: none; transition-duration: .15s; }
.rv-suspense .dots i { font-style: normal; display: inline-block; opacity: .2; animation: dot 1.2s infinite; }
.rv-suspense .dots i:nth-child(2) { animation-delay: .2s; } .rv-suspense .dots i:nth-child(3) { animation-delay: .4s; }
@keyframes dot { 0%, 60%, 100% { opacity: .2; } 30% { opacity: 1; } }
@keyframes beat { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.05); } }
.rv.s3c:not(.s4) .bauble { animation: bRise 1.1s cubic-bezier(.2, .9, .3, 1.25) forwards, swing .9s ease-in-out infinite; }
.rv.s3c:not(.s4) .ball { animation: glow .9s ease-in-out infinite; }
@keyframes glow { 0%, 100% { box-shadow: inset calc(var(--bs) * -.09) calc(var(--bs) * -.1) 0 rgba(0, 0, 0, .14), 0 0 0 0 rgba(253, 231, 110, 0); } 50% { box-shadow: inset calc(var(--bs) * -.09) calc(var(--bs) * -.1) 0 rgba(0, 0, 0, .14), 0 0 46px 14px rgba(253, 231, 110, .55); } }
.rv-flash2 { position: fixed; inset: 0; background: #fffbe6; opacity: 0; pointer-events: none; z-index: 4; }
.rv.s4:not(.skip) .rv-flash2 { animation: flash .6s ease-out; }
.rv.s4:not(.skip) .rv-text .wname { animation: nameIn .9s cubic-bezier(.2, .9, .3, 1.3) .1s forwards; }
@keyframes nameIn { 0% { opacity: 0; transform: scale(1.8); filter: blur(14px); } 60% { opacity: 1; filter: blur(0); } 100% { opacity: 1; transform: none; filter: none; } }

/* ---------- Habillage de Noël du formulaire ---------- */
.warn p + p { margin-top: 8px; }
.note.fair { border-color: var(--lime); background: #f0f8e8; }
.note.fair b { color: var(--green-d); }
.formwrap { position: relative; }
.qcard.deco, .panel.deco { position: relative; }
.panel.deco::after { content: ""; position: absolute; right: 10px; top: 8px; width: min(190px, 40%); height: 140px; background: var(--cf) no-repeat right top / contain; opacity: .28; pointer-events: none; z-index: 0; }
.panel.deco > * { position: relative; z-index: 1; }
.intro-garland { display: block; width: calc(100% + clamp(36px, 8vw, 68px)); max-width: none; margin: calc(-1 * clamp(18px, 4vw, 34px)) calc(-1 * clamp(18px, 4vw, 34px)) 0; border-radius: 24px 24px 0 0; }
.form-elf { position: absolute; top: 150px; height: 260px; width: auto; pointer-events: none; display: none; z-index: 0; animation: elfIn .6s var(--back) both; }
.form-elf.l { left: -200px; } .form-elf.r { right: -200px; animation-delay: .1s; }
@media (min-width: 1180px) { .form-elf { display: block; } }
@keyframes elfIn { from { opacity: 0; transform: translateY(16px) rotate(-3deg); } to { opacity: 1; transform: none; } }
.qfoot { display: flex; gap: 8px; align-items: flex-start; margin-top: 18px; padding-top: 14px; border-top: 2px dashed var(--line); font-size: 13px; font-weight: 700; color: var(--muted); }
.qfoot svg { flex: 0 0 16px; margin-top: 1px; color: var(--green); }
/* Guirlande de progression */
.gl { margin-inline: -6px; }
.gl svg { display: block; width: 100%; height: auto; overflow: visible; }
.bulb .body { fill: #e6d8b0; stroke: rgba(90, 46, 20, .22); stroke-width: 1; transition: fill .45s ease var(--d); }
.bulb .glow { fill: var(--c); opacity: 0; transition: opacity .6s ease var(--d); }
.bulb .hl { fill: #fff; opacity: 0; transition: opacity .45s ease var(--d); }
.bulb.on .body { fill: var(--c); }
.bulb.on .glow { opacity: .34; }
.bulb.on .hl { opacity: .7; }
.bulb.on.last .glow { animation: twinkle 1.1s ease-in-out .9s infinite; }
@keyframes twinkle { 0%, 100% { opacity: .34; } 50% { opacity: .75; } }
.gl-done { margin-bottom: 8px; }
.gl-done .bulb .glow { animation: twinkle 1.4s ease-in-out infinite; }
.gl-done .bulb:nth-child(3n) .glow { animation-delay: .45s; } .gl-done .bulb:nth-child(3n+1) .glow { animation-delay: .9s; }
.progress { padding-block: 8px 4px; }
.progress .meta { margin-bottom: 0; }
/* Puces : boule de Noël (choix unique) et cadeau (choix multiples) */
.opt .mk { position: relative; overflow: visible; }
.opt:not(.multi) .mk::before { content: ""; position: absolute; left: 50%; top: -6px; width: 9px; height: 5px; margin-left: -4.5px; border-radius: 2px 2px 0 0; background: #cdb67f; transition: background .15s; }
.opt:not(.multi)[aria-checked="true"] .mk { background: var(--red); border-color: var(--red); }
.opt:not(.multi)[aria-checked="true"] .mk::before { background: var(--gold); }
.opt.multi[aria-checked="true"] .mk { border-color: var(--red);
  background: linear-gradient(var(--lime), var(--lime)) center / 4px 100% no-repeat, linear-gradient(var(--lime), var(--lime)) center / 100% 4px no-repeat, var(--red); }
.opt.multi .mk::before, .opt.multi .mk::after { content: ""; position: absolute; top: -7px; width: 7px; height: 6px; border: 2px solid transparent; border-radius: 50% 50% 0 50%; transition: border-color .15s; }
.opt.multi .mk::before { left: 3px; transform: rotate(10deg); } .opt.multi .mk::after { right: 3px; transform: scaleX(-1) rotate(10deg); }
.opt.multi[aria-checked="true"] .mk::before, .opt.multi[aria-checked="true"] .mk::after { border-color: var(--lime); }
.opt[aria-checked="true"] { border-color: var(--green); background: #f0f8e8; }
/* Notes sur 4 avec visages */
.rating4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.rate4 { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 16px 6px 12px; border-radius: 18px; border: 2px solid var(--line); background: #fff; color: var(--c); transition: transform .2s var(--back), background .15s, border-color .15s; }
.rate4 svg { width: clamp(34px, 9vw, 46px); height: auto; }
.rate4 span { font-weight: 900; font-size: clamp(13px, 3.4vw, 16px); color: var(--brown); line-height: 1.1; text-align: center; }
.rate4:hover { border-color: var(--c); transform: translateY(-2px); }
.rate4[aria-checked="true"] { background: var(--c); border-color: var(--c); color: #fff; transform: translateY(-4px) rotate(-2deg); box-shadow: 0 6px 0 rgba(0, 0, 0, .14); }
.rate4[aria-checked="true"] span { color: #fff; }
.rate4[aria-checked="true"][data-v="2"], .rate4[aria-checked="true"][data-v="2"] span { color: var(--brown); }
@media (max-width: 340px) { .rating4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
/* Combo : option Autre */
.combo-list li.other { border-top: 1.5px dashed var(--line); margin-top: 4px; color: var(--red-d); }
.combo-list li.other b { color: var(--red-d); }
#coOtherWrap .warn { margin-top: 6px; }
/* Écran final */
.done-elves { display: flex; align-items: flex-end; justify-content: center; gap: clamp(8px, 3vw, 22px); }
.done-elves img { height: clamp(110px, 24vw, 170px); width: auto; animation: elfIn .6s var(--back) both; }
.done-elves img:last-child { animation-delay: .15s; }
.done-elves .tick { margin: 0 0 18px; }

/* ================= Ambiance de fête du formulaire ================= */
.xmas { position: relative; overflow: hidden; min-height: 76vh; padding-bottom: 76px;
  background: radial-gradient(ellipse 90% 60% at 50% 0%, #4f9a56 0%, var(--green) 50%, var(--green-d) 100%); }
.xmas .snow { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; }
.xmas-garl { position: absolute; top: -30px; left: 50%; width: min(1080px, 165vw); max-width: none; transform: translateX(-50%); z-index: 1; pointer-events: none; }
.xmas .page { position: relative; z-index: 2; padding-top: clamp(80px, 13vw, 150px); }
.xmas .narrowish { max-width: 680px; }
.xmas .grass { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: 64px; display: block; z-index: 1; }
.xmas .progress { background: rgba(42, 90, 48, .92); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); border-radius: 0 0 18px 18px; margin-inline: -10px; padding-inline: 10px; }
.xmas .progress .meta { color: var(--cream); opacity: .95; }
.xmas .progress .meta span:first-child { color: var(--yellow); }
body[data-view="inscription"] .foot { margin-top: 0; }
/* Lutin qui parle */
.elf-talk { position: relative; z-index: 3; display: flex; align-items: flex-end; gap: 10px; margin: 10px 0 -18px 6px; pointer-events: none; }
.elf-talk img { flex: 0 0 auto; height: clamp(78px, 16vw, 104px); width: auto; transform-origin: 50% 100%; animation: elfBob 2.6s ease-in-out infinite; }
@keyframes elfBob { 0%, 100% { transform: rotate(-3deg); } 50% { transform: rotate(3deg) translateY(-3px); } }
.bubble { position: relative; margin-bottom: 34px; background: var(--paper); color: var(--brown); border-radius: 18px; padding: 10px 16px; box-shadow: 0 8px 20px rgba(0, 0, 0, .18); max-width: 440px; animation: bubIn .45s var(--back) both; }
.bubble::before { content: ""; position: absolute; left: -9px; bottom: 14px; border: 9px solid transparent; border-left: 0; border-right-color: var(--paper); }
.bubble b { display: block; font-weight: 900; font-size: 15.5px; line-height: 1.25; }
.bubble span { display: block; margin-top: 2px; font-size: 13px; font-weight: 800; color: var(--red-d); }
@keyframes bubIn { from { opacity: 0; transform: scale(.85) translateY(6px); transform-origin: 0 100%; } to { opacity: 1; transform: none; } }
/* Carte façon paquet cadeau */
.giftcard { position: relative; border: 0; box-shadow: 0 20px 44px rgba(0, 0, 0, .28); padding-top: calc(clamp(18px, 4vw, 34px) + 12px);
  background: var(--paper) radial-gradient(circle at 12px 12px, rgba(230, 51, 57, .05) 2px, transparent 3px) 0 0 / 28px 28px; }
.giftcard::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 14px; border-radius: 24px 24px 0 0;
  background: repeating-linear-gradient(-45deg, var(--red) 0 12px, #fff 12px 24px); }
.giftcard > .bow-deco { position: absolute; top: -24px; right: 26px; width: 78px; z-index: 4; pointer-events: none; filter: drop-shadow(0 4px 4px rgba(0, 0, 0, .18)); }
.giftcard > .bow-deco svg { display: block; width: 100%; height: auto; }
.giftcard.qcard > *:not(.bow-deco) { position: relative; z-index: 1; }
/* Étiquette de section façon bandeau de l'affiche */
.sec-tag { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; background: var(--red); color: var(--cream); font-weight: 900; font-size: 13px; letter-spacing: .05em; text-transform: uppercase; padding: 6px 14px 6px 9px; transform: rotate(-1.5deg); box-shadow: 0 3px 0 var(--red-d); }
.sec-tag svg { width: 20px; height: 20px; flex: 0 0 20px; }
.qtitle { font-size: clamp(24px, 4.6vw, 32px); }
/* Options */
.opt { transition: border-color .15s, background .15s, transform .15s var(--back); }
.opt:hover { transform: translateY(-1px); }
.opt[aria-checked="true"]::after { content: "✦"; margin-left: auto; color: var(--gold); font-size: 18px; line-height: 1; animation: pop .4s var(--back); }
.btn svg { flex: 0 0 auto; }
/* Notes : sapins de plus en plus décorés */
.rate4 { padding: 14px 6px 12px; }
.rate4 svg { width: clamp(42px, 11vw, 60px); height: auto; overflow: visible; }
.rate4[aria-checked="true"] { background: #fff6d8; border-color: var(--c); color: inherit; transform: translateY(-5px); box-shadow: 0 6px 0 var(--c); }
.rate4[aria-checked="true"] span, .rate4[aria-checked="true"][data-v="2"], .rate4[aria-checked="true"][data-v="2"] span { color: var(--brown); }
.rate4[aria-checked="true"] svg { animation: treeJump .5s var(--back); }
.rate4 .tstar { transform-origin: 24px 6px; }
.rate4[aria-checked="true"] .tstar { animation: starGlow 1.2s ease-in-out infinite; }
@keyframes treeJump { 0% { transform: scale(.8); } 60% { transform: scale(1.12) rotate(-4deg); } 100% { transform: none; } }
@keyframes starGlow { 0%, 100% { transform: scale(1); filter: none; } 50% { transform: scale(1.25); filter: drop-shadow(0 0 3px #fde76e); } }
/* Curseur : une boule de Noël */
.slider input[type=range]::-webkit-slider-thumb { width: 40px; height: 46px; margin-top: -18px; border: 0; border-radius: 0; box-shadow: none; background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 46'%3E%3Crect x='15' y='1' width='10' height='8' rx='2' fill='%23f2c230'/%3E%3Ccircle cx='20' cy='27' r='17' fill='%23e63339'/%3E%3Crect x='3' y='22' width='34' height='5' fill='%2362b22f'/%3E%3Cellipse cx='13' cy='19' rx='3' ry='5' fill='%23fff' opacity='.55'/%3E%3C/svg%3E") center / contain no-repeat; }
.slider input[type=range]::-moz-range-thumb { width: 40px; height: 46px; border: 0; border-radius: 0; box-shadow: none; background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 46'%3E%3Crect x='15' y='1' width='10' height='8' rx='2' fill='%23f2c230'/%3E%3Ccircle cx='20' cy='27' r='17' fill='%23e63339'/%3E%3Crect x='3' y='22' width='34' height='5' fill='%2362b22f'/%3E%3Cellipse cx='13' cy='19' rx='3' ry='5' fill='%23fff' opacity='.55'/%3E%3C/svg%3E") center / contain no-repeat; }
.slider.unset input[type=range]::-webkit-slider-thumb { background-color: transparent; opacity: .55; filter: grayscale(1); }
.slider.unset input[type=range]::-moz-range-thumb { background-color: transparent; opacity: .55; filter: grayscale(1); }
.slider input[type=range] { height: 52px; }
.slider input[type=range]::-webkit-slider-runnable-track { background: repeating-linear-gradient(90deg, var(--red) 0 14px, #fff 14px 28px); box-shadow: inset 0 0 0 2px rgba(90, 46, 20, .15); }
.slider input[type=range]::-moz-range-track { background: repeating-linear-gradient(90deg, var(--red) 0 14px, #fff 14px 28px); }
.gl-done { margin-top: -10px; }
@media (max-width: 600px) {
  .giftcard > .bow-deco { width: 62px; top: -20px; right: 16px; }
  .elf-talk { margin-left: 0; }
  .bubble b { font-size: 14.5px; }
}

.drop { border-style: dashed; transition: background .15s, border-color .15s; }
.drop.over { background: #f0f8e8; border-color: var(--green); }

/* Légende du calendrier : mini-portes */
.legend span { display: inline-flex; align-items: center; gap: 8px; }
.legend i.lg { width: 22px; height: 22px; border-radius: 6px; margin: 0; flex: 0 0 22px; position: relative; vertical-align: middle; }
.legend i.lg::after { content: ""; position: absolute; inset: 3px; border: 1.5px dashed rgba(255, 255, 255, .55); border-radius: 4px; }
.lg-closed { background: conic-gradient(var(--red) 0 25%, var(--green) 0 50%, var(--lime) 0 75%, #7b4120 0); }
.lg-ready { background: linear-gradient(145deg, var(--gold), #f7d867); box-shadow: 0 0 0 2px var(--yellow); }
.lg-ready::after { border-color: rgba(90, 46, 20, .35) !important; }
.lg-open { background: var(--paper); box-shadow: inset 4px 0 0 var(--red), inset 0 0 0 2px var(--line); }
.lg-open::after { display: none; }

.oc { display: flex; flex-wrap: wrap; gap: 12px 16px; align-items: flex-start; padding: 12px; border: 1.5px solid var(--line); border-radius: 14px; background: #fff; }

/* Titre d'accueil : la guirlande ne doit jamais passer sous le « DE » */
.hero .topgarl { display: none; }
@media (max-width: 1439px) {
  .hero .corner { display: none; }
  .hero .topgarl { display: block; position: absolute; left: 50%; top: -28px; width: min(140vw, 900px); max-width: none; transform: translateX(-50%); pointer-events: none; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
  .hero-in { padding-top: calc(min(21vw, 136px) - 14px); }
  .hero .confetti-l, .hero .confetti-r { opacity: .55; }
}

/* ---------- Animation d'arrivée du titre ---------- */
.title .ch { display: inline-block; }
.hero.intro .title .ch { animation: chDrop .75s cubic-bezier(.3, 1.5, .55, 1) both; animation-delay: calc(var(--i) * 85ms + 150ms); transform-origin: 50% 100%; }
@keyframes chDrop {
  0% { opacity: 0; transform: translateY(-110%) rotate(-14deg) scale(.9); }
  55% { opacity: 1; transform: translateY(6%) rotate(3deg) scaleY(.92); }
  75% { transform: translateY(-3%) rotate(-1deg); }
  100% { opacity: 1; transform: none; }
}
.hero.intro .title .t-de .ch { animation-name: chDropDe; }
@keyframes chDropDe {
  0% { opacity: 0; transform: translateY(-140%) rotate(18deg); }
  60% { opacity: 1; transform: translateY(8%) rotate(-6deg); }
  80% { transform: translateY(-2%) rotate(3deg); }
  100% { opacity: 1; transform: none; }
}
.hero.intro .title .t-sub { animation: subIn .6s var(--ease) 1.05s both; }
@keyframes subIn { from { opacity: 0; transform: translateY(14px); letter-spacing: .12em; } to { opacity: 1; transform: none; } }
.hero.intro .ribbons span { animation: tagIn .55s var(--back) both; }
.hero.intro .ribbons span:nth-child(1) { --r: -1.6deg; animation-delay: 1.35s; }
.hero.intro .ribbons span:nth-child(2) { --r: 1.4deg; animation-delay: 1.55s; }
.hero.intro .ribbons span:nth-child(3) { --r: -.6deg; animation-delay: 1.75s; }
@keyframes tagIn { 0% { opacity: 0; transform: scale(1.5) rotate(calc(var(--r) * 6)); } 70% { opacity: 1; transform: scale(.96) rotate(var(--r)); } 100% { opacity: 1; transform: rotate(var(--r)); } }
.hero.intro .hero-cta, .hero.intro .hero-note { animation: subIn .5s var(--ease) 2.05s both; }
