/* Tenere Shop — design system : sombre premium, accent indigo / fuchsia */
:root {
  --bg: #08080c;
  --bg-soft: #0e0e15;
  --surface: #14141d;
  --surface-2: #1b1b26;
  --line: rgba(255, 255, 255, .08);
  --line-strong: rgba(255, 255, 255, .16);
  --text: #f4f4f7;
  --muted: #9a9aab;
  --accent: #6d5efc;
  --accent-2: #e040a0;
  --accent-glow: rgba(109, 94, 252, .35);
  --success: #2fd18a;
  --warn: #ffb545;
  --danger: #ff5d6c;
  --radius: 18px;
  --shadow: 0 24px 60px rgba(0, 0, 0, .55);
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { font-family: var(--font); background: var(--bg); color: var(--text); line-height: 1.55; overflow-x: hidden; }
body.no-scroll { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, select, textarea { font-family: inherit; }
img { display: block; max-width: 100%; }
::selection { background: var(--accent); color: #fff; }

h1, h2, h3 { letter-spacing: -.03em; line-height: 1.1; font-weight: 700; }
h1 { font-size: clamp(2.3rem, 5.6vw, 4.2rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
h3 { font-size: 1.1rem; }
.eyebrow { text-transform: uppercase; letter-spacing: .22em; font-size: .7rem; font-weight: 600; color: var(--accent); }
.lede { color: var(--muted); font-size: 1.03rem; max-width: 62ch; }
.gradient-text { background: linear-gradient(100deg, #fff 10%, #b8b2ff 45%, #ff8ecb 90%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.wrap { width: min(1240px, 92vw); margin-inline: auto; }
.section { padding: clamp(54px, 7.5vw, 100px) 0; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 34px; }

/* ---------- Header ---------- */
.header { position: sticky; top: 0; z-index: 100; background: rgba(8, 8, 12, .72); backdrop-filter: blur(20px) saturate(160%); -webkit-backdrop-filter: blur(20px) saturate(160%); border-bottom: 1px solid transparent; transition: border-color .3s, background .3s; }
.header.scrolled { border-bottom-color: var(--line); background: rgba(8, 8, 12, .92); }
.header-inner { display: flex; align-items: center; gap: 20px; height: 72px; }
.brand { display: flex; align-items: center; gap: 11px; font-weight: 700; letter-spacing: -.02em; }
.brand-mark { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 11px; background: linear-gradient(135deg, var(--accent), var(--accent-2)); font-size: .8rem; font-weight: 800; box-shadow: 0 8px 24px var(--accent-glow); }
.brand small { display: block; font-size: .65rem; color: var(--muted); font-weight: 500; letter-spacing: .05em; }
.nav { display: flex; gap: 4px; margin-left: 12px; }
.nav a { padding: 9px 14px; border-radius: 10px; font-size: .9rem; color: var(--muted); transition: color .2s, background .2s; }
.nav a:hover { color: var(--text); background: rgba(255, 255, 255, .05); }
.header-actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.search-bar { display: flex; align-items: center; gap: 8px; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px; width: min(320px, 34vw); transition: border-color .2s, box-shadow .2s; }
.search-bar:focus-within { border-color: var(--accent); box-shadow: 0 0 0 4px rgba(109, 94, 252, .13); }
.search-bar input { background: none; border: none; outline: none; color: var(--text); width: 100%; font-size: .88rem; }
.search-bar svg { flex: none; opacity: .5; }
.icon-btn { position: relative; width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; border: 1px solid var(--line); background: var(--surface); transition: transform .18s, border-color .2s, background .2s; }
.icon-btn:hover { transform: translateY(-2px); border-color: var(--line-strong); background: var(--surface-2); }
.cart-count { position: absolute; top: -6px; right: -6px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px; background: linear-gradient(135deg, var(--accent), var(--accent-2)); font-size: .68rem; font-weight: 700; display: grid; place-items: center; border: 2px solid var(--bg); transform: scale(0); transition: transform .25s cubic-bezier(.34, 1.56, .64, 1); }
.cart-count.show { transform: scale(1); }
.burger { display: none; }

/* ---------- Boutons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: 13px 24px; border-radius: 12px; font-size: .92rem; font-weight: 600; white-space: nowrap; transition: transform .18s, box-shadow .25s, background .2s, border-color .2s, opacity .2s; }
.btn:active { transform: scale(.97); }
.btn-primary { background: linear-gradient(120deg, var(--accent), var(--accent-2)); color: #fff; box-shadow: 0 10px 30px var(--accent-glow); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 40px rgba(224, 64, 160, .32); }
.btn-ghost { border: 1px solid var(--line-strong); background: rgba(255, 255, 255, .03); }
.btn-ghost:hover { background: rgba(255, 255, 255, .08); transform: translateY(-2px); }
.btn-block { width: 100%; }
.btn-sm { padding: 9px 15px; font-size: .82rem; border-radius: 10px; }
.btn:disabled { opacity: .5; cursor: not-allowed; transform: none; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: clamp(46px, 7vw, 90px) 0 clamp(38px, 5vw, 70px); overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: -30% -10% auto -10%; height: 720px; background: radial-gradient(circle at 22% 40%, rgba(109, 94, 252, .3), transparent 60%), radial-gradient(circle at 78% 20%, rgba(224, 64, 160, .22), transparent 58%); filter: blur(20px); pointer-events: none; }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.hero-copy h1 { margin: 18px 0 20px; }
.hero-copy .lede { margin-bottom: 30px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 34px; }
.hero-stats { display: flex; gap: 32px; flex-wrap: wrap; }
.hero-stats strong { display: block; font-size: 1.5rem; letter-spacing: -.03em; }
.hero-stats span { font-size: .78rem; color: var(--muted); }
.hero-visual { position: relative; }
.hero-visual img { width: 100%; aspect-ratio: 4 / 3.3; object-fit: cover; border-radius: 24px; border: 1px solid var(--line-strong); box-shadow: var(--shadow); animation: floaty 8s ease-in-out infinite; }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
.hero-chip { position: absolute; display: flex; align-items: center; gap: 10px; padding: 11px 16px; border-radius: 14px; background: rgba(20, 20, 29, .86); border: 1px solid var(--line-strong); backdrop-filter: blur(14px); box-shadow: var(--shadow); font-size: .82rem; font-weight: 600; }
.hero-chip small { display: block; font-weight: 400; color: var(--muted); font-size: .72rem; }
.hero-chip.one { top: 8%; left: -22px; animation: floaty 6s ease-in-out infinite .4s; }
.hero-chip.two { bottom: 12%; right: -18px; animation: floaty 7s ease-in-out infinite 1.1s; }
.chip-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--success); box-shadow: 0 0 12px var(--success); }

/* ---------- Confiance ---------- */
.trust { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin-top: 18px; }
.trust-item { background: var(--bg-soft); padding: 20px 22px; display: flex; gap: 13px; }
.trust-item svg { flex: none; color: var(--accent); margin-top: 2px; }
.trust-item strong { display: block; font-size: .9rem; }
.trust-item span { font-size: .79rem; color: var(--muted); }

/* ---------- Filtres ---------- */
.toolbar { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; padding: 14px; margin-bottom: 28px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.pills { display: flex; gap: 8px; flex-wrap: wrap; }
.pill { padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line); background: transparent; font-size: .84rem; color: var(--muted); transition: all .2s; }
.pill:hover { color: var(--text); border-color: var(--line-strong); }
.pill.active { background: linear-gradient(120deg, var(--accent), var(--accent-2)); color: #fff; border-color: transparent; box-shadow: 0 6px 20px var(--accent-glow); }
.toolbar-right { display: flex; align-items: center; gap: 12px; margin-left: auto; }
.select { padding: 10px 14px; border-radius: 11px; background: var(--bg); border: 1px solid var(--line); color: var(--text); font-size: .84rem; outline: none; transition: border-color .2s; }
.select:focus { border-color: var(--accent); }
.result-count { font-size: .82rem; color: var(--muted); }
