/* ===== Coffee : gris clair, moderne, animé au défilement ===== */
:root {
  --bg: #3a3d46;
  --bg-2: #434752;
  --surface: #4a4e5a;
  --surface-solid: #4a4e5a;
  --surface-2: #545966;
  --surface-3: #5f6472;
  --border: rgba(255, 255, 255, .1);
  --border-strong: rgba(255, 255, 255, .2);
  --text: #f7f8fa;
  --muted: #c6cad3;
  --accent: #e6b57e;
  --accent-hover: #f0c491;
  --accent-soft: rgba(230, 181, 126, .16);
  --accent-ink: #2f2413;
  --ink: #2f3138;
  --green: #7fe0ab;
  --red: #ff9c9c;
  --yellow: #f7cd72;
  --shadow: 0 14px 38px rgba(30, 32, 40, .32);
  --ease: cubic-bezier(.23, .86, .39, .96);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { caret-color: transparent; overflow-x: clip; }
input, textarea, select, [contenteditable] { caret-color: auto; }
html, body { margin: 0; }
body { background: linear-gradient(180deg, var(--bg), var(--bg-2) 45%, var(--bg)); color: var(--text); font: 15px/1.6 Sora, system-ui, -apple-system, Segoe UI, sans-serif; min-height: 100vh; display: flex; flex-direction: column; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
h1, h2, h3 { letter-spacing: -.025em; }
h1 { font-size: clamp(28px, 4vw, 42px); line-height: 1.15; margin: 0 0 12px; font-weight: 700; }
h2 { font-size: 21px; line-height: 1.25; margin: 0 0 14px; font-weight: 700; }
h3 { font-size: 16px; margin: 0 0 10px; font-weight: 600; }
p { margin: 0; }
.muted { color: var(--muted); }
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
main { flex: 1; min-width: 0; }
#app.container { padding-top: 104px; }
[hidden] { display: none !important; }
.ic { flex: none; vertical-align: middle; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.progress { position: fixed; inset: 0 0 auto; height: 3px; z-index: 70; background: var(--accent); transform: scaleX(0); transform-origin: left; }

/* Apparition au défilement */
.js .reveal { opacity: 0; transform: translateY(34px); filter: blur(8px); transition: opacity .8s var(--ease), transform .8s var(--ease), filter .8s var(--ease); transition-delay: calc(var(--d, 0) * 90ms); }
.js .reveal[data-from="right"] { transform: translateX(44px); }
.js .reveal[data-from="scale"] { transform: scale(.94); }
.js .reveal.in { opacity: 1; transform: none; filter: none; }

/* ===== Barre du haut flottante ===== */
.announcement { position: relative; z-index: 45; background: var(--accent); color: var(--accent-ink); text-align: center; padding: 8px 16px; font-weight: 600; font-size: 14px; }
.topbar { position: sticky; top: 14px; z-index: 60; height: 0; }
.nav-pill { position: relative; display: flex; align-items: center; gap: 14px; width: min(1180px, calc(100% - 32px)); margin: 14px auto 0; padding: 8px 10px 8px 14px; border-radius: 60px; background: rgba(74, 78, 90, .78); border: 1px solid var(--border-strong); backdrop-filter: blur(18px); transition: width .4s var(--ease), box-shadow .4s var(--ease), background .4s var(--ease); animation: drop .9s var(--ease) both; }
@keyframes drop { from { opacity: 0; transform: translateY(-40px); } }
.nav-pill.small { background: rgba(74, 78, 90, .94); box-shadow: 0 12px 34px rgba(30, 32, 40, .3); }
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 18px; flex: none; }
.logo-mark { width: 34px; height: 34px; border-radius: 11px; }
.nav-more { display: flex; align-items: center; gap: 10px; flex: 1; min-width: 0; }
.catnav { display: flex; align-items: center; gap: 2px; }
.cat-item { position: relative; }
.cat-link { display: inline-flex; align-items: center; gap: 4px; padding: 7px 11px; border-radius: 30px; font-size: 13.5px; color: var(--muted); white-space: nowrap; transition: color .25s, background .25s; }
.cat-link .ic { width: 12px; height: 12px; transition: transform .25s; }
.cat-link:hover, .cat-item:hover .cat-link { color: var(--text); background: rgba(255, 255, 255, .1); }
.cat-link.active { color: var(--accent); }
.cat-item:hover .cat-link .ic { transform: rotate(180deg); }
.dropdown { position: absolute; top: 100%; left: 0; min-width: 240px; margin-top: 8px; padding: 8px; border-radius: 18px; background: var(--surface); border: 1px solid var(--border-strong); box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(6px); transition: .2s var(--ease); z-index: 60; }
.dropdown::before { content: ''; position: absolute; left: 0; right: 0; top: -10px; height: 10px; }
.cat-item:hover .dropdown, .cat-item:focus-within .dropdown { opacity: 1; visibility: visible; transform: none; }
.dd-head { display: flex; align-items: center; gap: 8px; padding: 6px 10px 10px; font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); border-bottom: 1px solid var(--border); margin-bottom: 6px; }
.dd-head .ic { color: var(--accent); }
.dropdown a { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 7px 10px; border-radius: 12px; font-size: 14px; }
.dropdown a:hover { background: var(--surface-2); }
.dropdown .dd-game { justify-content: flex-start; gap: 10px; }
.dropdown .dd-game .muted { margin-left: auto; }
.dropdown .dd-all { color: var(--accent); font-weight: 600; justify-content: flex-start; gap: 6px; }
.dd-empty { padding: 8px 10px; font-size: 13px; }
.g-badge { flex: none; width: 28px; height: 28px; border-radius: 9px; object-fit: cover; }
.search { flex: 1 1 170px; min-width: 120px; max-width: 280px; margin-left: auto; display: flex; align-items: center; gap: 8px; padding: 0 14px; height: 38px; border-radius: 30px; background: rgba(255, 255, 255, .08); border: 1px solid var(--border); color: var(--muted); transition: background .25s, border-color .25s; }
.search:focus-within { background: rgba(255, 255, 255, .14); border-color: var(--accent); }
.search > span { display: flex; }
.search input { flex: 1; min-width: 0; background: none; border: 0; outline: 0; color: var(--text); font: inherit; font-size: 13.5px; text-overflow: ellipsis; }
.search input::placeholder { color: var(--muted); }
.live-support { display: none; align-items: center; gap: 7px; color: var(--muted); font-size: 14px; }
.live-support .ic { color: var(--accent); }
.lang-wrap { position: relative; flex: none; }
.lang-btn { display: inline-flex; align-items: center; gap: 5px; padding: 7px 8px; border: 0; border-radius: 30px; background: none; color: var(--muted); font: 500 13px Sora, sans-serif; cursor: pointer; }
.lang-btn:hover { color: var(--text); background: rgba(255, 255, 255, .1); }
.menu { position: absolute; right: 0; top: calc(100% + 10px); min-width: 170px; padding: 6px; border-radius: 16px; background: var(--surface); border: 1px solid var(--border-strong); box-shadow: var(--shadow); z-index: 60; }
.menu button { width: 100%; display: flex; justify-content: space-between; align-items: center; padding: 8px 10px; border: 0; border-radius: 10px; background: none; color: var(--text); font: 500 14px Sora, sans-serif; cursor: pointer; text-align: left; }
.menu button:hover { background: var(--surface-2); }
.menu button.on { color: var(--accent); }
.top-actions { display: flex; align-items: center; gap: 2px; flex: none; }
.top-icon { position: relative; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; color: var(--muted); transition: color .25s, background .25s; }
.top-icon:hover { color: var(--text); background: rgba(255, 255, 255, .1); }
.badge-dot { position: absolute; top: 1px; right: 0; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: var(--accent); color: var(--accent-ink); font: 700 10px/18px Sora, sans-serif; font-style: normal; text-align: center; }
.avatar-link { margin-left: 4px; }
.avatar-link .avatar { width: 36px; height: 36px; font-size: 14px; }
.menu-btn { display: none; place-items: center; width: 40px; height: 40px; flex: none; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .1); color: var(--text); cursor: pointer; }
.theme-seg { display: inline-flex; padding: 3px; gap: 2px; border-radius: 30px; background: rgba(255, 255, 255, .08); }
.theme-seg button { height: 32px; border: 0; border-radius: 30px; background: none; color: var(--muted); font: 600 13px Sora, sans-serif; cursor: pointer; transition: background .25s, color .25s; }
.theme-seg button.on { background: #fff; color: var(--ink); }

/* ===== Boutons & formulaires ===== */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 42px; padding: 0 22px; border-radius: 40px; border: 1px solid var(--border-strong); background: rgba(255, 255, 255, .08); color: var(--text); font: 600 14px Sora, sans-serif; cursor: pointer; white-space: nowrap; transition: transform .3s var(--ease), background .3s var(--ease), box-shadow .3s var(--ease); }
.btn:hover { transform: translateY(-2px); background: rgba(255, 255, 255, .16); }
.btn:active { transform: translateY(0) scale(.98); }
.btn:disabled { opacity: .5; cursor: not-allowed; transform: none; }
.btn-primary { background: #fff; border-color: transparent; color: var(--ink); box-shadow: 0 8px 26px rgba(30, 32, 40, .28); }
.btn-primary:hover { background: #f6efe6; box-shadow: 0 12px 34px rgba(30, 32, 40, .4); }
.btn-lg { min-height: 50px; padding: 0 30px; font-size: 15px; }
.btn-block { width: 100%; }
.btn-ghost { background: transparent; border-color: transparent; }
.input, textarea.input, select.input { width: 100%; height: 46px; padding: 0 16px; border-radius: 16px; border: 1px solid var(--border-strong); background: rgba(255, 255, 255, .07); color: var(--text); font: inherit; outline: 0; transition: border-color .25s, background .25s; }
select.input option { background: var(--surface); color: var(--text); }
textarea.input { height: auto; min-height: 120px; padding: 12px 16px; resize: vertical; }
.input:focus { border-color: var(--accent); background: rgba(255, 255, 255, .12); }
.input::placeholder { color: var(--muted); }
label.field { display: block; margin-bottom: 14px; }
label.field > span { display: block; font-size: 13px; font-weight: 600; color: var(--muted); margin-bottom: 6px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--muted); cursor: pointer; }
.check input { margin-top: 3px; accent-color: var(--accent); }
.link { color: var(--accent); font-weight: 600; font-size: 14px; }

/* ===== Cartes & sections ===== */
.card { background: var(--surface); border: 1px solid var(--border); border-radius: 22px; padding: 24px; }
.section { margin: 34px 0; }
.section-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 14px; }
.section-head h2 { margin: 0; }
.ico-box { flex: none; width: 42px; height: 42px; border-radius: 14px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); }

