/* =========================================================
   Gliveo CRM — interface d'administration
   Noir & or, lisible sur téléphone comme sur ordinateur.
   ========================================================= */
:root {
  --side: #0F0D0B;
  --side-2: #1C1915;
  --side-line: #2B2621;
  --side-text: #D9D1C4;
  --side-muted: #8F877B;
  --gold: #C9A24D;
  --gold-ink: #8A6420;
  --gold-soft: #F5ECD8;
  --ink: #15120F;
  --ink-2: #3E3933;
  --muted: #6B645B;
  --bg: #F4F2EE;
  --card: #FFFFFF;
  --line: #E6E0D6;
  --line-2: #F0EBE3;
  --info: #2F5C8F; --info-bg: #E7EEF7;
  --wait: #925C0E; --wait-bg: #FBF0DA;
  --ok: #2E6E44; --ok-bg: #E4F1E8;
  --bad: #A8392A; --bad-bg: #FBE9E5;
  --new: #15120F; --new-bg: #F1D58F;
  --radius: 14px;
  --serif: "Fraunces", Georgia, serif;
  --sans: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 15px/1.5 var(--sans); -webkit-font-smoothing: antialiased; }
a { color: var(--gold-ink); }
h1, h2, h3 { margin: 0; line-height: 1.2; }
p { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; border-radius: 6px; }
.ico { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.num { font-variant-numeric: tabular-nums; text-align: right; white-space: nowrap; }
.nowrap { white-space: nowrap; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
[hidden] { display: none !important; }

/* ---------- Structure ---------- */
.shell { display: grid; grid-template-columns: 240px minmax(0, 1fr); min-height: 100vh; }
.side { background: var(--side); color: var(--side-text); display: flex; flex-direction: column; position: sticky; top: 0; height: 100vh; padding: 18px 12px; }
.side__brand { display: flex; align-items: center; gap: 10px; padding: 4px 8px 18px; border-bottom: 1px solid var(--side-line); margin-bottom: 12px; }
.side__brand strong { font-family: var(--serif); font-size: 20px; color: #fff; display: block; line-height: 1.1; }
.side__brand small { font-size: 12px; color: var(--side-muted); }
.side__mark { width: 34px; height: 34px; border-radius: 50%; border: 2px solid var(--gold); display: grid; place-items: center; font-family: var(--serif); font-weight: 700; color: var(--gold); flex: none; }
.side__nav { display: flex; flex-direction: column; gap: 2px; flex: 1; overflow-y: auto; }
.side__nav a { display: flex; align-items: center; gap: 10px; padding: 10px 10px; border-radius: 10px; color: var(--side-text); text-decoration: none; font-size: 14.5px; }
.side__nav a:hover { background: var(--side-2); color: #fff; }
.side__nav a.is-active { background: var(--side-2); color: #fff; box-shadow: inset 3px 0 0 var(--gold); }
.side__nav a.is-active .ico { color: var(--gold); }
.side__nav a.is-locked { color: var(--side-muted); }
.side__nav a.is-locked .ico:last-child { margin-left: auto; width: 15px; height: 15px; }
.side__count { margin-left: auto; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 11px; background: var(--gold); color: var(--ink); font-size: 12px; display: grid; place-items: center; }
.side__user { border-top: 1px solid var(--side-line); padding: 14px 10px 0; display: flex; flex-direction: column; gap: 2px; font-size: 13px; }
.side__user a { color: var(--side-muted); }
.main { min-width: 0; display: flex; flex-direction: column; }
.top { display: flex; align-items: center; gap: 14px; padding: 18px 28px; background: var(--bg); position: sticky; top: 0; z-index: 20; border-bottom: 1px solid var(--line); }
.top h1 { font-family: var(--serif); font-weight: 500; font-size: 26px; flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.top__menu { display: none; background: none; border: 0; padding: 6px; cursor: pointer; }
.top__menu .ico { width: 24px; height: 24px; }
.top__actions { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.content { padding: 24px 28px 60px; max-width: 1240px; width: 100%; margin: 0 auto; }

/* ---------- Boutons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 40px; padding: 0 14px; border-radius: 10px; border: 1px solid transparent; font-weight: 500; font-size: 14px; text-decoration: none; cursor: pointer; white-space: nowrap; transition: background .15s, border-color .15s; }
.btn--primary { background: var(--ink); color: #fff; }
.btn--primary:hover { background: #000; }
.btn--gold { background: var(--gold); color: var(--ink); }
.btn--gold:hover { background: #B8913F; }
.btn--ghost { background: var(--card); border-color: var(--line); color: var(--ink); }
.btn--ghost:hover { border-color: var(--ink-2); }
.btn--danger { background: var(--card); border-color: #E9C3BB; color: var(--bad); }
.btn--danger:hover { background: var(--bad-bg); }
.btn--sm { min-height: 32px; padding: 0 10px; font-size: 13px; }
.btn--icon { width: 34px; min-height: 34px; padding: 0; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
.link-btn { background: none; border: 0; padding: 0; color: var(--gold-ink); cursor: pointer; text-decoration: underline; text-underline-offset: 2px; font-size: 13px; }

/* ---------- Cartes & grilles ---------- */
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; min-width: 0; }
.card + .card { margin-top: 18px; }
.card__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 14px; flex-wrap: wrap; }
.card__head h2 { font-size: 17px; font-weight: 600; }
.card--flush { padding: 0; overflow: hidden; }
.card--flush .card__head { padding: 16px 20px 0; }
.grid { display: grid; gap: 18px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.layout-side { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 18px; align-items: start; }
.stack { display: flex; flex-direction: column; gap: 18px; }
.row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.row--between { justify-content: space-between; }

.kpi { display: flex; flex-direction: column; gap: 4px; }
.kpi__label { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.kpi__value { font-family: var(--serif); font-size: 30px; line-height: 1.1; font-variant-numeric: tabular-nums; }
.kpi__sub { font-size: 13px; color: var(--muted); }
.kpi--dark { background: var(--ink); color: #fff; border-color: var(--ink); }
.kpi--dark .kpi__label, .kpi--dark .kpi__sub { color: #B9B0A2; }
.kpi--dark .kpi__value { color: var(--gold); }

/* ---------- Tableaux ---------- */
.table-wrap { overflow-x: auto; }
table.table { width: 100%; border-collapse: collapse; font-size: 14px; }
.table th { text-align: left; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); font-weight: 600; padding: 10px 14px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.table td { padding: 12px 14px; border-bottom: 1px solid var(--line-2); vertical-align: top; }
.table tr:last-child td { border-bottom: 0; }
.table tbody tr:hover td { background: #FBFAF8; }
.table a.rowlink { color: var(--ink); text-decoration: none; font-weight: 600; }
.table a.rowlink:hover { color: var(--gold-ink); }
.table .sub { display: block; font-size: 12.5px; color: var(--muted); font-weight: 400; }

/* ---------- Badges & messages ---------- */
.badge { display: inline-flex; align-items: center; padding: 2px 9px; border-radius: 999px; font-size: 12px; font-weight: 600; white-space: nowrap; }
.badge--new { background: var(--new-bg); color: var(--new); }
.badge--info { background: var(--info-bg); color: var(--info); }
.badge--wait { background: var(--wait-bg); color: var(--wait); }
.badge--ok { background: var(--ok-bg); color: var(--ok); }
.badge--bad { background: var(--bad-bg); color: var(--bad); }
.badge--muted { background: #EEEAE3; color: var(--muted); }
.badge--veg { background: #E6F0DF; color: #46703A; }
.flash { padding: 12px 16px; border-radius: 10px; margin-bottom: 16px; font-size: 14px; }
.flash--ok { background: var(--ok-bg); color: var(--ok); }
.flash--error { background: var(--bad-bg); color: var(--bad); }
.flash--info { background: var(--info-bg); color: var(--info); }
.alert { padding: 12px 14px; border-radius: 10px; font-size: 14px; background: var(--wait-bg); color: var(--wait); }
.alert--danger { background: var(--bad-bg); color: var(--bad); font-weight: 600; }

/* ---------- Formulaires ---------- */
.form { display: flex; flex-direction: column; gap: 16px; }
.fields { display: grid; gap: 14px 16px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.fields--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.fields--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.field { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.field--wide { grid-column: 1 / -1; }
.field label, .label { font-size: 13px; font-weight: 600; color: var(--ink-2); }
.hint { font-size: 12.5px; color: var(--muted); }
input[type=text], input[type=email], input[type=tel], input[type=number], input[type=date], input[type=time], input[type=password], input[type=url], input[type=search], select, textarea {
  width: 100%; min-height: 40px; padding: 8px 11px; border: 1px solid var(--line); border-radius: 9px; background: #fff; transition: border-color .15s, box-shadow .15s;
}
textarea { resize: vertical; min-height: 80px; line-height: 1.5; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201, 162, 77, .2); }
.check { display: flex; gap: 8px; align-items: flex-start; font-size: 14px; cursor: pointer; }
.check input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--ink); }
.form__actions { display: flex; gap: 10px; flex-wrap: wrap; justify-content: flex-end; padding-top: 6px; }
.inline-form { display: inline; }

.toolbar { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-bottom: 16px; }
.toolbar input[type=search] { max-width: 320px; }
.tabs { display: flex; gap: 4px; flex-wrap: wrap; border-bottom: 1px solid var(--line); margin-bottom: 18px; }
.tabs a { padding: 9px 14px; text-decoration: none; color: var(--muted); font-weight: 500; border-bottom: 2px solid transparent; margin-bottom: -1px; font-size: 14px; }
.tabs a.is-active { color: var(--ink); border-color: var(--gold); }
.tabs a .badge { margin-left: 4px; }

/* ---------- Détails ---------- */
.dl { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 7px 14px; margin: 0; font-size: 14px; }
.dl dt { color: var(--muted); }
.dl dd { margin: 0; min-width: 0; overflow-wrap: anywhere; }
.items { width: 100%; border-collapse: collapse; font-size: 14px; }
.items td { padding: 9px 0; border-bottom: 1px dashed var(--line); vertical-align: top; }
.items td small { display: block; color: var(--muted); font-size: 12.5px; }
.items .cat td { padding-top: 14px; font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-ink); border-bottom: 0; font-weight: 600; }
.items tfoot td { border: 0; padding-top: 12px; font-weight: 600; font-size: 15px; }
.quote-box { background: var(--line-2); border-radius: 10px; padding: 12px 14px; white-space: pre-wrap; font-size: 14px; }

.timeline { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.timeline li { display: grid; grid-template-columns: 10px minmax(0, 1fr); gap: 10px; font-size: 13.5px; }
.timeline li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); margin-top: 6px; }
.timeline small { display: block; color: var(--muted); font-size: 12px; }

.empty { text-align: center; padding: 40px 20px; color: var(--muted); }
.empty strong { display: block; color: var(--ink); font-size: 16px; margin-bottom: 4px; }
.empty p { margin-bottom: 14px; }
.pager { display: flex; gap: 12px; align-items: center; justify-content: center; padding: 16px; font-size: 13px; color: var(--muted); }

/* ---------- Éditeur de devis ---------- */
.lines { width: 100%; border-collapse: collapse; }
.lines th { text-align: left; font-size: 11.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); font-weight: 600; padding: 8px 6px; border-bottom: 1px solid var(--line); }
.lines td { padding: 8px 6px; border-bottom: 1px solid var(--line-2); vertical-align: top; }
.lines input, .lines select, .lines textarea { min-height: 36px; padding: 6px 8px; font-size: 14px; }
.lines textarea { min-height: 36px; height: auto; font-size: 13px; resize: vertical; }
.lines .c-qty { width: 84px; }
.lines .c-unit { width: 90px; }
.lines .c-price { width: 110px; }
.lines .c-disc { width: 76px; }
.lines .c-vat { width: 76px; }
.lines .c-total { width: 110px; text-align: right; padding-top: 16px; font-variant-numeric: tabular-nums; font-weight: 600; }
.lines .c-act { width: 104px; white-space: nowrap; }
.lines tr.is-text td { background: #FBFAF8; }
.lines tr.is-delivery td { background: #FCF8EE; }
.line-kind { display: block; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--gold-ink); font-weight: 600; margin-bottom: 3px; }
.totals { width: 100%; font-size: 14.5px; }
.totals td { padding: 5px 0; }
.totals td:last-child { text-align: right; font-variant-numeric: tabular-nums; }
.totals tr.grand td { border-top: 1px solid var(--line); padding-top: 10px; font-family: var(--serif); font-size: 22px; }
.picker { position: relative; }
.picker__list { position: absolute; z-index: 30; left: 0; right: 0; top: 100%; margin-top: 4px; background: #fff; border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 20px 40px -18px rgba(0,0,0,.35); max-height: 320px; overflow-y: auto; }
.picker__list button { display: flex; justify-content: space-between; gap: 12px; width: 100%; text-align: left; padding: 9px 12px; border: 0; background: none; cursor: pointer; font-size: 14px; }
.picker__list button:hover, .picker__list button.is-hl { background: var(--gold-soft); }
.picker__list small { display: block; color: var(--muted); font-size: 12px; }

/* ---------- Catalogue ---------- */
.cat-u { margin-bottom: 22px; }
.cat-u > h2 { font-family: var(--serif); font-weight: 500; font-size: 22px; margin-bottom: 10px; display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.cat-s { margin-bottom: 14px; }
.cat-s h3 { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--gold-ink); font-weight: 600; padding: 12px 20px 8px; display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.prow { display: grid; grid-template-columns: 52px minmax(0, 1fr) 150px 90px; gap: 14px; align-items: center; padding: 10px 20px; border-top: 1px solid var(--line-2); }
.prow img, .prow .noimg { width: 52px; height: 52px; border-radius: 10px; object-fit: cover; background: var(--line-2); }
.prow__name { font-weight: 600; text-decoration: none; color: var(--ink); }
.prow__name:hover { color: var(--gold-ink); }
.prow.is-off { opacity: .55; }
.price-input { display: flex; align-items: center; gap: 6px; }
.price-input input { text-align: right; }
.saved-tick { color: var(--ok); font-size: 12px; }
.repeater { display: flex; flex-direction: column; gap: 8px; }
.repeater__row { display: grid; gap: 8px; align-items: center; }
.repeater__row .btn--icon { color: var(--bad); }

/* ---------- Connexion ---------- */
.auth { min-height: 100vh; display: grid; place-items: center; background: var(--side); padding: 20px; }
.auth__card { width: 100%; max-width: 400px; background: var(--card); border-radius: 18px; padding: 32px; }
.auth__brand { display: flex; align-items: center; gap: 10px; margin-bottom: 22px; }
.auth__brand strong { font-family: var(--serif); font-size: 26px; }

/* =================== Responsive =================== */
@media (max-width: 1080px) {
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .layout-side { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .shell { grid-template-columns: 1fr; }
  .side { position: fixed; z-index: 50; left: 0; top: 0; bottom: 0; width: 260px; transform: translateX(-105%); transition: transform .25s ease; }
  .side.is-open { transform: none; box-shadow: 20px 0 60px rgba(0,0,0,.4); }
  .top { padding: 12px 16px; }
  .top h1 { font-size: 21px; }
  .top__menu { display: block; }
  .content { padding: 16px 16px 60px; }
  .grid-2, .grid-3, .fields, .fields--3, .fields--4 { grid-template-columns: 1fr; }
  .dl { grid-template-columns: 1fr; gap: 2px; }
  .dl dd { margin-bottom: 8px; }
  .prow { grid-template-columns: 44px minmax(0, 1fr); }
  .prow img, .prow .noimg { width: 44px; height: 44px; }
  .prow .price-input, .prow .prow__state { grid-column: 2; }
  /* tableaux en cartes */
  .table--stack thead { display: none; }
  .table--stack tr { display: block; padding: 10px 14px; border-bottom: 1px solid var(--line-2); }
  .table--stack td { display: flex; justify-content: space-between; gap: 12px; padding: 3px 0; border: 0; text-align: right; }
  .table--stack td::before { content: attr(data-label); color: var(--muted); font-size: 12.5px; text-align: left; }
  .table--stack td:first-child { display: block; text-align: left; }
  .table--stack td:first-child::before { content: none; }
  .lines thead { display: none; }
  .lines tr { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 10px; padding: 12px 0; border-bottom: 1px solid var(--line); }
  .lines td { padding: 0; border: 0; }
  .lines td.c-desc { grid-column: 1 / -1; }
  .lines .c-qty, .lines .c-unit, .lines .c-price, .lines .c-disc, .lines .c-vat, .lines .c-total, .lines .c-act { width: auto; }
  .lines td[data-label]::before { content: attr(data-label); display: block; font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
  .lines .c-total { padding-top: 0; text-align: left; }
  .lines .c-act { grid-column: 1 / -1; }
}
body.menu-open::after { content: ""; position: fixed; inset: 0; background: rgba(0,0,0,.4); z-index: 40; }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }
@media print { .side, .top__menu, .top__actions, .form__actions { display: none !important; } .shell { display: block; } }

/* Demandes d'évolution d'abonnement */
.card--accent { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201, 162, 77, .12); }
.req-decide { border: 1px solid var(--line); border-radius: 12px; padding: 14px; display: flex; flex-direction: column; gap: 10px; background: var(--surface, #fff); }
.req-decide .sub { display: block; color: var(--muted); font-size: 12.5px; margin-top: 2px; }
.req-decide__price { white-space: nowrap; font-size: 15px; }
.req-decide__fields { display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center; }
.req-decide__fields input[type=text] { flex: 1 1 260px; min-width: 0; }
.req-decide__fields .check { gap: 8px; align-items: center; }

/* Galerie photos */
.gal-quota { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; font-size: 13px; color: var(--muted); white-space: nowrap; }
.gal-quota strong { font-family: var(--serif); font-size: 22px; color: var(--ink); line-height: 1; }
.gal-quota__bar { width: 140px; height: 6px; border-radius: 3px; background: #EEEAE3; overflow: hidden; }
.gal-quota__bar i { display: block; height: 100%; background: var(--gold); border-radius: 3px; }
.gal-filter { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 20px 14px; }
.gal-filter a { display: inline-flex; gap: 6px; align-items: center; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line); text-decoration: none; font-size: 13.5px; color: var(--ink); }
.gal-filter a span { color: var(--muted); font-size: 12px; }
.gal-filter a.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }
.gal-filter a.is-active span { color: var(--gold); }
.gal-form { padding: 0 20px 20px; }
.gal-cat { display: flex; gap: 6px; align-items: center; }
.gal-cat input[type=text] { flex: 1; min-width: 0; }
.gal-cat--add { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); }
.gal-default { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); border: 0; padding: 0; }


/* Aperçu et progression des photos */
.upl:empty { display: none; }
.upl { margin-top: 10px; }
.upl__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 8px; }
.upl__grid--one { grid-template-columns: 1fr; }
.upl__item { position: relative; margin: 0; border-radius: 10px; overflow: hidden; background: #EEEAE3; border: 1px solid var(--line); }
.upl__item img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.upl__item figcaption { padding: 4px 6px; font-size: 11.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; background: #fff; }
.upl__item.is-bad { border-color: var(--bad); }
.upl__item.is-bad img { opacity: .45; }
.upl__item.is-bad figcaption { color: var(--bad); }
.upl__rm { position: absolute; top: 4px; right: 4px; width: 24px; height: 24px; border-radius: 50%; border: 0; background: rgba(15, 13, 11, .75); color: #fff; font-size: 16px; line-height: 1; cursor: pointer; }
.upl__pct { position: absolute; inset: 0 0 auto 0; aspect-ratio: 4 / 3; display: none; place-items: center; }
.upl__pct b { position: absolute; left: 0; right: 0; top: 0; height: 100%; background: rgba(15, 13, 11, .55); transition: height .2s linear; }
.upl__pct i { position: relative; font-style: normal; font-weight: 600; font-size: 15px; color: #fff; background: rgba(15, 13, 11, .6); padding: 3px 9px; border-radius: 999px; }
.upl__item.is-sending .upl__pct { display: grid; }
.upl__item.is-sending .upl__rm { display: none; }
.upl__item.is-done .upl__pct i { background: var(--gold); color: var(--ink); }
.upl__sum { margin-top: 8px; font-size: 12.5px; color: var(--muted); }
.upl__bar { margin-top: 10px; display: flex; flex-direction: column; gap: 5px; }
.upl__bar span { height: 8px; border-radius: 4px; background: #EEEAE3; overflow: hidden; }
.upl__bar i { display: block; height: 100%; width: 0; background: var(--gold); transition: width .2s linear; }
.upl__bar em { font-style: normal; font-size: 13px; font-weight: 500; }
.upl__bar.is-error em { color: var(--bad); }
.upl__bar.is-error i { background: var(--bad); }

.gal-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.gal-card { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: #fff; display: flex; flex-direction: column; transition: box-shadow .2s, transform .2s; }
.gal-card:hover { box-shadow: 0 10px 24px -14px rgba(20, 15, 8, .35); transform: translateY(-1px); }
.gal-card__img { position: relative; display: block; width: 100%; aspect-ratio: 1 / 1; padding: 0; border: 0; background: #EEEAE3; cursor: zoom-in; overflow: hidden; }
.gal-card__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.gal-card__img:hover img { transform: scale(1.05); }
.gal-card.is-off .gal-card__img img { opacity: .4; filter: grayscale(.6); }
.gal-card__flag { position: absolute; left: 8px; top: 8px; padding: 2px 8px; border-radius: 999px; background: rgba(15, 13, 11, .75); color: #fff; font-size: 11px; font-weight: 600; }
.gal-card__zoom { position: absolute; right: 8px; top: 8px; width: 30px; height: 30px; border-radius: 50%; background: rgba(255, 255, 255, .92); display: grid; place-items: center; opacity: 0; transition: opacity .2s; }
.gal-card__zoom .ico { width: 16px; height: 16px; }
.gal-card__img:hover .gal-card__zoom, .gal-card__img:focus-visible .gal-card__zoom { opacity: 1; }
.gal-card__body { padding: 8px 10px 8px; display: flex; flex-direction: column; gap: 4px; }
.gal-card__cap { margin: 0; font-size: 13px; line-height: 1.35; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gal-card__cap.is-empty { color: var(--muted); font-style: italic; }
.gal-card__foot { display: flex; align-items: center; justify-content: space-between; gap: 6px; }
.gal-card__cat { font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: #8A6420; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gal-card__tools { display: flex; gap: 2px; flex: none; }
.gal-card__tools .btn--icon { width: 28px; height: 28px; min-height: 0; padding: 0; }
.gal-card__tools .ico { width: 15px; height: 15px; }
.gal-dlg { width: min(980px, calc(100vw - 24px)); max-height: calc(100vh - 24px); padding: 0; border: 0; border-radius: 16px; overflow: hidden; }
.gal-dlg::backdrop { background: rgba(15, 13, 11, .7); }
.gal-dlg__in { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(260px, 1fr); max-height: calc(100vh - 24px); }
.gal-dlg__img { background: #15120F; display: grid; place-items: center; min-height: 320px; }
.gal-dlg__img img { width: 100%; height: 100%; max-height: calc(100vh - 24px); object-fit: contain; display: block; }
.gal-dlg__side { padding: 20px; display: flex; flex-direction: column; gap: 14px; overflow: auto; }
.gal-dlg__actions { margin-top: auto; display: flex; justify-content: space-between; gap: 8px; padding-top: 12px; border-top: 1px solid var(--line); }
@media (max-width: 720px) {
  .gal-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .gal-quota { align-items: flex-start; }
  .gal-dlg__in { grid-template-columns: 1fr; overflow: auto; }
  .gal-dlg__img { min-height: 0; max-height: 50vh; }
  .gal-dlg__img img { max-height: 50vh; }
}
.gal-del { color: var(--bad); }
.gal-quota { display: grid; grid-template-columns: auto auto; align-items: baseline; justify-content: end; column-gap: 4px; row-gap: 6px; }
.gal-quota__bar { grid-column: 1 / -1; }
input[type=file] { font-size: 13.5px; color: var(--muted); max-width: 100%; }
input[type=file]::file-selector-button { margin-right: 10px; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--ink); font: inherit; font-weight: 500; cursor: pointer; transition: border-color .2s; }
input[type=file]::file-selector-button:hover { border-color: var(--gold); }

/* Mon abonnement */
.sub-hero { background: #15120F; color: #F4EFE6; border-radius: 16px; padding: 24px; display: flex; flex-direction: column; gap: 14px; }
.sub-hero__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.sub-hero__eyebrow { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); font-weight: 600; }
.sub-hero__name { font-family: var(--serif); font-weight: 500; font-size: 30px; line-height: 1.1; margin: 4px 0 0; color: #fff; }
.sub-hero__desc { color: #A79F94; margin-top: 4px; font-size: 14px; }
.sub-hero__price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 10px; }
.sub-hero__price strong { font-family: var(--serif); font-weight: 500; font-size: 44px; line-height: 1; color: var(--gold); }
.sub-hero__price span { color: #A79F94; font-size: 14px; }
.sub-hero__price s { color: #7E766B; font-size: 15px; }
.sub-hero__price em { font-style: normal; font-size: 12px; font-weight: 600; color: #15120F; background: var(--gold); border-radius: 999px; padding: 2px 9px; }
.sub-hero__free { background: rgba(201, 162, 77, .14); border: 1px solid rgba(201, 162, 77, .4); color: #F1DDA9; border-radius: 10px; padding: 10px 14px; font-size: 14px; }
.sub-hero__lines { display: flex; flex-direction: column; gap: 6px; border-top: 1px solid #2E2924; padding-top: 12px; font-size: 13.5px; color: #D9D1C4; }
.sub-hero__lines span { display: flex; justify-content: space-between; gap: 12px; }
.sub-hero__lines b { font-weight: 500; white-space: nowrap; }
.incl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.incl__group h3 { display: flex; align-items: center; gap: 8px; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin: 0 0 10px; font-weight: 600; }
.incl ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 9px; }
.incl li { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; line-height: 1.4; }
.incl li .ico { flex: none; width: 18px; height: 18px; margin-top: 1px; }
.incl li.is-on .ico { color: #2F7A47; }
.incl li.is-off { color: var(--muted); }
.incl li.is-off .ico { color: #B8AFA3; }
.cmp { width: 100%; border-collapse: collapse; font-size: 14px; }
.cmp th, .cmp td { padding: 10px 14px; border-top: 1px solid var(--line); text-align: center; vertical-align: middle; }
.cmp th:first-child, .cmp td:first-child { text-align: left; color: var(--ink); }
.cmp thead th { border-top: 0; vertical-align: bottom; font-weight: 500; padding-top: 4px; }
.cmp thead strong { display: block; font-size: 14.5px; }
.cmp__price { display: block; font-family: var(--serif); font-size: 22px; margin-top: 2px; }
.cmp__price small { font-family: var(--sans); font-size: 12px; color: var(--muted); }
.cmp__tag { display: inline-block; margin-bottom: 6px; font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; font-weight: 600; color: #15120F; background: var(--gold); border-radius: 999px; padding: 2px 9px; }
.cmp .is-cur { background: #FBF6EA; }
.cmp__yes .ico { width: 18px; height: 18px; color: #2F7A47; }
.cmp__no { color: #C9C1B5; }
.cmp tfoot td { padding: 14px; }
.opt { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; border: 1px solid var(--line); border-radius: 12px; padding: 16px; }
.opt.is-on { border-color: var(--gold); background: #FBF6EA; }
.opt__body { flex: 1; min-width: 240px; }
.opt__body p { margin: 4px 0 0; font-size: 13.5px; color: var(--muted); line-height: 1.45; }
.opt__act { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
@media (max-width: 720px) {
  .incl { grid-template-columns: 1fr; }
  .cmp th, .cmp td { padding: 9px 8px; font-size: 13px; }
  .cmp__price { font-size: 18px; }
  .sub-hero__price strong { font-size: 36px; }
}

/* Fichiers joints par le client à sa demande */
.req-files { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 10px; }
.req-files__item { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; text-decoration: none; color: var(--ink); background: #fff; transition: box-shadow .2s; }
.req-files__item:hover { box-shadow: 0 8px 20px -12px rgba(20, 15, 8, .4); }
.req-files__item img, .req-files__pdf { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; display: grid; place-items: center; background: #EEEAE3; }
.req-files__pdf { font-family: var(--serif); font-size: 20px; color: #8A6420; }
.req-files__item span:last-child { padding: 5px 8px; font-size: 11.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.logo-prev { margin-top: 10px; padding: 12px; border: 1px solid var(--line); border-radius: 10px; background: #fff; display: inline-flex; max-width: 260px; }
.logo-prev img { max-height: 72px; max-width: 100%; width: auto; display: block; }

/* Statistiques */
.seg { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-bottom: 18px; }
.seg a { padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); background: #fff; text-decoration: none; color: var(--ink); font-size: 14px; font-weight: 500; }
.seg a.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }
.seg__note { margin-left: auto; font-size: 13px; color: var(--muted); }
.kpis { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; }
.kpis .kpi__value { font-size: 30px; }
@media (max-width: 1280px) { .kpis { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 640px) { .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); } .seg__note { margin-left: 0; width: 100%; } }
.chart-wrap { position: relative; }
.chart { width: 100%; height: auto; display: block; overflow: visible; }
.chart__grid { stroke: #ECE7DE; stroke-width: 1; }
.chart__axis { stroke: #D8D0C3; stroke-width: 1; }
.chart__tick { font-size: 11px; fill: var(--muted); font-family: inherit; }
.chart__bar { fill: #A87A2F; }
.chart__hit { fill: transparent; cursor: default; }
.chart__hit:hover { fill: rgba(168, 122, 47, .07); }
.chart-table { margin-top: 6px; font-size: 13px; }
.chart-table summary { cursor: pointer; color: var(--muted); font-size: 12.5px; }
.chart-table table { margin-top: 8px; max-height: 240px; display: block; overflow: auto; }
.chart-tip { position: fixed; z-index: 100; pointer-events: none; background: #15120F; color: #fff; font-size: 12.5px; padding: 6px 10px; border-radius: 8px; white-space: nowrap; box-shadow: 0 6px 18px rgba(0, 0, 0, .25); }
.hbars { display: flex; flex-direction: column; gap: 10px; }
.hbars__row { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr) auto; gap: 10px; align-items: center; font-size: 13.5px; }
.hbars__row--cell { grid-template-columns: minmax(0, 1fr) auto; }
.hbars__label { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hbars__track { height: 10px; border-radius: 0 4px 4px 0; background: #F3EFE8; overflow: hidden; }
.hbars__bar { display: block; height: 100%; background: #A87A2F; border-radius: 0 4px 4px 0; }
.hbars__val { font-variant-numeric: tabular-nums; white-space: nowrap; color: var(--ink); font-weight: 500; }
.funnel { display: flex; flex-direction: column; gap: 12px; }
.funnel__row { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) 90px; gap: 12px; align-items: center; font-size: 14px; }
.funnel__track { height: 22px; background: #F3EFE8; border-radius: 0 4px 4px 0; overflow: hidden; }
.funnel__bar { display: block; height: 100%; background: #A87A2F; border-radius: 0 4px 4px 0; }
.funnel__val { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.carts { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; max-height: 360px; overflow: auto; }
.carts li { border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; }
.carts .sub { display: block; font-size: 12.5px; margin-top: 3px; }
.rank { display: inline-grid; place-items: center; width: 22px; height: 22px; margin-right: 8px; border-radius: 50%; background: #F3EFE8; font-size: 12px; font-weight: 600; color: var(--muted); }
@media (max-width: 640px) { .funnel__row, .hbars__row { grid-template-columns: minmax(0, 1fr) auto; } .funnel__track, .hbars__row:not(.hbars__row--cell) .hbars__track { grid-column: 1 / -1; grid-row: 2; } }
.lock-card { max-width: 680px; margin: 20px auto; text-align: center; padding: 40px 28px; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.lock-card__ico { width: 56px; height: 56px; border-radius: 50%; background: #F6EEDC; color: #8A6420; display: grid; place-items: center; }
.lock-card h2 { font-family: var(--serif); font-weight: 500; font-size: 26px; margin: 0; }
.lock-card p { max-width: 520px; margin: 0; }
.auth__signup { margin-top: 6px; padding-top: 16px; border-top: 1px solid var(--line); display: flex; flex-direction: column; align-items: center; gap: 8px; font-size: 14px; color: var(--muted); }
.auth__signup .btn { width: 100%; }

/* =========================================================
   Espace Gliveo : comptes, abonnements, offre
   ========================================================= */
.ga-h { font-size: 17px; margin-bottom: 12px; }
.ga-h3 { font-size: 14px; margin: 18px 0 10px; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: .06em; }
.ga-label { font-weight: 500; font-size: 14px; }
.ga-sec-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 14px; flex-wrap: wrap; }
.ga-sec-head .ga-h { margin-bottom: 2px; }

/* Avatars et pastilles */
.ga-av { width: 44px; height: 44px; border-radius: 12px; display: inline-grid; place-items: center; flex: none; background: var(--ink); color: var(--gold); font-family: var(--serif); font-size: 17px; font-weight: 600; letter-spacing: .02em; }
.ga-av--img { object-fit: contain; background: #fff; border: 1px solid var(--line); padding: 4px; }
.ga-av--lg { width: 64px; height: 64px; border-radius: 16px; font-size: 24px; }
.ga-av--sm { width: 32px; height: 32px; border-radius: 9px; font-size: 13px; }
.ga-pill { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px 3px 8px; border-radius: 999px; font-size: 12px; font-weight: 600; white-space: nowrap; }
.ga-pill::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.ga-pill--actif { background: var(--ok-bg); color: var(--ok); }
.ga-pill--essai { background: var(--gold-soft); color: var(--gold-ink); }
.ga-pill--suspendu { background: #EEEAE3; color: var(--muted); }
.ga-tags { display: flex; gap: 6px; flex-wrap: wrap; }
.ga-tag { font-size: 11.5px; font-weight: 600; padding: 2px 8px; border-radius: 6px; background: var(--line-2); color: var(--ink-2); }

/* Indicateurs */
.ga-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-bottom: 18px; }
.ga-kpi { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.ga-kpi strong { font-family: var(--serif); font-size: 28px; font-weight: 500; line-height: 1.1; }
.ga-kpi__label { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.ga-kpi__sub { font-size: 13px; color: var(--muted); }
.ga-kpi__sub b { color: var(--gold-ink); }
.ga-kpi--dark { background: var(--ink); border-color: var(--ink); color: #fff; }
.ga-kpi--dark strong { color: var(--gold); }
.ga-kpi--dark .ga-kpi__label, .ga-kpi--dark .ga-kpi__sub { color: #B9B0A2; }
.ga-mix { display: flex; height: 8px; border-radius: 99px; overflow: hidden; background: var(--line-2); gap: 2px; }
.ga-mix__seg--actif { background: var(--ok); }
.ga-mix__seg--essai { background: var(--gold); }
.ga-mix__seg--suspendu { background: #C9C1B5; }
.ga-bars { display: flex; flex-direction: column; gap: 7px; margin-top: 2px; }
.ga-bars__row { display: grid; grid-template-columns: minmax(0, 1fr) 70px 18px; gap: 8px; align-items: center; font-size: 13px; }
.ga-bars__row > span:first-child { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ga-bars__track { height: 8px; background: var(--line-2); border-radius: 99px; overflow: hidden; }
.ga-bars__track span { display: block; height: 100%; background: var(--gold); border-radius: 99px; }
.ga-bars__row b { text-align: right; }

/* Barre de filtres */
.ga-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 14px; flex-wrap: wrap; }
.ga-filters { display: flex; gap: 6px; flex-wrap: wrap; }
.ga-filter { border: 1px solid var(--line); background: var(--card); border-radius: 999px; padding: 7px 14px; font-size: 14px; font-weight: 500; cursor: pointer; display: inline-flex; gap: 8px; align-items: center; }
.ga-filter span { font-size: 12px; color: var(--muted); background: var(--line-2); border-radius: 99px; padding: 0 7px; }
.ga-filter.is-on { background: var(--ink); border-color: var(--ink); color: #fff; }
.ga-filter.is-on span { background: rgba(255, 255, 255, .15); color: var(--gold); }
.ga-search { display: flex; align-items: center; gap: 8px; background: var(--card); border: 1px solid var(--line); border-radius: 999px; padding: 0 14px; min-width: 260px; color: var(--muted); }
.ga-search input { border: 0; outline: 0; background: transparent; padding: 9px 0; width: 100%; color: var(--ink); }
.ga-search:focus-within { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201, 162, 77, .18); }

/* Cartes comptes */
.ga-accs { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 14px; }
.ga-acc { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 16px; display: flex; flex-direction: column; gap: 14px; transition: border-color .15s, box-shadow .15s, transform .15s; }
.ga-acc:hover { border-color: #D5C7A8; box-shadow: 0 10px 26px rgba(21, 18, 15, .08); transform: translateY(-2px); }
.ga-acc--suspendu { opacity: .72; }
.ga-acc__link { position: absolute; inset: 0; border-radius: inherit; z-index: 1; }
.ga-acc form, .ga-acc .btn { position: relative; z-index: 2; }
.ga-acc__head { display: flex; gap: 12px; align-items: center; }
.ga-acc__id { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.ga-acc__id strong { font-size: 16px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ga-acc__id span { font-size: 13px; color: var(--muted); }
.ga-acc__plan { display: flex; justify-content: space-between; align-items: flex-end; gap: 10px; background: var(--bg); border-radius: 12px; padding: 12px 14px; }
.ga-acc__planname { display: block; font-weight: 600; }
.ga-acc__opts { display: block; font-size: 12.5px; color: var(--muted); }
.ga-acc__price { text-align: right; white-space: nowrap; }
.ga-acc__price strong { display: block; font-family: var(--serif); font-size: 22px; font-weight: 500; line-height: 1.1; }
.ga-acc__price small { font-size: 12px; color: var(--muted); }
.ga-acc__meta { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 13px; color: var(--muted); }
.ga-acc__meta li { display: inline-flex; align-items: center; gap: 5px; }
.ga-acc__meta .ico { width: 15px; height: 15px; }
.ga-acc__foot { display: flex; justify-content: space-between; align-items: center; gap: 8px; border-top: 1px solid var(--line-2); padding-top: 12px; margin-top: auto; }

/* Période offerte */
.ga-trial { display: flex; flex-direction: column; gap: 6px; }
.ga-trial__txt { display: flex; justify-content: space-between; font-size: 13px; color: var(--muted); gap: 8px; }
.ga-trial__txt strong { color: var(--gold-ink); font-weight: 600; }
.ga-trial__bar { height: 6px; background: var(--line-2); border-radius: 99px; overflow: hidden; }
.ga-trial__bar span { display: block; height: 100%; background: var(--gold); border-radius: 99px; }
.ga-trial.is-warn .ga-trial__txt strong { color: var(--bad); }
.ga-trial.is-warn .ga-trial__bar span { background: var(--bad); }

/* Fiche compte */
.ga-hero { background: var(--ink); color: #fff; border-radius: 20px; padding: 24px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 20px 24px; margin-bottom: 18px; background-image: radial-gradient(circle at 100% 0, rgba(201, 162, 77, .18), transparent 45%); }
.ga-hero .ga-av:not(.ga-av--img) { border: 1px solid rgba(201, 162, 77, .45); background: rgba(255, 255, 255, .04); }
.ga-hero__id { display: flex; gap: 16px; align-items: center; min-width: 0; }
.ga-hero__name { font-family: var(--serif); font-weight: 500; font-size: 28px; }
.ga-hero__meta { font-size: 14px; color: #B9B0A2; margin-top: 4px; }
.ga-hero__meta a { color: #E9DCBC; }
.ga-hero__price { text-align: right; display: flex; flex-direction: column; align-items: flex-end; }
.ga-hero__plan { font-size: 14px; color: #D9D1C4; }
.ga-hero__price strong { font-family: var(--serif); font-size: 38px; font-weight: 500; color: var(--gold); line-height: 1.1; }
.ga-hero__unit { font-size: 13px; color: #B9B0A2; }
.ga-hero__stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; grid-column: 1 / -1; }
.ga-hero__stats div { background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .08); border-radius: 12px; padding: 10px 12px; display: flex; flex-direction: column; }
.ga-hero__stats strong { font-size: 18px; }
.ga-hero__stats span { font-size: 12.5px; color: #B9B0A2; }
.ga-hero .ga-trial { grid-column: 1 / -1; }
.ga-hero .ga-trial__txt { color: #B9B0A2; }
.ga-hero .ga-trial__txt strong { color: var(--gold); }
.ga-hero .ga-trial__bar { background: rgba(255, 255, 255, .1); }
.ga-hero__actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 8px; }
.ga-hero__actions .btn--ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .22); }
.ga-hero__actions .btn--ghost:hover { border-color: var(--gold); color: var(--gold); }

/* Choix de formule */
.ga-pick { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 10px; }
.ga-pick__item { position: relative; cursor: pointer; }
.ga-pick__item input { position: absolute; opacity: 0; }
.ga-pick__box { display: flex; flex-direction: column; gap: 6px; height: 100%; border: 1.5px solid var(--line); border-radius: 14px; padding: 14px 16px; transition: border-color .15s, background .15s; }
.ga-pick__item:hover .ga-pick__box { border-color: #D5C7A8; }
.ga-pick__item input:checked + .ga-pick__box { border-color: var(--gold); background: #FCF8EF; box-shadow: 0 0 0 3px rgba(201, 162, 77, .16); }
.ga-pick__item input:focus-visible + .ga-pick__box { outline: 2px solid var(--gold); outline-offset: 2px; }
.ga-pick__name { font-weight: 600; }
.ga-pick__price { font-family: var(--serif); font-size: 22px; }
.ga-pick__price small { font-family: var(--sans); font-size: 12px; color: var(--muted); }

/* Interrupteurs */
.ga-switch { appearance: none; -webkit-appearance: none; width: 40px; height: 24px; border-radius: 99px; background: #D9D2C6; position: relative; flex: none; cursor: pointer; transition: background .15s; margin: 0; }
.ga-switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .2); transition: transform .15s; }
.ga-switch:checked { background: var(--gold); }
.ga-switch:checked::after { transform: translateX(16px); }
.ga-switch:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.ga-opts { display: flex; flex-direction: column; gap: 8px; }
.ga-opt { display: flex; gap: 14px; align-items: center; border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; cursor: pointer; transition: border-color .15s, background .15s; }
.ga-opt > span { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.ga-opt small { font-size: 13px; color: var(--muted); }
.ga-opt em { font-style: normal; font-weight: 600; white-space: nowrap; }
.ga-opt.is-on { border-color: var(--gold); background: #FCF8EF; }
.ga-switch-row { display: flex; gap: 16px; align-items: flex-end; flex-wrap: wrap; }

/* Segments, compteurs, remise */
.ga-seg { display: inline-flex; background: var(--bg); border: 1px solid var(--line); border-radius: 12px; padding: 3px; gap: 3px; flex-wrap: wrap; }
.ga-seg label { cursor: pointer; }
.ga-seg input { position: absolute; opacity: 0; }
.ga-seg span { display: block; padding: 7px 14px; border-radius: 9px; font-size: 14px; font-weight: 500; }
.ga-seg input:checked + span { background: var(--card); box-shadow: 0 1px 4px rgba(21, 18, 15, .12); }
.ga-seg input:focus-visible + span { outline: 2px solid var(--gold); }
.ga-step { display: flex; align-items: stretch; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: var(--card); }
.ga-step button { width: 38px; border: 0; background: var(--bg); font-size: 18px; cursor: pointer; }
.ga-step button:hover { background: var(--gold-soft); }
.ga-step input { flex: 1; min-width: 0; border: 0 !important; text-align: center; box-shadow: none !important; -moz-appearance: textfield; }
.ga-step input::-webkit-inner-spin-button { -webkit-appearance: none; }
.ga-disc { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.ga-disc input { width: 70px; }
.ga-chip { border: 1px solid var(--line); background: var(--card); border-radius: 99px; padding: 4px 10px; font-size: 13px; cursor: pointer; }
.ga-chip.is-on { background: var(--ink); color: #fff; border-color: var(--ink); }

/* Récapitulatif */
.ga-sum { position: sticky; top: 84px; background: var(--ink); color: #fff; border-radius: 18px; padding: 20px; display: flex; flex-direction: column; gap: 12px; }
.ga-sum__eyebrow { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--gold); font-weight: 600; }
.ga-sum__lines { display: flex; flex-direction: column; gap: 6px; font-size: 14px; color: #D9D1C4; }
.ga-sum__lines div { display: flex; justify-content: space-between; gap: 10px; }
.ga-sum__lines .is-disc { color: #9FD2AE; }
.ga-sum__total { display: flex; justify-content: space-between; align-items: baseline; border-top: 1px solid rgba(255, 255, 255, .12); padding-top: 12px; }
.ga-sum__total strong { font-family: var(--serif); font-size: 34px; font-weight: 500; color: var(--gold); }
.ga-sum__unit { font-size: 12px; color: #8F877B; margin-top: -8px; }
.ga-sum__facts { display: flex; flex-direction: column; gap: 6px; font-size: 13.5px; color: #D9D1C4; background: rgba(255, 255, 255, .05); border-radius: 12px; padding: 12px; }
.ga-sum__facts strong { color: #fff; }
.ga-sum__facts .muted { color: #8F877B; }
.ga-sum__facts .is-bad { color: #F3B4A8; }
.ga-sum__dirty { font-size: 13px; color: var(--gold); text-align: center; }

/* Utilisateurs et suppression */
.ga-users { list-style: none; margin: 0; padding: 0; }
.ga-users li { display: flex; gap: 12px; align-items: center; padding: 12px 18px; border-top: 1px solid var(--line-2); }
.ga-users li > div:nth-child(2) { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.ga-users li span { font-size: 13px; color: var(--muted); }
.ga-danger summary, .ga-summary { cursor: pointer; list-style: none; display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.ga-danger summary::-webkit-details-marker, .ga-summary::-webkit-details-marker { display: none; }
.ga-danger summary span { display: inline-flex; gap: 8px; align-items: center; color: var(--bad); font-weight: 600; }
.ga-danger summary::after, .ga-summary::after { content: "+"; margin-left: auto; font-size: 20px; color: var(--muted); }
.ga-danger[open] summary::after, details[open] > .ga-summary::after { content: "−"; }
.ga-danger { align-self: start; }

/* Fenêtre « Nouveau compte » */
.ga-dlg { border: 0; border-radius: 20px; padding: 24px; width: min(640px, calc(100vw - 32px)); box-shadow: 0 30px 80px rgba(0, 0, 0, .3); }
.ga-dlg::backdrop { background: rgba(15, 13, 11, .55); }
.ga-dlg__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.ga-dlg__head h2 { font-family: var(--serif); font-weight: 500; font-size: 24px; }

/* Éditeur d'offre */
.ga-offer__grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 18px; align-items: start; }
.oe-plans { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.oe-plan { border: 1.5px solid var(--line); border-radius: 16px; padding: 14px; display: flex; flex-direction: column; gap: 8px; background: var(--card); transition: border-color .15s, box-shadow .15s; }
.oe-plan.is-best { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201, 162, 77, .12); }
.oe-plan.is-new { animation: oeIn .35s ease; }
@keyframes oeIn { from { opacity: 0; transform: translateY(6px); } }
.oe-plan__bar { display: flex; gap: 8px; align-items: center; }
.oe-plan input:not(.ga-switch), .oe-plan textarea, .oe-opt input:not(.ga-switch), .oe-opt textarea, .oe-matrix input { border: 1px solid transparent; background: transparent; border-radius: 8px; padding: 4px 8px; width: 100%; transition: border-color .15s, background .15s; }
.oe-plan input:not(.ga-switch):hover, .oe-plan textarea:hover, .oe-opt input:not(.ga-switch):hover, .oe-opt textarea:hover, .oe-matrix input:hover { background: var(--bg); }
.oe-plan input:not(.ga-switch):focus, .oe-plan textarea:focus, .oe-opt input:not(.ga-switch):focus, .oe-opt textarea:focus, .oe-matrix input:focus { outline: none; border-color: var(--gold); background: #fff; box-shadow: 0 0 0 3px rgba(201, 162, 77, .15); }
.oe-badge { flex: 1; font-size: 12px !important; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--gold-ink); }
.oe-plan.is-best .oe-badge:not(:focus) { background: var(--gold) !important; color: var(--ink); width: auto; flex: 0 1 auto; field-sizing: content; min-width: 60px; border-radius: 99px; }
.oe-plan.is-best .oe-plan__bar::after { content: ""; flex: 1; }
.oe-name { font-weight: 600; font-size: 18px !important; }
.oe-name--sm { font-size: 16px !important; }
.oe-price { display: flex; align-items: center; gap: 4px; }
.oe-price input { font-family: var(--serif); font-size: 34px !important; font-weight: 500; color: var(--gold-ink); width: 150px !important; padding: 0 8px !important; }
.oe-price span { font-size: 12px; color: var(--muted); line-height: 1.2; }
.oe-price--sm input { font-size: 24px !important; width: 96px !important; text-align: right; }
.oe-desc { resize: vertical; font-size: 14px; color: var(--ink-2); line-height: 1.45; }
.oe-flags { display: flex; flex-direction: column; gap: 8px; border-top: 1px solid var(--line-2); padding-top: 10px; }
.oe-flag { display: flex; gap: 10px; align-items: flex-start; cursor: pointer; }
.oe-flag > span { display: flex; flex-direction: column; min-width: 0; }
.oe-flag strong { font-size: 14px; font-weight: 600; }
.oe-flag small { font-size: 12.5px; color: var(--muted); }
.oe-flag .ga-switch { margin-top: 1px; }
.oe-photos input { width: 64px !important; border: 1px solid var(--line) !important; padding: 2px 6px !important; display: inline-block; }
.oe-plan__foot { font-size: 12.5px; color: var(--muted); border-top: 1px solid var(--line-2); padding-top: 8px; }
.oe-icon { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 8px; border: 1px solid transparent; background: transparent; color: var(--muted); cursor: pointer; flex: none; }
.oe-icon:hover:not(:disabled) { background: var(--bg); color: var(--ink); border-color: var(--line); }
.oe-icon:disabled { opacity: .3; cursor: not-allowed; }
.oe-icon .ico { width: 16px; height: 16px; }
.oe-key { display: inline-grid; place-items: center; min-width: 22px; height: 20px; padding: 0 4px; border-radius: 6px; background: var(--line-2); font-size: 12px; font-weight: 600; }
.oe-key--yes { background: var(--ok-bg); color: var(--ok); }
.oe-key--txt { background: var(--gold-soft); color: var(--gold-ink); }

.oe-matrix { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 14px; min-width: 560px; }
.oe-matrix th { text-align: left; font-size: 12px; font-weight: 600; color: var(--muted); padding: 8px; border-bottom: 1px solid var(--line); }
.oe-matrix th.oe-m-plan { text-align: center; color: var(--ink); font-size: 13px; min-width: 96px; }
.oe-matrix td { padding: 4px; border-bottom: 1px solid var(--line-2); vertical-align: middle; }
.oe-matrix tr[data-f]:hover td { background: #FBFAF7; }
.oe-m-group th { background: var(--bg); color: var(--ink); text-transform: uppercase; letter-spacing: .06em; font-size: 11.5px; border-bottom: 0; padding: 8px 10px; }
.oe-m-label { width: 100%; min-width: 200px; }
.oe-m-group th .oe-addrow { float: right; text-transform: none; letter-spacing: 0; font-size: 12.5px; font-weight: 600; border: 0; background: transparent; color: var(--gold-ink); cursor: pointer; padding: 0; }
.oe-m-group th .oe-addrow:hover { text-decoration: underline; }
.oe-m-rule select { font-size: 13px; padding: 5px 4px; border: 1px solid var(--line); border-radius: 8px; background: var(--card); width: 112px; }
.oe-m-tools { white-space: nowrap; text-align: right; }
.oe-m-tools > * { vertical-align: middle; }
.oe-cell { text-align: center; }
.oe-tog { width: 40px; height: 32px; border-radius: 9px; border: 1px dashed var(--line); background: var(--card); cursor: pointer; display: inline-grid; place-items: center; font-weight: 600; color: var(--muted); transition: transform .1s; }
.oe-tog:active { transform: scale(.94); }
.oe-tog.is-yes { background: var(--ok-bg); border: 1px solid #BFDCC8; color: var(--ok); }
.oe-tog .ico { width: 17px; height: 17px; stroke-width: 2.4; }
.oe-celltxt { display: inline-flex; align-items: center; gap: 2px; background: var(--gold-soft); border-radius: 9px; padding: 2px; }
.oe-celltxt input { width: 110px; text-align: center; font-size: 13px; color: var(--gold-ink); font-weight: 600; }
.oe-cyc { border: 0; background: transparent; cursor: pointer; color: var(--gold-ink); padding: 0 6px; }
.oe-cell.is-auto { color: var(--muted); }
.oe-yes { color: var(--ok); opacity: .7; display: inline-grid; }
.oe-yes .ico { width: 17px; height: 17px; stroke-width: 2.4; }
.oe-txt { font-size: 12.5px; font-weight: 600; color: var(--gold-ink); }
.oe-no { color: #C9C1B5; }

.oe-opts { display: flex; flex-direction: column; gap: 10px; }
.oe-opt { display: flex; gap: 14px; border: 1px solid var(--line); border-radius: 14px; padding: 12px; }
.oe-opt__main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.oe-opt__side { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.oe-flag--inline { padding: 0 8px; }

/* Aperçu en direct (rendu comme la page d'accueil) */
.ga-preview { position: sticky; top: 84px; display: flex; flex-direction: column; gap: 12px; max-height: calc(100vh - 170px); }
.ga-preview__head { display: flex; justify-content: space-between; align-items: baseline; font-weight: 600; font-size: 14px; }
.ga-preview__head .small { color: var(--muted); font-weight: 400; }
.pv { background: #0F0D0B; color: #F3EDE3; border-radius: 18px; padding: 18px; overflow: auto; display: flex; flex-direction: column; gap: 12px; flex: 1; min-height: 200px; }
.pv__eyebrow { text-align: center; font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); font-weight: 600; }
.pv__title { text-align: center; font-family: var(--serif); font-size: 18px; margin-top: -6px; }
.pv__title i { color: var(--gold); }
.pv__plan { position: relative; border: 1px solid #2B2621; border-radius: 14px; padding: 16px 14px 14px; background: #17140F; }
.pv__plan.is-best { border-color: var(--gold); }
.pv__tag { position: absolute; top: -9px; left: 14px; background: var(--gold); color: #0F0D0B; font-size: 9.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; padding: 2px 8px; border-radius: 99px; }
.pv__name { font-family: var(--serif); font-size: 18px; }
.pv__desc { font-size: 12px; color: #B9B0A2; margin-top: 2px; }
.pv__price { font-size: 11px; color: #8F877B; margin: 8px 0; }
.pv__price strong { font-family: var(--serif); font-size: 24px; font-weight: 500; color: #F3EDE3; margin-right: 4px; }
.pv__plan.is-best .pv__price strong { color: var(--gold); }
.pv ul { list-style: none; margin: 0; padding: 8px 0 0; border-top: 1px solid #2B2621; display: flex; flex-direction: column; gap: 5px; font-size: 12px; }
.pv li { display: flex; gap: 6px; align-items: flex-start; }
.pv li .ico { width: 13px; height: 13px; color: var(--gold); margin-top: 2px; stroke-width: 2.4; }
.pv li.is-off { color: #6B645B; }
.pv li.is-off > span:first-child { width: 13px; text-align: center; }
.pv li b { color: #fff; }
.pv__btn { display: block; text-align: center; margin-top: 12px; font-size: 12px; font-weight: 600; padding: 8px; border-radius: 99px; background: #26211B; }
.pv__plan.is-best .pv__btn { background: var(--gold); color: #0F0D0B; }
.pv__sub { font-family: var(--serif); text-align: center; font-size: 15px; margin-top: 4px; }
.pv__opt { display: flex; justify-content: space-between; gap: 8px; font-size: 12px; border: 1px solid #2B2621; border-radius: 10px; padding: 8px 10px; }
.ga-impact { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 14px; display: flex; flex-direction: column; gap: 6px; font-size: 13.5px; }
.ga-impact__title { font-weight: 600; }
.ga-impact__row { display: flex; justify-content: space-between; gap: 8px; align-items: baseline; }
.ga-impact__row span { color: var(--muted); }
.ga-impact s { color: var(--muted); font-size: 12px; }
.ga-impact .is-up { color: var(--ok); }
.ga-impact .is-down { color: var(--bad); }
.ga-impact__note { font-size: 12px; color: var(--muted); }

.ga-savebar { position: sticky; bottom: 12px; z-index: 20; margin-top: 18px; display: flex; justify-content: space-between; align-items: center; gap: 12px; background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 10px 12px 10px 18px; box-shadow: 0 10px 30px rgba(21, 18, 15, .1); font-size: 14px; color: var(--muted); flex-wrap: wrap; }
.ga-savebar.is-dirty { background: var(--ink); border-color: var(--ink); color: var(--gold); }
.ga-savebar.is-dirty .btn--ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .25); }
.ga-savebar .is-warn { color: var(--bad); font-weight: 600; }
.ga-savebar.is-dirty .is-warn { color: #F3B4A8; }

@media (max-width: 1180px) {
  .ga-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ga-offer__grid { grid-template-columns: minmax(0, 1fr); }
  .ga-preview { position: static; max-height: none; }
}
@media (max-width: 760px) {
  .ga-hero { grid-template-columns: 1fr; padding: 18px; }
  .ga-hero__price { align-items: flex-start; text-align: left; }
  .ga-hero__stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ga-hero__name { font-size: 23px; }
  .ga-sum { position: static; }
  .ga-search { min-width: 0; width: 100%; }
  .oe-opt { flex-direction: column; }
  .oe-opt__side { flex-direction: row; align-items: center; justify-content: space-between; }
}
@media (max-width: 560px) {
  .ga-kpis { grid-template-columns: 1fr; }
  .ga-accs { grid-template-columns: 1fr; }
}
.ga-opt.is-incl { opacity: .55; cursor: default; }
.ga-opt__incl { color: var(--gold-ink) !important; font-weight: 600; }
.ga-offer__grid > * { min-width: 0; }
.oe-m-label input { min-width: 230px; }
@media (max-width: 760px) {
  .ga-subform .fields--3 { grid-template-columns: minmax(0, 1fr); }
  .ga-subform .fields--3 .field { grid-column: auto !important; }
  .ga-hero__id { align-items: flex-start; }
}

/* =========================================================
   Mon site : réglages + aperçu en direct
   ========================================================= */
.sb { display: grid; grid-template-columns: 420px minmax(0, 1fr); gap: 18px; align-items: start; }
.sb__panel { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.sb__status { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 14px; display: flex; flex-direction: column; gap: 10px; }
.sb__online { display: flex; gap: 12px; align-items: center; cursor: pointer; }
.sb__online span { display: flex; flex-direction: column; }
.sb__online small { color: var(--muted); font-size: 13px; }
.sb__addr { display: flex; align-items: center; gap: 8px; background: var(--bg); border-radius: 10px; padding: 8px 12px; font-size: 13.5px; color: var(--ink); text-decoration: none; min-width: 0; }
.sb__addr span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sb__addr:hover { background: var(--gold-soft); }
.sb__note { font-size: 13px; color: var(--ink-2); background: var(--gold-soft); border-radius: 12px; padding: 10px 12px; }
.sb__sec { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 0 16px; }
.sb__sec > summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 10px; padding: 14px 0; font-weight: 600; font-size: 15px; }
.sb__sec > summary::-webkit-details-marker { display: none; }
.sb__sec > summary::after { content: "+"; margin-left: auto; font-size: 20px; color: var(--muted); font-weight: 400; }
.sb__sec[open] > summary::after { content: "−"; }
.sb__sec[open] { padding-bottom: 16px; }
.sb__sec .field { margin-bottom: 12px; }
.sb__sec .field input, .sb__sec .field textarea { width: 100%; }
.sb__n { width: 24px; height: 24px; border-radius: 50%; background: var(--ink); color: var(--gold); display: grid; place-items: center; font-size: 12px; font-weight: 700; }
.sb__label { font-weight: 600; font-size: 14px; margin: 14px 0 8px; }
.sb__hint { display: block; font-size: 12.5px; color: var(--muted); margin-top: 4px; }
.sb__hint.is-warn { color: var(--bad); }
.sb__opt { font-weight: 400; color: var(--muted); font-size: 12px; }
.sb__count { display: block; text-align: right; font-size: 11.5px; color: var(--muted); margin-top: 2px; }
.sb__2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

.sb__themes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.sb__theme { cursor: pointer; position: relative; }
.sb__theme input, .sb__font input, .sb__layout input { position: absolute; opacity: 0; }
.sb__theme-box { display: flex; flex-direction: column; border: 1.5px solid var(--line); border-radius: 14px; overflow: hidden; transition: border-color .15s, box-shadow .15s; }
.sb__theme-prev { background: var(--p); color: var(--i); padding: 12px; display: flex; flex-direction: column; gap: 5px; height: 92px; }
.sb__theme-t { font-size: 17px; font-weight: 600; line-height: 1.1; }
.sb__theme-t i { color: var(--a); font-style: normal; font-weight: 400; font-size: 1.25em; }
.sb__theme-l { height: 5px; width: 85%; border-radius: 9px; background: var(--i); opacity: .18; }
.sb__theme-l--s { width: 60%; }
.sb__theme-b { margin-top: auto; width: 54px; height: 14px; border-radius: 99px; background: var(--a); }
.sb__theme-name { font-size: 13px; font-weight: 600; padding: 7px 10px; background: var(--card); border-top: 1px solid var(--line-2); }
.sb__theme input:checked + .sb__theme-box { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201, 162, 77, .25); }
.sb__theme input:focus-visible + .sb__theme-box, .sb__font input:focus-visible + span, .sb__layout input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }

.sb__colors { display: flex; flex-direction: column; gap: 10px; }
.sb__color { display: flex; align-items: center; gap: 12px; }
.sb__color > div { flex: 1; display: flex; flex-direction: column; }
.sb__color small { color: var(--muted); font-size: 12.5px; }
.sb__swatch { position: relative; width: 42px; height: 42px; border-radius: 12px; cursor: pointer; flex: none; }
.sb__swatch input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; height: 100%; }
.sb__swatch span { display: block; width: 100%; height: 100%; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .12); }
.sb__reset { border: 0; background: var(--bg); border-radius: 99px; padding: 4px 10px; font-size: 12px; cursor: pointer; color: var(--muted); }
.sb__reset:hover { color: var(--ink); }
.sb__presets { display: flex; gap: 6px; flex-wrap: wrap; padding-left: 54px; }
.sb__preset { width: 26px; height: 26px; border-radius: 50%; border: 2px solid #fff; box-shadow: 0 0 0 1px var(--line); cursor: pointer; }
.sb__preset.is-on { box-shadow: 0 0 0 2px var(--ink); }
.sb__fonts { display: flex; flex-direction: column; gap: 8px; }
.sb__font { cursor: pointer; position: relative; }
.sb__font > span { display: flex; flex-direction: column; border: 1.5px solid var(--line); border-radius: 12px; padding: 9px 12px; }
.sb__font small { color: var(--muted); font-size: 12.5px; }
.sb__font input:checked + span { border-color: var(--gold); background: #FCF8EF; }

.sb__layouts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-bottom: 12px; }
.sb__layout { cursor: pointer; position: relative; }
.sb__layout > span { display: flex; flex-direction: column; align-items: center; text-align: center; border: 1.5px solid var(--line); border-radius: 12px; padding: 10px 6px; gap: 2px; }
.sb__layout strong { font-size: 13px; }
.sb__layout small { font-size: 11.5px; color: var(--muted); }
.sb__layout input:checked + span { border-color: var(--gold); background: #FCF8EF; }
.sb__lay { position: relative; width: 64px; height: 40px; border-radius: 6px; background: var(--bg); margin-bottom: 4px; overflow: hidden; }
.sb__lay b { position: absolute; background: #D5C7A8; border-radius: 2px; }
.sb__lay--collage b:nth-child(1) { left: 4px; top: 8px; width: 22px; height: 4px; background: var(--ink); }
.sb__lay--collage b:nth-child(2) { right: 4px; top: 4px; width: 26px; height: 18px; }
.sb__lay--collage b:nth-child(3) { right: 12px; bottom: 4px; width: 20px; height: 14px; background: #C9B58B; }
.sb__lay--photo { background: #6B5A3E; }
.sb__lay--photo b:nth-child(1) { left: 5px; top: 10px; width: 26px; height: 4px; background: #fff; }
.sb__lay--photo b:nth-child(2) { left: 5px; top: 18px; width: 18px; height: 3px; background: rgba(255, 255, 255, .6); }
.sb__lay--photo b:nth-child(3) { left: 5px; top: 26px; width: 12px; height: 5px; background: var(--gold); border-radius: 9px; }
.sb__lay--texte b:nth-child(1) { left: 16px; top: 10px; width: 32px; height: 4px; background: var(--ink); }
.sb__lay--texte b:nth-child(2) { left: 20px; top: 18px; width: 24px; height: 3px; }
.sb__lay--texte b:nth-child(3) { left: 25px; top: 26px; width: 14px; height: 5px; background: var(--gold); border-radius: 9px; }
.sb__slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.sb__slot { position: relative; }
.sb__slot-img { width: 100%; aspect-ratio: 4 / 3; border: 1.5px dashed #D5C7A8; border-radius: 12px; background: var(--bg); cursor: pointer; overflow: hidden; display: grid; place-items: center; padding: 0; color: var(--muted); font-size: 12.5px; }
.sb__slot-img img { width: 100%; height: 100%; object-fit: cover; }
.sb__slot-img:hover { border-color: var(--gold); }
.sb__slot-rm { position: absolute; top: 5px; right: 5px; width: 24px; height: 24px; border-radius: 50%; border: 0; background: rgba(21, 18, 15, .75); color: #fff; cursor: pointer; line-height: 1; }
.sb__fact { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 6px; margin-bottom: 6px; }
.sb__switches { display: flex; flex-direction: column; gap: 8px; margin-bottom: 14px; }
.sb__serp { display: flex; flex-direction: column; gap: 2px; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; margin: 0 0 12px; font-family: Arial, sans-serif; }
.sb__serp-url { font-size: 12px; color: #4D5156; }
.sb__serp-t { font-size: 18px; color: #1A0DAB; line-height: 1.3; }
.sb__serp-d { font-size: 13px; color: #4D5156; line-height: 1.45; }
.sb__links { display: flex; flex-direction: column; gap: 8px; }
.sb__links a { display: flex; gap: 12px; align-items: center; background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; text-decoration: none; color: var(--ink); }
.sb__links a:hover { border-color: var(--gold); }
.sb__links span { display: flex; flex-direction: column; }
.sb__links small { color: var(--muted); font-size: 12.5px; }
.sb__save { position: sticky; bottom: 12px; z-index: 5; display: flex; justify-content: space-between; align-items: center; gap: 10px; background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 10px 10px 10px 16px; box-shadow: 0 10px 30px rgba(21, 18, 15, .1); font-size: 14px; color: var(--muted); }
.sb__save.is-dirty { background: var(--ink); color: var(--gold); border-color: var(--ink); }

.sb__stage { position: sticky; top: 84px; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.sb__bar { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.sb__devices { display: inline-flex; background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 3px; }
.sb__devices button { border: 0; background: transparent; border-radius: 9px; padding: 6px 14px; font-size: 13.5px; cursor: pointer; font-weight: 500; }
.sb__devices button.is-on { background: var(--ink); color: #fff; }
.sb__live { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); }
.sb__live i { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); }
.sb__live.is-busy i { background: var(--gold); animation: sbPulse .8s ease-in-out infinite alternate; }
@keyframes sbPulse { to { opacity: .3; } }
.sb__frame { height: calc(100vh - 160px); min-height: 520px; border-radius: 16px; overflow: hidden; background: #fff; border: 1px solid var(--line); box-shadow: 0 20px 50px rgba(21, 18, 15, .12); position: relative; }
.sb__frame iframe { border: 0; display: block; transform-origin: 0 0; background: #fff; }
.sb__frame.is-mobile { background: var(--bg); border-color: transparent; box-shadow: none; display: grid; justify-items: center; align-content: start; padding-top: 10px; }
.sb__frame.is-mobile iframe { border-radius: 30px; border: 10px solid var(--ink); box-shadow: 0 20px 50px rgba(21, 18, 15, .25); background: #fff; }

.sb__lib { width: min(760px, calc(100vw - 32px)); }
.sb__upload { position: relative; display: flex; align-items: center; gap: 12px; border: 1.5px dashed #D5C7A8; border-radius: 14px; padding: 14px 16px; cursor: pointer; margin-bottom: 12px; overflow: hidden; }
.sb__upload:hover { border-color: var(--gold); background: #FCF8EF; }
.sb__upload input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.sb__upload span { display: flex; flex-direction: column; }
.sb__upload small { color: var(--muted); font-size: 12.5px; }
.sb__prog { position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--line-2); }
.sb__prog b { display: block; height: 100%; background: var(--gold); width: 0; transition: width .15s; }
.sb__err { color: var(--bad); font-size: 13.5px; margin-bottom: 10px; }
.sb__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 8px; max-height: 55vh; overflow: auto; }
.sb__pick { border: 0; padding: 0; border-radius: 10px; overflow: hidden; aspect-ratio: 1; cursor: pointer; background: var(--bg); }
.sb__pick img { width: 100%; height: 100%; object-fit: cover; transition: transform .2s; }
.sb__pick:hover img { transform: scale(1.05); }
.sb__pick:focus-visible { outline: 3px solid var(--gold); }

@media (max-width: 1100px) {
  .sb { grid-template-columns: minmax(0, 1fr); }
  .sb__stage { position: static; order: -1; }
  .sb__frame { height: 520px; }
}
@media (max-width: 560px) {
  .sb__themes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sb__frame { height: 440px; min-height: 0; }
}

/* Fréquentation de la page de présentation */
.ga-lp { display: flex; align-items: center; gap: 16px; background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 14px 18px; margin-bottom: 18px; text-decoration: none; color: var(--ink); transition: border-color .15s, box-shadow .15s; }
.ga-lp:hover { border-color: #D5C7A8; box-shadow: 0 8px 22px rgba(21, 18, 15, .07); }
.ga-lp__ico { width: 40px; height: 40px; border-radius: 12px; background: var(--ink); color: var(--gold); display: grid; place-items: center; flex: none; }
.ga-lp__txt { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.ga-lp__txt > span { font-size: 14px; color: var(--muted); }
.ga-lp__txt b { color: var(--ink); }
.ga-lp__spark { display: flex; align-items: flex-end; gap: 2px; height: 34px; width: 160px; flex: none; }
.ga-lp__spark i { flex: 1; background: var(--gold); border-radius: 2px 2px 0 0; opacity: .85; }
.ga-lp__go { font-size: 13.5px; font-weight: 600; color: var(--gold-ink); white-space: nowrap; }
.ga-signups { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; font-size: 14px; }
.ga-signups li { display: flex; justify-content: space-between; gap: 10px; }
.ga-signups span { color: var(--muted); font-size: 13px; }
@media (max-width: 760px) { .ga-lp__spark, .ga-lp__go { display: none; } }

/* Photos de la carte */
.cat-photo { display: flex; align-items: center; gap: 14px; margin-bottom: 10px; }
.cat-photo img { width: 180px; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 12px; border: 1px solid var(--line); }
.cat-thumb { width: 44px; height: 44px; border-radius: 10px; object-fit: cover; vertical-align: middle; margin-right: 10px; border: 1px solid var(--line); }
.cat-thumb--s { width: 30px; height: 30px; border-radius: 8px; margin-right: 8px; }

.ga-warn { display: flex; align-items: center; gap: 14px; background: #FBF0DA; border: 1px solid #E8CF95; border-radius: 14px; padding: 14px 16px; margin-bottom: 18px; color: #6B4C17; }
.ga-warn > div { flex: 1; display: flex; flex-direction: column; gap: 2px; font-size: 14px; }
.ga-warn strong { color: var(--ink); }
.ga-new { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; background: var(--ink); color: var(--gold); padding: 3px 8px; border-radius: 99px; }
@media (max-width: 560px) { .ga-warn { flex-wrap: wrap; } }

/* Chiffres bien droits et alignés dans les titres et les indicateurs */
body { font-variant-numeric: lining-nums; }
.kpi__value, .ga-kpi strong, .ga-acc__price strong, .ga-hero__price strong, .ga-sum__total strong, .totals, .num, .oe-price input { font-variant-numeric: lining-nums tabular-nums; }

/* Mon site : étapes et infos pratiques */
.sb__steps, .sb__infos { display: flex; flex-direction: column; gap: 8px; }
.sb__step { display: flex; gap: 10px; align-items: flex-start; border: 1px solid var(--line); border-radius: 12px; padding: 10px; }
.sb__step > div { flex: 1; display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.sb__step input:not(.ga-switch), .sb__info input:not(.ga-switch), .sb__info textarea { width: 100%; border: 1px solid var(--line); border-radius: 8px; padding: 7px 10px; font-size: 14px; background: #fff; }
.sb__step [data-how-t], .sb__info [data-info-title] { font-weight: 600; }
.sb__step-on { padding-top: 6px; }
.sb__info { border: 1px solid var(--line); border-radius: 12px; padding: 10px; display: flex; flex-direction: column; gap: 6px; }
.sb__info-head { display: flex; gap: 10px; align-items: center; }

/* Mise en route d'un client */
.ga-onb { margin-bottom: 18px; }
.ga-onb .ga-summary { gap: 12px; }
.ga-onb__count { font-size: 13px; font-weight: 600; color: var(--gold-ink); background: var(--gold-soft); border-radius: 99px; padding: 2px 10px; }
.ga-onb__bar { flex: 1; max-width: 220px; height: 6px; border-radius: 99px; background: var(--line-2); overflow: hidden; }
.ga-onb__bar span { display: block; height: 100%; background: var(--ok); }
.ga-onb__list { list-style: none; margin: 14px 0 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.ga-onb__list li { display: flex; gap: 12px; align-items: center; border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; }
.ga-onb__list li > div { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.ga-onb__list li span { font-size: 13px; color: var(--muted); }
.ga-onb__list li.is-done { background: #F7FAF7; border-color: #D3E6D9; }
.ga-onb__list li.is-done strong { color: var(--ok); }
.ga-onb__ico { width: 24px; height: 24px; border-radius: 50%; border: 2px solid var(--line); display: grid; place-items: center; flex: none; color: #fff; }
.ga-onb__list li.is-done .ga-onb__ico { background: var(--ok); border-color: var(--ok); }
.ga-onb__ico .ico { width: 14px; height: 14px; stroke-width: 3; }
.ga-help { width: min(720px, calc(100vw - 32px)); }
.ga-help h3 { font-size: 15px; margin: 18px 0 8px; }
.ga-help ol { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 6px; font-size: 14.5px; }
.ga-help p { font-size: 14.5px; }
.ga-help code { background: var(--bg); padding: 1px 6px; border-radius: 6px; font-size: 13px; }
@media (max-width: 560px) { .ga-onb__list li { flex-wrap: wrap; } }

/* Mise en ligne du site */
.ml-addr { display: flex; align-items: center; gap: 14px; background: var(--bg); border-radius: 14px; padding: 14px 16px; }
.ml-addr > div { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.ml-addr strong a { color: var(--ink); font-size: 17px; word-break: break-all; }
.ml-addr span { font-size: 13px; color: var(--muted); }
.ml-steps { margin: 0; padding-left: 22px; display: flex; flex-direction: column; gap: 16px; }
.ml-steps li > strong { display: block; font-size: 15px; margin-bottom: 2px; }
.ml-steps li > span { display: block; font-size: 14px; color: var(--ink-2); line-height: 1.55; }
.ml-steps em { display: block; font-style: normal; color: var(--ok); margin-top: 4px; font-size: 13.5px; }
.ml-steps code { background: var(--bg); padding: 1px 6px; border-radius: 6px; font-size: 13px; }
.ml-form { display: flex; gap: 8px; margin: 8px 0 4px; flex-wrap: wrap; }
.ml-form input { flex: 1; min-width: 220px; }

/* Modèles de devis et factures */
.dm-entry { display: flex; gap: 14px; align-items: center; justify-content: space-between; flex-wrap: wrap; margin-bottom: 16px; background: linear-gradient(120deg, var(--gold-soft), #fff 70%); }
.dm-entry b { font-family: var(--serif); font-weight: 500; font-size: 19px; display: block; }
.dm-colors { margin-bottom: 18px; }
.dm-colors__head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 14px; }
.dm-colors__row { display: flex; align-items: flex-end; gap: 18px; flex-wrap: wrap; }
.dm-color { display: grid; gap: 4px; font-size: 13px; font-weight: 600; }
.dm-color input { width: 120px; height: 42px; border: 1px solid var(--line); border-radius: 10px; padding: 3px; background: #fff; cursor: pointer; }
.dm-color small { font-weight: 400; color: var(--muted); }
.dm-colors__site { display: flex; align-items: center; gap: 6px; font-size: 13px; padding-bottom: 22px; }
.dm-colors__site i { width: 22px; height: 22px; border-radius: 50%; border: 2px solid #fff; box-shadow: 0 0 0 1px var(--line); }
.dm-colors__actions { margin-left: auto; display: flex; gap: 8px; padding-bottom: 20px; }
.dm-info { position: relative; display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--info-bg); color: var(--info); font: 700 12px/1 Georgia, serif; cursor: help; }
.dm-info__bubble { position: absolute; top: calc(100% + 8px); left: 50%; transform: translateX(-50%); width: 300px; padding: 12px 14px; border-radius: 12px; background: var(--ink); color: #fff; font: 400 13px/1.5 var(--sans); box-shadow: 0 12px 30px rgba(0,0,0,.25); opacity: 0; visibility: hidden; transition: .15s; z-index: 30; }
.dm-info__bubble::before { content: ""; position: absolute; top: -6px; left: 50%; margin-left: -6px; border: 6px solid transparent; border-top: 0; border-bottom-color: var(--ink); }
.dm-info:hover .dm-info__bubble, .dm-info:focus .dm-info__bubble { opacity: 1; visibility: visible; }
.dm-tip { display: flex; gap: 10px; align-items: flex-start; background: var(--info-bg); color: var(--info); padding: 10px 12px; border-radius: 10px; font-size: 13.5px; margin: 10px 0; }
.dm-tip > b { flex: none; display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--info); color: #fff; font: 700 11px/1 Georgia, serif; }
.dm-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-bottom: 18px; }
.dm-kind__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.dm-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.dm-item { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; flex-wrap: wrap; }
.dm-item.is-on { border-color: var(--gold); background: #FFFCF5; box-shadow: 0 0 0 3px var(--gold-soft); }
.dm-item__thumb { width: 38px; height: 46px; border-radius: 6px; border: 1px solid var(--line); display: grid; place-items: center; color: var(--muted); background: #fff; flex: none; }
.dm-item__body { flex: 1; min-width: 160px; display: grid; }
.dm-item__body span { font-size: 12.5px; }
.dm-item__tools { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.dm-live iframe { width: 100%; height: 760px; border: 1px solid var(--line); border-radius: 10px; background: #e9e6e1; }
#dmState.is-busy { color: var(--gold-ink); }
.dm-starts { display: grid; gap: 8px; }
.dm-start { display: flex; gap: 10px; align-items: flex-start; border: 1px solid var(--line); border-radius: 12px; padding: 12px; cursor: pointer; }
.dm-start:has(input:checked) { border-color: var(--gold); background: #FFFCF5; }
.dm-start span { display: grid; }
.dm-start small { color: var(--muted); }
.dm-ed { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px; align-items: start; }
.dm-ed__bar { display: flex; gap: 10px; align-items: flex-end; }
.dm-ed__label { display: block; font-weight: 600; font-size: 13px; margin: 14px 0 6px; }
.dm-ed textarea#dmHtml { width: 100%; min-height: 460px; font: 12.5px/1.55 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; background: #1C1915; color: #EDE6DA; border: 0; border-radius: 10px; padding: 14px; resize: vertical; tab-size: 2; }
.dm-warn { display: grid; gap: 4px; background: var(--wait-bg); color: var(--wait); padding: 10px 12px; border-radius: 10px; font-size: 13px; margin-top: 8px; }
.dm-ed__foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.dm-vars { margin-top: 16px; border-top: 1px solid var(--line); padding-top: 12px; }
.dm-vars summary { font-weight: 600; cursor: pointer; }
.dm-vars h4 { margin: 14px 0 6px; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.dm-vars__list { display: flex; flex-wrap: wrap; gap: 6px; }
.dm-vars__list button { display: inline-flex; flex-direction: column; align-items: flex-start; gap: 1px; padding: 6px 9px; border: 1px solid var(--line); border-radius: 8px; background: #fff; cursor: pointer; text-align: left; }
.dm-vars__list button:hover { border-color: var(--gold); background: #FFFCF5; }
.dm-vars__list code { font-size: 12px; color: var(--gold-ink); }
.dm-vars__list span { font-size: 11.5px; color: var(--muted); }
.dm-vars code { font-size: 12px; }
.dm-ed__pv { position: sticky; top: 16px; }
.dm-ed__pvhead { display: flex; justify-content: space-between; margin-bottom: 8px; }
.dm-ed__pv iframe { width: 100%; height: calc(100vh - 120px); min-height: 600px; border: 1px solid var(--line); border-radius: 12px; background: #e9e6e1; }
@media (max-width: 1100px) { .dm-ed, .dm-cols { grid-template-columns: 1fr; } .dm-ed__pv { position: static; } }

/* Devis signé */
.signed--ok { border-color: #CFE5D6; }
.signed__file { display: flex; gap: 10px; align-items: center; padding: 10px; border: 1px solid var(--line); border-radius: 10px; color: var(--ink); text-decoration: none; background: #fff; }
.signed__file:hover { border-color: var(--gold); }
.signed__file .ico, .signed__file svg { flex: none; width: 26px; height: 26px; color: var(--bad); }
.signed__file span { display: grid; min-width: 0; }
.signed__file b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 14px; }
.signed__file small { color: var(--muted); font-size: 12px; }

/* Mode administrateur Gliveo + Paramètres Gliveo */
.side__admin { display: inline-block; margin-top: 4px; padding: 2px 8px; border-radius: 99px; background: rgba(255,255,255,.14); color: #fff; font-size: 10.5px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
.side__set { display: inline-flex; align-items: center; gap: 6px; margin: 6px 0 4px; color: var(--side-text) !important; font-weight: 600; text-decoration: none; }
.side__set .ico { width: 16px; height: 16px; }
.side__set.is-active, .side__set:hover { color: #fff !important; }
.gp { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 18px; align-items: start; }
.gp__main { display: grid; gap: 18px; }
.gp__side { position: sticky; top: 90px; display: grid; gap: 12px; }
.gp-vat { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.gp-vat__opt { display: flex; gap: 10px; align-items: flex-start; border: 1px solid var(--line); border-radius: 12px; padding: 12px; cursor: pointer; }
.gp-vat__opt:has(input:checked) { border-color: var(--gold); background: #FFFCF5; box-shadow: 0 0 0 3px var(--gold-soft); }
.gp-vat__opt span { display: grid; gap: 2px; }
.gp-vat__opt small { color: var(--muted); font-size: 12.5px; }
.gp-ex { margin-top: 14px; padding: 14px; border-radius: 12px; background: var(--line-2); }
.gp-ex__list { display: grid; gap: 6px; margin: 6px 0 8px; }
.gp-ex__list div { display: grid; grid-template-columns: 1fr auto auto; gap: 12px; align-items: baseline; background: #fff; padding: 8px 12px; border-radius: 8px; }
.gp-ex__list small { color: var(--muted); }
.gp-colors { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.gp-sw { width: 34px; height: 34px; border-radius: 50%; border: 3px solid #fff; box-shadow: 0 0 0 1px var(--line); cursor: pointer; padding: 0; position: relative; }
.gp-sw.is-on { box-shadow: 0 0 0 2px var(--ink); }
.gp-sw--pick { background: conic-gradient(#e66, #ec6, #6c6, #6ce, #66e, #c6e, #e66); display: grid; place-items: center; overflow: hidden; }
.gp-sw--pick input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.gp-sw--pick span { color: #fff; font-weight: 700; text-shadow: 0 1px 2px rgba(0,0,0,.5); pointer-events: none; }
.gp-side { border-radius: 14px; padding: 14px; color: #E9EEF5; display: grid; gap: 6px; transition: background .2s; }
.gp-side__brand { display: flex; gap: 10px; align-items: center; padding-bottom: 10px; border-bottom: 1px solid rgba(255,255,255,.15); margin-bottom: 4px; }
.gp-side__brand i { width: 30px; height: 30px; border-radius: 50%; border: 2px solid var(--gold); color: var(--gold); display: grid; place-items: center; font: 700 15px var(--serif); font-style: normal; }
.gp-side__brand span { display: grid; }
.gp-side__brand small { opacity: .7; font-size: 11.5px; }
.gp-side__item { padding: 7px 10px; border-radius: 8px; font-size: 13px; }
.gp-side__item.is-on { background: rgba(255,255,255,.12); color: #fff; }
.gp-side__badge { justify-self: start; margin-top: 4px; padding: 2px 8px; border-radius: 99px; background: rgba(255,255,255,.14); font-size: 10.5px; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }
@media (max-width: 1000px) { .gp, .gp-vat { grid-template-columns: 1fr; } .gp__side { position: static; } }
.sub-hero__price em.sub-hero__ttc { background: rgba(255,255,255,.1); color: #E9E2D6; font-weight: 500; }
.cmp__ttc { display: block; }
.dm-cols > .card { margin: 0; }
.dm-kind .hint { margin-top: 10px; }
a.badge { text-decoration: none; }
.sub-hero__cycle { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin-top: 10px; font-size: 13.5px; color: #CFC7BA; }
.sub-hero__cycle .inline-form { display: inline; }
.file-err { font-size: 13px; color: var(--muted); margin-top: 6px; }
.file-err.is-bad { color: var(--bad); background: var(--bad-bg); padding: 8px 10px; border-radius: 8px; }

/* Avis clients */
.rv { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 18px; align-items: start; }
.rv__main { display: grid; gap: 18px; }
.rv__main > .card { margin: 0; }
.rv__side { position: sticky; top: 90px; }
.rv-label { display: block; font-weight: 600; font-size: 13px; margin-bottom: 6px; }
.rv-rate { display: flex; flex-direction: row-reverse; justify-content: flex-end; width: max-content; gap: 2px; }
.rv-rate input { position: absolute; opacity: 0; pointer-events: none; }
.rv-rate label { font-size: 26px; line-height: 1; color: #D9D1C4; cursor: pointer; padding: 0 1px; }
.rv-rate input:checked ~ label, .rv-rate label:hover, .rv-rate label:hover ~ label { color: var(--gold); }
.rv-rate input:focus-visible + label { outline: 2px solid var(--gold); border-radius: 4px; }
.rv-list { display: grid; gap: 10px; }
.rv-item { border: 1px solid var(--line); border-radius: 12px; padding: 14px; }
.rv-item.is-off { opacity: .6; background: var(--line-2); }
.rv-item__top { display: flex; align-items: center; gap: 10px; }
.rv-av { width: 36px; height: 36px; border-radius: 50%; background: var(--gold-soft); color: var(--gold-ink); display: grid; place-items: center; font-weight: 700; font-size: 13px; flex: none; }
.rv-item__who { flex: 1; display: grid; min-width: 0; }
.rv-item__who span { font-size: 12.5px; color: var(--muted); }
.rv-stars { color: var(--gold); letter-spacing: 1px; white-space: nowrap; }
.rv-item__text { margin: 10px 0; font-size: 14px; color: var(--ink-2); }
.rv-item__tools { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.rv-score { margin-top: 14px; padding: 14px; border-radius: 12px; background: var(--gold-soft); display: grid; justify-items: center; gap: 2px; }
.rv-score b { font-family: var(--serif); font-size: 34px; font-weight: 500; line-height: 1; }
.rv-score small { color: var(--muted); }
@media (max-width: 1000px) { .rv { grid-template-columns: 1fr; } .rv__side { position: static; } }
.rv-fav { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 10px; padding: 4px 10px 4px 4px; border-radius: 999px; background: var(--gold-soft); font-size: 13px; }
.rv-fav img { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; }
.rv-fav span { padding-left: 4px; }
.ga-switch-ph { display: inline-block; width: 38px; flex: none; }
.oe-flag input[data-k=products] { width: 64px; padding: 2px 6px; border: 1px solid var(--line); border-radius: 6px; }
.ga-launch { margin-top: 14px; padding: 14px; border: 1px dashed var(--gold); border-radius: 12px; background: #FFFCF5; }
.cat-quota { margin-left: auto; align-self: center; position: relative; font-size: 12.5px; color: var(--muted); padding: 4px 10px 7px; border-radius: 8px; background: var(--line-2); overflow: hidden; }
.cat-quota i { position: absolute; left: 0; bottom: 0; height: 3px; background: var(--gold); }
.cat-quota.is-full { color: var(--bad); background: var(--bad-bg); }
.cat-quota.is-full i { background: var(--bad); }

/* Espace Gliveo (administrateur) dans la barre latérale */
.side__group { margin: 14px 10px 6px; font-size: 10.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--side-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.side__nav > .side__group:first-child { margin-top: 2px; }
.side__gliveo { margin-bottom: 8px; padding-bottom: 8px; border-bottom: 1px solid var(--side-line); }
.side__gliveo.is-alone { border-bottom: 0; }
.side__gliveo .side__group { margin-top: 2px; color: var(--gold); }
