/* Style visuel « AFRICA UNITY » : ivoire, bleu marine, or */
:root {
  --ivory: #f7f2e6;
  --ivory-2: #efe7d4;
  --paper: #fffdf8;
  --navy: #0f1e38;
  --navy-2: #182a4a;
  --gold: #c9a24b;
  --gold-text: #7a5c14;
  --violet: #9a86e0;
  --violet-soft: #c9bcf2;
  --text: #1a2234;
  --text-2: #5a6275;
  --on-navy: #f7f2e6;
  --on-navy-2: #b9c3d6;
  --line: #e4d9c0;
  --line-2: #d4c6a5;
  --danger: #9b2c2c;
  --success: #2f6b2f;
  --om: #ff7900;
  --radius: 10px;
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: clip; }
body { overflow-x: clip; }
body { background: var(--ivory); color: var(--text); font-family: var(--sans); font-size: 15px; font-weight: 400; line-height: 1.6; min-height: 100vh; display: flex; flex-direction: column; }
main { flex: 1; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
code { background: var(--ivory-2); border: 1px solid var(--line); padding: 1px 6px; border-radius: 5px; font-size: .88em; }
::selection { background: var(--gold); color: var(--navy); }

h1, h2, h3, .serif { font-family: var(--serif); font-weight: 600; color: var(--navy); line-height: 1.15; }
h1, h2, h3, .serif, .price, .buy-price, .big-price, .stats-grid b, .step b, .hero-steps b, .steps-list li::before { font-variant-numeric: lining-nums; }
h1 { font-size: clamp(30px, 4vw, 46px); margin-bottom: 16px; }
.h1-sm { font-size: clamp(25px, 3vw, 33px); margin-bottom: 16px; }
h2 { font-size: 28px; }
h3 { font-size: 21px; }
.title-line::after { content: ''; display: block; width: 56px; height: 2px; background: var(--gold); margin-top: 10px; }
.center.title-line::after { margin-left: auto; margin-right: auto; }

.gold { color: var(--gold); }
.gold-text { color: var(--gold-text); }
.mut { color: var(--text-2); }
.red { color: var(--danger); }
.small { font-size: 13px; }
.pad { padding: 18px 20px; }
.grow { flex: 1; min-width: 0; }
.center { text-align: center; }
.wrap { width: 100%; max-width: 1220px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 980px; }
.row { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.row.end { justify-content: flex-end; margin-top: 18px; }
.kicker { font-size: 12px; font-weight: 600; letter-spacing: 2.5px; text-transform: uppercase; color: var(--gold-text); margin-bottom: 12px; }

/* ---------- Boutons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: var(--navy); color: var(--on-navy); border: 1px solid var(--navy); font-family: var(--sans); font-size: 14px; font-weight: 600; padding: 9px 18px; border-radius: 8px; cursor: pointer; transition: background .15s, box-shadow .15s, transform .15s; white-space: nowrap; }
.btn:hover { background: var(--navy-2); box-shadow: 0 0 0 3px rgba(201, 162, 75, .35); }
.btn-lg { font-size: 15px; padding: 13px 26px; }
.btn-block { width: 100%; }
.btn-gold { background: var(--gold); border-color: var(--gold); color: var(--navy); }
.btn-gold:hover { background: #d4b062; }
.btn-ghost { background: transparent; color: var(--navy); border-color: var(--line-2); }
.btn-ghost:hover { background: var(--paper); border-color: var(--gold); box-shadow: none; }
.btn-outline-light { background: transparent; color: var(--on-navy); border-color: rgba(247, 242, 230, .45); }
.btn-outline-light:hover { background: rgba(247, 242, 230, .08); border-color: var(--gold); }
.btn-discord { background: #5865f2; border-color: #5865f2; color: #fff; }
.btn-discord:hover { background: #4752c4; border-color: #4752c4; box-shadow: 0 0 0 3px rgba(88, 101, 242, .35); }
.btn-danger { background: transparent; color: var(--danger); border-color: #d9b3b3; }
.btn-danger:hover { background: #fbefef; box-shadow: none; }
.btn-x { background: none; border: 1px solid var(--line-2); color: var(--text-2); width: 32px; height: 32px; border-radius: 8px; cursor: pointer; font-size: 18px; line-height: 1; }
.btn-x:hover { color: var(--danger); border-color: var(--danger); }
.btn-copy { background: var(--ivory); color: var(--gold-text); border: 1px solid var(--line-2); font-family: var(--sans); font-size: 12px; font-weight: 600; padding: 3px 10px; border-radius: 6px; cursor: pointer; }

/* ---------- En-tête ---------- */
.topbar { position: sticky; top: 0; z-index: 10; background: var(--navy); color: var(--on-navy); border-bottom: 1px solid rgba(201, 162, 75, .35); }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 22px; height: 74px; }
.logo { display: inline-block; font-family: var(--serif); font-weight: 600; font-size: 28px; letter-spacing: 3px; color: var(--on-navy); line-height: 1; white-space: nowrap; padding-bottom: 6px; border-bottom: 1px solid var(--gold); }
.logo .gold { color: var(--gold); }
.nav { display: flex; gap: 26px; font-size: 14px; color: var(--on-navy-2); }
.nav a { padding: 6px 0; border-bottom: 2px solid transparent; }
.nav a:hover { color: var(--on-navy); }
.nav a.on { color: var(--on-navy); border-bottom-color: var(--gold); }
.actions { display: flex; align-items: center; gap: 16px; font-size: 14px; flex-wrap: wrap; justify-content: flex-end; }
.cur-switch { display: flex; border: 1px solid rgba(247, 242, 230, .3); border-radius: 7px; overflow: hidden; }
.cur-switch a { padding: 4px 10px; font-size: 12px; font-weight: 600; color: var(--on-navy-2); }
.cur-switch a.on { background: var(--gold); color: var(--navy); }
.cart-link { white-space: nowrap; color: var(--on-navy); }
.admin-link .count { background: #c0392b; color: #fff; }
.cart-link .count, .admin-link .count { display: inline-flex; min-width: 20px; height: 20px; padding: 0 6px; align-items: center; justify-content: center; border-radius: 10px; background: var(--gold); color: var(--navy); font-size: 12px; font-weight: 600; margin-left: 4px; }
.admin-link { color: var(--gold); font-weight: 600; }
.me { display: flex; align-items: center; gap: 10px; }
.me img, .ava { width: 32px; height: 32px; border-radius: 50%; flex-shrink: 0; }
.ava { display: inline-flex; align-items: center; justify-content: center; background: var(--gold); color: var(--navy); font-weight: 600; font-size: 13px; }
.me.big img, .me.big .ava { width: 60px; height: 60px; font-size: 22px; }
.me-name { max-width: 130px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.flash { margin-top: 18px; padding: 12px 16px; border-radius: 8px; border: 1px solid var(--line-2); border-left: 3px solid var(--gold); background: var(--paper); font-size: 14px; }
.flash-success { border-left-color: var(--success); }
.flash-error { border-left-color: var(--danger); color: var(--danger); }

/* ---------- Accueil ---------- */
.hero-band { background: var(--navy); color: var(--on-navy); border-bottom: 3px solid var(--gold); }
.hero { display: grid; grid-template-columns: 1.15fr 1fr; gap: 48px; align-items: center; padding-top: 52px; padding-bottom: 60px; }
.hero > div { min-width: 0; }
.hero h1 { color: var(--on-navy); overflow-wrap: anywhere; }
.hero h1 .gold { color: var(--gold); }
.hero .kicker { color: var(--gold); }
.lead { font-size: 16px; color: var(--on-navy-2); margin-bottom: 26px; max-width: 500px; }
.hero-panel { background: var(--navy-2); border: 1px solid rgba(201, 162, 75, .4); border-radius: 14px; padding: 26px; }
.hero-panel h3 { color: var(--on-navy); margin-bottom: 18px; }
.hero-steps { list-style: none; display: flex; flex-direction: column; gap: 16px; }
.hero-steps li { display: flex; gap: 14px; align-items: flex-start; }
.hero-steps b { font-family: var(--serif); font-size: 26px; color: var(--gold); line-height: 1; min-width: 34px; }
.hero-steps strong { display: block; color: var(--on-navy); font-weight: 600; }
.hero-steps span { font-size: 14px; color: var(--on-navy-2); }

.stats { background: var(--paper); border-bottom: 1px solid var(--line); }
.stats-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); text-align: center; }
.stats-grid > div { padding: 20px 10px; border-right: 1px solid var(--line); }
.stats-grid > div:last-child { border-right: none; }
.stats-grid b { display: block; font-family: var(--serif); font-size: 28px; font-weight: 600; color: var(--navy); line-height: 1.1; }
.stats-grid span { font-size: 13px; color: var(--text-2); }

/* ---------- Mise en page boutique ---------- */
.layout { display: grid; grid-template-columns: 270px minmax(0, 1fr); gap: 30px; padding-top: 44px; padding-bottom: 64px; align-items: start; }
.page-head { padding-top: 44px; }
.page-head + .layout { padding-top: 10px; }
.sec-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; flex-wrap: wrap; margin-bottom: 24px; }
.sec-title { margin: 44px 0 20px; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; font-size: 13px; }
.chips a { border: 1px solid var(--line-2); padding: 6px 14px; border-radius: 20px; background: var(--paper); color: var(--text); }
.chips a.on, .chips a:hover { background: var(--navy); color: var(--on-navy); border-color: var(--navy); }

