/* ============ Lagan Qamis — flat & simple ============ */
:root {
  --wa-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a10 10 0 0 0-8.6 15.1L2 22l5-1.3A10 10 0 1 0 12 2zm4.5 12.1c-.2-.1-1.5-.7-1.7-.8s-.4-.1-.6.1-.7.8-.8 1-.3.2-.5.1a6.7 6.7 0 0 1-3.3-2.9c-.3-.4.2-.4.7-1.3.1-.2 0-.3 0-.4l-.8-1.8c-.2-.5-.4-.4-.6-.4h-.5a1 1 0 0 0-.7.3 3 3 0 0 0-.9 2.2 5.2 5.2 0 0 0 1.1 2.7 11.8 11.8 0 0 0 4.5 4c1.7.7 2.3.8 3.2.6.5-.1 1.5-.6 1.7-1.2s.2-1.1.1-1.2-.2-.2-.4-.3z'/%3E%3C/svg%3E");
  --ink: #141210;
  --paper: #f7f3ec;
  --white: #ffffff;
  --sand: #ece4d6;
  --accent: #c4552b;      /* terracotta */
  --accent-dark: #a2421f;
  --muted: #6f675d;
  --line: #ddd3c3;
  --radius: 4px;
  --max: 1240px;
  --font-title: "Archivo", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--font-title); line-height: 1.1; margin: 0 0 .5em; letter-spacing: -.01em; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.6rem); font-weight: 800; }
