/* Teral — authentification, parcours guidé, espace de gestion, administration */
.link { color: var(--orange-600); font-weight: 650; }
.link:hover { text-decoration: underline; }
.input-lg { min-height: 54px; font-size: 1.1rem; font-weight: 600; }

/* =============== AUTHENTIFICATION =============== */
.auth-body { background: #fff; }
.auth { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: 100vh; }
.auth-main { display: flex; flex-direction: column; padding: 2rem clamp(1.25rem, 5vw, 4rem); }
.auth-logo img { height: 34px; }
.auth-card { width: 100%; max-width: 470px; margin: auto; padding: 2.5rem 0; }
.auth-title { font-family: var(--display); font-size: clamp(1.8rem, 3.5vw, 2.4rem); letter-spacing: -.035em; color: var(--navy); margin-bottom: .5rem; }
.auth-foot { text-align: center; }
.auth-aside { position: relative; overflow: hidden; display: grid; place-items: center; padding: 3rem; background: linear-gradient(160deg, var(--navy-950), var(--navy) 70%, var(--navy-2)); color: #fff; isolation: isolate; }
.auth-aside-bg span { position: absolute; border-radius: 50%; filter: blur(70px); z-index: -1; animation: blob 14s ease-in-out infinite; }
.auth-aside-bg span:first-child { width: 420px; height: 420px; background: rgba(250, 48, 9, .45); top: -120px; right: -100px; }
.auth-aside-bg span:last-child { width: 360px; height: 360px; background: rgba(37, 99, 235, .4); bottom: -120px; left: -80px; animation-delay: -6s; }
@keyframes blob { 33% { transform: translate(40px, -30px) scale(1.08); } 66% { transform: translate(-30px, 30px) scale(.94); } }
.auth-aside-in { display: grid; justify-items: center; gap: 2.5rem; max-width: 420px; }
.auth-phone { --w: 260; transform: rotate(-3deg); animation: floatY 7s ease-in-out infinite; }
@keyframes floatY { 50% { translate: 0 -12px; } }
.auth-aside blockquote { margin: 0; padding: 1.4rem; border-radius: 20px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); backdrop-filter: blur(10px); }
.auth-aside blockquote p { font-size: 1.02rem; line-height: 1.6; }
.auth-aside blockquote footer { display: flex; align-items: center; gap: .75rem; margin-top: 1rem; }
.auth-aside blockquote small { display: block; color: rgba(255,255,255,.65); }
.avatar { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--orange); color: #fff; font-weight: 800; font-size: .85rem; flex-shrink: 0; overflow: hidden; }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.type-pick { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }
.type-pick .choice-box { flex-direction: column; align-items: flex-start; gap: .6rem; padding: 1rem; height: 100%; }
.type-pick b { display: block; color: var(--navy); }
.type-pick small { display: block; font-size: .78rem; color: var(--muted-2); line-height: 1.35; }
.type-ico { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: var(--orange-50); color: var(--orange); }
.choice input:checked + .choice-box .type-ico { background: var(--orange); color: #fff; }
.pw-field .input { padding-right: 3rem; }
.pw-toggle { position: absolute; right: .4rem; top: 50%; transform: translateY(-50%); width: 38px; height: 38px; display: grid; place-items: center; border: 0; background: none; color: var(--muted-2); border-radius: 10px; }
.pw-toggle:hover { background: var(--line-2); }
.pw-field > i[data-lucide="lock"], .pw-field > svg:first-child { left: .9rem; }
@media (max-width: 960px) { .auth { grid-template-columns: 1fr; } .auth-aside { display: none; } }
@media (max-width: 420px) { .type-pick { grid-template-columns: 1fr; } }

.empty-page { min-height: 100vh; display: grid; place-content: center; justify-items: center; text-align: center; padding: 2rem; gap: .5rem; }
.empty-page h1 { font-family: var(--display); font-size: 2rem; color: var(--navy); }
.empty-art svg { width: 220px; margin: 1.5rem 0 .5rem; }

/* =============== PARCOURS GUIDÉ =============== */
.ob-body { background: radial-gradient(80% 50% at 100% 0%, #fff1ec 0%, transparent 60%), radial-gradient(60% 40% at 0% 100%, #e8eff8 0%, transparent 60%), var(--bg); min-height: 100vh; }
.ob-top { position: sticky; top: 0; z-index: 50; display: flex; align-items: center; gap: 1.5rem; padding: .9rem clamp(1rem, 3vw, 2rem); background: rgba(255,255,255,.85); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.ob-top .logo img { height: 28px; }
.ob-steps { display: flex; align-items: center; gap: .3rem; margin: 0 auto; padding: 0; list-style: none; }
.ob-step > a, .ob-step > span { display: flex; align-items: center; gap: .5rem; padding: .35rem .7rem .35rem .35rem; border-radius: 99px; font-weight: 650; font-size: .85rem; color: var(--muted-2); transition: background .2s; }
.ob-step > a:hover { background: var(--line-2); }
.ob-dot { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--line-2); font-size: .8rem; font-weight: 800; transition: background .3s, color .3s; }
.ob-dot svg { width: 15px; height: 15px; stroke-width: 3; }
.ob-step.is-done .ob-dot { background: var(--success); color: #fff; }
.ob-step.is-done > a, .ob-step.is-done > span { color: var(--ink-2); }
.ob-step.is-current > span { background: var(--orange-50); color: var(--orange-600); }
.ob-step.is-current .ob-dot { background: var(--orange); color: #fff; box-shadow: 0 0 0 4px rgba(250,48,9,.15); }
.ob-step + .ob-step::before { content: ''; width: 18px; height: 2px; background: var(--line); margin-right: .3rem; display: inline-block; vertical-align: middle; }
.ob-step { display: flex; align-items: center; }
.ob-progress { position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; }
.ob-progress span { display: block; height: 100%; width: var(--p); background: linear-gradient(90deg, var(--orange), #ff8a65); border-radius: 0 3px 3px 0; transition: width .8s var(--ease); }
@media (max-width: 1100px) { .ob-label { display: none; } .ob-step.is-current .ob-label { display: inline; } }
@media (max-width: 640px) { .ob-step:not(.is-current) { display: none; } .ob-step + .ob-step::before { display: none; } .ob-out span { display: none; } }

.ob-main { padding: clamp(1.5rem, 4vw, 3rem) clamp(1rem, 3vw, 2rem) 4rem; }
.ob-grid { display: grid; grid-template-columns: minmax(0, 640px) 340px; gap: clamp(2rem, 5vw, 4.5rem); justify-content: center; align-items: start; }
.ob-card { padding: clamp(1.4rem, 4vw, 2.5rem); border-radius: 26px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-lg); }
.ob-kicker { display: inline-block; margin-bottom: .6rem; color: var(--orange-600); font-weight: 750; font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; }
.ob-title { font-family: var(--display); font-size: clamp(1.6rem, 3.4vw, 2.2rem); letter-spacing: -.035em; color: var(--navy); margin-bottom: .5rem; }
.ob-actions { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--line-2); }
.ob-preview { position: sticky; top: 100px; display: grid; justify-items: center; gap: 1rem; }
.ob-phone { --pw: 300px; }
.ob-preview-note { display: flex; align-items: center; gap: .4rem; color: var(--muted-2); font-size: .85rem; font-weight: 600; }
@media (max-width: 1000px) {
    .ob-grid { grid-template-columns: minmax(0, 640px); }
    .ob-preview { position: static; order: -1; }
    .ob-phone { --pw: 210px; }
    .ob-preview-note { display: none; }
}
@media (max-width: 640px) { .ob-preview { display: none; } .ob-actions .btn-lg { flex: 1; } }

/* Téléversement d'images */
.upload-row { display: grid; grid-template-columns: 150px 1fr; gap: 1rem; }
.upload-tile { position: relative; display: grid; place-items: center; min-height: 150px; border: 2px dashed #cbd5e1; border-radius: 20px; background: #f8fafc; overflow: hidden; cursor: pointer; transition: border-color .2s, background .2s; }
.upload-tile:hover { border-color: var(--orange); background: var(--orange-50); }
.upload-tile:focus-within { box-shadow: var(--ring); border-color: var(--orange); }
.upload-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; }
.upload-tile.has-img { border-style: solid; border-color: var(--line); }
.upload-tile.has-img img { opacity: 1; }
.upload-tile.has-img .upload-empty { opacity: 0; }
.upload-empty { display: grid; justify-items: center; gap: .2rem; padding: 1rem; text-align: center; color: var(--muted); transition: opacity .2s; }
.upload-empty svg { width: 28px; height: 28px; color: var(--orange); margin-bottom: .3rem; }
.upload-empty b { color: var(--ink-2); font-size: .9rem; }
.upload-empty small { font-size: .76rem; }
.upload-edit { position: absolute; right: 8px; bottom: 8px; display: none; place-items: center; width: 32px; height: 32px; border-radius: 10px; background: rgba(255,255,255,.95); color: var(--navy); box-shadow: var(--shadow); }
.upload-tile.has-img .upload-edit { display: grid; }
.upload-logo { aspect-ratio: 1; min-height: 0; }
@media (max-width: 520px) { .upload-row { grid-template-columns: 110px 1fr; } }

/* Sélecteur de modèle */
.tpl-pick { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; }
.tpl-box { position: relative; display: flex; flex-direction: column; border: 2px solid var(--line); border-radius: 18px; overflow: hidden; background: #fff; transition: border-color .2s, box-shadow .2s, transform .25s var(--ease); }
.choice:hover .tpl-box { transform: translateY(-2px); box-shadow: var(--shadow); }
.choice input:checked + .tpl-box { border-color: var(--orange); box-shadow: var(--ring); }
.choice input:focus-visible + .tpl-box { box-shadow: var(--ring); }
.tpl-swatch { display: flex; align-items: center; justify-content: space-between; gap: .8rem; height: 92px; padding: 1rem; background: var(--t-bg); }
.tpl-mini-title { font-size: 2rem; font-weight: 700; color: var(--t-text); line-height: 1; }
.tpl-mini-tiles { display: grid; gap: 5px; width: 70px; }
.tpl-mini-tiles i { height: 14px; border-radius: 5px; background: var(--t-surface); box-shadow: 0 1px 3px rgba(0,0,0,.12); }
.tpl-mini-tiles i:first-child { background: var(--t-accent); }
.tpl-mini-grid { grid-template-columns: 1fr 1fr; }
.tpl-mini-grid i:first-child { grid-column: span 2; }
.tpl-mini-list i { border-radius: 2px; height: 10px; box-shadow: none; opacity: .9; }
.tpl-mini-cards i { height: 16px; border-radius: 8px; }
.tpl-meta { padding: .75rem .9rem; }
.tpl-meta b { display: block; color: var(--navy); font-size: .95rem; }
.tpl-meta small { color: var(--muted-2); font-size: .78rem; line-height: 1.3; display: block; }
.tpl-check { position: absolute; top: 10px; right: 10px; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--orange); color: #fff; transform: scale(0); transition: transform .3s var(--ease-spring); }
.tpl-check svg { width: 15px; height: 15px; stroke-width: 3; }
.choice input:checked + .tpl-box .tpl-check { transform: scale(1); }
@media (max-width: 480px) { .tpl-pick { grid-template-columns: 1fr; } }
.swatches { display: flex; flex-wrap: wrap; gap: .55rem; }
.swatch { position: relative; width: 36px; height: 36px; border-radius: 50%; border: 0; background: var(--c); cursor: pointer; box-shadow: inset 0 0 0 2px rgba(0,0,0,.08); transition: transform .2s var(--ease-spring); }
.swatch:hover { transform: scale(1.12); }
.swatch.is-on { box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--c); }
.swatch-custom { display: grid; place-items: center; background: conic-gradient(#f43f5e, #f59e0b, #84cc16, #06b6d4, #6366f1, #d946ef, #f43f5e); color: #fff; overflow: hidden; }
.swatch-custom input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.swatch-custom svg { width: 16px; height: 16px; filter: drop-shadow(0 1px 1px rgba(0,0,0,.4)); pointer-events: none; }

/* Liste de fonctionnalités */
.feat-list { display: grid; gap: .7rem; }
.feat-row { display: flex; gap: 1rem; align-items: flex-start; padding: 1rem; border: 1px solid var(--line); border-radius: 16px; background: #fff; transition: border-color .2s, background .2s; }
.feat-row:has(.switch input:checked) { border-color: #bbf7d0; background: #fbfffc; }
.feat-row b { color: var(--navy); }
.feat-row-ico { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: var(--orange-50); color: var(--orange); flex-shrink: 0; }
.feat-extra { display: grid; gap: .5rem; margin-top: .75rem; }
.feat-extra .hint { display: flex; gap: .35rem; align-items: flex-start; }
.feat-row .switch { margin-top: .5rem; }

/* Compteur d'emplacements */
.count-picker { display: flex; align-items: center; justify-content: center; gap: 1.5rem; margin: 1rem 0; }
.count-btn { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; border: 1.5px solid var(--line); background: #fff; color: var(--navy); transition: background .2s, transform .2s var(--ease-spring); }
.count-btn:hover { background: var(--line-2); transform: scale(1.06); }
.count-val { text-align: center; min-width: 120px; }
.count-val output { display: block; font-family: var(--display); font-weight: 800; font-size: 4rem; line-height: 1; color: var(--navy); letter-spacing: -.04em; }
.count-val small { color: var(--muted); font-weight: 600; }
.range { --v: 10%; width: 100%; height: 8px; appearance: none; border-radius: 99px; background: linear-gradient(90deg, var(--orange) var(--v), var(--line) var(--v)); outline: none; }
.range::-webkit-slider-thumb { appearance: none; width: 26px; height: 26px; border-radius: 50%; background: #fff; border: 3px solid var(--orange); box-shadow: var(--shadow); cursor: pointer; }
.range::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 3px solid var(--orange); cursor: pointer; }
.point-sample { display: flex; align-items: center; gap: .5rem; min-height: 46px; padding: 0 .9rem; border-radius: 12px; background: var(--line-2); font-weight: 700; color: var(--navy); }
.qr-stack { position: relative; width: 260px; height: 360px; }
.qr-mini { position: absolute; inset: 0; margin: auto; width: 210px; height: 280px; display: grid; justify-items: center; align-content: center; gap: .8rem; padding: 1.2rem; border-radius: 22px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-lg); transform: translate(calc(var(--i) * 18px), calc(var(--i) * -18px)) rotate(calc(var(--i) * 5deg - 5deg)); animation: stackIn .8s var(--ease) both; animation-delay: calc(var(--i) * .12s); }
@keyframes stackIn { from { opacity: 0; transform: translateY(40px); } }
.qr-mini-label { font-weight: 800; color: var(--orange-600); }
.qr-mini-code svg { width: 120px; height: 120px; color: var(--navy); stroke-width: 1.5; }
.qr-mini-name { font-size: .82rem; color: var(--muted); font-weight: 600; }

/* Page « terminé » */
.confetti { position: fixed; inset: 0; pointer-events: none; z-index: 60; }
.done { max-width: 1040px; margin: 0 auto; text-align: center; }
.done-badge { display: inline-grid; place-items: center; width: 76px; height: 76px; border-radius: 24px; background: linear-gradient(135deg, var(--orange), #ff8a65); color: #fff; box-shadow: 0 18px 30px -12px rgba(250,48,9,.6); }
.done-badge svg { width: 36px; height: 36px; }
.done-title { margin-top: 1.2rem; font-family: var(--display); font-size: clamp(2rem, 4.5vw, 3rem); letter-spacing: -.04em; color: var(--navy); }
.done-lead { margin-top: .6rem; color: var(--muted); font-size: 1.08rem; }
.done-grid { display: grid; grid-template-columns: auto 1fr; gap: 2.5rem; margin-top: 2.5rem; text-align: left; align-items: start; }
.qr-poster { width: 300px; padding: 1.4rem; border-radius: 28px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-xl); text-align: center; border-top: 6px solid var(--a); }
.qr-poster-head { display: flex; align-items: center; justify-content: center; gap: .6rem; margin-bottom: 1rem; }
.qr-poster-head img { width: 36px; height: 36px; border-radius: 10px; object-fit: cover; }
.qr-poster-head b { font-size: 1.1rem; color: var(--navy); }
.qr-holder { display: grid; place-items: center; min-height: 230px; }
.qr-holder svg, .qr-holder canvas { max-width: 100%; height: auto; }
.qr-poster-cta { margin-top: 1rem; padding: .7rem; border-radius: 14px; background: var(--a); color: #fff; font-weight: 750; font-size: .9rem; }
.done-next { padding: 1.8rem; border-radius: 26px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-lg); }
.done-next h2 { font-size: 1.3rem; color: var(--navy); margin-bottom: 1rem; }
.next-list { display: grid; gap: .5rem; padding: 0; list-style: none; }
.next-list li { display: flex; gap: 1rem; padding: 1rem; border-radius: 16px; transition: background .2s; }
.next-list li:hover { background: var(--bg); }
.next-list li.is-key { background: var(--orange-50); border: 1px solid var(--orange-100); }
.next-list b { color: var(--navy); }
.next-list p { color: var(--muted); font-size: .9rem; margin: .15rem 0 .3rem; }
.next-ico { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: var(--line-2); color: var(--navy); flex-shrink: 0; }
.is-key .next-ico { background: var(--orange); color: #fff; }
@media (max-width: 860px) { .done-grid { grid-template-columns: 1fr; justify-items: center; } .done-next { width: 100%; } }

/* =============== ESPACE DE GESTION =============== */
.app-body { background: var(--bg); }
.app { display: grid; grid-template-columns: 268px minmax(0, 1fr); min-height: 100vh; }
.side { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; padding: 1.1rem .9rem; background: var(--navy-950); color: rgba(255,255,255,.75); overflow-y: auto; scrollbar-width: thin; }
.side-logo { padding: .3rem .6rem 1.1rem; }
.side-logo img { height: 28px; }
.side-est { display: flex; align-items: center; gap: .7rem; padding: .7rem; margin-bottom: 1rem; border-radius: 14px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.08); }
.side-est .avatar { border-radius: 11px; background: var(--est-accent, var(--orange)); }
.side-est b { display: block; color: #fff; font-size: .9rem; line-height: 1.2; }
.side-est small { display: inline-flex; align-items: center; gap: .3rem; font-size: .74rem; font-weight: 650; }
.side-est .is-live { color: #4ade80; }
.side-est .is-off { color: #fbbf24; }
.side-nav { display: grid; gap: 2px; }
.side-group { margin: 1rem .7rem .35rem; font-size: .68rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.38); }
.side-link { position: relative; display: flex; align-items: center; gap: .75rem; padding: .62rem .75rem; border-radius: 11px; font-weight: 600; font-size: .9rem; transition: background .2s, color .2s; }
.side-link:hover { background: rgba(255,255,255,.06); color: #fff; }
.side-link.is-active { background: rgba(250,48,9,.14); color: #fff; }
.side-link.is-active::before { content: ''; position: absolute; left: -.9rem; top: 22%; bottom: 22%; width: 4px; border-radius: 0 4px 4px 0; background: var(--orange); }
.side-link.is-active svg { color: var(--orange); }
.side-badge { margin-left: auto; min-width: 22px; height: 22px; padding: 0 .4rem; display: grid; place-items: center; border-radius: 99px; background: var(--orange); color: #fff; font-size: .72rem; font-weight: 800; }
.side-badge[data-zero] { display: none; }
.side-foot { margin-top: auto; padding-top: 1rem; display: grid; gap: .5rem; }
.side-user { display: flex; align-items: center; gap: .6rem; padding: .6rem; border-radius: 12px; }
.side-user .avatar { width: 34px; height: 34px; background: rgba(255,255,255,.12); font-size: .75rem; }
.side-user b { display: block; color: #fff; font-size: .85rem; }
.side-user small { font-size: .74rem; }
.side-user a { margin-left: auto; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; color: rgba(255,255,255,.6); }
.side-user a:hover { background: rgba(255,255,255,.08); color: #fff; }

/* Voile du menu mobile : hors de la grille, invisible sur ordinateur */
.side-scrim { position: fixed; inset: 0; z-index: 150; background: rgba(2,20,40,.5); opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; }
.main { min-width: 0; display: flex; flex-direction: column; }
.topbar { position: sticky; top: 0; z-index: 40; display: flex; align-items: center; gap: 1rem; padding: .9rem clamp(1rem, 3vw, 2rem); background: rgba(246,247,251,.85); backdrop-filter: blur(14px); border-bottom: 1px solid transparent; transition: border-color .2s, background .2s; }
.topbar.is-scrolled { border-bottom-color: var(--line); background: rgba(255,255,255,.9); }
.topbar h1 { font-size: 1.35rem; color: var(--navy); letter-spacing: -.03em; }
.topbar-sub { font-size: .85rem; color: var(--muted); }
.topbar-actions { margin-left: auto; display: flex; gap: .6rem; align-items: center; }
.burger { display: none; }
.content { padding: .5rem clamp(1rem, 3vw, 2rem) 3rem; }
.content-narrow { max-width: 860px; }

.banner { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; padding: 1rem 1.2rem; margin-bottom: 1.25rem; border-radius: 18px; background: linear-gradient(110deg, var(--navy), var(--navy-2)); color: #fff; box-shadow: var(--shadow-lg); position: relative; overflow: hidden; }
.banner::after { content: ''; position: absolute; right: -60px; top: -60px; width: 200px; height: 200px; border-radius: 50%; background: rgba(250,48,9,.35); filter: blur(40px); }
.banner-ico { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: rgba(255,255,255,.12); flex-shrink: 0; }
.banner b { display: block; }
.banner p { font-size: .88rem; color: rgba(255,255,255,.75); }
.banner .btn { margin-left: auto; position: relative; z-index: 1; }
.banner-warn { background: linear-gradient(110deg, #92400e, #b45309); }

@media (max-width: 1024px) {
    .app { grid-template-columns: 1fr; }
    .side { position: fixed; z-index: 200; left: 0; top: 0; width: 280px; transform: translateX(-100%); transition: transform .35s var(--ease); box-shadow: var(--shadow-xl); }
    .app.nav-open .side { transform: none; }
    .app.nav-open .side-scrim { opacity: 1; visibility: visible; }
    .burger { display: inline-flex; }
    .topbar-actions .btn span { display: none; }
}
@media (max-width: 640px) { .topbar h1 { font-size: 1.12rem; } .topbar-sub { display: none; } }

/* Indicateurs */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.stat { position: relative; padding: 1.2rem; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); overflow: hidden; }
.stat-head { display: flex; align-items: center; justify-content: space-between; color: var(--muted); font-size: .85rem; font-weight: 650; }
.stat-ico { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; background: color-mix(in srgb, var(--c, var(--orange)) 12%, #fff); color: var(--c, var(--orange)); }
.stat-val { margin-top: .6rem; font-family: var(--display); font-weight: 750; font-size: 1.9rem; letter-spacing: -.03em; color: var(--navy); line-height: 1.1; }
.stat-val small { font-family: var(--font); font-size: .85rem; font-weight: 650; color: var(--muted); letter-spacing: 0; }
.stat-foot { margin-top: .3rem; font-size: .8rem; color: var(--muted-2); }
.trend-up { color: var(--success); font-weight: 700; }
.trend-down { color: var(--danger); font-weight: 700; }
@media (max-width: 1100px) { .stats { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .stats { gap: .7rem; } .stat { padding: 1rem; } .stat-val { font-size: 1.5rem; } }

.dash-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 1.25rem; margin-top: 1.25rem; }
@media (max-width: 1100px) { .dash-grid { grid-template-columns: 1fr; } }
.chart { display: flex; align-items: flex-end; gap: 6px; height: 200px; padding-top: 1rem; }
.chart-col { flex: 1; display: flex; flex-direction: column; align-items: center; gap: .4rem; height: 100%; justify-content: flex-end; min-width: 0; }
.chart-bar { position: relative; width: 100%; max-width: 34px; min-height: 3px; border-radius: 8px 8px 4px 4px; background: linear-gradient(180deg, var(--orange), #ffb199); transform-origin: bottom; animation: barUp .9s var(--ease) both; cursor: default; }
.chart-col:nth-child(odd) .chart-bar { animation-delay: .05s; }
.chart-bar:hover::after { content: attr(data-v); position: absolute; bottom: calc(100% + 6px); left: 50%; transform: translateX(-50%); padding: .2rem .5rem; border-radius: 6px; background: var(--navy-950); color: #fff; font-size: .72rem; font-weight: 700; white-space: nowrap; }
.chart-col.is-today .chart-bar { background: linear-gradient(180deg, var(--navy), #5b84b1); }
.chart-label { font-size: .7rem; color: var(--muted-2); font-weight: 600; }
@keyframes barUp { from { transform: scaleY(0); } }

/* Listes / flux */
.feed { display: grid; }
.feed-item { display: flex; gap: .85rem; align-items: flex-start; padding: .9rem 1.4rem; border-bottom: 1px solid var(--line-2); transition: background .2s; }
.feed-item:last-child { border-bottom: 0; }
.feed-item:hover { background: #fbfcfe; }
.feed-ico { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: color-mix(in srgb, var(--c, var(--orange)) 12%, #fff); color: var(--c, var(--orange)); flex-shrink: 0; }
.feed-item b { color: var(--ink); }
.feed-meta { font-size: .8rem; color: var(--muted-2); }
.feed-item.is-new { background: #fffaf7; }
.feed-item.is-new .feed-ico { animation: wiggle 1s ease-in-out 2; }
@keyframes wiggle { 25% { transform: rotate(-12deg); } 75% { transform: rotate(12deg); } }
.empty { display: grid; justify-items: center; gap: .4rem; padding: 2.5rem 1.5rem; text-align: center; color: var(--muted); }
.empty-ico { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 20px; background: var(--line-2); color: var(--muted-2); margin-bottom: .5rem; }
.empty-ico svg { width: 28px; height: 28px; }
.empty b { color: var(--ink-2); font-size: 1.02rem; }

/* Tableaux */
.table-wrap { overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.table th { text-align: left; padding: .75rem 1.2rem; font-size: .74rem; font-weight: 750; letter-spacing: .05em; text-transform: uppercase; color: var(--muted-2); background: #fbfcfe; border-bottom: 1px solid var(--line); white-space: nowrap; }
.table td { padding: .85rem 1.2rem; border-bottom: 1px solid var(--line-2); vertical-align: middle; }
.table tr:last-child td { border-bottom: 0; }
.table tr:hover td { background: #fbfcfe; }
.table .num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }

/* Checklist de démarrage */
.checklist { display: grid; gap: .5rem; }
.check-item { display: flex; align-items: center; gap: .8rem; padding: .75rem .9rem; border-radius: 14px; border: 1px solid var(--line); transition: background .2s, border-color .2s; }
.check-item:hover { border-color: #cbd5e1; background: #fbfcfe; }
.check-item .ci-box { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; border: 2px solid #cbd5e1; flex-shrink: 0; }
.check-item.is-done .ci-box { background: var(--success); border-color: var(--success); color: #fff; }
.check-item.is-done .ci-box svg { width: 14px; height: 14px; stroke-width: 3; }
.check-item.is-done .ci-text { color: var(--muted-2); text-decoration: line-through; }
.check-item .ci-text { font-weight: 650; font-size: .9rem; }
.check-item > svg:last-child { margin-left: auto; color: var(--muted-2); }
.progress { height: 8px; border-radius: 99px; background: var(--line-2); overflow: hidden; }
.progress span { display: block; height: 100%; width: var(--p); border-radius: inherit; background: linear-gradient(90deg, var(--success), #4ade80); transition: width .8s var(--ease); }

/* Onglets */
.tabs { display: flex; gap: .3rem; padding: .3rem; border-radius: 14px; background: #fff; border: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; margin-bottom: 1.25rem; }
.tab { display: inline-flex; align-items: center; gap: .45rem; padding: .55rem .95rem; border-radius: 10px; font-weight: 650; font-size: .88rem; color: var(--muted); white-space: nowrap; border: 0; background: none; transition: background .2s, color .2s; }
.tab:hover { color: var(--navy); background: var(--line-2); }
.tab.is-active { background: var(--navy); color: #fff; }
.tab .side-badge { margin-left: .2rem; }

/* Écran : éditeur avec aperçu */
.editor { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 1.5rem; align-items: start; }
.editor-preview { position: sticky; top: 90px; display: grid; justify-items: center; gap: .8rem; }
.preview-frame { width: 340px; height: 690px; border-radius: 46px; padding: 10px; background: linear-gradient(145deg, #1f2937, #0b1220); box-shadow: var(--shadow-xl); position: relative; }
.preview-frame::before { content: ''; position: absolute; z-index: 2; top: 20px; left: 50%; width: 92px; height: 26px; transform: translateX(-50%); border-radius: 99px; background: #05070c; }
.preview-frame iframe { width: 100%; height: 100%; border: 0; border-radius: 37px; background: #fff; }
.preview-frame.is-loading iframe { opacity: .5; }
@media (max-width: 1180px) { .editor { grid-template-columns: 1fr; } .editor-preview { position: static; order: -1; } .preview-frame { width: 300px; height: 610px; } }
@media (max-width: 640px) { .editor-preview { display: none; } }
.sortable { display: grid; grid-template-columns: minmax(0, 1fr); gap: .55rem; }
.sort-item { display: flex; align-items: center; gap: .8rem; padding: .8rem .9rem; border-radius: 14px; border: 1px solid var(--line); background: #fff; transition: box-shadow .2s, border-color .2s, opacity .2s; }
.sort-item.is-dragging { opacity: .5; }
.sort-item.is-over { border-color: var(--orange); box-shadow: var(--ring); }
.sort-handle { cursor: grab; color: var(--muted-2); padding: .2rem; display: grid; place-items: center; border-radius: 8px; touch-action: none; }
.sort-handle:hover { background: var(--line-2); }
.sort-item.is-off { background: #fafbfc; }
.sort-item.is-off .feat-row-ico { filter: grayscale(1); opacity: .5; }
.sort-item .feat-row-ico { width: 38px; height: 38px; }
.sort-item b { color: var(--navy); font-size: .92rem; }
.warn-text { display: inline-flex; align-items: center; gap: .3rem; color: #b45309; font-size: .8rem; font-weight: 600; }
.warn-text:hover { text-decoration: underline; }
.sort-move { display: none; }
@media (pointer: coarse) { .sort-move { display: inline-flex; } }

/* Carte / menu */
.menu-layout { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 1.25rem; align-items: start; }
.cat-list { display: grid; gap: .3rem; padding: .6rem; }
.cat-link { display: flex; align-items: center; gap: .65rem; padding: .65rem .75rem; border-radius: 11px; font-weight: 650; font-size: .9rem; color: var(--ink-2); transition: background .2s; }
.cat-link:hover { background: var(--line-2); }
.cat-link.is-active { background: var(--orange-50); color: var(--orange-600); }
.cat-link .count { margin-left: auto; font-size: .75rem; color: var(--muted-2); font-weight: 700; }
.cat-link.is-off { opacity: .55; }
@media (max-width: 900px) { .menu-layout { grid-template-columns: 1fr; } .cat-list { display: flex; overflow-x: auto; } .cat-link { white-space: nowrap; } }
.items { display: grid; gap: .7rem; }
.item { display: flex; align-items: center; gap: 1rem; padding: .8rem; border-radius: 16px; background: #fff; border: 1px solid var(--line); transition: box-shadow .2s, opacity .2s; }
.item:hover { box-shadow: var(--shadow); }
.item.is-off { opacity: .6; }
.item-img { width: 72px; height: 72px; border-radius: 12px; background: var(--line-2); display: grid; place-items: center; color: var(--muted-2); overflow: hidden; flex-shrink: 0; }
.item-img img { width: 100%; height: 100%; object-fit: cover; }
.item-name { font-weight: 700; color: var(--navy); }
.item-desc { font-size: .84rem; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.item-price { font-weight: 800; color: var(--ink); white-space: nowrap; }
.item-actions { display: flex; align-items: center; gap: .35rem; }
.item-badges { display: flex; flex-wrap: wrap; gap: .3rem; margin-top: .3rem; }
@media (max-width: 560px) { .item { flex-wrap: wrap; } .item-img { width: 56px; height: 56px; } .item-actions { width: 100%; justify-content: flex-end; border-top: 1px solid var(--line-2); padding-top: .5rem; } }
.chips { display: flex; flex-wrap: wrap; gap: .45rem; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; }
.chip span { display: inline-flex; align-items: center; gap: .35rem; padding: .4rem .75rem; border-radius: 99px; border: 1.5px solid var(--line); font-size: .84rem; font-weight: 650; cursor: pointer; transition: all .2s; }
.chip input:checked + span { border-color: var(--orange); background: var(--orange-50); color: var(--orange-600); }
.chip input:focus-visible + span { box-shadow: var(--ring); }
.icon-pick { display: grid; grid-template-columns: repeat(auto-fill, minmax(42px, 1fr)); gap: .4rem; }
.icon-pick label { position: relative; }
.icon-pick input { position: absolute; opacity: 0; }
.icon-pick span { display: grid; place-items: center; height: 42px; border-radius: 11px; border: 1.5px solid var(--line); color: var(--muted); cursor: pointer; transition: all .2s; }
.icon-pick input:checked + span { border-color: var(--orange); background: var(--orange-50); color: var(--orange-600); }

/* QR / emplacements */
.points-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 1rem; }
.point-card { position: relative; display: grid; justify-items: center; gap: .6rem; padding: 1.1rem 1rem 1rem; border-radius: 18px; background: #fff; border: 1px solid var(--line); text-align: center; transition: box-shadow .2s, transform .2s var(--ease); }
.point-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.point-card .qr-holder { min-height: 130px; }
.point-card b { color: var(--navy); }
.point-actions { display: flex; gap: .3rem; }
.point-general { border: 2px solid var(--orange); background: linear-gradient(180deg, #fff, #fffaf7); }
.url-box { display: flex; align-items: center; gap: .5rem; padding: .3rem .3rem .3rem .9rem; border-radius: 12px; background: var(--line-2); font-size: .88rem; font-weight: 600; color: var(--navy); }
.url-box span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* Avis */
.stars { display: inline-flex; gap: 1px; color: #f59e0b; }
.stars svg { width: 16px; height: 16px; fill: currentColor; stroke-width: 1.5; }
.stars .off { color: #e2e8f0; }
.review { padding: 1.1rem 1.4rem; border-bottom: 1px solid var(--line-2); }
.review:last-child { border-bottom: 0; }
.review.is-unread { background: #fffaf7; box-shadow: inset 3px 0 0 var(--orange); }
.review p { margin-top: .4rem; color: var(--ink-2); }
.aspects { display: flex; flex-wrap: wrap; gap: .35rem; margin-top: .5rem; }
.rating-bars { display: grid; gap: .45rem; }
.rating-bar { display: grid; grid-template-columns: 32px 1fr 36px; align-items: center; gap: .6rem; font-size: .84rem; font-weight: 650; color: var(--muted); }
.rating-bar .progress span { background: linear-gradient(90deg, #f59e0b, #fbbf24); }
.big-rating { font-family: var(--display); font-weight: 800; font-size: 3.4rem; color: var(--navy); line-height: 1; letter-spacing: -.04em; }

/* Demandes en direct */
.req-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1rem; }
.req { position: relative; padding: 1.1rem; border-radius: 18px; background: #fff; border: 1px solid var(--line); display: grid; gap: .6rem; animation: reqIn .5s var(--ease-spring); }
@keyframes reqIn { from { opacity: 0; transform: scale(.94); } }
.req.is-new { border-color: var(--orange); box-shadow: 0 10px 30px -14px rgba(250,48,9,.5); }
.req-point { font-family: var(--display); font-weight: 800; font-size: 1.35rem; color: var(--navy); }
.req-type { display: flex; align-items: center; gap: .5rem; font-weight: 700; }
.req-type span { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--orange-50); color: var(--orange); }
.req-note { padding: .6rem .8rem; border-radius: 10px; background: var(--bg); font-size: .88rem; color: var(--ink-2); }
.live-pill { display: inline-flex; align-items: center; gap: .45rem; padding: .35rem .8rem; border-radius: 99px; background: var(--success-50); color: #15803d; font-weight: 700; font-size: .8rem; }

/* Solde */
.balance { position: relative; overflow: hidden; padding: 1.6rem; border-radius: 22px; background: linear-gradient(135deg, var(--navy-950), var(--navy) 70%); color: #fff; }
.balance::after { content: ''; position: absolute; right: -40px; bottom: -60px; width: 220px; height: 220px; border-radius: 50%; background: rgba(250,48,9,.35); filter: blur(50px); }
.balance small { color: rgba(255,255,255,.7); font-weight: 600; }
.balance-val { position: relative; z-index: 1; margin: .3rem 0 1.1rem; font-family: var(--display); font-weight: 800; font-size: clamp(2.2rem, 4vw, 2.8rem); letter-spacing: -.04em; }
.balance-val span { font-size: 1rem; font-weight: 650; opacity: .7; }
.balance .btn { position: relative; z-index: 1; }

/* Abonnement */
.plan-status { display: flex; align-items: center; gap: 1.2rem; flex-wrap: wrap; }
.plan-ring { --p: 0; width: 86px; height: 86px; border-radius: 50%; display: grid; place-items: center; background: conic-gradient(var(--ring-c, var(--success)) calc(var(--p) * 1%), var(--line-2) 0); flex-shrink: 0; }
.plan-ring > span { display: grid; place-items: center; width: 70px; height: 70px; border-radius: 50%; background: #fff; text-align: center; line-height: 1; }
.plan-ring b { font-family: var(--display); font-size: 1.5rem; color: var(--navy); }
.plan-ring small { display: block; font-size: .68rem; color: var(--muted); font-weight: 650; }
.durations { display: grid; grid-template-columns: repeat(4, 1fr); gap: .6rem; }
.duration .choice-box { flex-direction: column; align-items: flex-start; gap: .15rem; padding: .9rem; position: relative; }
.duration b { color: var(--navy); }
.duration .amount { font-family: var(--display); font-weight: 750; font-size: 1.15rem; color: var(--ink); }
.duration small { font-size: .75rem; color: var(--muted-2); }
.duration .gift { position: absolute; top: -9px; right: 8px; padding: .1rem .45rem; border-radius: 99px; background: var(--success); color: #fff; font-size: .68rem; font-weight: 800; }
@media (max-width: 700px) { .durations { grid-template-columns: 1fr 1fr; } }
.pay-methods { display: flex; flex-wrap: wrap; gap: .4rem; }
.pay-methods span { padding: .25rem .6rem; border-radius: 8px; background: var(--line-2); font-size: .76rem; font-weight: 750; color: var(--muted); }

/* Page retour de paiement */
.pay-return { max-width: 480px; margin: 0 auto; text-align: center; padding: 4rem 1.5rem; }
.pay-state-ico { display: inline-grid; place-items: center; width: 84px; height: 84px; border-radius: 50%; margin-bottom: 1.2rem; }
.pay-state-ico svg { width: 40px; height: 40px; }
.pay-state-ico.is-pending { background: var(--info-50); color: #2563eb; }
.pay-state-ico.is-pending svg { animation: spin 1.4s linear infinite; }
.pay-state-ico.is-paid { background: var(--success-50); color: var(--success); animation: pop .6s var(--ease-spring); }
.pay-state-ico.is-failed { background: var(--danger-50); color: var(--danger); }
@keyframes pop { from { transform: scale(.4); } }

/* Impression des QR */
.print-sheet { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8mm; padding: 10mm; }
.print-card { break-inside: avoid; display: grid; justify-items: center; gap: 3mm; padding: 6mm; border: 1px dashed #cbd5e1; border-radius: 6mm; text-align: center; }
.print-card b { font-size: 15pt; color: var(--navy); }
.print-card .p-name { font-size: 10pt; color: var(--muted); }
.print-card .p-cta { padding: 2mm 4mm; border-radius: 3mm; color: #fff; font-weight: 700; font-size: 9pt; }
.print-bar { position: sticky; top: 0; display: flex; align-items: center; gap: 1rem; padding: 1rem 1.5rem; background: #fff; border-bottom: 1px solid var(--line); z-index: 5; }
@media print { .print-bar { display: none; } .print-sheet { padding: 0; } body { background: #fff; } @page { margin: 10mm; } }
@media (max-width: 700px) { .print-sheet { grid-template-columns: 1fr 1fr; } }

/* Admin */
.admin-side { background: #111827; }
.kv { display: grid; grid-template-columns: 160px 1fr; gap: .6rem 1rem; font-size: .9rem; }
.kv dt { color: var(--muted); font-weight: 600; }
.kv dd { margin: 0; font-weight: 600; }
.filters { display: flex; flex-wrap: wrap; gap: .6rem; align-items: center; margin-bottom: 1rem; }
.filters .input, .filters .select { width: auto; min-height: 40px; }

/* Page « Apparence & fonctions » */
.scr-hero { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; padding: clamp(1.2rem, 3vw, 2.2rem); background: radial-gradient(70% 90% at 0% 0%, #fff4ef 0%, transparent 60%), radial-gradient(60% 80% at 100% 100%, #eef3fa 0%, transparent 60%), #fff; overflow: hidden; }
.scr-phone { display: grid; justify-items: center; gap: .9rem; }
.scr-live { display: inline-flex; align-items: center; gap: .45rem; font-size: .8rem; font-weight: 650; color: #15803d; }
.scr-side { min-width: 0; max-width: 560px; }
.scr-title { font-family: var(--display); font-size: clamp(1.8rem, 3.4vw, 2.6rem); letter-spacing: -.035em; color: var(--navy); margin: .2rem 0 .4rem; }
.scr-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; align-items: start; }
@media (max-width: 1180px) { .scr-cols { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 860px) {
    .scr-hero { grid-template-columns: minmax(0, 1fr); text-align: center; }
    .scr-side { margin: 0 auto; }
    .scr-side .swatches, .scr-side .row { justify-content: center; }
    .scr-phone .pframe { --w: 250; }
}
.ob-wide { max-width: 1120px; margin: 0 auto; }
.swatch-default { display: grid; place-items: center; background: #fff; color: var(--navy); box-shadow: inset 0 0 0 2px var(--line); }
.swatch-default svg { width: 16px; height: 16px; }
.swatch-default.is-on { box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--navy); }

/* Réservations & commandes */
.gate { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; padding: 1rem 1.2rem; border-radius: 18px; background: linear-gradient(110deg, #fff4ef, #eef3fa); border: 1px solid var(--orange-100); }
.gate-art { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 15px; background: var(--orange); color: #fff; flex-shrink: 0; }
.gate b { color: var(--navy); }
.res-list { display: grid; gap: .8rem; }
.res { display: flex; gap: 1rem; padding: 1rem; border-radius: 18px; background: #fff; border: 1px solid var(--line); }
.res.is-pending { border-color: #fcd34d; box-shadow: 0 10px 24px -18px rgba(217,119,6,.6); }
.res-date { display: grid; justify-items: center; align-content: center; width: 62px; flex-shrink: 0; padding: .5rem 0; border-radius: 14px; background: var(--navy); color: #fff; line-height: 1.1; }
.res-date b { font-family: var(--display); font-size: 1.5rem; }
.res-date small { font-size: .7rem; text-transform: uppercase; opacity: .8; }
.res-date em { margin-top: .25rem; padding: .1rem .4rem; border-radius: 6px; background: var(--orange); font-style: normal; font-size: .72rem; font-weight: 800; }
.res-name { font-size: 1.05rem; color: var(--navy); }
.res-meta { display: flex; flex-wrap: wrap; gap: .3rem .9rem; margin-top: .3rem; font-size: .84rem; color: var(--muted); }
.res-meta span { display: inline-flex; align-items: center; gap: .3rem; }
.res-meta svg { width: 14px; height: 14px; }
.res-note { margin-top: .45rem; padding: .5rem .7rem; border-radius: 10px; background: var(--bg); font-size: .86rem; }
@media (max-width: 520px) { .res { flex-direction: column; } .res-date { width: auto; grid-auto-flow: column; justify-content: start; gap: .5rem; padding: .4rem .7rem; } }
.kanban { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; align-items: start; }
.kcol { padding: .7rem; border-radius: 20px; background: color-mix(in srgb, var(--c) 6%, #fff); border: 1px solid color-mix(in srgb, var(--c) 18%, #fff); display: grid; gap: .6rem; }
.kcol > header { display: flex; align-items: center; justify-content: space-between; padding: .2rem .3rem; font-weight: 800; color: var(--c); }
.kcol > header span { display: inline-flex; align-items: center; gap: .4rem; }
.kcol > header b { min-width: 26px; height: 26px; display: grid; place-items: center; border-radius: 99px; background: var(--c); color: #fff; font-size: .8rem; }
.kempty { padding: 1.4rem .5rem; text-align: center; font-size: .84rem; color: var(--muted-2); border: 1.5px dashed color-mix(in srgb, var(--c) 25%, #fff); border-radius: 14px; }
.kcard { padding: .85rem; border-radius: 16px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); animation: reqIn .5s var(--ease-spring); }
.kcard.is-new { border-color: var(--orange); box-shadow: 0 10px 26px -16px rgba(250,48,9,.6); }
.kcode { font-family: var(--display); font-size: 1.25rem; color: var(--navy); }
.kwho { margin-top: .15rem; font-size: .86rem; }
.kbadges { display: flex; flex-wrap: wrap; gap: .3rem; margin-top: .45rem; }
.kbadges svg { width: 12px; height: 12px; }
.kitems { margin: .55rem 0 0; padding: .5rem .65rem; border-radius: 10px; background: var(--bg); font-size: .86rem; display: grid; gap: .15rem; }
.knote { display: flex; gap: .35rem; margin-top: .4rem; font-size: .8rem; color: var(--muted); }
.knote svg { width: 14px; height: 14px; flex-shrink: 0; margin-top: .1rem; }
@media (max-width: 1100px) { .kanban { grid-template-columns: minmax(0, 1fr); } }

/* Page « Mon site public » */
.pub-hero { padding: 1.3rem 1.4rem; background: radial-gradient(70% 120% at 0% 0%, #fff4ef, transparent 60%), radial-gradient(60% 100% at 100% 100%, #eef3fa, transparent 60%), #fff; }
.pub-status { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.pub-status .url-box { max-width: 520px; }
.pub-ico { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 18px; background: var(--line-2); color: var(--muted); flex-shrink: 0; }
.pub-ico.is-on { background: linear-gradient(135deg, var(--orange), #ff8a65); color: #fff; box-shadow: 0 12px 24px -12px rgba(250,48,9,.7); }
.pub-ico svg { width: 26px; height: 26px; }
.pub-title { font-size: 1.15rem; color: var(--navy); }
.pub-benefits { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1rem; }
.pub-benefits span { display: inline-flex; align-items: center; gap: .4rem; padding: .4rem .8rem; border-radius: 99px; background: #fff; border: 1px solid var(--line); font-weight: 650; font-size: .84rem; color: var(--navy); }
.pub-benefits svg { width: 15px; height: 15px; color: var(--orange); }
.pub-live { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.5rem 2.5rem; align-items: center; padding: clamp(1.2rem, 3vw, 2rem); background: radial-gradient(70% 90% at 30% 0%, #eef3fa, transparent 70%), #fff; overflow: hidden; }
.pub-devices { position: relative; width: fit-content; max-width: 100%; margin: 0 auto; padding: 0 74px 1.4rem 0; }
.pub-laptop { max-width: 100%; }
.pub-devices .pub-phone { position: absolute; right: 0; bottom: 0; }
.pub-qr { display: flex; align-items: center; gap: 1rem; padding: .9rem; border-radius: 16px; background: var(--bg); }
.pub-qr b { color: var(--navy); }
.pub-services { display: grid; gap: .7rem; }
.pub-svc { display: flex; align-items: center; gap: 1rem; padding: 1rem; border-radius: 16px; border: 1px solid var(--line); }
.pub-svc b { color: var(--navy); }
.pub-side { max-width: 640px; margin: 0 auto; width: 100%; }
@media (min-width: 1600px) { .pub-live { grid-template-columns: auto minmax(0, 1fr); } .pub-side { margin: 0; } }
@media (max-width: 1180px) { .pub-laptop { --w: 520 !important; } }
@media (max-width: 760px) { .pub-laptop { --w: 270 !important; } .pub-phone { --w: 96 !important; } .pub-devices { padding: 0 40px .5rem 0; } }
.side-tag { margin-left: auto; padding: .1rem .45rem; border-radius: 99px; background: rgba(255,255,255,.1); color: rgba(255,255,255,.7); font-size: .64rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.ci-sep { margin: .5rem 0 .1rem; font-size: .7rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted-2); }
.check-item.is-optional { border-style: dashed; background: linear-gradient(110deg, #fff7f3, #fff); }
.check-item.is-optional .ci-box { border-color: var(--orange-100); color: var(--orange); }
.check-item.is-optional .ci-box svg { width: 14px; height: 14px; }
.ci-sub { display: block; font-size: .76rem; font-weight: 500; color: var(--muted-2); text-decoration: none; }
@media (max-width: 560px) { .pub-status .url-box .btn-ghost { display: none; } }

/* Bannière du site public */
.ban { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 1.4rem; align-items: start; }
.ban-now { position: relative; aspect-ratio: 16 / 7; border-radius: 18px; overflow: hidden; background: var(--line-2); }
.ban-now img { width: 100%; height: 100%; object-fit: cover; }
.ban-tag { position: absolute; left: .7rem; top: .7rem; padding: .25rem .6rem; border-radius: 99px; background: rgba(2,20,40,.7); color: #fff; font-size: .74rem; font-weight: 700; }
.ban-upload { position: absolute; right: .7rem; bottom: .7rem; cursor: pointer; }
.ban-stock { display: grid; grid-template-columns: repeat(4, 1fr); gap: .45rem; }
.ban-pick { position: relative; cursor: pointer; }
.ban-pick input { position: absolute; opacity: 0; }
.ban-pick img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 10px; border: 2.5px solid transparent; transition: border-color .2s, transform .2s; }
.ban-pick:hover img { transform: scale(1.03); }
.ban-pick span { position: absolute; top: 6px; right: 6px; display: none; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--orange); color: #fff; }
.ban-pick span svg { width: 13px; height: 13px; stroke-width: 3; }
.ban-pick input:checked + img { border-color: var(--orange); }
.ban-pick input:checked ~ span { display: grid; }
.ban-pick input:focus-visible + img { box-shadow: var(--ring); }
@media (max-width: 900px) { .ban { grid-template-columns: 1fr; } .ban-stock { grid-template-columns: repeat(3, 1fr); } }
