/* ==========================================================
   Secret Santa — feuille de style
   ========================================================== */
@font-face { font-family: "Lora"; src: url("../fonts/lora.woff2") format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Lora"; src: url("../fonts/lora-italic.woff2") format("woff2"); font-weight: 400 700; font-style: italic; font-display: swap; }
@font-face { font-family: "DM Sans"; src: url("../fonts/dmsans.woff2") format("woff2"); font-weight: 300 800; font-style: normal; font-display: swap; }

:root {
  --g950: #07160f; --g900: #0b2017; --g800: #0f2a1d; --g700: #163b29; --g600: #1f4d36; --g500: #2c6649;
  --cream: #f6efe2; --paper: #fbf8f1; --sand: #ece2cf; --line: #e3d8c3;
  --ink: #1e1b17; --ink2: #5d5548; --ink3: #8b8172;
  --red: #a8182d; --red-d: #85101f; --red-l: #c92a42;
  --gold: #c9a45c; --gold-l: #e7cf95; --gold-d: #9c7a37;
  --serif: "Lora", Georgia, "Times New Roman", serif;
  --sans: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --r: 18px; --r-sm: 12px;
  --sh: 0 1px 2px rgba(20, 14, 6, .06), 0 8px 24px -8px rgba(20, 14, 6, .18);
  --sh-lg: 0 30px 80px -20px rgba(0, 0, 0, .55);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; background: #0b2017; }
body.admin, html:has(body.admin) { background: #f3eee4; }
body { margin: 0; font-family: var(--sans); font-size: 16px; line-height: 1.55; color: var(--cream); background: var(--g900); min-height: 100vh; display: flex; flex-direction: column; -webkit-font-smoothing: antialiased; }
body:not(.admin) {
  background:
    radial-gradient(1200px 600px at 85% -10%, rgba(201, 164, 92, .12), transparent 60%),
    radial-gradient(900px 600px at -10% 30%, rgba(168, 24, 45, .14), transparent 60%),
    radial-gradient(circle at 50% 120%, var(--g700), var(--g900) 60%);
  background-repeat: no-repeat; background-color: var(--g900);
}
body:not(.admin)::before { content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 0; opacity: .5; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .35 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
main, header, footer { position: relative; }
main { flex: 1; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.12; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 em, h2 em, .brand em { font-style: italic; color: var(--gold-l); font-weight: 500; }
p { margin: 0 0 1em; }
code { background: rgba(0,0,0,.06); padding: .1em .4em; border-radius: 6px; font-size: .9em; }
.ic { width: 1.1em; height: 1.1em; flex: none; }
.muted { color: var(--ink3); }
.center { text-align: center; }
.inline { display: inline; }
[hidden] { display: none !important; }

.snow { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; }

/* ---------- Boutons ---------- */
.btn { --bg: var(--g700); display: inline-flex; align-items: center; justify-content: center; gap: .55em; min-height: 48px; padding: 0 1.4em; border-radius: 999px; border: 0; background: var(--bg); color: #fff; font: 600 1rem/1 var(--sans); text-decoration: none; cursor: pointer; transition: transform .15s, box-shadow .2s, background .2s; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: .45; cursor: not-allowed; transform: none; }
.btn-red { background: linear-gradient(180deg, var(--red-l), var(--red) 55%, var(--red-d)); box-shadow: 0 1px 0 rgba(255,255,255,.25) inset, 0 10px 24px -10px rgba(168,24,45,.9); }
.btn-red:hover { box-shadow: 0 1px 0 rgba(255,255,255,.25) inset, 0 14px 30px -10px rgba(168,24,45,1); }
.btn-green { background: linear-gradient(180deg, var(--g500), var(--g600)); }
.btn-gold { background: linear-gradient(180deg, var(--gold-l), var(--gold)); color: var(--g900); }
.btn-outline { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn-outline:hover { box-shadow: inset 0 0 0 1.5px var(--ink3); }
.btn-danger { background: #b4232f; }
.btn.lg { min-height: 58px; font-size: 1.1rem; padding: 0 2em; }
.btn.block { width: 100%; }
.btn-ghost { text-decoration: none; display: inline-flex; align-items: center; gap: .4em; background: rgba(255,255,255,.08); color: var(--cream); border: 1px solid rgba(255,255,255,.14); border-radius: 999px; padding: .45em .9em; font: 500 .9rem var(--sans); cursor: pointer; }
.btn-ghost:hover { background: rgba(255,255,255,.14); }

/* ---------- Header / footer ---------- */
.topbar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 22px clamp(18px, 4vw, 56px); }
.brand { display: inline-flex; align-items: center; gap: .55rem; text-decoration: none; font-family: var(--serif); font-size: 1.35rem; font-weight: 600; color: var(--cream); }
.brand .logo-mark { width: 38px; height: 38px; filter: drop-shadow(0 4px 10px rgba(0,0,0,.35)); }
.brand.small { font-size: 1.1rem; } .brand.small .logo-mark { width: 28px; height: 28px; }
.brand.dark { color: var(--ink); } .brand.dark em { color: var(--red); }
.topbar-session { display: flex; align-items: center; gap: .6rem; min-width: 0; }
.chip { display: inline-flex; align-items: center; gap: .45em; padding: .45em .9em; border-radius: 999px; font-size: .9rem; font-weight: 500; max-width: 46vw; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.chip-gold { background: rgba(201,164,92,.14); color: var(--gold-l); border: 1px solid rgba(201,164,92,.3); }
.footer { margin-top: 64px; border-top: 1px solid rgba(255,255,255,.08); }
.footer-in { max-width: 1200px; margin: 0 auto; padding: 28px clamp(18px, 4vw, 56px); display: flex; flex-wrap: wrap; align-items: center; gap: .4rem 1.6rem; color: rgba(246,239,226,.6); font-size: .9rem; }
.footer-in p { margin: 0; }
.footer-in .muted { margin-left: auto; color: rgba(246,239,226,.4); }

/* ---------- Typo utilitaires ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: .5em; font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); margin-bottom: .9rem; }
.eyebrow.light { color: var(--gold-l); }
.lead { font-size: 1.15rem; color: rgba(246,239,226,.78); max-width: 34em; }
.lead.dark { color: var(--ink2); }
.hint { display: flex; align-items: center; gap: .45em; font-size: .86rem; color: rgba(246,239,226,.55); margin: .8rem 0 0; }
.hint.center { justify-content: center; }
.panel .hint, .card .hint, .result-card .hint, .spin-layout .hint { color: var(--ink3); }

/* ---------- Accueil ---------- */
.hero { max-width: 1240px; margin: 0 auto; padding: clamp(20px, 5vw, 70px) clamp(18px, 4vw, 56px) 40px; display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(30px, 5vw, 80px); align-items: center; }
.hero h1 { font-size: clamp(2.6rem, 5.6vw, 4.6rem); margin-bottom: .35em; }
.join-card { margin-top: 2rem; padding: 22px; border-radius: 24px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); max-width: 520px; box-shadow: 0 20px 50px -25px rgba(0,0,0,.6); }
.join-card label { display: block; font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-l); margin-bottom: .6rem; }
.join-row { display: flex; gap: .6rem; }
.code-input { flex: 1; min-width: 0; height: 58px; border-radius: 16px; border: 1.5px solid rgba(255,255,255,.18); background: rgba(7,22,15,.55); color: #fff; font: 600 1.45rem/1 var(--sans); letter-spacing: .3em; text-transform: uppercase; padding: 0 18px; outline: none; transition: border-color .2s, box-shadow .2s; }
.code-input::placeholder { color: rgba(255,255,255,.28); letter-spacing: .12em; font-size: 1rem; font-weight: 500; }
.code-input:focus { border-color: var(--gold); box-shadow: 0 0 0 4px rgba(201,164,92,.2); }
.join-row .btn { height: 58px; border-radius: 16px; }
.resume { margin-top: 14px; max-width: 520px; display: flex; align-items: center; gap: .9rem; padding: 12px 16px; border-radius: 16px; background: rgba(201,164,92,.12); border: 1px solid rgba(201,164,92,.28); text-decoration: none; transition: background .2s; }
.resume:hover { background: rgba(201,164,92,.2); }
.resume span:nth-child(2) { flex: 1; display: flex; flex-direction: column; }
.resume small { color: rgba(246,239,226,.6); }

.hero-art { position: relative; }
.arch { position: relative; aspect-ratio: 4 / 4.6; border-radius: 999px 999px 28px 28px; overflow: hidden; box-shadow: var(--sh-lg); outline: 1px solid rgba(201,164,92,.45); outline-offset: 10px; }
.arch img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); animation: slowzoom 18s ease-in-out infinite alternate; }
@keyframes slowzoom { to { transform: scale(1.12) translateY(-1%); } }
.float-card { position: absolute; display: flex; align-items: center; gap: .75rem; padding: 12px 16px 12px 12px; border-radius: 18px; background: var(--paper); color: var(--ink); box-shadow: 0 20px 40px -14px rgba(0,0,0,.55); animation: bob 6s ease-in-out infinite; }
.float-card strong { display: block; font-size: .95rem; }
.float-card small { color: var(--ink3); font-size: .8rem; }
.fc-1 { left: -34px; bottom: 18%; }
.fc-2 { right: -22px; top: 14%; animation-delay: -3s; }
.fc-ic { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: #f6e3e5; color: var(--red); }
.mini-wheel { width: 42px; height: 42px; border-radius: 50%; background: conic-gradient(var(--red) 0 60deg, var(--cream) 0 120deg, var(--g600) 0 180deg, var(--gold) 0 240deg, var(--red) 0 300deg, var(--g600) 0); box-shadow: inset 0 0 0 3px #fff, 0 0 0 1px var(--line); animation: spin 8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes bob { 50% { transform: translateY(-10px); } }
.sparkle { position: absolute; width: 26px; fill: var(--gold-l); animation: twinkle 3s ease-in-out infinite; }
.s1 { top: -10px; left: 12%; } .s2 { bottom: 6%; right: 6%; width: 18px; animation-delay: -1.4s; }
@keyframes twinkle { 50% { transform: scale(.5) rotate(45deg); opacity: .4; } }

.section-title { text-align: center; margin-bottom: 40px; }
.section-title h2 { font-size: clamp(2rem, 3.6vw, 2.9rem); }
.steps { max-width: 1200px; margin: 0 auto; padding: 70px clamp(18px, 4vw, 56px) 30px; }
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.step { background: var(--paper); color: var(--ink); border-radius: 26px; padding: 14px 14px 26px; box-shadow: var(--sh-lg); transition: transform .25s; }
.step:hover { transform: translateY(-6px) rotate(-.4deg); }
.step-img { position: relative; border-radius: 18px; overflow: hidden; aspect-ratio: 4 / 3; margin-bottom: 20px; }
.step-img img { width: 100%; height: 100%; object-fit: cover; }
.step-n { position: absolute; left: 14px; top: 14px; font: italic 600 1.1rem var(--serif); background: var(--paper); color: var(--red); border-radius: 999px; padding: .2em .75em; }
.step h3 { font-size: 1.45rem; padding: 0 12px; }
.step p { color: var(--ink2); padding: 0 12px; margin: 0; }

.band { margin: 70px clamp(18px, 4vw, 56px) 0; border-radius: 32px; overflow: hidden; position: relative; background: linear-gradient(100deg, rgba(11,32,23,.96) 30%, rgba(11,32,23,.55)), url("../img/velvet.jpg") center / cover; border: 1px solid rgba(201,164,92,.22); }
.band-in { max-width: 1100px; margin: 0 auto; padding: clamp(36px, 6vw, 72px) clamp(22px, 5vw, 56px); display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: center; }
.band h2 { font-size: clamp(1.9rem, 3.4vw, 2.7rem); }
.band p { color: rgba(246,239,226,.75); }
.rules { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.rules li { display: flex; align-items: center; gap: .7rem; padding: 14px 18px; border-radius: 14px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.1); font-weight: 500; }
.rules .ic { color: var(--gold-l); }

/* ---------- Pages internes ---------- */
.wrap { max-width: 1180px; width: 100%; margin: 0 auto; padding: 10px clamp(16px, 4vw, 40px) 0; }
.wrap.narrow { max-width: 860px; }
.wrap.tiny { max-width: 480px; }
.back { display: inline-flex; align-items: center; gap: .45em; color: rgba(246,239,226,.7); text-decoration: none; font-size: .92rem; margin: 6px 0 16px; }
.back:hover { color: #fff; }
.panel { background: var(--paper); color: var(--ink); border-radius: 28px; padding: clamp(22px, 4vw, 42px); box-shadow: var(--sh-lg); margin-bottom: 26px; }
.panel h1 { font-size: clamp(1.9rem, 4vw, 2.7rem); }
.panel h1 em, .panel h2 em, .result h1 em { color: var(--red); }
.panel.center { text-align: center; }
.panel-head { border-bottom: 1px dashed var(--line); padding-bottom: 22px; margin-bottom: 24px; }
.h-sm { font-size: 1.3rem; margin-bottom: .7em; }
.meta { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.meta li { display: inline-flex; align-items: center; gap: .45em; padding: .45em .85em; border-radius: 999px; background: var(--cream); color: var(--ink2); font-size: .9rem; font-weight: 500; }
.meta .ic { color: var(--red); }
.org-msg { margin: 18px 0 0; padding: 16px 20px; border-left: 3px solid var(--gold); background: #fbf3e2; border-radius: 0 12px 12px 0; font-family: var(--serif); font-style: italic; color: var(--ink2); }
.org-msg span { display: block; margin-top: 6px; font: 600 .8rem var(--sans); color: var(--ink3); font-style: normal; }
.empty { padding: 26px; text-align: center; color: var(--ink3); background: var(--cream); border-radius: 14px; }

.search { width: 100%; height: 50px; border-radius: 14px; border: 1.5px solid var(--line); background: #fff; padding: 0 16px; font: 500 1rem var(--sans); margin-bottom: 16px; outline: none; }
.search:focus { border-color: var(--gold); }
.people-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 12px; }
.person { display: flex; align-items: center; gap: .75rem; padding: 12px 14px; border-radius: 16px; background: #fff; border: 1.5px solid var(--line); text-decoration: none; transition: transform .15s, border-color .2s, box-shadow .2s; position: relative; }
.person:hover { transform: translateY(-2px); border-color: var(--gold); box-shadow: 0 10px 24px -14px rgba(0,0,0,.35); }
.pname { flex: 1; font-weight: 600; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tag { display: inline-flex; align-items: center; gap: .3em; font-size: .7rem; font-weight: 700; color: var(--ink3); text-transform: uppercase; letter-spacing: .05em; }
.tag .ic { width: .95em; }
.tag-new { color: var(--g500); }
.person.claimed { background: var(--paper); }

.av { display: inline-grid; place-items: center; flex: none; width: 42px; height: 42px; border-radius: 50%; font: 700 .95rem/1 var(--sans); color: #fff; letter-spacing: .02em; box-shadow: inset 0 -3px 0 rgba(0,0,0,.15); }
.av.sm { width: 32px; height: 32px; font-size: .78rem; }
.av.xl { width: 92px; height: 92px; font-size: 2rem; font-family: var(--serif); font-style: italic; margin: 0 auto 18px; box-shadow: 0 0 0 6px var(--paper), 0 0 0 7px var(--gold), 0 16px 30px -10px rgba(0,0,0,.4); }
.av0 { background: #a8182d; } .av1 { background: #1f6b47; } .av2 { background: #b8893f; } .av3 { background: #6b2c4a; }
.av4 { background: #2b5876; } .av5 { background: #c0562f; } .av6 { background: #4f6b2b; } .av7 { background: #7a4b2a; }

.pin-form { text-align: left; margin-top: 22px; display: grid; gap: 8px; }
.pin-form label { font-size: .8rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ink3); margin-top: 8px; }
.pin { height: 66px; border-radius: 16px; border: 1.5px solid var(--line); background: #fff; text-align: center; font: 700 2rem/1 var(--sans); letter-spacing: .8em; padding-left: .8em; outline: none; color: var(--ink); }
.pin:focus { border-color: var(--red); box-shadow: 0 0 0 4px rgba(168,24,45,.12); }
.pin-form .btn { margin-top: 14px; }

.flash { padding: 13px 18px; border-radius: 14px; margin: 0 0 18px; font-weight: 500; font-size: .95rem; animation: flashin .4s ease; }
.flash-ok { background: #e3f1e8; color: #17553a; border: 1px solid #bfe0cb; }
.flash-error { background: #fbe6e8; color: #8a1424; border: 1px solid #f2c3c9; }
.hero .flash, .wrap > .flash { max-width: 520px; }
@keyframes flashin { from { opacity: 0; transform: translateY(-6px); } }

.progress { margin: 22px 0 0; max-width: 460px; }
.progress small { color: var(--ink3); font-size: .85rem; }
.bar { height: 10px; border-radius: 999px; background: var(--sand); overflow: hidden; margin-bottom: 8px; }
.bar span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--gold), var(--red)); transition: width 1s ease; }
.w0{width:0}.w5{width:5%}.w10{width:10%}.w15{width:15%}.w20{width:20%}.w25{width:25%}.w30{width:30%}.w35{width:35%}.w40{width:40%}.w45{width:45%}.w50{width:50%}.w55{width:55%}.w60{width:60%}.w65{width:65%}.w70{width:70%}.w75{width:75%}.w80{width:80%}.w85{width:85%}.w90{width:90%}.w95{width:95%}.w100{width:100%}

/* Attente */
.waiting { display: grid; grid-template-columns: 260px 1fr; gap: 40px; align-items: center; }
.waiting-art { position: relative; }
.waiting-art img { border-radius: 50%; aspect-ratio: 1; object-fit: cover; box-shadow: 0 0 0 8px var(--cream), 0 0 0 9px var(--gold); }
.pulse { position: absolute; inset: -12px; border-radius: 50%; border: 2px solid var(--gold); animation: pulse 2.4s ease-out infinite; }
@keyframes pulse { from { transform: scale(.92); opacity: .9; } to { transform: scale(1.18); opacity: 0; } }

/* Liste d'envies */
.wish-panel { background: linear-gradient(135deg, var(--paper), #f8efdf); }
.wish-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 34px; align-items: start; }
.wish-grid h2 { font-size: 1.7rem; }
.wish-grid form { display: grid; gap: 12px; justify-items: start; }
textarea, .form input, .form select, select { width: 100%; border-radius: 14px; border: 1.5px solid var(--line); background: #fff; padding: 14px 16px; font: 400 1rem/1.5 var(--sans); color: var(--ink); outline: none; resize: vertical; transition: border-color .2s, box-shadow .2s; }
textarea:focus, .form input:focus, select:focus { border-color: var(--gold); box-shadow: 0 0 0 4px rgba(201,164,92,.18); }

/* ---------- Roue ---------- */
.spin-layout { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(24px, 4vw, 60px); align-items: center; background: var(--paper); color: var(--ink); border-radius: 32px; padding: clamp(22px, 4vw, 50px); box-shadow: var(--sh-lg); overflow: hidden; position: relative; }
.spin-layout::after { content: ""; position: absolute; right: -120px; bottom: -120px; width: 380px; height: 380px; border-radius: 50%; background: radial-gradient(circle, rgba(201,164,92,.22), transparent 70%); pointer-events: none; }
.spin-intro h1 { font-size: clamp(2.1rem, 4.4vw, 3.3rem); }
.spin-intro h1 em { color: var(--red); }
.spin-intro .btn { margin-top: 28px; }
.wheel-zone { position: relative; display: grid; place-items: center; }
.wheel-ring { position: relative; width: min(100%, 520px); aspect-ratio: 1; border-radius: 50%; padding: 16px;
  background: radial-gradient(circle at 30% 25%, #f3dc9f, #b8893f 45%, #7a5a22 80%); box-shadow: 0 30px 60px -20px rgba(0,0,0,.55), inset 0 2px 3px rgba(255,255,255,.6), inset 0 -4px 8px rgba(0,0,0,.3); }
.wheel-ring::before { content: ""; position: absolute; inset: 6px; border-radius: 50%; background: repeating-conic-gradient(from 0deg, #fff8dc 0 3deg, transparent 3deg 15deg); -webkit-mask: radial-gradient(closest-side, transparent calc(100% - 7px), #000 calc(100% - 7px), #000 calc(100% - 3px), transparent calc(100% - 3px)); mask: radial-gradient(closest-side, transparent calc(100% - 7px), #000 calc(100% - 7px), #000 calc(100% - 3px), transparent calc(100% - 3px)); opacity: .9; animation: lights 1.2s steps(2) infinite; }
.spinning .wheel-ring::before { animation-duration: .25s; }
@keyframes lights { 50% { opacity: .35; } }
#wheel { position: relative; z-index: 1; width: 100%; height: 100%; border-radius: 50%; display: block; box-shadow: inset 0 0 0 4px rgba(0,0,0,.08); }
.pointer { position: absolute; top: -6px; left: 50%; width: 46px; height: 58px; transform: translateX(-50%); transform-origin: 50% 12px; z-index: 3; filter: drop-shadow(0 6px 6px rgba(0,0,0,.35));
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 46 58'%3E%3Cdefs%3E%3ClinearGradient id='a' x1='0' x2='1'%3E%3Cstop offset='0' stop-color='%23c92a42'/%3E%3Cstop offset='1' stop-color='%2385101f'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath d='M23 56 4 20a19 19 0 1 1 38 0z' fill='url(%23a)' stroke='%23f3dc9f' stroke-width='3'/%3E%3Ccircle cx='23' cy='19' r='7' fill='%23f3dc9f'/%3E%3C/svg%3E") center / contain no-repeat; }
.pointer.tick { animation: tick .12s ease-out; }
@keyframes tick { 40% { transform: translateX(-50%) rotate(-18deg); } }
.hub { position: absolute; top: 50%; left: 50%; width: 21%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; border: 0; cursor: pointer; z-index: 2; display: grid; place-items: center; padding: 14%;
  background: radial-gradient(circle at 35% 30%, #fffdf6, #efe2c4 60%, #c9a45c); box-shadow: 0 8px 20px rgba(0,0,0,.35), inset 0 -3px 6px rgba(0,0,0,.15), 0 0 0 5px rgba(122,90,34,.5); transition: transform .2s; }
.hub:hover { transform: translate(-50%, -50%) scale(1.05); }
.hub .logo-mark { width: 100%; height: 100%; }
.wheel-shadow { width: 70%; height: 30px; margin-top: 18px; border-radius: 50%; background: radial-gradient(rgba(0,0,0,.22), transparent 70%); }

/* Révélation */
.reveal { position: fixed; inset: 0; z-index: 50; display: grid; place-items: center; padding: 20px; background: rgba(7,22,15,.78); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); animation: fadein .5s ease; }
.reveal .confetti { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.reveal-card { position: relative; width: min(460px, 100%); text-align: center; background: var(--paper); color: var(--ink); border-radius: 30px; padding: 44px 30px 34px; box-shadow: var(--sh-lg); animation: pop .7s cubic-bezier(.2, 1.4, .4, 1); }
.reveal-card::before { content: ""; position: absolute; left: 50%; top: -20px; width: 120px; height: 40px; transform: translateX(-50%); background: url("../img/step-bow.jpg") center 30% / cover; border-radius: 20px; box-shadow: 0 8px 18px -6px rgba(0,0,0,.5); }
.reveal-name { font-size: clamp(2.2rem, 7vw, 3.2rem); color: var(--red); font-style: italic; margin: 0 0 .3em; }
.reveal-av .av { margin-top: 6px; }
@keyframes fadein { from { opacity: 0; } }
@keyframes pop { from { transform: scale(.6) translateY(40px); opacity: 0; } }

/* Résultat */
.result { display: grid; place-items: center; padding: 10px 0 30px; }
.result-card { position: relative; width: min(640px, 100%); border-radius: 32px; background: var(--paper); color: var(--ink); box-shadow: var(--sh-lg); overflow: hidden; }
.ribbon-v, .ribbon-h { position: absolute; background: linear-gradient(90deg, var(--red-d), var(--red-l) 50%, var(--red-d)); opacity: .95; }
.ribbon-v { top: 0; bottom: 0; left: 26px; width: 16px; }
.ribbon-h { left: 0; right: 0; top: 26px; height: 16px; background: linear-gradient(180deg, var(--red-d), var(--red-l) 50%, var(--red-d)); }
.result-in { position: relative; padding: 64px clamp(24px, 6vw, 60px) 40px; text-align: center; }
.result-name { font-size: clamp(2.6rem, 8vw, 4rem); font-style: italic; color: var(--red); margin-bottom: .45em; }
.result .meta { justify-content: center; margin-top: 22px; }
.wishbox { text-align: left; background: #fff; border: 1.5px dashed var(--gold); border-radius: 18px; padding: 18px 22px; }
.wish-label { display: flex; align-items: center; gap: .5em; font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-d); margin-bottom: .5em; }
.wish-text { font-family: var(--serif); font-size: 1.15rem; margin: 0; color: var(--ink); }
.wish-text.empty { font-style: italic; color: var(--ink3); font-size: 1rem; }
.countdown { display: flex; justify-content: center; gap: 10px; margin: 26px 0 6px; }
.countdown div { min-width: 74px; padding: 12px 8px; border-radius: 16px; background: var(--g800); color: var(--cream); }
.countdown b { display: block; font: 600 1.8rem/1 var(--serif); color: var(--gold-l); }
.countdown span { font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; opacity: .7; }

/* ==========================================================
   Administration
   ========================================================== */
body.admin { background: #f3eee4; color: var(--ink); }
.adm { display: grid; grid-template-columns: 270px 1fr; min-height: 100vh; }
.adm-side { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; gap: 10px; padding: 24px 18px; background: var(--g800) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80'%3E%3Cpath d='M40 30v20M30 40h20M33 33l14 14M47 33 33 47' stroke='%23ffffff' stroke-opacity='.035' stroke-width='2'/%3E%3C/svg%3E"); color: var(--cream); }
.adm-side .brand { margin-bottom: 18px; }
.side-label { font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: rgba(246,239,226,.45); margin: 6px 8px 4px; }
.adm-side nav { display: flex; flex-direction: column; gap: 3px; overflow-y: auto; flex: 1; margin: 0 -6px; padding: 0 6px; }
.side-item { display: flex; align-items: center; gap: .65rem; padding: 10px 12px; border-radius: 12px; text-decoration: none; color: rgba(246,239,226,.8); font-weight: 500; font-size: .95rem; }
.side-item:hover { background: rgba(255,255,255,.06); }
.side-item.active { background: rgba(201,164,92,.16); color: #fff; box-shadow: inset 3px 0 0 var(--gold); }
.si-t { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.si-n { font-size: .75rem; padding: 2px 8px; border-radius: 999px; background: rgba(255,255,255,.1); }
.dot { width: 8px; height: 8px; border-radius: 50%; flex: none; }
.dot-open { background: #4ade80; box-shadow: 0 0 0 3px rgba(74,222,128,.2); } .dot-draft { background: var(--gold); }
.side-empty { font-size: .88rem; color: rgba(246,239,226,.45); padding: 0 8px; }
.side-foot { display: flex; flex-direction: column; gap: 4px; padding-top: 14px; border-top: 1px solid rgba(255,255,255,.08); margin-top: 8px; }
.side-foot a, .linkbtn { display: flex; align-items: center; gap: .55em; padding: 8px 10px; border-radius: 10px; color: rgba(246,239,226,.7); text-decoration: none; font: 500 .9rem var(--sans); background: none; border: 0; cursor: pointer; width: 100%; }
.side-foot a:hover, .linkbtn:hover { background: rgba(255,255,255,.06); color: #fff; }
.adm-main { padding: clamp(20px, 3vw, 40px) clamp(16px, 3.5vw, 48px) 60px; min-width: 0; }
.adm-main .flash { max-width: none; }
.adm-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; margin-bottom: 26px; }
.adm-head h1 { font-size: clamp(1.8rem, 3vw, 2.4rem); margin: 0 0 .15em; }
.adm-head .eyebrow { margin-bottom: .6rem; }
.adm-head p.muted { margin: 0; }
.head-actions { display: flex; gap: 10px; }
.card { background: #fff; border-radius: var(--r); padding: clamp(18px, 2.5vw, 28px); box-shadow: var(--sh); margin-bottom: 20px; border: 1px solid #ece4d4; }
.cols { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: 20px; align-items: start; }
.cols > .card { margin: 0; }
.cols:has(> .card.grow:first-child) { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); }
.form { display: grid; gap: 14px; }
.form label { display: grid; gap: 6px; font-size: .85rem; font-weight: 600; color: var(--ink2); }
.form input, .form select { height: 48px; padding: 0 14px; }
.form textarea { min-height: 120px; }
.grid3 { grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: end; }
.span3 { grid-column: 1 / -1; }
.form-end { display: flex; justify-content: flex-end; }
.form .btn { justify-self: start; }
.form-end .btn { justify-self: auto; }

.kpis { display: grid; grid-template-columns: 1fr .8fr 1fr 1.6fr; gap: 14px; margin-bottom: 26px; }
.kpi { background: #fff; border-radius: var(--r); padding: 18px 20px; box-shadow: var(--sh); display: flex; flex-direction: column; gap: 4px; border: 1px solid #ece4d4; min-width: 0; }
.k-l { font-size: .74rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ink3); }
.k-v { font: 600 2rem/1.1 var(--serif); }
.k-v small { font-size: 1rem; color: var(--ink3); }
.k-s { font-size: .85rem; color: var(--ink3); }
.kpi-code { background: var(--g800); color: var(--cream); border-color: var(--g800); }
.kpi-code .k-l { color: rgba(246,239,226,.55); }
.k-code { font: 700 1.8rem/1.2 var(--sans); letter-spacing: .18em; color: var(--gold-l); }
.k-link { font-size: .88rem; color: var(--ink2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; margin: 4px 0 6px; }
.kpi .bar { margin: 8px 0 0; }
.row { display: flex; gap: 8px; flex-wrap: wrap; }
.mini { display: inline-flex; align-items: center; gap: .4em; align-self: flex-start; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line); background: var(--paper); color: var(--ink); font: 600 .8rem var(--sans); cursor: pointer; margin-top: 4px; }
.kpi-code .mini { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.18); color: var(--cream); }
.mini.done { background: #e3f1e8; color: #17553a; border-color: #bfe0cb; }

.tabs { display: flex; gap: 4px; border-bottom: 1.5px solid #e2d8c5; margin-bottom: 22px; overflow-x: auto; }
.tab { display: inline-flex; align-items: center; gap: .5em; padding: 12px 16px; text-decoration: none; color: var(--ink3); font-weight: 600; font-size: .95rem; border-bottom: 2.5px solid transparent; margin-bottom: -1.5px; white-space: nowrap; }
.tab:hover { color: var(--ink); }
.tab.active { color: var(--red); border-color: var(--red); }
.badge { background: var(--red); color: #fff; font-size: .7rem; border-radius: 999px; padding: 1px 7px; }

.pill { display: inline-flex; align-items: center; padding: 4px 11px; border-radius: 999px; font-size: .72rem; letter-spacing: .06em; font-weight: 700; }
.pill-open { background: #dcf3e4; color: #17633f; }
.pill-draft { background: #f7ecd2; color: #8a6420; }
.sess-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.sess-card { display: block; background: #fff; border-radius: var(--r); padding: 20px; text-decoration: none; box-shadow: var(--sh); border: 1px solid #ece4d4; transition: transform .2s, box-shadow .2s; }
.sess-card:hover { transform: translateY(-3px); box-shadow: 0 16px 34px -16px rgba(0,0,0,.3); }
.sc-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.sess-card h3 { font-size: 1.25rem; margin-bottom: .2em; }
.sess-card .muted { margin: 0 0 12px; font-size: .9rem; }
.sc-stats { display: flex; align-items: center; gap: .45em; margin: 0; font-size: .85rem; color: var(--ink2); }
.code-sm { font-weight: 700; letter-spacing: .14em; font-size: .85rem; color: var(--g600); }

.table-wrap { overflow-x: auto; margin: 0 -6px; }
.tbl { width: 100%; border-collapse: collapse; font-size: .94rem; }
.tbl th { text-align: left; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink3); padding: 8px 10px; border-bottom: 1px solid var(--line); }
.tbl td { padding: 10px; border-bottom: 1px solid #f1ebdf; vertical-align: middle; }
.tbl tr:last-child td { border-bottom: 0; }
.who { display: flex; align-items: center; gap: .6rem; font-weight: 600; }
.rename input { border: 1px solid transparent; background: transparent; font: 600 .95rem var(--sans); padding: 6px 8px; border-radius: 8px; width: 100%; min-width: 120px; color: var(--ink); }
.rename input:hover { border-color: var(--line); }
.rename input:focus { border-color: var(--gold); background: #fff; outline: none; }
.st { display: inline-flex; align-items: center; gap: .35em; font-size: .82rem; color: var(--ink3); white-space: nowrap; }
.st-ok { color: #1c7a4c; font-weight: 600; }
.tbl td.acts { white-space: nowrap; text-align: right; width: 1%; }
.acts > form, .acts > a { display: inline-block; vertical-align: middle; margin-left: 6px; }
.acts .icon-btn { display: inline-grid; }
.icon-btn { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; border: 1px solid var(--line); background: #fff; color: var(--ink2); cursor: pointer; }
.icon-btn:hover { border-color: var(--ink3); color: var(--ink); }
.icon-btn.danger:hover { color: #b4232f; border-color: #e7a3aa; background: #fdf1f2; }
.arrow-cell { color: var(--gold-d); width: 30px; }
.tag-forced { display: inline-flex; align-items: center; gap: .3em; font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; background: #fbe6e8; color: var(--red); border-radius: 999px; padding: 3px 9px; }

.rule-card.secret { border: 1.5px solid #efc9ce; background: linear-gradient(180deg, #fff, #fff8f8); }
.rule-head { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 14px; }
.rule-head p { margin: 0; }
.rule-ic { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: #fbe6e8; color: var(--red); flex: none; }
.rule-ic.green { background: #e3f1e8; color: #1c7a4c; }
.pair-form { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.pair-form select { flex: 1; min-width: 160px; height: 48px; padding: 0 12px; }
.pair-arrow { color: var(--gold-d); display: inline-grid; place-items: center; }
.pairs { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 8px; }
.pairs li { display: flex; align-items: center; gap: .6rem; padding: 10px 12px; border-radius: 14px; background: var(--paper); border: 1px solid #efe6d6; flex-wrap: wrap; }
.pairs li form { margin-left: auto; }
.pairs .st { margin-left: 8px; }
.switch { display: flex; align-items: center; gap: 12px; font-weight: 500; cursor: pointer; }
.switch input { position: absolute; opacity: 0; }
.switch span { width: 46px; height: 26px; border-radius: 999px; background: #d8cdb8; position: relative; transition: background .2s; flex: none; }
.switch span::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; transition: transform .2s; box-shadow: 0 1px 3px rgba(0,0,0,.2); }
.switch input:checked + span { background: var(--g500); }
.switch input:checked + span::after { transform: translateX(20px); }
.switch input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }
.res-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; flex-wrap: wrap; margin-bottom: 10px; }
.blurred { filter: blur(7px); user-select: none; transition: filter .3s; }
hr { border: 0; border-top: 1px solid var(--line); margin: 22px 0; }
.danger-t { color: #b4232f; }
.check { display: flex !important; grid-auto-flow: column; align-items: center; gap: 8px !important; font-weight: 500 !important; }
.check input { width: 18px !important; height: 18px !important; }

/* Auth */
body.auth { background: var(--g900); }
.auth-wrap { display: grid; grid-template-columns: 1fr 1fr; min-height: 100vh; }
.auth-art { position: relative; overflow: hidden; }
.auth-art img { width: 100%; height: 100%; object-fit: cover; }
.auth-art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent 60%, var(--g900)); }
.auth-card { align-self: center; justify-self: center; width: min(440px, 100% - 32px); margin: 40px 0; background: var(--paper); color: var(--ink); border-radius: 28px; padding: 36px; box-shadow: var(--sh-lg); }
.auth-card .brand { margin-bottom: 26px; }
.auth-card h1 { font-size: 2rem; }
.auth-card .back { color: var(--ink3); margin: 20px 0 0; }
.auth-card .form { margin-top: 18px; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .kpis { grid-template-columns: 1fr 1fr; }
  .cols, .cols:has(> .card.grow:first-child) { grid-template-columns: 1fr; }
}
@media (max-width: 960px) {
  .hero { grid-template-columns: 1fr; }
  .hero-art { max-width: 460px; margin: 10px auto 0; width: 100%; }
  .fc-1 { left: -8px; } .fc-2 { right: -8px; }
  .steps-grid { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }
  .band-in { grid-template-columns: 1fr; }
  .spin-layout { grid-template-columns: 1fr; text-align: center; }
  .spin-layout .meta, .spin-layout .hint { justify-content: center; }
  .spin-layout .progress { margin-left: auto; margin-right: auto; }
  .wheel-zone { order: -1; }
  .adm { grid-template-columns: 1fr; }
  .adm-side { position: static; height: auto; }
  .adm-side nav { max-height: 220px; }
  .auth-wrap { grid-template-columns: 1fr; }
  .auth-art { display: none; }
}
@media (max-width: 760px) {
  .waiting, .wish-grid { grid-template-columns: 1fr; text-align: center; }
  .waiting-art { max-width: 200px; margin: 0 auto; }
  .waiting .meta, .waiting .progress { justify-content: center; margin-left: auto; margin-right: auto; }
  .wish-grid form { justify-items: stretch; }
  .grid3 { grid-template-columns: 1fr; }
  .footer-in .muted { margin-left: 0; }
  .chip { max-width: 38vw; }
  .btn-ghost span { display: none; }
}
@media (max-width: 480px) {
  .join-row { flex-direction: column; }
  .kpis { grid-template-columns: 1fr; }
  .people-grid { grid-template-columns: 1fr; }
  .float-card { display: none; }
  .countdown div { min-width: 62px; }
  .ribbon-v { left: 14px; width: 10px; } .ribbon-h { top: 14px; height: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition: none !important; }
}
.result-in .eyebrow, .reveal-card .eyebrow, .panel.center .eyebrow { display: flex; justify-content: center; }
.result-in > .av.xl, .panel.center > .av.xl { display: grid; }
.wish-text.empty { background: none; padding: 0; text-align: left; }
@media (min-width: 961px) { .adm { background: linear-gradient(90deg, var(--g800) 270px, transparent 270px); } }

/* ==========================================================
   Menu principal
   ========================================================== */
.topbar { position: sticky; top: 0; z-index: 20; transition: background .3s, box-shadow .3s, padding .3s; }
.topbar.scrolled { background: rgba(11,32,23,.86); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 1px 0 rgba(255,255,255,.06), 0 10px 30px -15px rgba(0,0,0,.6); padding-top: 12px; padding-bottom: 12px; }
.mainnav { display: flex; align-items: center; gap: 4px; margin: 0 auto; }
.mainnav a { padding: 9px 14px; border-radius: 999px; text-decoration: none; font-weight: 500; font-size: .95rem; color: rgba(246,239,226,.78); transition: background .2s, color .2s; }
.mainnav a:hover { color: #fff; background: rgba(255,255,255,.07); }
.mainnav a.active { color: var(--gold-l); background: rgba(201,164,92,.12); }
.mainnav .nav-login, .mainnav .nav-cta-m { display: none; }
.top-actions { display: flex; align-items: center; gap: 10px; min-width: 0; }
.top-login { color: rgba(246,239,226,.85); text-decoration: none; font-weight: 600; font-size: .95rem; padding: 9px 12px; }
.top-login:hover { color: #fff; }
.btn.sm { min-height: 42px; padding: 0 1.1em; font-size: .93rem; }
.burger { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid rgba(255,255,255,.16); background: rgba(255,255,255,.06); cursor: pointer; flex-direction: column; align-items: center; justify-content: center; gap: 5px; padding: 0; }
.burger span { width: 18px; height: 2px; border-radius: 2px; background: var(--cream); transition: transform .25s, opacity .2s; }
.nav-open .burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-open .burger span:nth-child(2) { opacity: 0; }
.nav-open .burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Pied de page */
.footer-grid { max-width: 1200px; margin: 0 auto; padding: 46px clamp(18px, 4vw, 56px) 10px; display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 30px; color: rgba(246,239,226,.7); font-size: .93rem; }
.footer-grid h4 { margin: 0 0 12px; font: 700 .75rem var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.footer-grid a { display: block; text-decoration: none; padding: 4px 0; color: rgba(246,239,226,.72); }
.footer-grid a:hover { color: #fff; }
.f-brand p { margin-top: 12px; max-width: 30em; }
.footer-in { justify-content: space-between; border-top: 1px solid rgba(255,255,255,.06); margin-top: 20px; }
.footer-in .muted { margin-left: 0; }

/* ==========================================================
   Page Forfaits
   ========================================================== */
.pricing-hero { text-align: center; max-width: 820px; margin: 0 auto; padding: clamp(30px, 6vw, 70px) 20px 20px; }
.pricing-hero h1 { font-size: clamp(2.5rem, 5.4vw, 4.2rem); }
.pricing-hero .lead { margin: 0 auto; }
.billing { display: inline-flex; margin-top: 30px; padding: 5px; border-radius: 999px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); }
.billing button { border: 0; background: none; color: rgba(246,239,226,.75); font: 600 .95rem var(--sans); padding: 10px 20px; border-radius: 999px; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; }
.billing button.active { background: var(--cream); color: var(--g900); }
.save { font-size: .72rem; background: var(--red); color: #fff; border-radius: 999px; padding: 2px 8px; }
.plans { max-width: 1180px; margin: 40px auto 0; padding: 0 clamp(16px, 4vw, 40px); display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; background: var(--paper); color: var(--ink); border-radius: 28px; padding: 32px 28px; box-shadow: var(--sh-lg); }
.plan.featured { background: linear-gradient(180deg, #fffaf0, var(--paper)); outline: 2px solid var(--gold); transform: translateY(-14px); }
.plan-ribbon { position: absolute; top: -15px; left: 50%; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 6px; background: linear-gradient(180deg, var(--red-l), var(--red-d)); color: #fff; font: 700 .75rem var(--sans); letter-spacing: .1em; text-transform: uppercase; padding: 7px 16px; border-radius: 999px; box-shadow: 0 8px 20px -8px rgba(168,24,45,.9); white-space: nowrap; }
.plan-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.plan h2 { font-size: 1.7rem; margin: 0; }
.plan-tag { font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--gold-d); background: #f7ecd2; padding: 4px 10px; border-radius: 999px; }
.plan-desc { color: var(--ink2); margin: 10px 0 22px; min-height: 3em; }
.price { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; margin-bottom: 22px; padding-bottom: 22px; border-bottom: 1px dashed var(--line); }
.amount { font: 600 3.2rem/1 var(--serif); color: var(--ink); }
.featured .amount { color: var(--red); }
.per { color: var(--ink3); font-size: .9rem; }
.feat { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 11px; }
.feat li { display: flex; gap: 10px; align-items: flex-start; color: var(--ink2); }
.feat .ic { color: var(--g500); margin-top: 3px; }
.featured .feat .ic { color: var(--red); }
.trust { max-width: 1180px; margin: 60px auto 0; padding: 0 clamp(16px, 4vw, 40px); }
.trust-in { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.trust-item { display: flex; gap: 14px; padding: 20px; border-radius: 20px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); }
.trust-item p { margin: 4px 0 0; color: rgba(246,239,226,.65); font-size: .92rem; }
.trust-ic { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: rgba(201,164,92,.15); color: var(--gold-l); flex: none; }
.compare, .faq { max-width: 1000px; margin: 80px auto 0; padding: 0 clamp(16px, 4vw, 40px); }
.compare-card { background: var(--paper); color: var(--ink); border-radius: 26px; padding: 14px 20px; box-shadow: var(--sh-lg); }
.ctable { width: 100%; border-collapse: collapse; min-width: 560px; }
.ctable th { font: 600 1.1rem var(--serif); padding: 16px 12px; text-align: center; }
.ctable td { padding: 13px 12px; border-top: 1px solid #efe6d6; text-align: center; color: var(--ink2); }
.ctable td:first-child, .ctable th:first-child { text-align: left; font-family: var(--sans); font-weight: 500; color: var(--ink); }
.ctable .hl { background: #fbf1e6; }
.ctable th.hl { color: var(--red); border-radius: 14px 14px 0 0; }
.yes { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: #e3f1e8; color: #1c7a4c; }
.yes .ic { width: 15px; height: 15px; }
.no { color: #c9bfae; }
.faq-list { display: grid; gap: 12px; }
.faq details { background: var(--paper); color: var(--ink); border-radius: 18px; padding: 4px 22px; box-shadow: var(--sh); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 0; font-weight: 600; font-size: 1.05rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq .plus { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--cream); color: var(--red); flex: none; transition: transform .25s; }
.faq details[open] .plus { transform: rotate(45deg); }
.faq details p { color: var(--ink2); margin: 0 0 18px; }
.cta-band { margin-top: 80px; }
.cta-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }

@media (max-width: 1100px) {
  .mainnav a { padding: 9px 10px; font-size: .9rem; }
  .top-login { display: none; }
}
@media (max-width: 960px) {
  .burger { display: flex; }
  .nav-cta { display: none; }
  .mainnav { position: fixed; top: 0; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 4px; padding: 88px 20px 24px; background: rgba(9,28,19,.98); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); box-shadow: 0 30px 60px -20px rgba(0,0,0,.7); transform: translateY(-105%); transition: transform .35s cubic-bezier(.2,.8,.2,1); z-index: -1; }
  .nav-open .mainnav { transform: none; }
  .mainnav a { padding: 15px 16px; font-size: 1.05rem; border-radius: 14px; }
  .mainnav .nav-login { display: flex; align-items: center; gap: 10px; }
  .mainnav .nav-cta-m { display: inline-flex; margin-top: 10px; color: #fff; }
  .mainnav .nav-cta-m:hover { background: linear-gradient(180deg, var(--red-l), var(--red) 55%, var(--red-d)); }
  .top-actions { margin-left: auto; }
  .plans { grid-template-columns: 1fr; max-width: 520px; }
  .plan.featured { transform: none; order: -1; }
  .trust-in { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .f-brand { grid-column: 1 / -1; }
}

/* Mode aperçu */
.demo-bar { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 12px 16px; margin-bottom: 18px; border-radius: 16px; background: rgba(201,164,92,.16); border: 1px solid rgba(201,164,92,.4); color: var(--gold-l); font-size: .93rem; }
.demo-bar > span { flex: 1; min-width: 220px; color: rgba(246,239,226,.85); }
.demo-bar strong { color: var(--gold-l); }
.demo-switch select { height: 40px; padding: 0 12px; border-radius: 10px; font-size: .9rem; width: auto; }
.demo-back { display: inline-flex; align-items: center; gap: 6px; color: var(--cream); text-decoration: none; font-weight: 600; padding: 8px 12px; border-radius: 10px; background: rgba(255,255,255,.08); }
.center-row { justify-content: center; margin-top: 6px; }
a.icon-btn { text-decoration: none; }