h3 { font-size: 1.05rem; font-weight: 600; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.center { text-align: center; }
.muted { color: #a59c8f; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  background: var(--accent);
  color: var(--white);
  font-weight: 600;
  font-size: .95rem;
  padding: 15px 28px;
  border: 2px solid var(--accent);
  border-radius: var(--radius);
  cursor: pointer;
  transition: background .2s, color .2s, border-color .2s;
  font-family: var(--font-body);
}
.btn:hover { background: var(--accent-dark); border-color: var(--accent-dark); }
.btn--ghost { background: transparent; border-color: var(--white); }
.btn--ghost:hover { background: var(--white); color: var(--ink); border-color: var(--white); }
.btn--light { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.btn--light:hover { background: var(--white); border-color: var(--white); }
.btn--small { padding: 9px 18px; font-size: .85rem; }

.eyebrow { text-transform: uppercase; letter-spacing: .18em; font-size: .75rem; font-weight: 600; color: var(--accent); margin-bottom: 1rem; }
.eyebrow--light { color: #f3c9b5; }
.link { font-weight: 600; border-bottom: 2px solid var(--accent); padding-bottom: 2px; }

/* ---------- Top bar & header ---------- */
.topbar { background: var(--ink); color: var(--paper); text-align: center; font-size: .8rem; padding: 8px 16px; letter-spacing: .03em; }

.header {
  position: sticky; top: 0; z-index: 50;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.header__inner { display: flex; align-items: center; gap: 32px; height: 70px; }
.logo { font-family: var(--font-title); font-weight: 500; font-size: 1.2rem; letter-spacing: .06em; white-space: nowrap; display: inline-flex; align-items: center; gap: 10px; }
.logo__img { width: 52px; height: 52px; display: block; flex-shrink: 0; }
.logo__img--big { width: 88px; height: 88px; }
.logo b { font-weight: 800; color: var(--accent); }
.logo small { font-size: .62rem; letter-spacing: .3em; margin-left: 4px; vertical-align: middle; }
.logo--light { color: var(--paper); }
.nav { display: flex; gap: 28px; margin-left: auto; font-size: .92rem; font-weight: 500; }
.nav a { position: relative; padding: 4px 0; }
.nav a::after { content: ""; position: absolute; left: 0; bottom: 0; width: 0; height: 2px; background: var(--accent); transition: width .2s; }
.nav a:hover::after { width: 100%; }

.burger { display: none; background: none; border: 0; width: 32px; height: 32px; padding: 0; cursor: pointer; }
.burger span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 6px auto; transition: transform .25s; }
.burger[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; height: calc(100vh - 104px); min-height: 520px; max-height: 900px; overflow: hidden; background: var(--ink); color: var(--white); display: flex; align-items: flex-end; }
.hero__slides { position: absolute; inset: 0; overflow: hidden; }
.hero__slide {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: var(--pos, center);
  opacity: 0; transform: scale(1.12);
  transition: opacity 1.4s ease;
}
.hero__slide.is-active { opacity: 1; animation: kenburns 7s linear forwards; }
@keyframes kenburns { from { transform: scale(1.12) translateX(1.5%); } to { transform: scale(1) translateX(0); } }
.hero__dots { position: absolute; left: 50%; bottom: 36px; transform: translateX(-50%); display: flex; gap: 8px; z-index: 2; }
.hero__dots button { width: 28px; height: 3px; padding: 0; border: 0; background: rgba(255,255,255,.4); cursor: pointer; }
.hero__dots button.is-active { background: var(--white); }
.hero__overlay { position: absolute; inset: 0; background: rgba(20, 18, 16, .45); }
.hero__content { position: relative; padding-bottom: 72px; }
.hero h1 { font-size: clamp(2.8rem, 7vw, 6rem); font-weight: 800; text-transform: uppercase; letter-spacing: -.02em; margin-bottom: .3em; }
.hero__lead { max-width: 480px; font-size: 1.1rem; opacity: .92; margin-bottom: 2rem; }
.hero .eyebrow { color: #f3c9b5; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__sound {
  position: absolute; right: 24px; bottom: 24px;
  width: 44px; height: 44px; border-radius: 50%;
  border: 2px solid rgba(255,255,255,.7); background: transparent; color: var(--white);
  font-size: .75rem; cursor: pointer;
}

/* ---------- Marquee ---------- */
.marquee { background: var(--accent); color: var(--white); overflow: hidden; padding: 14px 0; }
.marquee__track { display: flex; gap: 32px; width: max-content; animation: scroll 28s linear infinite; font-family: var(--font-title); font-weight: 800; text-transform: uppercase; letter-spacing: .08em; font-size: 1rem; }
@keyframes scroll { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { padding: 96px 0; }
.section--alt { background: var(--white); }
.section__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 40px; flex-wrap: wrap; }
.section__head h2 { margin: 0; }

/* Categories */
.cats { display: grid; grid-template-columns: repeat(var(--cols, 3), 1fr); gap: 20px; }
@media (max-width: 1000px) { .cats { --cols: 2 !important; } }
.cat { position: relative; aspect-ratio: 3 / 4; overflow: hidden; border-radius: var(--radius); background: var(--sand); }
.cat img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.cat:hover img { transform: scale(1.05); }
.cat span {
  position: absolute; left: 16px; bottom: 16px;
  background: var(--paper); color: var(--ink);
  padding: 10px 18px; font-family: var(--font-title); font-weight: 800; text-transform: uppercase; letter-spacing: .05em; font-size: .9rem;
}

/* Filters */
.filters { display: flex; gap: 8px; flex-wrap: wrap; }
.filter { background: transparent; border: 1.5px solid var(--line); color: var(--ink); padding: 8px 16px; border-radius: 999px; cursor: pointer; font: 500 .88rem var(--font-body); transition: all .2s; }
.filter:hover { border-color: var(--ink); }
.filter.is-active { background: var(--ink); border-color: var(--ink); color: var(--white); }

/* Product grid */
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px 20px; }
.card { transition: opacity .3s; }
.card.is-hidden { display: none; }
.card__img { display: block; width: 100%; padding: 0; border: 0; cursor: pointer; position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--sand); border-radius: var(--radius); margin-bottom: 14px; }
.card__img img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .6s ease; }
.card:hover .card__img img { transform: scale(1.04); }
.tag { position: absolute; top: 12px; left: 12px; z-index: 1; background: var(--accent); color: var(--white); font-size: .7rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; padding: 5px 10px; }
.tag--dark { background: var(--ink); }
.card h3 { margin-bottom: 2px; }
.card__meta { color: var(--muted); font-size: .85rem; margin-bottom: 6px; }
.card__row { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.card__row strong { white-space: nowrap; }
.dots { display: flex; gap: 6px; }
.dots i { width: 14px; height: 14px; border-radius: 50%; background: var(--c); border: 1px solid var(--line); }

.card__order {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  margin-top: 12px; padding: 11px 12px; border-radius: var(--radius);
  background: #1f9d55; color: var(--white); font-weight: 600; font-size: .88rem; text-align: center;
  transition: background .2s;
}
.card__order::before { content: ""; width: 16px; height: 16px; flex: none; background: currentColor; -webkit-mask: var(--wa-icon) center / contain no-repeat; mask: var(--wa-icon) center / contain no-repeat; }
.card__order:hover { background: #17834a; }
.grid__msg { grid-column: 1 / -1; text-align: center; color: var(--muted); padding: 40px 0; margin: 0; }

/* Fiche produit */
.qv { width: min(900px, calc(100vw - 32px)); max-height: calc(100vh - 32px); padding: 0; border: 0; border-radius: 8px; background: var(--paper); color: var(--ink); }
.qv::backdrop { background: rgba(20, 18, 16, .6); }
.qv__close { position: absolute; top: 10px; right: 12px; z-index: 2; width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--white); font-size: 1.6rem; line-height: 1; cursor: pointer; }
.qv__grid { display: grid; grid-template-columns: 1fr 1fr; }
.qv__img { background: var(--sand); }
.qv__img img { width: 100%; height: 100%; max-height: calc(100vh - 32px); object-fit: cover; object-position: top; }
.qv__body { padding: 40px 32px 32px; display: flex; flex-direction: column; gap: 12px; overflow-y: auto; }
.qv__body h3 { font-size: 1.8rem; font-weight: 800; margin: 0; }
.qv__body .eyebrow { margin: 0; }
.qv__price { font-family: var(--font-title); font-size: 1.4rem; font-weight: 800; color: var(--accent); margin: 0; }
.qv__meta { color: var(--muted); margin: 0; }
.qv__desc { margin: 0; }
.qv__opt { display: flex; flex-direction: column; gap: 8px; }
.qv__opt > span { font-size: .8rem; font-weight: 600; text-transform: uppercase; letter-spacing: .1em; }
.qv__choices { display: flex; flex-wrap: wrap; gap: 8px; }
.qv__choice { min-width: 46px; height: 40px; padding: 0 12px; border: 1.5px solid var(--line); background: var(--white); border-radius: var(--radius); font: 600 .9rem var(--font-body); cursor: pointer; color: var(--ink); }
.qv__choice:hover { border-color: var(--ink); }
.qv__choice.is-on { border-color: var(--ink); background: var(--ink); color: var(--white); }
.qv__swatch { min-width: 0; width: 36px; height: 36px; padding: 0; border-radius: 50%; background: var(--c); }
.qv__swatch.is-on { background: var(--c); box-shadow: 0 0 0 2px var(--paper), 0 0 0 4px var(--ink); }
.btn--wa { display: flex; align-items: center; justify-content: center; gap: 10px; background: #1f9d55; border-color: #1f9d55; margin-top: 8px; }
.btn--wa:hover { background: #17834a; border-color: #17834a; }
.btn--wa.is-disabled { opacity: .5; }
.qv__note { font-size: .82rem; color: var(--muted); margin: 0; }

/* Banner */
.banner { background: var(--ink); color: var(--paper); padding: 72px 0; }
.banner__inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.banner p { max-width: 560px; opacity: .85; margin: 0; }

/* Split / story */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.split__media { aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--radius); background: var(--sand); }
.split__media img, .split__media video { width: 100%; height: 100%; object-fit: cover; }
.split__text p { color: var(--muted); font-size: 1.05rem; }
.stats { list-style: none; padding: 0; margin: 2rem 0 0; display: flex; gap: 40px; border-top: 1px solid var(--line); padding-top: 24px; }
.stats b { display: block; font-family: var(--font-title); font-size: 2rem; font-weight: 800; color: var(--accent); }
.stats span { font-size: .85rem; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; }

/* Lookbook */
.look { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: repeat(2, 300px); gap: 16px; }
.look figure { margin: 0; overflow: hidden; border-radius: var(--radius); background: var(--sand); }
.look img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.look figure:hover img { transform: scale(1.05); }
.look__big { grid-row: span 2; }

/* Perks */
.perks { background: var(--sand); padding: 64px 0; }
.perks__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.perks__grid--3 { grid-template-columns: repeat(3, 1fr); }
.footer__grid--3 { grid-template-columns: 2fr 1fr 1.4fr !important; }
.perk__icon { display: inline-grid; place-items: center; width: 48px; height: 48px; background: var(--accent); color: var(--white); font-size: 1.2rem; margin-bottom: 16px; border-radius: 50%; }
.perk p { color: var(--muted); font-size: .92rem; margin: 0; }

/* Reviews */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 40px; }
.reviews blockquote { margin: 0; background: var(--white); padding: 32px; border-left: 4px solid var(--accent); }
.reviews p { font-size: 1.05rem; }
.reviews cite { font-style: normal; font-weight: 600; font-size: .9rem; color: var(--muted); }

/* Newsletter */
.newsletter { background: var(--accent); color: var(--white); padding: 72px 0; }
.newsletter__inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.newsletter p { margin: 0; opacity: .9; }
.form { display: flex; gap: 8px; flex: 0 1 460px; }
.form input { flex: 1; min-width: 0; padding: 15px 16px; border: 2px solid var(--white); background: var(--white); border-radius: var(--radius); font: 1rem var(--font-body); color: var(--ink); }
.form .btn { background: var(--ink); border-color: var(--ink); }
.form .btn:hover { background: #000; }

/* Footer */
.footer { background: var(--ink); color: var(--paper); padding: 72px 0 24px; }
.footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; }
.footer h4 { font-size: .8rem; text-transform: uppercase; letter-spacing: .15em; color: #a59c8f; margin-bottom: 16px; }
.footer__grid a:not(.logo) { display: block; padding: 4px 0; opacity: .85; }
.footer__grid a:hover { opacity: 1; color: #f3c9b5; }
.footer .muted { margin-top: 16px; max-width: 280px; }
.footer__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; margin-top: 56px; padding-top: 24px; border-top: 1px solid #2c2925; font-size: .82rem; color: #a59c8f; }
.footer__bottom a { text-decoration: underline; }

/* WhatsApp */
.whatsapp { position: fixed; right: 20px; bottom: 20px; z-index: 60; width: 56px; height: 56px; border-radius: 50%; background: #25d366; color: var(--white); display: grid; place-items: center; transition: transform .2s; }
.whatsapp:hover { transform: scale(1.08); }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 980px) {
  .grid { grid-template-columns: repeat(2, 1fr); }
  .perks__grid { grid-template-columns: repeat(2, 1fr); }
  .perks__grid--3 { grid-template-columns: repeat(3, 1fr); }
  .split { grid-template-columns: 1fr; gap: 40px; }
  .split__media { aspect-ratio: 16 / 11; }
  .reviews { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .banner__inner, .newsletter__inner { flex-direction: column; align-items: flex-start; }
  .form { width: 100%; flex-basis: auto; }
}

@media (max-width: 760px) {
  .qv { width: 100vw; max-width: 100vw; max-height: 100vh; height: 100vh; margin: 0; border-radius: 0; }
  .qv__grid { grid-template-columns: 1fr; }
  .qv__img img { max-height: 55vh; }
  .qv__body { padding: 24px 16px 32px; }
  .card__order { font-size: .8rem; padding: 10px 6px; }
  .card__row { flex-direction: column; align-items: flex-start; gap: 6px; }
  .container { padding: 0 16px; }
  .burger { display: block; }
  .header__inner { gap: 12px; justify-content: space-between; }
  .header__cta { display: none; }
  .logo { font-size: 1rem; }
  .logo__img { width: 44px; height: 44px; }
  .perks__grid--3 { grid-template-columns: 1fr; }
  .footer__grid--3 { grid-template-columns: 1fr !important; }
  .nav {
    position: fixed; top: 104px; left: 0; right: 0; bottom: 0;
    flex-direction: column; gap: 0; margin: 0; padding: 16px;
    background: var(--paper); font-family: var(--font-title); font-size: 1.6rem; font-weight: 800; text-transform: uppercase;
    transform: translateX(-100%); transition: transform .3s ease;
  }
  .nav a { padding: 16px 0; border-bottom: 1px solid var(--line); }
  .nav.is-open { transform: none; }
  .hero { height: calc(100svh - 104px); }
  .hero__dots { left: auto; right: 80px; transform: none; bottom: 44px; }
  .hero__overlay { background: linear-gradient(to top, rgba(20,18,16,.85) 0%, rgba(20,18,16,.15) 60%); }
  .hero__content { padding-bottom: 48px; }
  .section { padding: 64px 0; }
  .cats { grid-template-columns: 1fr; }
  .cat { aspect-ratio: 16 / 10; }
  .grid { gap: 24px 12px; }
  .look { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .look figure { aspect-ratio: 3 / 4; }
  .look__big { grid-column: span 2; grid-row: auto; aspect-ratio: 4 / 3 !important; }
  .stats { gap: 24px; }
  .form { flex-direction: column; }
  .footer__grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
