:root{
  --bg:#f7f8fb;
  --card:#ffffff;
  --text:#0f172a;
  --muted:#64748b;
  --line:rgba(15,23,42,.08);
  --shadow: 0 14px 40px rgba(15,23,42,.08);
  --radius: 18px;
  --radius2: 26px;
  --accent1:#ff4d6d; /* rose */
  --accent2:#0ea5e9; /* bleu */
  --accent3:#22c55e; /* vert */
}

*{ box-sizing:border-box; }
html,body{ height:100%; }
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial;
  background:
    radial-gradient(900px 500px at 12% 6%, rgba(255,77,109,.18), transparent 60%),
    radial-gradient(900px 500px at 88% 6%, rgba(14,165,233,.18), transparent 60%),
    radial-gradient(900px 500px at 52% 12%, rgba(34,197,94,.10), transparent 60%),
    var(--bg);
  color:var(--text);
}

a{ color:inherit; text-decoration:none; }
.container{ width:min(1160px, 92vw); margin:0 auto; }

.topbar{
  position:sticky; top:0; z-index:20;
  backdrop-filter: blur(10px);
  background: rgba(247,248,251,.76);
  border-bottom:1px solid var(--line);
  display:flex; align-items:center; justify-content:space-between;
  padding:14px 4vw;
}

.brand{ display:flex; align-items:center; gap:10px; }
.brand__dot{
  width:10px; height:10px; border-radius:999px;
  background: linear-gradient(135deg, var(--accent1), var(--accent2));
  box-shadow: 0 0 0 6px rgba(14,165,233,.10);
}
.brand__name{ font-weight:950; letter-spacing:-.2px; }
.brand__tag{ color:var(--muted); font-size:.9rem; }

.nav{ display:flex; gap:18px; color:var(--muted); }
.nav a:hover{ color:var(--text); }

.btn{
  display:inline-flex; align-items:center; justify-content:center;
  padding:10px 14px;
  border-radius:999px;
  background: linear-gradient(135deg, var(--accent1), var(--accent2));
  color:white;
  font-weight:900;
  border:1px solid rgba(255,255,255,.55);
  box-shadow: 0 12px 28px rgba(255,77,109,.12);
  transition: transform .15s ease;
}
.btn--ghost{
  background: transparent;
  color: var(--text);
  border:1px solid var(--line);
  box-shadow:none;
}
.btn:hover{ transform: translateY(-1px); }

.section{ padding:42px 0; }
.section__head{ display:flex; align-items:end; justify-content:space-between; gap:18px; }
.section__head h2{ margin:0; font-size:1.4rem; }
.section__head p{ margin:6px 0 0; color:var(--muted); }
.section__hint{ display:flex; align-items:center; }

.hero{
  display:grid;
  grid-template-columns: 1.2fr .8fr;
  gap:20px;
  padding: 28px 0 10px;
}
.hero h1{ margin:12px 0 0; font-size: clamp(2rem, 3.2vw, 3rem); letter-spacing:-.9px; }
.hero p{ color:var(--muted); line-height:1.65; margin:10px 0 0; }
.grad{
  background: linear-gradient(135deg, var(--accent1), var(--accent2));
  -webkit-background-clip:text; background-clip:text;
  color:transparent;
}
.hero__pillRow{ display:flex; gap:10px; flex-wrap:wrap; }
.hero__tools{ display:flex; gap:12px; flex-wrap:wrap; margin-top:16px; }
.hero__ctaRow{ display:flex; gap:10px; flex-wrap:wrap; margin-top:16px; }

.search input, .filters select{
  background: rgba(255,255,255,.9);
  border:1px solid var(--line);
  color:var(--text);
  padding:12px 14px;
  border-radius: 14px;
  outline:none;
}
.search input{ width:min(420px, 78vw); }
.filters{ display:flex; gap:10px; flex-wrap:wrap; }

.pill{
  display:inline-flex; align-items:center; gap:8px;
  padding:8px 12px;
  border-radius:999px;
  border:1px solid var(--line);
  background: rgba(255,255,255,.78);
  color: var(--text);
  font-weight:800;
  font-size:.9rem;
}
.pill--soft{
  background: rgba(14,165,233,.10);
  border-color: rgba(14,165,233,.18);
  color:#075985;
}

.hero__preview{
  display:flex; justify-content:flex-end;
}
.previewCard{
  width:min(440px, 100%);
  border:1px solid var(--line);
  background: rgba(255,255,255,.65);
  border-radius: var(--radius2);
  box-shadow: var(--shadow);
  padding: 14px;
}
.previewTop{ display:flex; gap:10px; flex-wrap:wrap; }
.previewPhone{
  margin-top:12px;
  border:1px solid var(--line);
  border-radius: 22px;
  background: rgba(255,255,255,.9);
  padding: 14px;
}
.previewVideo{
  position:relative;
  border-radius: 18px;
  border:1px solid rgba(15,23,42,.10);
  background: linear-gradient(135deg, rgba(255,77,109,.18), rgba(14,165,233,.18));
  aspect-ratio: 9 / 16;
  display:grid; place-items:center;
}
.playBig{
  width:64px; height:64px; border-radius:999px;
  background: rgba(255,255,255,.92);
  border:1px solid rgba(15,23,42,.10);
  box-shadow: 0 14px 40px rgba(15,23,42,.14);
  display:grid; place-items:center;
  font-weight:900;
}
.previewText{ margin-top:12px; display:grid; gap:10px; }
.previewText .line{ height:10px; border-radius:999px; background: rgba(15,23,42,.10); }
.previewText .line.short{ width:60%; }
.previewBtn{ margin-top:12px; height:40px; border-radius:999px; background: rgba(255,77,109,.18); border:1px solid rgba(255,77,109,.22); }

.grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:14px;
  margin-top:16px;
}

.item{
  border:1px solid var(--line);
  background: var(--card);
  border-radius: var(--radius);
  overflow:hidden;
  box-shadow: var(--shadow);
  transition: transform .15s ease;
}
.item:hover{ transform: translateY(-3px); }
.item__media{
  height:210px;
  background: #eef2ff;
  border-bottom:1px solid var(--line);
  position:relative;
}
.item__media img{
  width:100%; height:100%;
  object-fit:cover;
}
.item__badge{ position:absolute; left:12px; top:12px; }
.item__body{ padding:14px; }
.item__title{ font-weight:950; margin:0 0 8px; line-height:1.2; }
.item__meta{ display:flex; gap:8px; flex-wrap:wrap; align-items:center; }
.muted{ color:var(--muted); }
.small{ font-size:.92rem; }

.play{
  position:absolute; right:12px; bottom:12px;
  width:44px; height:44px; border-radius:999px;
  display:grid; place-items:center;
  background: rgba(255,255,255,.92);
  border:1px solid rgba(15,23,42,.10);
  box-shadow: 0 10px 30px rgba(15,23,42,.12);
  font-weight:900;
}

.card{
  border:1px solid var(--line);
  background: var(--card);
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: var(--shadow);
}
.card--row{ display:flex; gap:12px; align-items:center; }
.card--sticky{
  position: sticky;
  bottom: 12px;
  background: rgba(255,255,255,.88);
  backdrop-filter: blur(10px);
}

.chips{ display:flex; flex-wrap:wrap; gap:10px; margin-top:14px; }
.chip{
  padding:10px 12px;
  border-radius:999px;
  border:1px solid var(--line);
  background: rgba(255,255,255,.75);
  color: var(--muted);
  cursor:pointer;
  font-weight:800;
}
.chip:hover{ color:var(--text); border-color: rgba(255,77,109,.25); }

.product{
  display:grid;
  grid-template-columns: 1.2fr .8fr;
  gap:16px;
  padding: 18px 0 46px;
}
.product__crumbs{ display:flex; gap:10px; align-items:center; }
.product__meta{ display:flex; gap:10px; flex-wrap:wrap; margin: 10px 0 14px; }

.videoCard{
  border:1px solid var(--line);
  background: var(--card);
  border-radius: var(--radius2);
  overflow:hidden;
  box-shadow: var(--shadow);
  padding: 14px;
}
.videoCard--reels{
  display:flex;
  justify-content:center;
  align-items:center;
}
.reelsWrap{
  width: min(420px, 92vw);
  border-radius: 22px;
  overflow:hidden;
  border:1px solid rgba(15,23,42,.10);
  background:#000;
  box-shadow: 0 18px 60px rgba(15,23,42,.12);
}
.reelsWrap video{
  width:100%;
  aspect-ratio: 9 / 16;
  display:block;
  background:#000;
}
.reelsWrap .hint{
  padding:10px 12px;
  background: rgba(255,255,255,.88);
  border-top:1px solid rgba(15,23,42,.10);
  color:#0f172a;
  font-weight:800;
  display:flex; justify-content:space-between; align-items:center;
}

.bullets{ margin:10px 0 0; padding-left: 18px; }
.bullets li{ margin: 8px 0; color: var(--text); }

.gallery{
  display:grid;
  grid-template-columns: repeat(2, 1fr);
  gap:10px;
}
.gallery img{
  width:100%;
  aspect-ratio: 1 / 1;
  object-fit:cover;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: #f1f5f9;
}

.stack{ display:grid; gap:10px; }
.stack a{
  display:flex; gap:10px; align-items:center;
  padding:10px; border-radius: 14px;
  border:1px solid var(--line);
  background: rgba(255,255,255,.75);
}
.stack img{ width:54px; height:54px; object-fit:cover; border-radius:12px; border:1px solid var(--line); }
.stack strong{ display:block; font-weight:950; }
.stack span{ display:block; color:var(--muted); font-size:.92rem; }

.footer{
  border-top:1px solid var(--line);
  padding: 18px 0;
  background: rgba(247,248,251,.80);
}
.footer__inner{ display:flex; justify-content:space-between; align-items:center; }
.footer__links{ display:flex; gap:14px; }

@media (max-width: 980px){
  .hero{ grid-template-columns: 1fr; }
  .hero__preview{ justify-content:flex-start; }
  .grid{ grid-template-columns: repeat(2, 1fr); }
  .product{ grid-template-columns: 1fr; }
}
@media (max-width: 620px){
  .grid{ grid-template-columns: 1fr; }
  .nav{ display:none; }
}

#heroPreview video{
  width:100%;
  height:100%;
  display:block;
  object-fit:cover;
  border-radius: 18px;
}
#heroPreview a:hover video{
  filter: brightness(0.92);
}
#heroPreview{ position:relative; }

.heroPreviewLink{
  display:block;
  position:relative;
  width:100%;
  height:100%;
}

#heroPreview video{
  width:100%;
  height:100%;
  display:block;
  object-fit:cover;
  border-radius: 18px;
  cursor:pointer;
}

.heroPreviewBadge{
  position:absolute;
  right:12px;
  bottom:12px;
  padding:10px 12px;
  border-radius:999px;
  background: rgba(255,255,255,.92);
  border:1px solid rgba(15,23,42,.10);
  box-shadow: 0 10px 30px rgba(15,23,42,.12);
  font-weight:900;
  pointer-events:none; /* ✅ ne bloque jamais le clic */
}