.sidebar { display: flex; flex-direction: column; gap: 18px; position: sticky; top: 94px; }
.side-discord { display: flex; flex-direction: column; gap: 4px; padding: 20px; border-radius: var(--radius); background: var(--navy); color: var(--on-navy-2); font-size: 13px; border-bottom: 3px solid var(--gold); transition: transform .15s; }
.side-discord:hover { transform: translateY(-2px); }
.side-discord-title { font-family: var(--serif); font-weight: 600; font-size: 22px; color: var(--on-navy); }
.panel { background: var(--ivory); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.panel-head { padding: 14px 20px; border-bottom: 1px solid var(--line); font-family: var(--serif); font-weight: 600; font-size: 19px; color: var(--navy); background: var(--ivory-2); }
.recent { list-style: none; padding: 6px 0; background: var(--paper); }
.recent li { display: flex; gap: 12px; align-items: center; padding: 9px 20px; font-size: 13px; }
.recent li + li { border-top: 1px solid var(--ivory-2); }
.recent img, .recent .ava { width: 32px; height: 32px; border-radius: 50%; }
.recent b { display: block; font-weight: 600; font-size: 14px; }
.panel .pad { background: var(--paper); }
.pm { display: flex; align-items: center; gap: 8px; padding: 4px 0; }
.om-dot, .card-dot { display: inline-block; width: 10px; height: 10px; border-radius: 3px; background: var(--om); flex-shrink: 0; }
.card-dot { background: var(--navy); }
.tag-ok, .tag-soon, .tag-off { font-size: 11px; font-weight: 600; padding: 2px 8px; border-radius: 4px; }
.tag-ok { background: #e3eedb; color: var(--success); margin-left: auto; }
.tag-soon { background: #f3e9cf; color: var(--gold-text); }
.tag-off { background: #f6e1e1; color: var(--danger); }
.pm .tag-soon { margin-left: auto; }

/* ---------- Cartes produit ---------- */
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 22px; }
.product-card { overflow: hidden; display: flex; flex-direction: column; transition: transform .18s, box-shadow .18s, border-color .18s; }
.product-card:hover { transform: translateY(-3px); border-color: var(--gold); box-shadow: 0 14px 34px rgba(15, 30, 56, .1); }
.thumb { position: relative; aspect-ratio: 16 / 9; background: var(--navy); overflow: hidden; display: block; }
.thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.product-card:hover .thumb img { transform: scale(1.04); }
.thumb-ph { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; background: var(--navy); color: var(--on-navy-2); font-size: 12px; letter-spacing: 1px; }
.thumb-ph .mark { font-family: var(--serif); font-weight: 600; font-size: 30px; letter-spacing: 3px; color: var(--on-navy); }
.thumb-ph .mark .gold { color: var(--gold); }
.thumb-ph .bar { width: 40px; height: 1px; background: var(--gold); margin: 4px 0; }
.thumb-ph.big { position: static; aspect-ratio: 16 / 9; }
.thumb-ph.big .mark { font-size: 46px; }
.badge { position: absolute; top: 12px; right: 12px; background: var(--gold); color: var(--navy); font-size: 11px; font-weight: 600; letter-spacing: .5px; padding: 3px 10px; border-radius: 4px; }
.badge-inline { position: static; vertical-align: middle; font-family: var(--sans); font-size: 12px; }
.card-body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.card-cat { font-size: 11px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; color: var(--gold-text); margin-bottom: 6px; }
.card-body h3 { margin-bottom: 6px; }
.card-body h3 a:hover { color: var(--gold-text); }
.card-body .small { margin-bottom: 16px; }
.card-foot { margin-top: auto; display: flex; justify-content: space-between; align-items: center; gap: 10px; padding-top: 14px; border-top: 1px solid var(--ivory-2); }
.price { font-family: var(--sans); font-size: 18px; font-weight: 700; color: var(--navy); background: #f4e8c7; border: 1px solid var(--line-2); padding: 5px 13px; border-radius: 8px; white-space: nowrap; }
.card-foot .price { box-shadow: 0 1px 3px rgba(15,30,56,.08); }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.step { padding: 24px; }
.step b { font-family: var(--serif); font-size: 34px; color: var(--gold); line-height: 1; }
.step h3 { margin: 8px 0 6px; }
.empty { padding: 40px; text-align: center; display: flex; flex-direction: column; gap: 10px; align-items: center; }

/* ---------- Page produit ---------- */
.crumbs { font-size: 13px; margin-bottom: 10px; color: var(--text-2); }
.crumbs a:hover { color: var(--gold-text); }
.product-top { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(260px, 1fr); gap: 22px; align-items: start; }
.gallery-main { overflow: hidden; aspect-ratio: 16 / 9; }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumbs { display: flex; gap: 10px; margin-top: 10px; overflow-x: auto; }
.gthumb { width: 96px; flex-shrink: 0; aspect-ratio: 16 / 9; border: 2px solid var(--line); border-radius: 8px; overflow: hidden; background: none; cursor: pointer; padding: 0; }
.gthumb img { width: 100%; height: 100%; object-fit: cover; }
.gthumb.on { border-color: var(--gold); }
.buybox { padding: 24px; display: flex; flex-direction: column; gap: 12px; position: sticky; top: 94px; border-top: 3px solid var(--gold); }
.buy-price { font-family: var(--serif); font-size: 42px; font-weight: 600; line-height: 1; color: var(--gold-text); }
.buy-points { list-style: none; display: flex; flex-direction: column; gap: 7px; border-top: 1px solid var(--line); padding-top: 14px; }
.buy-points li { display: flex; gap: 8px; align-items: center; }
.check-ic { color: var(--gold); font-weight: 600; }
.video { overflow: hidden; aspect-ratio: 16 / 9; }
.video iframe { width: 100%; height: 100%; border: 0; display: block; }
.prose { padding: 24px; white-space: pre-line; line-height: 1.8; }
.two-col { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 22px; }
.checklist { list-style: none; padding: 18px 22px; display: flex; flex-direction: column; gap: 9px; font-size: 14px; }

/* ---------- Panier / listes ---------- */
.narrow.wrap { padding-top: 44px; padding-bottom: 64px; }
.list { overflow: hidden; }
.list-row { display: flex; align-items: center; gap: 16px; padding: 15px 20px; border-bottom: 1px solid var(--ivory-2); }
.list-row:last-child { border-bottom: none; }
.list-row.total { background: var(--ivory-2); font-weight: 600; }
.list-row.inactive { opacity: .55; }
.list-row b { font-weight: 600; }
.wrap-row { flex-wrap: wrap; }
.list-thumb { width: 76px; aspect-ratio: 16 / 9; border-radius: 6px; overflow: hidden; background: var(--navy); display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-family: var(--serif); color: var(--gold); font-weight: 600; }
.list-thumb img { width: 100%; height: 100%; object-fit: cover; }
.big-price { font-family: var(--serif); font-size: 30px; font-weight: 600; color: var(--gold-text); }
.status { font-size: 12px; font-weight: 600; padding: 3px 10px; border-radius: 4px; }
.status-pending { background: #f3e9cf; color: var(--gold-text); }
.status-approved { background: #e3eedb; color: var(--success); }
.status-rejected { background: #f6e1e1; color: var(--danger); }
.account-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.account-head .h1-sm { margin-bottom: 0; }

/* ---------- Paiement ---------- */
.pay-tabs { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 18px; }
.pay-tab { display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 8px; border: 1px solid var(--line-2); background: var(--paper); font-weight: 600; font-size: 14px; color: var(--text-2); }
.pay-tab:hover { border-color: var(--gold); color: var(--text); }
.pay-tab.on { background: var(--navy); border-color: var(--navy); color: var(--on-navy); }
.pp-dot { display: inline-block; width: 10px; height: 10px; border-radius: 3px; background: #0070ba; flex-shrink: 0; }
.btn-paypal { background: #ffc439; border-color: #ffc439; color: #111; }
.btn-paypal:hover { background: #f2b52e; border-color: #f2b52e; box-shadow: 0 0 0 3px rgba(255, 196, 57, .35); }
.checkout { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 22px; align-items: start; }
.checkout > div { display: flex; flex-direction: column; gap: 18px; }
.pay-steps { padding: 26px; }
.pay-amount { display: flex; flex-direction: column; padding: 18px 20px; border-radius: 10px; background: var(--navy); color: var(--on-navy-2); margin-bottom: 22px; border-bottom: 3px solid var(--gold); }
.pay-amount .big-price { color: var(--gold); }
/* nouvelle page paiement (choix clairs) */
.pay-amount-big { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 2px; padding: 20px; background: var(--navy); color: var(--on-navy-2); border: none; border-bottom: 3px solid var(--gold); margin-bottom: 18px; }
.pay-amount-big .big-price { color: var(--gold); font-size: 36px; }
.pay-intro { font-size: 15px; color: var(--text); margin: 0 0 14px; }
.pay-choices { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; margin-bottom: 18px; }
.pay-choice { padding: 20px; }
.pay-choice-abroad { border-top: 3px solid var(--gold); }
.pay-choice-head { font-family: var(--serif); font-weight: 600; font-size: 19px; color: var(--navy); display: flex; align-items: center; gap: 8px; margin-bottom: 16px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.pay-choice-head i { font-style: normal; }
.pay-apps { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.pay-apps .btn { font-size: 13px; padding: 7px 12px; }
.pay-confirm { border-top: 3px solid var(--gold); margin-bottom: 18px; }
.field-help { font-weight: 400; font-size: 12px; color: var(--text-2); margin-top: 2px; }
.pay-disclaimer { font-size: 12px; color: var(--text-2); margin: 14px 0 0; padding-top: 12px; border-top: 1px dashed var(--line-2); }
.steps-list { list-style: none; counter-reset: s; display: flex; flex-direction: column; gap: 20px; }
.steps-list li { counter-increment: s; display: flex; flex-direction: column; gap: 3px; padding-left: 46px; position: relative; font-size: 14px; }
.steps-list li b { font-weight: 600; }
.steps-list li::before { content: counter(s); position: absolute; left: 0; top: -2px; width: 30px; height: 30px; border-radius: 50%; background: var(--navy); color: var(--gold); font-family: var(--serif); font-weight: 600; font-size: 18px; display: flex; align-items: center; justify-content: center; }
.om-number { font-size: 22px; font-weight: 600; color: var(--navy); display: flex; align-items: center; gap: 10px; }
.form label { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 600; color: var(--text); margin-bottom: 15px; }
.form input:not([type=checkbox]):not([type=file]), .form select, .form textarea, .reject input {
  background: #fff; border: 1px solid var(--line-2); color: var(--text); font-family: var(--sans); font-size: 14px; font-weight: 400; padding: 10px 12px; border-radius: 8px; width: 100%; }
.form input:focus, .form select:focus, .form textarea:focus, .reject input:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201, 162, 75, .2); }
.form input[type=file] { font-family: var(--sans); font-size: 13px; font-weight: 400; color: var(--text-2); }
.form label.check { flex-direction: row; align-items: center; gap: 8px; font-weight: 400; }
.form-error { background: #fbefef; border: 1px solid #e3bcbc; color: var(--danger); padding: 10px 14px; border-radius: 8px; margin-bottom: 14px; font-size: 13px; }
.form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 0 16px; }
.summary .sum-row { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; font-size: 14px; }
.sum-row .gold-text { font-weight: 600; }
.sum-total { border-top: 1px solid var(--line); margin-top: 6px; padding-top: 11px !important; font-weight: 600; }
.soon { padding: 16px 20px; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 14px; }
.soon p { width: 100%; }
.upload { border: 1px dashed var(--line-2); border-radius: 10px; padding: 14px; margin-bottom: 15px; background: var(--ivory); }
.upload label { margin-bottom: 6px; }
.upload-preview { display: flex; gap: 8px; flex-wrap: wrap; margin: 8px 0; }
.upload-preview img { width: 90px; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 6px; }
.img-manage { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 12px; margin: 8px 0; }
.img-item { background: var(--paper); border: 1px solid var(--line); border-radius: 8px; padding: 8px; display: flex; flex-direction: column; gap: 6px; }
.img-item img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 5px; }
.img-opt { display: flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 500; color: var(--text-2); margin: 0; }
.img-opt.del { color: var(--danger); }
.img-opt input { margin: 0; }

/* ---------- Admin ---------- */
.admin-nav { display: flex; align-items: center; gap: 22px; padding: 30px 0 24px; font-size: 15px; flex-wrap: wrap; border-bottom: 1px solid var(--line); margin-bottom: 24px; }
.admin-nav .serif { font-size: 24px; }
.admin-nav a { color: var(--text-2); padding-bottom: 4px; border-bottom: 2px solid transparent; }
.admin-nav a.on { color: var(--navy); font-weight: 600; border-bottom-color: var(--gold); }
.admin-nav .btn { margin-left: auto; color: var(--on-navy); border-bottom: 1px solid var(--navy); padding-bottom: 9px; }
.admin-stats { gap: 16px; margin-bottom: 24px; }
.admin-stats > div { padding: 20px; border-right: 1px solid var(--line); }
.admin-stats > div:last-child { border-right: 1px solid var(--line); }
.tabs { margin-bottom: 14px; }
.orders { display: flex; flex-direction: column; gap: 14px; margin: 14px 0 64px; }
.order { padding: 20px; display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; border-left: 3px solid var(--gold); }
.order-main { display: flex; gap: 30px; flex-wrap: wrap; }
.order-info { display: flex; flex-direction: column; gap: 3px; font-size: 14px; }
.order-actions { display: flex; flex-direction: column; gap: 10px; min-width: 270px; }
.reject { display: flex; gap: 8px; }

/* ---------- Licences ---------- */
.licenses { display: flex; flex-direction: column; gap: 12px; margin-bottom: 64px; }
.lic { padding: 16px 20px; display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap; align-items: center; border-left: 3px solid var(--gold); }
.lic.inactive { opacity: .6; border-left-color: var(--line-2); }
.lic-main { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.lic-key { font-family: var(--font-mono, monospace); font-size: 16px; font-weight: 600; letter-spacing: 1px; background: var(--ivory-2); border: 1px solid var(--line-2); padding: 3px 10px; border-radius: 6px; color: var(--navy); }
.lic-info { display: flex; flex-direction: column; gap: 2px; }
.lic-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.my-license { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 6px; }
.my-license code { font-size: 15px; font-weight: 600; letter-spacing: 1px; background: var(--ivory-2); border: 1px solid var(--line-2); padding: 4px 12px; border-radius: 6px; color: var(--navy); }

/* ---------- Chatbot ---------- */
#chat-widget { position: fixed; right: 18px; bottom: 18px; z-index: 50; font-family: var(--sans); }
#chat-toggle { background: var(--navy); color: var(--on-navy); border: 1px solid var(--gold); border-radius: 24px; padding: 12px 20px; font-size: 14px; font-weight: 600; cursor: pointer; box-shadow: 0 6px 20px rgba(15,30,56,.25); }
#chat-toggle span { color: var(--gold); }
#chat-toggle:hover { background: var(--navy-2); }
#chat-box { width: min(360px, calc(100vw - 32px)); height: 460px; max-height: calc(100vh - 110px); background: var(--paper); border: 1px solid var(--line-2); border-radius: 14px; display: flex; flex-direction: column; overflow: hidden; box-shadow: 0 14px 40px rgba(15,30,56,.25); }
#chat-head { background: var(--navy); color: var(--on-navy); padding: 12px 16px; font-family: var(--serif); font-weight: 600; font-size: 17px; display: flex; justify-content: space-between; align-items: center; border-bottom: 2px solid var(--gold); }
#chat-close { background: none; border: none; color: var(--on-navy); font-size: 22px; cursor: pointer; line-height: 1; }
#chat-msgs { flex: 1; overflow-y: auto; padding: 14px; display: flex; flex-direction: column; gap: 10px; }
.chat-msg { max-width: 85%; padding: 9px 13px; border-radius: 12px; font-size: 14px; line-height: 1.45; white-space: pre-wrap; word-wrap: break-word; }
.chat-me { align-self: flex-end; background: var(--navy); color: var(--on-navy); border-bottom-right-radius: 3px; }
.chat-bot { align-self: flex-start; background: var(--ivory-2); color: var(--text); border-bottom-left-radius: 3px; }
#chat-form { display: flex; gap: 8px; padding: 10px; border-top: 1px solid var(--line); }
#chat-input { flex: 1; border: 1px solid var(--line-2); border-radius: 20px; padding: 9px 14px; font: inherit; font-size: 14px; }
#chat-input:focus { outline: none; border-color: var(--gold); }
#chat-form button { width: 38px; border: none; background: var(--gold); color: var(--navy); border-radius: 50%; font-size: 18px; font-weight: 700; cursor: pointer; flex-shrink: 0; }
#chat-note { text-align: center; font-size: 11px; color: var(--text-2); margin: 0; padding: 0 10px 8px; }

/* ---------- Pied de page ---------- */
.footer { background: var(--navy); color: var(--on-navy-2); border-top: 3px solid var(--gold); }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding-top: 26px; padding-bottom: 26px; font-size: 13px; }
.footer .logo { font-size: 22px; }
.footer-links { display: flex; gap: 20px; }
.footer-links a:hover { color: var(--gold); }

/* ---------- Animations (douces et lentes) ---------- */
@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }
@keyframes logoWobble { 0%, 100% { transform: translateY(0) rotate(0deg); } 50% { transform: translateY(-1.5px) rotate(.6deg); } }
@keyframes ctaPulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(201,162,75,0); } 50% { box-shadow: 0 0 0 5px rgba(201,162,75,.14); } }
@keyframes badgePop { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.06); } }
@keyframes dotPulse { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.3); opacity: .65; } }
/* Lumière violette qui glisse (texte du logo et bordures) */
@keyframes shine { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }

/* Mouvements PERMANENTS, lents (pause au défilement via html.scrolling) */
.logo { display: inline-flex; transition: transform .25s ease; animation: logoWobble 6s ease-in-out infinite; }
.logo:hover { transform: translateY(-1px) scale(1.04); }
/* Le « DV » doré : une lueur violette passe doucement dessus */
.logo .gold { display: inline-block; background: linear-gradient(100deg, var(--gold) 38%, var(--violet-soft) 50%, var(--gold) 62%); background-size: 240% 100%; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; animation: shine 7s linear infinite; }
.hero-panel { animation: floaty 7s ease-in-out infinite; }
.hero .btn-gold { animation: ctaPulse 4.5s ease-in-out infinite; }
.badge { animation: badgePop 3.2s ease-in-out infinite; }
.om-dot, .pp-dot { animation: dotPulse 3.4s ease-in-out infinite; }

/* Petits mouvements violets sous les bordures (traits dorés qui glissent) */
.title-line::after { background: linear-gradient(90deg, var(--gold), var(--violet), var(--gold)); background-size: 200% 100%; animation: shine 6s linear infinite; }
.hero-band, .footer { position: relative; }
.hero-band::after, .footer::before { content: ''; position: absolute; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--gold), var(--violet), var(--gold)); background-size: 200% 100%; animation: shine 8s linear infinite; }
.hero-band { border-bottom: none; }
.hero-band::after { bottom: 0; }
.footer { border-top: none; }
.footer::before { top: 0; }

/* Pause de TOUS ces mouvements dès qu'on défile / navigue */
html.scrolling .logo, html.scrolling .logo .gold, html.scrolling .hero-panel,
html.scrolling .hero .btn-gold, html.scrolling .badge, html.scrolling .om-dot, html.scrolling .pp-dot,
html.scrolling .title-line::after, html.scrolling .hero-band::after, html.scrolling .footer::before {
  animation-play-state: paused;
}

/* Entrée de la bannière d'accueil (une fois) */
.hero .kicker { animation: fadeUp .6s ease .05s both; }
.hero h1 { animation: fadeUp .6s ease .15s both; }
.hero .lead { animation: fadeUp .6s ease .25s both; }
.hero .row { animation: fadeUp .6s ease .35s both; }

.nav a { transition: color .15s ease; }

/* Apparition au défilement (ajoutée par reveal.js) */
.reveal { opacity: 0; transform: translateY(14px); }
.reveal.in { opacity: 1; transform: none; transition: opacity .55s ease, transform .55s ease; }

@media (prefers-reduced-motion: reduce) {
  .logo, .logo .gold, .hero-panel, .hero .btn-gold, .badge, .om-dot, .pp-dot,
  .title-line::after, .hero-band::after, .footer::before,
  .hero .kicker, .hero h1, .hero .lead, .hero .row,
  .reveal, .reveal.in, .cursor { animation: none !important; transition: none !important; opacity: 1 !important; transform: none !important; box-shadow: none !important; }
  .logo .gold { -webkit-text-fill-color: var(--gold); color: var(--gold); background: none; }
}

/* Pas de débordement horizontal sur mobile : les longs codes reviennent à la ligne */
.om-number, .lic-key, code, .card-cat, .crumbs { overflow-wrap: anywhere; word-break: break-word; }
.om-number { flex-wrap: wrap; }

/* ---------- Mobile ---------- */
@media (max-width: 980px) {
  .hero, .checkout, .product-top { grid-template-columns: 1fr; }
  .layout { grid-template-columns: 1fr; }
  .sidebar { position: static; order: 2; }
  .buybox { position: static; }
  /* Le menu passe sous le logo, en bande défilante (plus de menu caché) */
  .topbar-inner { flex-wrap: wrap; height: auto; padding: 10px 0; gap: 10px 14px; }
  .nav { order: 3; width: 100%; gap: 18px; overflow-x: auto; padding: 4px 0 2px; font-size: 13px; -webkit-overflow-scrolling: touch; }
  .nav a { white-space: nowrap; padding-bottom: 4px; }
  .hero-panel:hover { animation: none; }
}
@media (max-width: 640px) {
  body { font-size: 14px; }
  .wrap { padding: 0 16px; }
  .hero { padding-top: 34px; padding-bottom: 40px; gap: 26px; }
  .lead { font-size: 15px; }
  .stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats-grid > div { padding: 16px 8px; }
  .stats-grid > div:nth-child(2) { border-right: none; }
  .stats-grid > div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .stats-grid b { font-size: 24px; }
  .steps, .grid { grid-template-columns: minmax(0, 1fr); }
  .grid { gap: 16px; }
  .me-name, .cart-text { display: none; }
  .topbar-inner { gap: 8px 12px; }
  .logo { font-size: 20px; letter-spacing: 1.5px; }
  .order-actions { min-width: 0; width: 100%; }
  .sec-title { margin: 30px 0 16px; }
  .buybox, .pay-choice, .pay-steps, .prose, .checklist { padding: 18px; }
  .buy-price, .pay-amount-big .big-price { font-size: 30px; }
  .om-number { font-size: 19px; }
  .btn-lg { padding: 12px 18px; font-size: 14px; }
  #chat-toggle { padding: 10px 16px; font-size: 13px; }
  #chat-widget { right: 12px; bottom: 12px; }
  .footer-inner { flex-direction: column; align-items: flex-start; gap: 12px; }
}
@media (max-width: 400px) {
  h1 { font-size: 27px; }
  .stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cur-switch { display: none; }
}
