/* Page d'accueil publique — mêmes couleurs que l'appli (thème nuit) */
body.landing { display: block; background: #0E0B14; color: #F1ECF8; overflow-x: hidden; }
html:has(body.landing) { overflow-x: hidden; }
.landing > section { width: 100%; box-sizing: border-box; }
.landing a { text-decoration: none; }
.landing .btn.secondary { background: #261D35; color: #F1ECF8; }
.landing ::selection { background: #F2C14E; color: #1A1206; }

.l-nav { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; gap: 24px; padding: 14px max(20px, calc((100% - 1180px) / 2));
  background: rgb(14 11 20 / .82); backdrop-filter: blur(12px); border-bottom: 1px solid #2B2238; }
.l-brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 900; font-size: 20px; color: #F2C14E; }
.l-brand.small { font-size: 16px; }
.l-links { display: flex; gap: 22px; margin-left: 12px; }
.l-links a { color: #BDB3CC; font-weight: 500; font-size: 15px; }
.l-links a:hover { color: #F1ECF8; }
.l-actions { margin-left: auto; display: flex; align-items: center; gap: 14px; }
.l-login { color: #F1ECF8; font-weight: 600; font-size: 15px; }

.l-hero { max-width: 1180px; margin: 0 auto; padding: 72px 20px 56px; display: grid; grid-template-columns: 1.15fr 1fr; gap: 48px; align-items: center; position: relative; }
.l-hero::before { content: ""; position: absolute; inset: -80px 0 auto 30%; height: 620px; z-index: -1;
  background: radial-gradient(closest-side, rgb(139 92 246 / .28), transparent 70%), radial-gradient(closest-side at 70% 60%, rgb(242 193 78 / .16), transparent 70%); filter: blur(10px); }
.l-eyebrow { display: inline-block; padding: 6px 12px; border-radius: 999px; background: #261D35; color: #F2C14E; font-size: 13px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.l-hero h1 { font-size: clamp(34px, 5vw, 56px); line-height: 1.07; letter-spacing: -.02em; font-weight: 900; margin: 18px 0 18px; color: #fff; }
.l-hero h1 em { font-style: normal; }
.l-hero h1 em.g { color: #F2C14E; } .l-hero h1 em.v { color: #A78BFA; }
.l-lead { font-size: 19px; line-height: 1.55; color: #BDB3CC; max-width: 560px; margin: 0 0 28px; }
.l-cta-row { display: flex; gap: 12px; flex-wrap: wrap; }
.l-btn-big { padding: 15px 24px; font-size: 17px; border-radius: 14px; }
.l-trust { list-style: none; padding: 0; margin: 22px 0 0; display: flex; gap: 20px; flex-wrap: wrap; color: #BDB3CC; font-size: 14px; }
.l-trust li { display: inline-flex; gap: 6px; align-items: center; } .l-trust svg { color: #3fc086; }

.l-hero-art { position: relative; height: 470px; }
.l-phone { position: absolute; left: 6%; top: 0; width: 250px; padding: 16px; border-radius: 34px; background: #17121F; border: 1px solid #3a2e4f;
  box-shadow: 0 30px 80px rgb(0 0 0 / .55), inset 0 0 0 6px #0E0B14; transform: rotate(-4deg); }
.l-phone-top { display: flex; justify-content: space-between; color: #BDB3CC; font-size: 12px; padding: 10px 8px 14px; }
.l-key { height: 120px; border-radius: 18px; display: grid; place-items: center; font-size: 26px; font-weight: 900; letter-spacing: .02em; margin-bottom: 12px; }
.l-key.g { background: #F2C14E; color: #1A1206; box-shadow: 0 8px 30px rgb(242 193 78 / .3); }
.l-key.v { background: #8B5CF6; color: #fff; box-shadow: 0 8px 30px rgb(139 92 246 / .35); }
.l-phone-foot { display: flex; align-items: baseline; gap: 6px; justify-content: center; color: #BDB3CC; font-size: 12px; padding: 6px 0 4px; }
.l-phone-foot b { color: #fff; font-size: 22px; }
.l-ticket { position: absolute; right: 2%; top: 70px; width: 210px; background: #fff; color: #111; border-radius: 6px; padding: 16px 16px 20px; text-align: center;
  font-family: ui-monospace, "SF Mono", Menlo, monospace; box-shadow: 0 30px 70px rgb(0 0 0 / .5); transform: rotate(5deg);
  -webkit-mask: radial-gradient(circle 6px at 50% 100%, transparent 98%, #000) bottom / 14px 100% repeat-x; mask: radial-gradient(circle 6px at 50% 100%, transparent 98%, #000) 50% 100% / 14px 100% repeat-x; }
.l-ticket-logo { display: flex; flex-direction: column; align-items: center; gap: 6px; font-weight: 900; letter-spacing: .08em; }
.l-ticket-logo svg rect { fill: #111; }
.l-ticket-sep { border-top: 1px dashed #999; margin: 12px 0; }
.l-ticket-date { font-size: 12px; } .l-ticket-type { font-size: 26px; font-weight: 900; margin: 6px 0 2px; } .l-ticket-num { font-weight: 700; }
.l-ticket-foot { font-size: 11px; color: #444; }
.l-chip { position: absolute; left: 0; bottom: 18px; display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 999px;
  background: #17121F; border: 1px solid #3a2e4f; font-size: 14px; font-weight: 600; box-shadow: 0 14px 40px rgb(0 0 0 / .4); }
.l-chip .dot { width: 9px; height: 9px; border-radius: 50%; background: #3fc086; box-shadow: 0 0 0 4px rgb(63 192 134 / .2); animation: lpulse 2s infinite; }
@keyframes lpulse { 50% { box-shadow: 0 0 0 8px rgb(63 192 134 / 0); } }

.l-strip { max-width: 1180px; margin: 0 auto 24px; padding: 0 20px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.l-strip div { background: #17121F; border: 1px solid #2B2238; border-radius: 16px; padding: 18px 20px; }
.l-strip b { display: block; font-size: 24px; font-weight: 900; color: #F2C14E; } .l-strip span { color: #BDB3CC; font-size: 14px; }

.l-section { max-width: 1180px; margin: 0 auto; padding: 72px 20px 24px; }
.l-h2 { font-size: clamp(28px, 3.6vw, 40px); line-height: 1.15; letter-spacing: -.015em; font-weight: 900; text-align: center; margin: 0 0 12px; color: #fff; }
.l-sub { text-align: center; color: #BDB3CC; font-size: 18px; max-width: 680px; margin: 0 auto 36px; line-height: 1.55; }
.l-features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.l-feat { background: #17121F; border: 1px solid #2B2238; border-radius: 18px; padding: 22px; transition: border-color .2s, transform .2s; }
.l-feat:hover { border-color: #4b3b66; transform: translateY(-2px); }
.l-feat-ico { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: #261D35; color: #F2C14E; margin-bottom: 14px; }
.l-feat:nth-child(even) .l-feat-ico { color: #A78BFA; }
.l-feat h3 { margin: 0 0 6px; font-size: 17px; color: #fff; } .l-feat p { margin: 0; color: #BDB3CC; font-size: 14.5px; line-height: 1.5; }

.l-split { display: grid; grid-template-columns: 1fr 1.05fr; gap: 48px; align-items: center; }
.l-split .l-h2 { text-align: left; }
.l-checks { list-style: none; padding: 0; margin: 0; } .l-checks li { display: flex; gap: 10px; margin: 12px 0; font-size: 16px; } .l-checks svg { color: #F2C14E; flex: none; margin-top: 2px; }
.l-dash { background: #17121F; border: 1px solid #2B2238; border-radius: 22px; padding: 22px; box-shadow: 0 30px 80px rgb(0 0 0 / .45); }
.l-dash-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.l-dash-kpis div { background: #0E0B14; border: 1px solid #2B2238; border-radius: 14px; padding: 12px 14px; }
.l-dash-kpis span { display: block; color: #BDB3CC; font-size: 12px; text-transform: uppercase; letter-spacing: .05em; }
.l-dash-kpis b { display: block; font-size: 26px; font-weight: 900; color: #fff; } .l-dash-kpis b.g { color: #F2C14E; } .l-dash-kpis b.v { color: #A78BFA; }
.l-dash-kpis i { font-style: normal; font-size: 12px; font-weight: 700; } .l-dash-kpis i.up { color: #3fc086; }
.l-bars { display: flex; align-items: flex-end; gap: 8px; height: 170px; margin: 20px 4px 8px; }
.l-bar { flex: 1; display: flex; flex-direction: column-reverse; align-items: stretch; position: relative; padding-bottom: 18px; }
.l-bar i { display: block; border-radius: 4px 4px 0 0; } .l-bar i.g { background: #F2C14E; border-radius: 0; } .l-bar i.v { background: #8B5CF6; }
.l-bar i.g:last-of-type { border-radius: 4px 4px 0 0; }
.l-bar span { position: absolute; bottom: 0; left: 0; right: 0; text-align: center; font-size: 10px; color: #BDB3CC; }
.l-dash-alert { display: flex; gap: 8px; align-items: center; padding: 10px 12px; border-radius: 12px; background: #2e2410; color: #F2C14E; font-size: 13.5px; }

.l-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; counter-reset: s; }
.l-step { background: #17121F; border: 1px solid #2B2238; border-radius: 18px; padding: 26px; position: relative; }
.l-step-n { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: #F2C14E; color: #1A1206; font-weight: 900; font-size: 18px; margin-bottom: 14px; }
.l-step:nth-child(2) .l-step-n { background: #8B5CF6; color: #fff; }
.l-step h3 { margin: 0 0 6px; color: #fff; } .l-step p { margin: 0; color: #BDB3CC; line-height: 1.55; }

.l-plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: stretch; }
.l-plan { position: relative; display: flex; flex-direction: column; background: #17121F; border: 1px solid #2B2238; border-radius: 22px; padding: 28px 24px 24px; }
.l-plan.best { border: 2px solid #F2C14E; background: linear-gradient(180deg, #221a2f, #17121F); box-shadow: 0 24px 70px rgb(242 193 78 / .12); }
.l-plan-badge { position: absolute; top: -13px; left: 24px; padding: 4px 12px; border-radius: 999px; background: #F2C14E; color: #1A1206; font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; }
.l-plan h3 { margin: 0; font-size: 22px; color: #fff; } .l-plan-desc { color: #BDB3CC; font-size: 14px; min-height: 42px; margin: 6px 0 14px; }
.l-price { font-size: 42px; font-weight: 900; color: #fff; line-height: 1; } .l-price small { font-size: 16px; color: #BDB3CC; font-weight: 500; }
.l-plan-sub { color: #BDB3CC; font-size: 13px; margin: 8px 0 18px; min-height: 18px; }
.l-plan ul { list-style: none; padding: 0; margin: 0 0 22px; flex: 1; } .l-plan li { display: flex; gap: 8px; margin: 9px 0; font-size: 14.5px; } .l-plan li svg { color: #3fc086; flex: none; margin-top: 2px; }
.l-note { text-align: center; color: #BDB3CC; font-size: 14px; margin-top: 18px; }

.l-faq { max-width: 780px; margin: 0 auto; }
.l-qa { background: #17121F; border: 1px solid #2B2238; border-radius: 14px; margin-bottom: 10px; padding: 0 20px; }
.l-qa summary { cursor: pointer; list-style: none; padding: 18px 0; font-weight: 700; font-size: 16px; display: flex; justify-content: space-between; gap: 12px; }
.l-qa summary::after { content: "+"; color: #F2C14E; font-size: 22px; line-height: 1; } .l-qa[open] summary::after { content: "–"; }
.l-qa summary::-webkit-details-marker { display: none; }
.l-qa p { margin: 0 0 18px; color: #BDB3CC; line-height: 1.6; }

.l-final { max-width: 1140px; width: calc(100% - 40px) !important; margin: 72px auto 0; padding: 56px 24px; text-align: center; border-radius: 28px;
  background: radial-gradient(circle at 20% 0%, rgb(242 193 78 / .25), transparent 50%), radial-gradient(circle at 90% 100%, rgb(139 92 246 / .35), transparent 55%), #17121F; border: 1px solid #3a2e4f; }
.l-final h2 { font-size: clamp(26px, 3.4vw, 38px); margin: 0 0 10px; color: #fff; } .l-final p { color: #BDB3CC; font-size: 18px; margin: 0 0 24px; }
.l-foot { max-width: 1180px; margin: 0 auto; padding: 40px 20px; display: flex; align-items: center; gap: 24px; flex-wrap: wrap; font-size: 14px; }
.l-foot nav { display: flex; gap: 18px; } .l-foot nav a { color: #BDB3CC; } .l-foot .muted { margin-left: auto; }

@media (max-width: 980px) {
  .l-links { display: none; }
  .l-hero, .l-split { grid-template-columns: 1fr; }
  .l-hero { padding-top: 40px; }
  .l-hero-art { height: 420px; max-width: 460px; margin: 0 auto; width: 100%; }
  .l-features { grid-template-columns: 1fr 1fr; }
  .l-plans, .l-steps { grid-template-columns: 1fr; }
  .l-strip { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  /* en-tête compact : « Se connecter » reste visible à côté de l'essai gratuit */
  .l-nav { gap: 12px; padding-top: 10px; padding-bottom: 10px; }
  .l-brand { font-size: 18px; gap: 8px; } .l-nav .l-brand svg { width: 30px; height: 30px; }
  .l-actions { gap: 10px; }
  .l-login { font-size: 14px; white-space: nowrap; padding: 6px 10px; border: 1px solid #3a2f4d; border-radius: 9px; }
  .l-actions .btn.small { white-space: nowrap; }
  .l-features { grid-template-columns: 1fr; }
  .l-phone { width: 210px; left: 0; } .l-key { height: 96px; font-size: 22px; }
  .l-ticket { width: 170px; right: 0; top: 110px; }
  .l-lead { font-size: 17px; }
  .l-dash-kpis b { font-size: 20px; }
  .l-foot .muted { margin-left: 0; }
}

/* Deux modes : nuit (sans encaissement) / association (avec encaissement) */
body.landing[data-mode="nuit"] .m-asso, body.landing[data-mode="association"] .m-nuit { display: none !important; }
.l-hero h1 em.t, .l-dash-kpis b.t { color: #3fc086; }
.l-modebar { max-width: 1180px; margin: 0 auto; padding: 28px 20px 0; display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap; }
.l-modebar-q { color: #BDB3CC; font-weight: 600; font-size: 15px; }
.l-mode-switch { display: inline-flex; padding: 5px; gap: 4px; border-radius: 18px; background: #17121F; border: 1px solid #2B2238; }
.l-mode-switch button { display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border: 0; border-radius: 14px; background: transparent; color: #BDB3CC;
  font: inherit; font-weight: 700; font-size: 15px; cursor: pointer; transition: background .2s, color .2s; }
.l-mode-switch button small { font-weight: 500; font-size: 12.5px; opacity: .8; }
.l-mode-switch button:hover { color: #F1ECF8; }
.l-mode-switch button[aria-selected="true"][data-mode-btn="nuit"] { background: #F2C14E; color: #1A1206; }
.l-mode-switch button[aria-selected="true"][data-mode-btn="association"] { background: #2E9E6A; color: #fff; }
.l-key small { display: block; font-size: 15px; font-weight: 700; opacity: .85; margin-top: 2px; }
.l-key.t { background: #2E9E6A; color: #fff; box-shadow: 0 8px 30px rgb(46 158 106 / .35); }
.l-key { text-align: center; align-content: center; }
.l-ticket-lines { display: grid; grid-template-columns: 1fr auto; gap: 4px 10px; text-align: left; font-size: 13px; margin: 12px 0 8px; }
.l-ticket-total { display: flex; justify-content: space-between; border-top: 1px dashed #999; padding-top: 8px; font-weight: 900; font-size: 18px; margin-bottom: 8px; }
.l-modes { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.l-modecard { background: #17121F; border: 1px solid #2B2238; border-radius: 22px; padding: 28px 26px; cursor: pointer; transition: border-color .2s, box-shadow .2s, opacity .2s; opacity: .6; }
.l-modecard:hover { opacity: .85; }
body.landing[data-mode="nuit"] .l-modecard.nuit { opacity: 1; border: 2px solid #F2C14E; box-shadow: 0 24px 70px rgb(242 193 78 / .12); }
body.landing[data-mode="association"] .l-modecard.asso { opacity: 1; border: 2px solid #2E9E6A; box-shadow: 0 24px 70px rgb(46 158 106 / .14); }
.l-modecard-ico { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: #261D35; color: #F2C14E; margin-bottom: 14px; }
.l-modecard.asso .l-modecard-ico { color: #3fc086; }
.l-modecard h3 { margin: 0; font-size: 22px; color: #fff; }
.l-modecard-tag { margin: 4px 0 16px; color: #BDB3CC; font-size: 14px; font-weight: 600; }
.l-modecard.asso .l-checks svg { color: #3fc086; }
.l-modecard-note { display: flex; gap: 8px; align-items: flex-start; margin: 18px 0 0; padding: 10px 12px; border-radius: 12px; background: #0E0B14; color: #BDB3CC; font-size: 13.5px; line-height: 1.45; }
.l-modecard-note svg { flex: none; margin-top: 1px; color: #F2C14E; }
@media (max-width: 980px) { .l-modes { grid-template-columns: 1fr; } }
@media (max-width: 560px) {
  .l-modebar-q { display: none; }
  .l-mode-switch { width: 100%; }
  .l-mode-switch button { flex: 1; flex-direction: column; gap: 2px; padding: 10px 8px; font-size: 14px; text-align: center; }
  .l-mode-switch button svg { display: none; }
}

/* Matériel */
.l-hw { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: stretch; }
.l-hw-card { position: relative; display: flex; flex-direction: column; background: #17121F; border: 1px solid #2B2238; border-radius: 18px; padding: 24px 22px 22px; }
.l-hw-card.best { border: 2px solid #8B5CF6; }
.l-hw-card h3 { margin: 0 0 6px; font-size: 17px; color: #fff; } .l-hw-card p { margin: 0 0 16px; color: #BDB3CC; font-size: 14.5px; line-height: 1.5; flex: 1; }
.l-hw-card .l-feat-ico { color: #A78BFA; }
.l-hw-price { font-size: 22px; font-weight: 900; color: #F2C14E; margin-bottom: 4px; }
.l-hw-price small { display: block; font-size: 12px; font-weight: 500; color: #BDB3CC; margin-top: 2px; }
.l-hw-card .btn { margin-top: 12px; align-self: flex-start; }
.l-hw-badge { position: absolute; top: -12px; left: 22px; padding: 4px 12px; border-radius: 999px; background: #8B5CF6; color: #fff; font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; }
@media (max-width: 980px) { .l-hw { grid-template-columns: 1fr; } }
@media (max-width: 380px) { .l-nav .l-brand span { display: none; } }
