/* Sante24 — administration */
:root {
  --accent: #1f7a4d; --text: #1a1a1a; --muted: #6b6b6b; --line: #e7e7e4;
  --bg: #f5f5f3; --card: #fff; --danger: #b42318; --wa: #25d366; --radius: 10px;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--text); font: 15px/1.5 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { line-height: 1.25; margin: 0 0 12px; }
h2 { font-size: 1.05rem; }
h3 { font-size: .95rem; }
p { margin: 0 0 10px; }
img { max-width: 100%; }
.muted { color: var(--muted); }
.small { font-size: .85rem; }
.center { text-align: center; }
.mt { margin-top: 20px; }
.warn { color: #b54708; font-weight: 600; }
code { background: #f0f0ee; padding: 1px 5px; border-radius: 4px; font-size: .85em; }

/* Mise en page */
.admin { display: flex; min-height: 100vh; }
.sidebar { width: 236px; background: #fff; border-right: 1px solid var(--line); display: flex; flex-direction: column; position: sticky; top: 0; height: 100vh; flex-shrink: 0; }
.brand { display: block; padding: 18px 20px; font-weight: 700; font-size: 1.2rem; color: var(--accent); border-bottom: 1px solid var(--line); }
.brand img { max-height: 40px; }
.sidebar nav { padding: 10px; display: flex; flex-direction: column; gap: 2px; overflow-y: auto; }
.sidebar nav a { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 8px; color: #3a3a3a; font-weight: 500; }
.sidebar nav a:hover { background: var(--bg); text-decoration: none; }
.sidebar nav a.active { background: #ecf5ef; color: var(--accent); }
.pill { margin-left: auto; background: #e5484d; color: #fff; font-size: .72rem; border-radius: 10px; padding: 1px 7px; }
.sidebar-foot { margin-top: auto; padding: 14px 20px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 6px; font-size: .88rem; }
.sidebar-foot a { color: var(--muted); }
.main { flex: 1; min-width: 0; }
.topnav { display: flex; align-items: center; gap: 12px; padding: 18px 28px 0; }
.topnav h1 { font-size: 1.45rem; margin: 0; }
.menu-btn { display: none; background: #fff; border: 1px solid var(--line); border-radius: 8px; font-size: 1.2rem; padding: 4px 10px; cursor: pointer; }
.content { padding: 18px 28px 60px; max-width: 1280px; }
@media (max-width: 900px) {
  .sidebar { position: fixed; z-index: 40; left: -260px; transition: left .2s; box-shadow: 0 0 30px rgba(0,0,0,.15); }
  .sidebar.open { left: 0; }
  .menu-btn { display: inline-block; }
  .topnav { padding: 14px 16px 0; }
  .content { padding: 14px 16px 60px; }
}

/* Composants */
.panel { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; margin-bottom: 18px; }
.panel.narrow { max-width: 760px; }
.panel-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 12px; }
.panel-head h2 { margin: 0; }
.cols { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; align-items: start; }
.cols-wide { grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); }
@media (max-width: 1000px) { .cols, .cols-wide { grid-template-columns: 1fr; } }
.toolbar { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.toolbar-right { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.quick { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 18px; }
.filters, .search { display: flex; gap: 8px; flex-wrap: wrap; }
.filters input, .filters select, .search input { width: auto; min-width: 200px; margin: 0; }
.tabs { display: flex; gap: 4px; flex-wrap: wrap; }
.tabs a { padding: 7px 12px; border-radius: 8px; color: var(--muted); font-weight: 500; font-size: .9rem; }
.tabs a span { background: #ececea; border-radius: 10px; padding: 0 7px; font-size: .78rem; margin-left: 4px; }
.tabs a.active { background: #fff; color: var(--text); border: 1px solid var(--line); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; background: var(--text); color: #fff; border: 1px solid var(--text);
  padding: 9px 16px; border-radius: 8px; font: inherit; font-weight: 500; cursor: pointer; text-decoration: none !important; white-space: nowrap; }
.btn:hover { opacity: .88; }
.btn-light { background: #fff; color: var(--text); border-color: #d6d6d2; }
.btn-light:hover { background: var(--bg); opacity: 1; }
.btn-wa { background: var(--wa); border-color: var(--wa); color: #fff; }
.btn-block { width: 100%; }
.link-btn, .link-danger { background: none; border: 0; padding: 0; font: inherit; cursor: pointer; color: var(--muted); text-decoration: underline; font-size: .88rem; }
.link-danger { color: var(--danger); }
.inline { display: inline; }
.stack { display: flex; flex-direction: column; gap: 8px; }

.alert { padding: 11px 14px; border-radius: 8px; margin-bottom: 14px; background: #ecf7f0; color: #14532d; border: 1px solid #cbe8d6; }
.alert-error { background: #fdecea; color: var(--danger); border-color: #f6c9c4; }
.alert-info { background: #eef4ff; color: #1e3a8a; border-color: #cfdcfb; }

/* Tableaux */
.table-wrap { overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; }
.table th { text-align: left; font-size: .78rem; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); font-weight: 600; padding: 8px 10px; border-bottom: 1px solid var(--line); }
.table td { padding: 10px; border-bottom: 1px solid #f0f0ee; vertical-align: middle; }
.table tr:last-child td { border-bottom: 0; }
.table.compact td { padding: 7px 6px; }
.table .num { text-align: right; white-space: nowrap; }
.table .center { text-align: center; }
.table tr.dim td { opacity: .55; }
.table tr.clickable { cursor: pointer; }
.table tr.clickable:hover td { background: #fafaf8; }
.total-row td { border-top: 1px solid var(--line); font-size: 1.05rem; }
.thumb-cell { width: 56px; }
.thumb-cell img { width: 44px; height: 44px; object-fit: contain; background: #f6f6f4; border-radius: 6px; display: block; }
.actions { display: flex; gap: 12px; justify-content: flex-end; align-items: center; }
.actions a { font-size: 1rem; }
@media (max-width: 700px) { .hide-sm { display: none; } }
.pager { display: flex; gap: 6px; margin-top: 14px; }
.pager a { padding: 4px 11px; border: 1px solid var(--line); border-radius: 6px; color: var(--text); }
.pager a.active { background: var(--text); color: #fff; }
.empty { text-align: center; padding: 30px 0; }

.status { display: inline-block; font-size: .78rem; font-weight: 600; padding: 2px 9px; border-radius: 999px; background: #eee; white-space: nowrap; }
.s-new { background: #fff1e0; color: #b54708; }
.s-confirmed { background: #eef4ff; color: #1e40af; }
.s-shipping { background: #f3ecff; color: #6b21a8; }
.s-delivered { background: #e7f6ec; color: #166534; }
.s-cancelled { background: #f2f2f0; color: #6b6b6b; }
.s-error { background: #fdecec; color: #b42318; }
.tag-mini { color: #c08a00; margin-left: 4px; }
.wa-mini { display: inline-block; background: var(--wa); color: #fff !important; font-size: .7rem; font-weight: 700; padding: 3px 7px; border-radius: 6px; text-decoration: none !important; }

/* Tableau de bord */
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 18px; }
.kpis-2 { grid-template-columns: 1fr 1fr; }
@media (max-width: 900px) { .kpis { grid-template-columns: 1fr 1fr; } }
.kpi { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; display: flex; flex-direction: column; gap: 2px; }
.kpi span { color: var(--muted); font-size: .85rem; }
.kpi strong { font-size: 1.45rem; }
.kpi small { color: var(--muted); font-size: .8rem; }
.bars { display: flex; align-items: flex-end; gap: 6px; height: 160px; padding-top: 10px; }
.bar { flex: 1; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 4px; }
.bar span { width: 100%; background: var(--accent); border-radius: 4px 4px 0 0; min-height: 2px; opacity: .85; }
.bar small { font-size: .7rem; color: var(--muted); }

/* Formulaires */
.form label { display: block; font-weight: 500; font-size: .9rem; margin-bottom: 14px; }
input, select, textarea { width: 100%; font: inherit; color: inherit; border: 1px solid #d6d6d2; border-radius: 8px; padding: 9px 11px; background: #fff; }
.form label > input, .form label > select, .form label > textarea { margin-top: 5px; font-weight: 400; }
input:focus, select:focus, textarea:focus { outline: 2px solid #cfe5d8; border-color: var(--accent); }
textarea { resize: vertical; }
.check { display: flex !important; align-items: center; gap: 8px; font-weight: 400 !important; }
.check input { width: auto; margin: 0 !important; accent-color: var(--accent); }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 600px) { .grid-2 { grid-template-columns: 1fr; gap: 0; } }
.hint { font-size: .82rem; color: var(--muted); }
.multi { min-height: 140px; }
.img-field { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 8px; }
.img-preview { width: 110px; height: 110px; flex-shrink: 0; background: #f6f6f4; border: 1px solid var(--line); border-radius: 8px; display: grid; place-items: center; overflow: hidden; }
.img-preview img { max-width: 100%; max-height: 100%; object-fit: contain; }
.img-preview.logo-prev { width: 180px; height: 80px; }
.img-preview img.faded { opacity: .5; }
.img-field > div:last-child { flex: 1; }
.gallery-admin { display: flex; gap: 10px; flex-wrap: wrap; }
.g-item { position: relative; width: 84px; height: 84px; background: #f6f6f4; border-radius: 8px; border: 1px solid var(--line); }
.g-item img { width: 100%; height: 100%; object-fit: contain; }
.g-del { position: absolute; top: -8px; right: -8px; width: 24px; height: 24px; border-radius: 50%; border: 0; background: var(--danger); color: #fff; cursor: pointer; font-size: 1rem; line-height: 1; }
.sticky-actions { position: sticky; bottom: 0; background: linear-gradient(transparent, var(--bg) 30%); padding: 16px 0; display: flex; gap: 8px; flex-wrap: wrap; z-index: 5; }
.danger-zone { display: flex; gap: 20px; justify-content: flex-end; padding: 12px 0; }
.note { background: #fffbea; border: 1px solid #f3e7b3; border-radius: 8px; padding: 10px 12px; margin: 12px 0; font-size: .92rem; }
.status-pick { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }
.radio-pill { margin: 0 !important; cursor: pointer; }
.radio-pill input { display: none; }
.radio-pill span { display: inline-block; padding: 7px 14px; border-radius: 999px; border: 2px solid transparent; font-size: .88rem; font-weight: 600; opacity: .55; }
.radio-pill input:checked + span { opacity: 1; border-color: currentColor; }
.color-field { display: flex; align-items: center; gap: 12px; margin-top: 5px; }
.color-field input { width: 56px; height: 40px; padding: 2px; }
.switch { width: 38px; height: 22px; border-radius: 11px; border: 0; background: #d6d6d2; position: relative; cursor: pointer; padding: 0; }
.switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; transition: left .15s; }
.switch.on { background: var(--accent); }
.switch.on::after { left: 19px; }
.settings-nav { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 14px; }
.settings-nav a { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 5px 12px; font-size: .85rem; color: var(--text); }
.settings .panel { max-width: 820px; scroll-margin-top: 16px; }

/* Recommandations */
.reco-row { display: grid; grid-template-columns: minmax(0, 2fr) 70px minmax(0, 2fr) 34px; gap: 8px; margin-bottom: 8px; align-items: center; }
@media (max-width: 700px) { .reco-row { grid-template-columns: 1fr 70px 34px; } .reco-row .ri-advice { grid-column: 1 / -1; grid-row: 2; } }
.ri-del { width: 34px; height: 38px; border: 1px solid #d6d6d2; background: #fff; border-radius: 8px; cursor: pointer; font-size: 1.1rem; color: var(--danger); }
.reco-total { margin-top: 14px; font-size: 1.02rem; }
.copy-field { display: flex; gap: 8px; margin-bottom: 14px; }
.copy-field input { font-weight: 600; color: var(--accent); }
.share-btns { display: flex; gap: 8px; flex-wrap: wrap; }
.share { border-color: #cbe8d6; background: #fbfefc; }

/* Connexion / installation */
.auth-page { display: grid; place-items: center; min-height: 100vh; padding: 20px; }
.auth-box { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 32px; width: 100%; max-width: 400px; }
.auth-box h1 { font-size: 1.3rem; }
.auth-box h3 { margin-top: 22px; }
.auth-logo { margin-bottom: 18px; font-size: 1.3rem; color: var(--accent); }
.auth-logo img { max-height: 48px; }
.auth-box ol { padding-left: 20px; }

/* Publicités */
.src { display: inline-block; font-size: .78rem; font-weight: 600; padding: 2px 9px; border-radius: 999px; background: #f0f0ee; color: #444; }
.src-facebook { background: #e8f0fe; color: #1d4ed8; }
.src-instagram { background: #fdeef6; color: #be185d; }
.src-tiktok { background: #eef2f2; color: #111; }
.src-whatsapp { background: #e7f8ee; color: #128c4a; }
.src-youtube { background: #fdecec; color: #b91c1c; }
.pick-list { display: flex; flex-direction: column; gap: 4px; max-height: 560px; overflow-y: auto; }
.pick { display: flex; align-items: center; gap: 12px; padding: 8px; border-radius: 8px; color: var(--text); }
.pick:hover { background: var(--bg); text-decoration: none; }
.pick.dim { opacity: .5; }
.pick img { width: 40px; height: 40px; object-fit: contain; background: #f6f6f4; border-radius: 6px; flex-shrink: 0; }
.pick span { flex: 1; display: flex; flex-direction: column; font-weight: 500; font-size: .92rem; }
.pick small { color: var(--muted); font-weight: 400; }
.pick b { color: var(--accent); font-size: .85rem; font-weight: 600; }
.ad-head { display: flex; gap: 14px; align-items: center; }
.ad-head img { width: 64px; height: 64px; object-fit: contain; background: #f6f6f4; border-radius: 8px; }
.src-pick { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 8px; }
.src-pick .radio-pill span { background: #fff; border: 1px solid #d6d6d2; opacity: 1; font-weight: 500; color: var(--text); }
.src-pick .radio-pill input:checked + span { background: var(--text); color: #fff; border-color: var(--text); }
.dist-badge { display: inline-block; font-size: .75rem; font-weight: 600; padding: 1px 8px; border-radius: 999px; background: #fff4d6; color: #8a5a00; }
#distSel { margin-bottom: 4px; }

/* Choix du thème (Paramètres → Apparence) */
.field-label { font-size: .92rem; font-weight: 500; margin: 0 0 8px; }
.theme-pick { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; margin-bottom: 10px; }
.form .theme-opt, .theme-opt { position: relative; display: flex; flex-direction: column; gap: 6px; border: 2px solid var(--line); border-radius: 12px; padding: 14px; cursor: pointer; margin: 0; font-weight: 400; }
.theme-opt input { position: absolute; opacity: 0; pointer-events: none; }
.theme-opt:has(input:checked) { border-color: var(--text); box-shadow: 0 0 0 3px rgba(0,0,0,.06); }
.theme-opt:has(input:focus-visible) { outline: 2px solid var(--text); outline-offset: 2px; }
.theme-sw { display: flex; gap: 4px; }
.theme-sw i { width: 22px; height: 22px; border-radius: 50%; border: 1px solid rgba(0,0,0,.15); display: block; }
.theme-opt strong { font-size: .98rem; }
.theme-opt em { font-style: normal; font-weight: 500; color: var(--muted); font-size: .85rem; }
.theme-opt small { color: var(--muted); font-size: .82rem; line-height: 1.4; }

/* Connexion ProsTracker (fiche commande) */
.pt-sync { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); }
.pt-sync .status { margin-right: 4px; }

/* Bouton « Revenir en haut » (page Paramètres) */
.to-top { position: fixed; right: 24px; bottom: 96px; z-index: 20; width: 46px; height: 46px; border: 0; border-radius: 50%; background: var(--accent); color: #fff; font-size: 1.35rem; line-height: 1; cursor: pointer; box-shadow: 0 4px 14px rgba(0,0,0,.18); opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity .2s, transform .2s, visibility .2s; }
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { filter: brightness(1.1); }
.to-top:focus-visible { outline: 3px solid #fff; outline-offset: 2px; box-shadow: 0 0 0 6px var(--accent); }
@media (max-width: 640px) { .to-top { right: 14px; bottom: 84px; width: 42px; height: 42px; } }

/* Rôles des administrateurs */
.role-tag { display: inline-block; font-size: .7rem; font-weight: 600; color: var(--muted); border: 1px solid var(--line); border-radius: 4px; padding: 0 5px; margin-left: 2px; }
.perm-box { border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 16px 4px; margin: 4px 0 16px; }
.perm-box legend { font-weight: 600; padding: 0 6px; }
.perm-box[hidden] { display: none; }
.row-muted td { opacity: .6; }
.nowrap { white-space: nowrap; }
.locked-field { background: #f7f7f5; border: 1px dashed var(--line); border-radius: 8px; padding: 8px 12px; font-size: .9rem; }

/* Espace distributeur */
.dist-area { background: var(--bg); }
.dist-wrap { max-width: 1040px; margin: 0 auto; padding: 0 16px; }
.dist-top { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 10; }
.dist-top-inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 12px; padding-bottom: 8px; }
.dist-brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.1rem; color: var(--accent); }
.dist-brand img { max-height: 36px; width: auto; }
.dist-brand small { font-size: .75rem; font-weight: 600; color: var(--muted); border: 1px solid var(--line); border-radius: 4px; padding: 1px 6px; }
.dist-who { font-size: .9rem; color: var(--muted); }
.dist-nav { display: flex; gap: 4px; overflow-x: auto; padding-bottom: 8px; }
.dist-nav a { padding: 7px 12px; border-radius: 8px; color: #3a3a3a; white-space: nowrap; font-weight: 500; text-decoration: none; }
.dist-nav a.active { background: #eef5f1; color: var(--accent); }
.dist-nav .dist-out { margin-left: auto; color: var(--muted); }
.dist-main { padding-top: 18px; padding-bottom: 40px; }
.dist-login { max-width: 420px; margin: 40px auto; }
.dist-login h1 { font-size: 1.4rem; }
.btn-block { width: 100%; justify-content: center; }
@media (max-width: 640px) { .dist-who { display: none; } .dist-main { padding-top: 12px; } }
.dist-main .cols { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.dist-main .panel { min-width: 0; }
@media (max-width: 760px) { .dist-main .cols { grid-template-columns: minmax(0, 1fr); } }

/* Vidéos produit */
.video-row { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 10px; }
@media (max-width: 640px) { .video-row { grid-template-columns: minmax(0, 1fr); gap: 0; } }
.vid-tag { display: inline-block; font-size: .72rem; font-weight: 600; padding: 0 6px; border-radius: 4px; background: #eee; color: #333; margin-left: 4px; }
.vid-youtube { background: #fde8e8; color: #b42318; }
.vid-facebook { background: #e7effd; color: #1d4ed8; }
.vid-tiktok { background: #1a1a1a; color: #fff; }
.vid-vimeo { background: #e3f6fb; color: #0e7490; }

/* ===== ProsTracker Boutique : super administrateur, mode assistance, pages de la plateforme ===== */
.admin.platform .sidebar{background:#1b1f1d;color:#e8eae7}
.admin.platform .sidebar a{color:#e8eae7}
.admin.platform .sidebar nav a.active,.admin.platform .sidebar nav a:hover{background:#2f3532;color:#fff}
.admin.platform .sidebar .brand{color:#fff}
.admin.platform .sidebar .brand small{display:block;font-size:.75rem;font-weight:500;color:#b9bcb8;margin-top:2px}
.admin.platform .sidebar .muted{color:#b9bcb8}
.help-banner{background:#eef3fa;border:1px solid #cfddf0;color:#1d3f6b}
.help-banner a{color:#1d3f6b;font-weight:600}
.slug-field{display:flex;align-items:center;gap:6px;margin-top:6px}
.slug-field .muted{white-space:nowrap;font-size:.85rem}
.slug-field input{margin:0;flex:1;min-width:0}
.access-box{line-height:1.7}
.small-kpi{font-size:1.1rem}
.platform-home,.paused-box{text-align:center;max-width:520px}
.platform-name{font-weight:800;font-size:1.05rem;color:#0f6b4f;margin:0 0 12px}
.paused-logo{max-height:64px;max-width:220px;margin:0 auto 12px;display:block}
@media (max-width:640px){.slug-field{flex-wrap:wrap}.slug-field .muted{white-space:normal;word-break:break-all}}
.suspend-zone{border-color:#f0c9c4}
.suspend-zone .form{max-width:640px}
.wizard{max-width:480px;width:100%}
.wizard-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:10px}
.wizard-top .platform-name{margin:0}
.wizard-steps{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;margin-bottom:18px}
.wizard-steps i{height:6px;border-radius:3px;background:#e2e0db}
.wizard-steps i.on{background:#0f6b4f}
.wizard .theme-pick{grid-template-columns:repeat(2,minmax(0,1fr))}
.wizard .link-btn{margin-top:12px;background:none;border:0;color:#4a4d4a;text-decoration:underline;cursor:pointer;font:inherit;padding:10px}
.share-shop{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px;background:#eef6f2;border:1px solid #cfe5da;color:#0b5c43}
.share-shop a{color:#0b5c43;word-break:break-all}

/* Étape 3 : signalements, statistiques */
.report-item .panel-head h2 { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.stats-bars { height: 120px; margin-bottom: 14px; }
.sidebar nav a .pill { margin-left: auto; }
.tag-review { display: inline-block; margin-left: 6px; font-size: .72rem; font-weight: 600; padding: 1px 8px; border-radius: 999px; background: #fff4d6; color: #8a5a00; vertical-align: middle; }
.inline-form { display: flex; gap: 10px; align-items: flex-end; flex-wrap: wrap; }
.inline-form label { margin: 0; flex: 1; min-width: 220px; }

/* Vitrine de la plateforme et pages légales */
body.vitrine { background: #fff; }
.v-wrap { max-width: 1040px; margin: 0 auto; padding: 0 16px; }
.v-top { border-bottom: 1px solid var(--line); }
.v-top .v-wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 64px; }
.v-brand { font-weight: 800; font-size: 1.1rem; color: var(--text); text-decoration: none; }
.v-hero { background: #f3faf6; padding: 56px 0 48px; }
.v-kicker { color: var(--accent); font-weight: 700; font-size: .9rem; margin: 0 0 10px; }
.v-hero h1 { font-size: clamp(1.8rem, 5vw, 2.8rem); line-height: 1.15; margin: 0 0 16px; }
.v-lead { font-size: 1.1rem; color: #3f3f46; max-width: 640px; }
.v-cta { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 22px; }
.v-steps, .v-features, .v-final { padding-top: 48px; }
.v-steps ol { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); counter-reset: s; }
.v-steps li { counter-increment: s; border: 1px solid var(--line); border-radius: 14px; padding: 18px; display: flex; flex-direction: column; gap: 6px; }
.v-steps li::before { content: counter(s); width: 30px; height: 30px; border-radius: 50%; background: var(--accent); color: #fff; display: grid; place-items: center; font-weight: 700; }
.v-steps li span { color: var(--muted); font-size: .93rem; }
.v-features { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.v-features h3 { margin: 0 0 6px; font-size: 1.02rem; }
.v-features p { margin: 0; color: var(--muted); font-size: .93rem; }
.v-final { text-align: center; padding-bottom: 56px; }
.v-final .v-cta { justify-content: center; }
.v-notfound { padding: 64px 16px; text-align: center; }
.v-foot { border-top: 1px solid var(--line); padding: 20px 0; margin-top: 32px; font-size: .88rem; }
.v-foot .v-wrap { display: flex; gap: 16px; flex-wrap: wrap; color: var(--muted); }
.v-foot a { color: var(--muted); }
.legal { padding-top: 32px; max-width: 760px; }
.legal h1 { font-size: 1.7rem; }
.legal .rich h2 { font-size: 1.12rem; margin-top: 26px; }
.legal .rich li { margin-bottom: 4px; }