/* ===== Accueil ===== */
.hero { position: relative; min-height: 100svh; display: grid; place-items: center; padding: 120px 24px 80px; text-align: center; overflow: hidden; }
.hero::before { content: ''; position: absolute; inset: -20% -10% auto; height: 80%; background: radial-gradient(50% 50% at 50% 50%, rgba(230, 181, 126, .22), transparent 70%); pointer-events: none; }
#sky { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.hero-inner { position: relative; display: flex; flex-direction: column; align-items: center; gap: 22px; width: min(720px, 100%); }
.hero-logo img { width: 104px; height: 104px; border-radius: 30px; box-shadow: 0 18px 50px rgba(30, 32, 40, .4); animation: float 6s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-9px); } }
.hero-badge { display: inline-flex; align-items: center; gap: 10px; padding: 8px 18px; border-radius: 40px; background: rgba(255, 255, 255, .1); border: 1px solid var(--border-strong); font-size: 14px; font-weight: 600; }
.dot { width: 8px; height: 8px; flex: none; border-radius: 50%; background: var(--accent); animation: pulse 2s infinite; }
@keyframes pulse { from { box-shadow: 0 0 0 0 rgba(230, 181, 126, .6); } 70%, 100% { box-shadow: 0 0 0 10px rgba(230, 181, 126, 0); } }
.hero h1 { margin: 0; font-size: clamp(64px, 13vw, 124px); line-height: 1; font-weight: 800; letter-spacing: -.04em; background: linear-gradient(180deg, #fff 30%, #e9dccb); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: clamp(16px, 2.2vw, 19px); color: var(--muted); max-width: 540px; }
.hero-search { display: flex; align-items: center; gap: 12px; width: min(480px, 100%); padding: 13px 22px; border-radius: 40px; background: rgba(255, 255, 255, .1); border: 1px solid var(--border-strong); color: var(--muted); transition: background .3s, border-color .3s; }
.hero-search:focus-within { background: rgba(255, 255, 255, .16); border-color: var(--accent); }
.hero-search input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; color: var(--text); font: inherit; }
.hero-search input::placeholder { color: var(--muted); }
.hero-cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.scroll-hint { position: absolute; bottom: 26px; left: 50%; width: 26px; height: 42px; margin-left: -13px; padding: 0; border: 2px solid var(--border-strong); border-radius: 20px; background: none; cursor: pointer; }
.scroll-hint span { position: absolute; top: 8px; left: 50%; width: 4px; height: 8px; margin-left: -2px; border-radius: 3px; background: var(--text); animation: wheel 1.8s var(--ease) infinite; }
@keyframes wheel { to { transform: translateY(14px); opacity: 0; } }
.home { width: min(1160px, 100%); margin: 0 auto; padding: 0 24px; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.stat { padding: 26px 18px; border-radius: 22px; background: var(--surface); border: 1px solid var(--border); text-align: center; }
.stat b { display: block; font-size: clamp(28px, 4vw, 40px); font-weight: 700; letter-spacing: -.02em; }
.stat > span { font-size: 14px; color: var(--muted); }
.block { padding-top: 110px; }
.narrow { max-width: 760px; margin: 0 auto; }
.head { max-width: 640px; margin: 0 auto 40px; text-align: center; }
.head.left { margin: 0; text-align: left; }
.kicker { display: block; margin-bottom: 10px; font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.head h2 { margin: 0; font-size: clamp(28px, 4.4vw, 42px); line-height: 1.15; }
.head p { margin-top: 12px; color: var(--muted); }
.fchips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 28px; }
.fchip { padding: 8px 18px; border-radius: 30px; border: 1px solid var(--border-strong); background: transparent; color: var(--muted); font: 500 14px Sora, sans-serif; cursor: pointer; transition: all .25s var(--ease); }
.fchip:hover { color: var(--text); background: rgba(255, 255, 255, .08); }
.fchip.on { background: #fff; border-color: #fff; color: var(--ink); font-weight: 600; }
.more { margin-top: 28px; text-align: center; }
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feature { position: relative; overflow: hidden; padding: 26px; border-radius: 22px; background: var(--surface); border: 1px solid var(--border); }
.feature::before { content: ''; position: absolute; inset: 0; background: radial-gradient(240px circle at var(--mx, 50%) var(--my, 0%), rgba(230, 181, 126, .2), transparent 70%); opacity: 0; transition: opacity .3s; }
.feature:hover::before { opacity: 1; }
.feature .ic { position: relative; display: block; margin-bottom: 16px; color: var(--accent); }
.feature h3, .feature p { position: relative; }
.feature h3 { margin-bottom: 6px; font-size: 17px; }
.feature p { font-size: 14px; color: var(--muted); }
.how { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; }
.how-side .head { position: sticky; top: 120px; }
.how-steps { position: relative; display: grid; gap: 22px; margin: 0; padding: 0 0 0 58px; list-style: none; }
.rail { position: absolute; top: 8px; bottom: 8px; left: 20px; width: 3px; border-radius: 3px; background: var(--border-strong); }
.rail u { display: block; height: 100%; border-radius: 3px; background: var(--accent); transform: scaleY(0); transform-origin: top; }
.how-step { position: relative; padding: 22px 24px; border-radius: 20px; background: var(--surface); border: 1px solid var(--border); }
.how-step > b { position: absolute; top: 20px; left: -58px; width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; background: var(--surface-2); border: 1px solid var(--border-strong); }
.how-step h3 { margin-bottom: 4px; font-size: 17px; }
.how-step p { font-size: 14px; color: var(--muted); }
.cta { display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 56px 24px; border-radius: 30px; text-align: center; background: linear-gradient(135deg, #5a5f6d, #4a4e5a); border: 1px solid var(--border-strong); }
.cta img { width: 64px; height: 64px; border-radius: 20px; }
.cta h2 { margin: 0; font-size: clamp(28px, 4.4vw, 42px); }
.cta p { color: var(--muted); }

/* ===== Cartes d'offres ===== */
.products { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 18px; }
.offer { display: flex; flex-direction: column; overflow: hidden; border-radius: 22px; background: var(--surface); border: 1px solid var(--border); transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease), opacity .8s var(--ease), filter .8s var(--ease); }
.offer:hover { transform: translateY(-6px); border-color: var(--border-strong); box-shadow: 0 20px 44px rgba(30, 32, 40, .34); }
.offer-img { aspect-ratio: 16 / 11; overflow: hidden; background: var(--surface-2); }
.offer-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.offer:hover .offer-img img { transform: scale(1.05); }
.offer-body { display: flex; flex: 1; flex-direction: column; gap: 10px; padding: 16px 18px 18px; }
.offer-tag { font-size: 12px; font-weight: 600; color: var(--accent); }
.offer h3 { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin: 0; font-size: 15px; line-height: 1.4; letter-spacing: 0; }
.offer-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; padding-top: 6px; }
.price { font-size: 19px; font-weight: 700; }
.old { color: var(--muted); text-decoration: line-through; font-size: 13px; margin-left: 6px; font-weight: 500; }
.offer-time { font-size: 12px; color: var(--muted); }
.row-scroll { display: flex; gap: 16px; margin: 0 -24px; padding: 6px 24px 16px; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none; }
.row-scroll::-webkit-scrollbar { display: none; }
.row-scroll .offer { flex: 0 0 250px; scroll-snap-align: start; }

/* ===== Catalogue ===== */
.shop { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 24px; margin: 0 0 26px; }
.filters { position: sticky; top: 96px; align-self: start; padding: 18px; }
.filters h4 { margin: 16px 0 6px; font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.filters h4:first-child { margin-top: 0; }
.f-opt { display: flex; justify-content: space-between; padding: 7px 12px; border-radius: 14px; cursor: pointer; font-size: 14px; color: var(--muted); transition: background .25s, color .25s; }
.f-opt:hover { background: rgba(255, 255, 255, .08); color: var(--text); }
.f-opt.on { background: var(--accent-soft); color: var(--accent); font-weight: 600; }
.shop-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; flex-wrap: wrap; }
.shop-head h1 { margin: 0; font-size: 30px; }
.pager { display: flex; gap: 8px; justify-content: center; margin: 28px 0; }

/* ===== Fiche article ===== */
.crumbs { display: flex; gap: 8px; font-size: 13px; color: var(--muted); margin: 0 0 16px; flex-wrap: wrap; }
.crumbs a:hover { color: var(--text); }
.back { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 20px; font-size: 14px; color: var(--muted); transition: color .25s, gap .25s var(--ease); }
.back:hover { color: var(--text); gap: 12px; }
.p-grid { display: grid; grid-template-columns: minmax(0, 1fr) 400px; grid-template-rows: auto auto 1fr; gap: 22px 28px; }
.p-head, .p-gallery, .p-about { grid-column: 1; min-width: 0; }
.p-gallery { position: relative; }
.p-about { padding-top: 22px; }
.buy { grid-column: 2; grid-row: 1 / span 3; align-self: start; position: sticky; top: 92px; overflow: hidden; border-radius: 28px; background: linear-gradient(180deg, #535866, var(--surface)); border: 1px solid var(--border-strong); box-shadow: 0 22px 54px rgba(30, 32, 40, .3); }
.pd-title { margin: 6px 0 0; font-size: clamp(26px, 3.6vw, 38px); line-height: 1.2; font-weight: 700; overflow-wrap: anywhere; background: linear-gradient(180deg, #fff 30%, #e9dccb); -webkit-background-clip: text; background-clip: text; color: transparent; }
.g-main { position: relative; display: block; width: 100%; aspect-ratio: 16 / 10; padding: 0; overflow: hidden; border: 1px solid var(--border-strong); border-radius: 26px; background: var(--surface); cursor: zoom-in; }
.g-blur { position: absolute; inset: -10%; width: 120%; height: 120%; max-width: none; object-fit: cover; filter: blur(30px) brightness(.8); }
.g-photo { position: relative; width: 100%; height: 100%; object-fit: contain; view-transition-name: offer-photo; }
.g-arrow { position: absolute; top: calc(50% - 56px); width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid var(--border-strong); border-radius: 50%; background: rgba(74, 78, 90, .78); color: var(--text); backdrop-filter: blur(10px); cursor: pointer; transition: transform .3s var(--ease), background .3s; }
.g-arrow:hover { transform: scale(1.08); background: var(--surface-2); }
.g-arrow.left { left: 14px; }
.g-arrow.right { right: 14px; }
.g-thumbs { display: flex; gap: 10px; margin-top: 12px; padding: 2px; overflow-x: auto; scrollbar-width: none; }
.g-thumbs button { flex: none; width: 92px; height: 62px; padding: 0; overflow: hidden; border: 2px solid transparent; border-radius: 14px; background: var(--surface); opacity: .65; cursor: pointer; transition: opacity .25s, border-color .25s; }
.g-thumbs button.on, .g-thumbs button:hover { opacity: 1; }
.g-thumbs button.on { border-color: var(--accent); }
.g-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.lb { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; padding: 24px; background: rgba(40, 42, 50, .88); backdrop-filter: blur(10px); cursor: zoom-out; animation: lbIn .25s ease; }
.lb img { max-width: 100%; max-height: 100%; border-radius: 18px; }
@keyframes lbIn { from { opacity: 0; } }
::view-transition-group(offer-photo) { animation-duration: .55s; animation-timing-function: cubic-bezier(.23, .86, .39, .96); }
.buy-flag { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 16px; background: rgba(230, 181, 126, .18); color: #fbe7cf; font-size: 14px; }
.buy-flag .ic { color: var(--accent); }
.buy-flag b { font-weight: 600; }
.tip { display: inline-flex; color: var(--muted); cursor: help; }
.buy-in { display: grid; gap: 18px; padding: 22px; }
.buy-top { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.buy-price { display: block; font-size: 38px; line-height: 1.1; font-weight: 800; letter-spacing: -.03em; }
.buy-top small, .buybar small { font-size: 12px; color: var(--muted); }
.buy-stock { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 30px; background: rgba(255, 255, 255, .08); font-size: 13px; }
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(92px, 1fr)); gap: 8px; }
.tile { display: grid; gap: 2px; padding: 12px; border-radius: 16px; background: rgba(255, 255, 255, .07); border: 1px solid var(--border); }
.tile .ic { color: var(--accent); margin-bottom: 4px; }
.tile span { font-size: 12px; color: var(--muted); }
.tile b { font-size: 14px; font-weight: 600; }
.buy-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 14px; font-weight: 600; }
.stepper { display: flex; align-items: center; padding: 3px; border-radius: 30px; background: rgba(255, 255, 255, .08); border: 1px solid var(--border-strong); }
.stepper button { width: 34px; height: 34px; border: 0; border-radius: 50%; background: none; color: var(--text); font: inherit; font-size: 18px; cursor: pointer; transition: background .2s; }
.stepper button:hover { background: rgba(255, 255, 255, .14); }
.stepper input { width: 44px; border: 0; outline: 0; background: none; color: var(--text); font: inherit; font-weight: 600; text-align: center; -moz-appearance: textfield; }
.stepper input::-webkit-inner-spin-button, .stepper input::-webkit-outer-spin-button { -webkit-appearance: none; }
.buy-pay { display: grid; gap: 8px; font-size: 14px; font-weight: 600; }
.pay-seg { display: flex; flex-wrap: wrap; gap: 6px; }
.pay-seg label { flex: 1 1 auto; cursor: pointer; }
.pay-seg input { position: absolute; opacity: 0; }
.pay-seg span { display: block; padding: 9px 10px; border-radius: 30px; border: 1px solid var(--border-strong); font-size: 13px; font-weight: 500; text-align: center; white-space: nowrap; color: var(--muted); transition: all .25s var(--ease); }
.pay-seg input:checked + span { background: #fff; border-color: #fff; color: var(--ink); font-weight: 600; }
.pay-seg input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.buy-more { display: grid; gap: 10px; }
.buy-more label.field { margin: 0; }
.sum { display: grid; gap: 6px; margin: 0; padding-top: 14px; border-top: 1px solid var(--border); font-size: 13px; color: var(--muted); }
.sum div { display: flex; justify-content: space-between; }
.sum dd { margin: 0; color: var(--text); }
.trust { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; font-size: 13px; color: var(--muted); }
.trust li { display: flex; gap: 10px; align-items: flex-start; }
.trust .ic { margin-top: 1px; color: var(--accent); }
.trust b { color: var(--text); font-weight: 600; }
.trust a { text-decoration: underline; }
.about-head h2 { margin: 0; font-size: clamp(24px, 3vw, 30px); }
.pills-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.pill-mini { display: inline-flex; align-items: center; gap: 7px; padding: 7px 13px; border-radius: 30px; background: rgba(255, 255, 255, .09); border: 1px solid var(--border); font-size: 13px; }
.pill-mini > .ic { color: var(--accent); }
.pill-mini b { font-weight: 600; }
.about-lead { margin-top: 16px; font-size: 18px; font-weight: 600; }
.secs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 18px; }
.sec { padding: 20px 22px; border-radius: 20px; background: var(--surface); border: 1px solid var(--border); font-size: 14px; }
.sec.wide { grid-column: 1 / -1; }
.sec.gold { background: rgba(230, 181, 126, .13); border-color: rgba(230, 181, 126, .3); }
.sec h3 { display: flex; align-items: center; gap: 9px; font-size: 15px; letter-spacing: 0; }
.sec h3 .ic { color: var(--accent); }
.sec p { color: var(--muted); }
.sec p + p { margin-top: 6px; }
.ticks { display: grid; gap: 7px; margin: 0; padding: 0; list-style: none; color: var(--muted); }
.sec p + .ticks { margin-top: 8px; }
.ticks li { display: flex; gap: 9px; }
.ticks .ic { margin-top: 3px; color: var(--accent); }
.ticks span { min-width: 0; overflow-wrap: anywhere; }
.signature { display: inline-flex; align-items: center; gap: 10px; margin-top: 18px; font-size: 14px; font-weight: 600; }
.signature img { width: 28px; height: 28px; border-radius: 9px; }
.p-similar { margin-top: 70px; }
.p-similar h2 { margin-bottom: 20px; font-size: clamp(24px, 3vw, 30px); }
.buybar { display: none; }
.report-back { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 16px; background: rgba(40, 42, 50, .75); backdrop-filter: blur(6px); }
.report { width: 100%; max-width: 520px; max-height: calc(100vh - 32px); overflow: auto; }
.report h2 { margin-top: 0; }
.copy-row { display: flex; gap: 8px; }
.copy-row .input { flex: 1; min-width: 0; }

/* ===== Commande ===== */
.pdp { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 22px; align-items: start; }
.pdp > * { min-width: 0; }
.breakdown { margin: 14px 0; font-size: 14px; }
.breakdown div { display: flex; justify-content: space-between; padding: 3px 0; color: var(--muted); }
.breakdown .total { font-weight: 700; font-size: 16px; padding-top: 8px; color: var(--text); }

/* ===== Connexion ===== */
.auth-wrap { display: grid; place-items: center; padding: 30px 0 60px; }
.auth { width: 100%; max-width: 430px; text-align: center; padding: 34px; }
.auth .ico-box { margin: 0 auto 14px; width: 54px; height: 54px; border-radius: 18px; }
.auth form { text-align: left; margin-top: 22px; }
.notice { padding: 12px 16px; border-radius: 16px; font-size: 13px; margin: 14px 0; text-align: left; background: rgba(247, 205, 114, .14); }
.notice.info { background: var(--accent-soft); }

/* ===== Compte ===== */
.account { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 24px; margin: 0 0 26px; }
.side-nav { display: flex; flex-direction: column; gap: 2px; position: sticky; top: 96px; align-self: start; }
.side-nav a { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 16px; color: var(--muted); font-weight: 500; transition: background .25s, color .25s; }
.side-nav a:hover { background: rgba(255, 255, 255, .08); color: var(--text); }
.side-nav a.active { background: var(--surface); color: var(--text); }
.avatar { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; background: var(--accent); color: var(--accent-ink); flex: none; }
.stats3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 18px; }
.stats3 .card { display: flex; gap: 14px; align-items: center; padding: 18px; }
.stats3 b { display: block; }
.stats3 span { font-size: 13px; color: var(--muted); }
table.list { width: 100%; border-collapse: collapse; font-size: 14px; }
table.list th { text-align: left; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); padding: 10px 12px; border-bottom: 1px solid var(--border); font-weight: 600; }
table.list td { padding: 13px 12px; border-bottom: 1px solid var(--border); }
table.list tr.click { cursor: pointer; }
table.list tr.click:hover td { background: rgba(255, 255, 255, .06); }
.empty { text-align: center; padding: 44px 20px; color: var(--muted); }
.empty .ico-box { margin: 0 auto 14px; width: 54px; height: 54px; border-radius: 18px; }

/* ===== Support ===== */
.thread { display: flex; flex-direction: column; gap: 12px; margin: 18px 0; max-height: 60vh; overflow-y: auto; padding-right: 4px; }
.msg { max-width: 80%; padding: 12px 16px; border-radius: 18px; white-space: pre-wrap; overflow-wrap: anywhere; line-height: 1.55; }
.msg small { display: block; font-size: 11px; color: var(--muted); margin-top: 6px; }
.msg.user { align-self: flex-end; background: var(--accent); color: var(--accent-ink); border-bottom-right-radius: 6px; }
.msg.user small { color: rgba(47, 36, 19, .75); }
.msg.admin { align-self: flex-start; background: var(--surface-2); border-bottom-left-radius: 6px; }
.msg.admin b { display: block; font-size: 12px; color: var(--accent); margin-bottom: 4px; }
.live-dot { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--muted); }
.live-dot::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 8px var(--green); }

/* ===== Pages d'info ===== */
.doc { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 26px; margin: 0 0 26px; }
.doc article { line-height: 1.75; }
.doc article h1 { font-size: 32px; }
.doc article h2 { font-size: 19px; margin-top: 30px; }
.doc article ul { padding-left: 20px; }
.doc article .updated { color: var(--muted); font-size: 13px; }
.faq details { border-radius: 18px; padding: 2px 22px; margin-bottom: 10px; background: var(--surface); border: 1px solid var(--border); }
.faq summary { cursor: pointer; padding: 15px 0; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 14px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--accent); font-size: 20px; line-height: 1; }
.faq details[open] summary::after { content: '−'; }
.faq details p { margin: 0 0 16px; font-size: 14px; color: var(--muted); }
.help-search { max-width: 560px; margin: 12px auto 0; display: block; }
.help-cats { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; margin: 18px 0 30px; }
.help-cats a { display: flex; flex-direction: column; gap: 12px; padding: 18px; border-radius: 20px; background: var(--surface); border: 1px solid var(--border); font-weight: 600; transition: transform .3s var(--ease), border-color .3s; }
.help-cats a:hover { transform: translateY(-3px); border-color: var(--accent); }

/* ===== Statuts ===== */
.status { display: inline-flex; align-items: center; gap: 6px; padding: 4px 11px; border-radius: 999px; font-size: 12px; font-weight: 600; white-space: nowrap; }
.status::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.st-pending_payment, .st-open { color: var(--yellow); background: rgba(247, 205, 114, .14); }
.st-paid, .st-processing, .st-answered { color: var(--accent); background: var(--accent-soft); }
.st-delivered { color: var(--green); background: rgba(127, 224, 171, .14); }
.st-refunded, .st-cancelled, .st-closed { color: var(--muted); background: var(--surface-2); }
.steps { display: flex; margin: 22px 0; }
.step { flex: 1; text-align: center; font-size: 12px; color: var(--muted); position: relative; }
.step i { display: grid; place-items: center; width: 30px; height: 30px; margin: 0 auto 6px; border-radius: 50%; background: var(--surface-2); font-style: normal; font-weight: 700; position: relative; z-index: 1; }
.step::before { content: ''; position: absolute; top: 15px; left: -50%; right: 50%; height: 2px; background: var(--surface-3); }
.step:first-child::before { display: none; }
.step.done i { background: var(--accent); color: var(--accent-ink); }
.step.done::before { background: var(--accent); }
.step.done { color: var(--text); }
pre.delivery { white-space: pre-wrap; overflow-wrap: anywhere; padding: 16px; border-radius: 16px; background: rgba(255, 255, 255, .07); border: 1px solid var(--green); font-family: ui-monospace, Consolas, monospace; caret-color: auto; }

/* ===== Divers ===== */
.toasts { position: fixed; bottom: 20px; right: 20px; display: flex; flex-direction: column; gap: 8px; z-index: 300; }
.toast { padding: 12px 16px; border-radius: 16px; background: var(--surface-2); border: 1px solid var(--border-strong); box-shadow: var(--shadow); font-size: 14px; animation: slide .25s ease; max-width: 340px; }
.toast.err { border-left: 3px solid var(--red); }
.toast.ok { border-left: 3px solid var(--green); }
@keyframes slide { from { transform: translateY(10px); opacity: 0; } }
.skeleton { background: linear-gradient(90deg, var(--surface) 0, var(--surface-2) 50%, var(--surface) 100%); background-size: 200% 100%; animation: shimmer 1.3s infinite; border-radius: 22px; height: 260px; }
@keyframes shimmer { to { background-position: -200% 0; } }
.row { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.between { justify-content: space-between; }
.mt { margin-top: 18px; }

.footer { margin-top: 70px; border-top: 1px solid var(--border); padding: 44px 0 26px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 30px; }
.footer h4 { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--accent); margin: 6px 0 12px; }
.footer-grid a:not(.logo) { display: block; padding: 4px 0; color: var(--muted); font-size: 14px; transition: color .25s; }
.footer-grid a:not(.logo):hover { color: var(--text); }
.footer-grid p { margin-top: 12px; font-size: 14px; }
.footer-bottom { margin-top: 30px; padding-top: 18px; border-top: 1px solid var(--border); font-size: 13px; }

/* ===== Responsive ===== */
@media (max-width: 1120px) {
  .menu-btn { display: grid; }
  .nav-pill { justify-content: space-between; border-radius: 30px; }
  .top-actions { margin-left: auto; }
  .nav-more { display: none; position: absolute; top: calc(100% + 8px); left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 12px; padding: 14px; border-radius: 24px; background: var(--surface); border: 1px solid var(--border-strong); box-shadow: var(--shadow); max-height: calc(100vh - 110px); overflow-y: auto; }
  .nav-pill.open .nav-more { display: flex; }
  .catnav { flex-wrap: wrap; }
  .cat-link .ic, .dropdown { display: none; }
  .search { max-width: none; flex: none; margin: 0; }
  .live-support { display: inline-flex; padding: 0 4px; }
  .lang-wrap { align-self: flex-start; }
  .menu { right: auto; left: 0; top: auto; bottom: calc(100% + 6px); }
}
@media (max-width: 960px) {
  .p-grid { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; }
  .p-head, .p-gallery, .p-about, .buy { grid-column: 1; grid-row: auto; }
  .buy { position: static; }
  .on-product .footer { padding-bottom: 110px; }
  .buybar { position: fixed; inset: auto 12px 12px; z-index: 40; display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 10px 10px 10px 20px; border-radius: 40px; background: rgba(84, 89, 102, .94); border: 1px solid var(--border-strong); backdrop-filter: blur(16px); box-shadow: 0 12px 34px rgba(30, 32, 40, .4); }
  .buybar b { display: block; font-size: 19px; line-height: 1.2; }
  .features { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .how { grid-template-columns: 1fr; gap: 30px; }
  .how-side .head { position: static; }
  .shop, .account, .doc, .pdp { grid-template-columns: minmax(0, 1fr); }
  .filters, .side-nav { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .container, .home { padding: 0 16px; }
  .features, .secs, .stats3 { grid-template-columns: minmax(0, 1fr); }
  .products { grid-template-columns: minmax(0, 1fr); }
  .block { padding-top: 80px; }
  .hero-cta, .hero-cta .btn { width: 100%; }
  .scroll-hint { display: none; }
  .g-main { border-radius: 20px; }
  .row-scroll { margin: 0 -16px; padding: 6px 16px 16px; }
  .row-scroll .offer { flex-basis: 78%; }
  .buy-in { padding: 18px; }
  .msg { max-width: 92%; }
  table.list { font-size: 13px; }
  table.list .hide-sm { display: none; }
  .toasts { left: 16px; right: 16px; }
}
@media (max-width: 340px) { .logo span { display: none; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; filter: none; }
}
