/* Hajar Flower — roses en satin faites main à Meknès */

:root {
  --wine: #5b1020;
  --wine-2: #7d1a30;
  --wine-deep: #3a0a15;
  --blush: #f7e8e7;
  --blush-2: #efd5d5;
  --cream: #fbf6f0;
  --paper: #fffdf9;
  --gold: #8e6420;
  --gold-2: #d4ad5e;
  --ink: #2b1a1e;
  --muted: #6b5458;
  --line: #e8d6d0;
  --ok: #1f6b45;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 18px 40px -22px rgba(91, 16, 32, .45);
  --ff-display: 'Cormorant Garamond', 'Amiri', Georgia, serif;
  --ff-body: 'Jost', 'Tajawal', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --ff-script: 'Pinyon Script', cursive;
  --header-h: 64px;
}
[dir="rtl"] {
  --ff-display: 'Amiri', 'Cormorant Garamond', serif;
  --ff-body: 'Tajawal', 'Jost', system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--ff-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3 { font-family: var(--ff-display); font-weight: 600; line-height: 1.08; margin: 0; letter-spacing: -.01em; }
[dir="rtl"] h1, [dir="rtl"] h2, [dir="rtl"] h3 { font-weight: 700; letter-spacing: 0; line-height: 1.35; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 2.5px solid var(--gold-2); outline-offset: 3px; border-radius: 6px; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--wine); color: #fff; padding: 10px 16px; border-radius: 10px; text-decoration: none; }
.skip:focus { top: 12px; }
.wrap { width: min(1180px, 100% - 32px); margin-inline: auto; }
.wrap--narrow { width: min(820px, 100% - 32px); }

.eyebrow {
  font-family: var(--ff-body);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}
[dir="rtl"] .eyebrow { letter-spacing: 0; font-size: .95rem; text-transform: none; }

/* Boutons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 26px;
  border-radius: 999px; border: 1.5px solid transparent;
  font-weight: 500; font-size: 1rem; letter-spacing: .01em;
  text-decoration: none; cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s;
}
.btn svg { width: 20px; height: 20px; }
.btn--primary { background: var(--wine); color: #fff; }
.btn--primary:hover { background: var(--wine-2); }
.btn--ghost { border-color: var(--wine); color: var(--wine); background: transparent; }
.btn--ghost:hover { background: var(--wine); color: #fff; }
.btn--light { background: var(--paper); color: var(--wine); }
.btn--light:hover { background: #fff; }
.btn--block { width: 100%; }
.btn:active { transform: translateY(1px); }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
.link { background: none; border: 0; padding: 8px 4px; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.link:hover { color: var(--wine); }
.icon-btn {
  display: inline-grid; place-items: center;
  width: 44px; height: 44px; border-radius: 50%;
  border: 0; background: transparent; cursor: pointer; color: var(--ink);
}
.icon-btn svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.icon-btn:hover { background: var(--blush); }

/* Bandeau */
.promo { background: var(--wine-deep); color: #f6e6d6; font-size: .82rem; }
.promo p { display: flex; justify-content: center; align-items: center; gap: 10px; padding: 8px 16px; text-align: center; flex-wrap: wrap; }
.promo .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--gold-2); }
.hide-sm { display: none; }

/* En-tête */
.header { position: sticky; top: 0; z-index: 40; background: rgba(251, 246, 240, .92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.header.is-scrolled { border-bottom-color: var(--line); }
.header__inner { height: var(--header-h); display: flex; align-items: center; gap: 12px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; margin-inline-end: auto; }
.brand__mark { width: 38px; height: 38px; flex: none; }
.brand__name { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; line-height: 1; }
.brand__script { font-family: var(--ff-script); font-size: 1.75rem; color: var(--wine); line-height: .8; }
.brand__caps { font-family: 'Cormorant Garamond', serif; font-weight: 700; font-size: .62rem; letter-spacing: .38em; text-transform: uppercase; color: var(--gold); padding-inline-start: 14px; }
.nav { display: none; }
.header__actions { display: flex; align-items: center; gap: 2px; }
.lang {
  border: 1px solid var(--line); background: var(--paper); border-radius: 999px;
  height: 36px; padding: 0 12px; font-family: 'Tajawal', 'Jost', sans-serif; font-size: .9rem; cursor: pointer; color: var(--wine);
}
.lang:hover { border-color: var(--wine); }
.cart-btn { position: relative; }
.cart-count {
  position: absolute; top: 4px; inset-inline-end: 2px;
  min-width: 19px; height: 19px; padding: 0 5px; border-radius: 10px;
  background: var(--wine); color: #fff; font-size: .72rem; font-weight: 600; line-height: 19px; text-align: center;
}
.cart-count.bump { animation: bump .4s ease; }
@keyframes bump { 40% { transform: scale(1.35); } }

.nav.is-open {
  display: flex; flex-direction: column;
  position: absolute; top: var(--header-h); inset-inline: 0;
  background: var(--paper); border-bottom: 1px solid var(--line);
  padding: 8px 16px 16px; box-shadow: var(--shadow);
}
.nav.is-open a { padding: 14px 4px; border-bottom: 1px solid var(--line); text-decoration: none; font-size: 1.05rem; }
.nav.is-open a:last-child { border-bottom: 0; }

/* Hero */
.hero { padding: 28px 0 44px; background: radial-gradient(120% 80% at 85% 0%, var(--blush) 0%, rgba(247, 232, 231, 0) 60%); }
.hero__grid { display: grid; gap: 32px; }
.hero h1 { font-size: clamp(2.7rem, 10.5vw, 5.1rem); color: var(--wine-deep); }
.hero h1::after { content: ''; display: block; width: 64px; height: 2px; background: var(--gold-2); margin-top: 20px; }
.lead { font-size: 1.08rem; color: var(--muted); margin-top: 18px; max-width: 34em; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.hero__cta .btn { flex: 1 1 200px; }
.hero__facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 30px; padding-top: 20px; border-top: 1px solid var(--line); }
.hero__facts li { display: flex; flex-direction: column; gap: 2px; }
.hero__facts strong { font-family: var(--ff-display); font-size: 1.55rem; color: var(--wine); line-height: 1.1; }
.hero__facts span { font-size: .8rem; color: var(--muted); line-height: 1.3; }
.hero__media { position: relative; padding-bottom: 28px; }
.hero__main { margin: 0; border-radius: 220px 220px var(--radius) var(--radius); overflow: hidden; aspect-ratio: 4 / 4.4; box-shadow: var(--shadow); background: var(--blush-2); }
.hero__main img { width: 100%; height: 100%; object-fit: cover; }
.hero__inset {
  position: absolute; inset-inline-start: -4px; bottom: 0; width: 42%;
  margin: 0; background: var(--paper); padding: 6px 6px 10px; border-radius: 16px; box-shadow: var(--shadow);
  transform: rotate(-4deg);
}
[dir="rtl"] .hero__inset { transform: rotate(4deg); }
.hero__inset img { border-radius: 11px; aspect-ratio: 3 / 3.4; object-fit: cover; width: 100%; }
.hero__inset figcaption { font-size: .74rem; line-height: 1.3; padding: 8px 4px 0; color: var(--muted); }
.hero__stamp {
  position: absolute; top: 18px; inset-inline-end: -6px;
  width: 92px; height: 92px; border-radius: 50%;
  display: grid; place-content: center; text-align: center;
  background: var(--wine); color: #f6e3c4; font-family: var(--ff-script); font-size: 1.55rem; line-height: .95;
  box-shadow: 0 0 0 6px var(--cream), var(--shadow); transform: rotate(10deg);
}
[dir="rtl"] .hero__stamp { font-family: 'Amiri', serif; font-size: 1.6rem; font-weight: 700; }

/* Arguments */
.why { background: var(--paper); border-block: 1px solid var(--line); }
.why__list { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 16px; padding: 30px 0; }
.why__list svg { width: 34px; height: 34px; fill: none; stroke: var(--gold); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 10px; }
.why__list h3 { font-size: 1.22rem; color: var(--wine-deep); }
.why__list p { font-size: .9rem; color: var(--muted); margin-top: 4px; line-height: 1.45; }

/* Sections */
.section { padding: 64px 0; }
.section__head { margin-bottom: 28px; max-width: 640px; }
.section__head h2 { font-size: clamp(2.1rem, 7vw, 3.3rem); color: var(--wine-deep); }
.section__head > p:not(.eyebrow) { color: var(--muted); margin-top: 12px; }
.section__head--row { display: flex; flex-wrap: wrap; gap: 16px; align-items: end; justify-content: space-between; max-width: none; }

/* Filtres */
.toolbar { display: flex; flex-direction: column; gap: 12px; margin-bottom: 22px; }
.chips { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; margin-inline: -16px; padding-inline: 16px; }
.chips::-webkit-scrollbar { display: none; }
.chip {
  flex: none; min-height: 40px; padding: 0 16px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--paper); cursor: pointer; font-size: .93rem; white-space: nowrap;
  transition: background-color .15s, color .15s, border-color .15s;
}
.chip:hover { border-color: var(--wine); }
.chip[aria-pressed="true"] { background: var(--wine); border-color: var(--wine); color: #fff; }
.sort select {
  min-height: 42px; border-radius: 999px; border: 1px solid var(--line); background: var(--paper);
  padding: 0 38px 0 16px; appearance: none; -webkit-appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235b1020' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-size: 16px; background-position: right 14px center;
}
[dir="rtl"] .sort select { padding: 0 16px 0 38px; background-position: left 14px center; }

/* Grille produits */
.grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px 12px; }
.card { position: relative; display: flex; flex-direction: column; }
.card__media {
  position: relative; display: block; width: 100%; padding: 0; border: 0; cursor: pointer;
  aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; background: var(--blush-2);
}
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.card__media:hover img { transform: scale(1.04); }
.badge {
  position: absolute; top: 10px; inset-inline-start: 10px;
  background: var(--paper); color: var(--wine); font-size: .72rem; font-weight: 600; letter-spacing: .04em;
  padding: 4px 10px; border-radius: 999px;
}
.card__body { padding: 12px 2px 0; display: flex; flex-direction: column; gap: 2px; flex: 1; }
.card__name { font-family: var(--ff-display); font-size: 1.3rem; font-weight: 600; color: var(--wine-deep); line-height: 1.15; }
.card__meta { font-size: .82rem; color: var(--muted); }
.card__foot { display: flex; align-items: center; justify-content: space-between; gap: 6px; margin-top: auto; padding-top: 8px; }
.price { font-weight: 600; font-size: 1.05rem; color: var(--ink); white-space: nowrap; }
.add {
  display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 50%;
  border: 1.5px solid var(--wine); background: transparent; color: var(--wine); cursor: pointer;
  transition: background-color .15s, color .15s;
}
.add svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.add:hover { background: var(--wine); color: #fff; }
.empty { grid-column: 1 / -1; padding: 40px 0; text-align: center; color: var(--muted); }

/* Atelier */
.atelier { background: linear-gradient(180deg, var(--paper), var(--blush) 140%); border-block: 1px solid var(--line); }
.builder { display: grid; grid-template-columns: minmax(0, 1fr); gap: 26px; }
.builder__stage { position: relative; }
.stage {
  position: relative; border-radius: 28px; background:
    radial-gradient(circle at 50% 45%, #fff 0%, #fbf1ee 55%, #f3e1de 100%);
  border: 1px solid var(--line); overflow: hidden;
}
.stage__svg { aspect-ratio: 1; width: 100%; max-width: 520px; margin-inline: auto; }
.stage__svg svg { width: 100%; height: 100%; }
.stage__svg.is-swap svg { animation: pop .35s ease; }
@keyframes pop { from { transform: scale(.985); opacity: .75; } }
.stage__meta { display: flex; justify-content: space-between; gap: 10px; padding: 0 18px 16px; font-size: .9rem; color: var(--muted); }
.stage__meta strong { color: var(--wine); font-weight: 600; }
.stage__note { font-size: .8rem; color: var(--muted); margin-top: 10px; text-align: center; }

.step { border: 0; padding: 0; margin: 0 0 26px; min-width: 0; }
.step legend { display: flex; align-items: center; gap: 10px; font-family: var(--ff-display); font-size: 1.35rem; font-weight: 600; color: var(--wine-deep); margin-bottom: 12px; padding: 0; }
.step legend small { font-family: var(--ff-body); font-size: .8rem; color: var(--muted); font-weight: 400; }
.step__n { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--wine); color: #fff; font-family: var(--ff-body); font-size: .85rem; font-weight: 600; flex: none; }
.chips--sizes { margin-bottom: 12px; }
.chips--sizes .chip { min-width: 52px; }
.range { display: flex; align-items: center; gap: 10px; }
.range input { flex: 1; accent-color: var(--wine); height: 28px; }
.round { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: var(--paper); font-size: 1.2rem; cursor: pointer; flex: none; line-height: 1; }
.round:hover { border-color: var(--wine); }
.range output { min-width: 44px; text-align: center; font-weight: 600; font-size: 1.15rem; color: var(--wine); }

.options { display: grid; gap: 8px; }
.options--2 { grid-template-columns: 1fr 1fr; }
.opt { position: relative; }
.opt input { position: absolute; opacity: 0; pointer-events: none; }
.opt label, .opt span.opt__box {
  display: flex; align-items: center; gap: 12px; min-height: 54px; padding: 10px 14px;
  border: 1.5px solid var(--line); border-radius: var(--radius-sm); background: var(--paper); cursor: pointer;
  transition: border-color .15s, background-color .15s;
}
.opt__swatch { width: 30px; height: 30px; border-radius: 8px; flex: none; border: 1px solid rgba(0,0,0,.08); }
.opt__txt { display: flex; flex-direction: column; line-height: 1.25; flex: 1; }
.opt__txt small { color: var(--muted); font-size: .78rem; }
.opt__price { font-size: .85rem; color: var(--gold); font-weight: 600; white-space: nowrap; }
.opt input:checked + label { border-color: var(--wine); background: #fff; box-shadow: inset 0 0 0 1px var(--wine); }
.opt input:focus-visible + label { outline: 2.5px solid var(--gold-2); outline-offset: 2px; }

.swatches { display: grid; grid-template-columns: repeat(auto-fill, minmax(64px, 1fr)); gap: 10px 6px; }
.sw { display: flex; flex-direction: column; align-items: center; gap: 6px; cursor: pointer; font-size: .74rem; text-align: center; line-height: 1.2; color: var(--muted); }
.sw input { position: absolute; opacity: 0; pointer-events: none; }
.sw__dot { position: relative; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(0,0,0,.12); box-shadow: inset 0 -6px 10px rgba(0,0,0,.14), inset 0 4px 8px rgba(255,255,255,.35); transition: transform .15s; }
.sw input:checked + .sw__dot { box-shadow: 0 0 0 3px var(--paper), 0 0 0 5px var(--wine); transform: scale(1.04); }
.sw input:focus-visible + .sw__dot { outline: 2.5px solid var(--gold-2); outline-offset: 5px; }
.sw__n { position: absolute; top: -6px; inset-inline-end: -6px; width: 20px; height: 20px; border-radius: 50%; background: var(--wine); color: #fff; font-size: .7rem; font-weight: 600; display: none; place-items: center; }
.sw input:checked + .sw__dot .sw__n { display: grid; }
.sw input:checked ~ span:last-child { color: var(--ink); font-weight: 500; }
.swatches--sm { grid-template-columns: repeat(6, 1fr); }
.swatches--sm .sw__dot { width: 36px; height: 36px; }
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-top: 14px; background: var(--blush); padding: 4px; border-radius: 999px; }
.seg[hidden] { display: none; }
.seg label { position: relative; }
.seg input { position: absolute; opacity: 0; }
.seg span { display: grid; place-items: center; min-height: 40px; padding: 0 10px; border-radius: 999px; font-size: .88rem; cursor: pointer; text-align: center; line-height: 1.2; }
.seg input:checked + span { background: var(--paper); color: var(--wine); font-weight: 500; box-shadow: 0 2px 8px -4px rgba(91,16,32,.4); }
.seg input:focus-visible + span { outline: 2.5px solid var(--gold-2); }

.extras { display: grid; gap: 8px; }
.extra { border: 1.5px solid var(--line); border-radius: var(--radius-sm); background: var(--paper); transition: border-color .15s; }
.extra.is-on { border-color: var(--wine); }
.extra__row { display: flex; align-items: center; gap: 12px; min-height: 54px; padding: 8px 14px; cursor: pointer; }
.extra__row input[type="checkbox"] { width: 20px; height: 20px; accent-color: var(--wine); flex: none; margin: 0; }
.extra__more { display: flex; gap: 8px; flex-wrap: wrap; padding: 0 14px 12px 46px; }
[dir="rtl"] .extra__more { padding: 0 46px 12px 14px; }
.extra__more[hidden] { display: none; }
.extra__more input[type="text"] { flex: 1; min-width: 120px; min-height: 42px; border: 1px solid var(--line); border-radius: 10px; padding: 0 12px; background: #fff; font-size: 1rem; }
.mini-sw { display: flex; align-items: center; gap: 6px; font-size: .85rem; cursor: pointer; padding: 6px 10px; border-radius: 999px; border: 1px solid var(--line); }
.mini-sw input { accent-color: var(--wine); margin: 0; }
.mini-sw i { width: 14px; height: 14px; border-radius: 50%; border: 1px solid rgba(0,0,0,.2); }

textarea { width: 100%; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 12px 14px; background: var(--paper); resize: vertical; font-size: 1rem; }

.summary { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.summary dl { margin: 0 0 12px; display: grid; gap: 6px; font-size: .9rem; }
.summary dl div { display: flex; justify-content: space-between; gap: 10px; color: var(--muted); }
.summary dd { margin: 0; color: var(--ink); white-space: nowrap; }
.summary__total { display: flex; justify-content: space-between; align-items: baseline; padding-top: 12px; border-top: 1px dashed var(--line); margin-bottom: 14px; }
.summary__total strong { font-family: var(--ff-display); font-size: 2rem; color: var(--wine); }
.summary .link { display: block; margin: 8px auto 0; }

.buildbar {
  position: fixed; inset-inline: 0; bottom: 0; z-index: 30;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: rgba(255, 253, 249, .96); backdrop-filter: blur(8px); border-top: 1px solid var(--line);
  transform: translateY(110%); transition: transform .25s ease;
}
.buildbar.is-on { transform: none; }
.buildbar__txt { display: flex; flex-direction: column; line-height: 1.2; margin-inline-end: auto; }
.buildbar__thumb { width: 54px; height: 54px; flex: none; border-radius: 12px; border: 1px solid var(--line); background: #fbf1ee; padding: 0; cursor: pointer; overflow: hidden; }
.buildbar__thumb svg { width: 100%; height: 100%; }
.buildbar small { color: var(--muted); font-size: .8rem; }
.buildbar strong { font-family: var(--ff-display); font-size: 1.5rem; color: var(--wine); }
.buildbar .btn { min-height: 46px; }

/* Occasions */
.occ { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.occ button {
  position: relative; width: 100%; aspect-ratio: 1; border: 0; padding: 0; cursor: pointer; overflow: hidden;
  border-radius: var(--radius); background: var(--blush-2); color: #fff; text-align: start;
}
.occ img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.occ button:hover img { transform: scale(1.05); }
.occ button::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(58,10,21,0) 40%, rgba(58,10,21,.82) 100%); }
.occ span { position: absolute; z-index: 1; inset-inline: 14px; bottom: 12px; font-family: var(--ff-display); font-size: 1.35rem; font-weight: 600; line-height: 1.1; }
.occ small { display: block; font-family: var(--ff-body); font-size: .78rem; font-weight: 400; opacity: .9; margin-top: 4px; }

/* Événements */
.events { background: var(--wine-deep); color: #f6e9e2; }
.events .eyebrow { color: var(--gold-2); }
.events h2 { color: #fff; font-size: clamp(2.1rem, 7vw, 3.3rem); }
.events__intro { display: grid; gap: 24px; margin-bottom: 30px; }
.events__intro p:not(.eyebrow) { color: #e8d3cc; margin: 12px 0 22px; max-width: 34em; }
.events__intro img { border-radius: var(--radius); aspect-ratio: 16 / 10; object-fit: cover; width: 100%; }
.events__list { display: grid; gap: 14px; }
.ev { display: grid; grid-template-columns: 110px 1fr; gap: 14px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius); padding: 12px; }
.ev img { width: 110px; height: 100%; min-height: 130px; object-fit: cover; border-radius: 12px; }
.ev h3 { font-size: 1.35rem; color: #fff; }
.ev p { font-size: .88rem; color: #e1cbc4; margin-top: 4px; line-height: 1.45; }
.ev__price { font-weight: 600; color: var(--gold-2); margin-top: 8px; font-size: .95rem; }
.ev__buy { display: flex; align-items: center; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.qty { display: inline-flex; align-items: center; border: 1px solid rgba(255,255,255,.3); border-radius: 999px; }
.qty button { width: 36px; height: 36px; border: 0; background: none; color: inherit; cursor: pointer; font-size: 1.1rem; }
.qty input { width: 44px; text-align: center; border: 0; background: none; color: inherit; font-weight: 600; -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.ev .btn { min-height: 38px; padding: 0 16px; font-size: .9rem; }

/* Comment commander */
.how__list { display: grid; gap: 14px; counter-reset: how; }
.how__list li { position: relative; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 20px 20px 70px; counter-increment: how; }
[dir="rtl"] .how__list li { padding: 20px 70px 20px 20px; }
.how__list li::before {
  content: counter(how); position: absolute; inset-inline-start: 20px; top: 18px;
  font-family: var(--ff-display); font-size: 2.4rem; line-height: 1; color: var(--gold-2); font-weight: 600;
}
.how__list h3 { font-size: 1.3rem; color: var(--wine-deep); }
.how__list p { color: var(--muted); font-size: .93rem; margin-top: 4px; }

/* Instagram */
.insta { padding-top: 10px; }
.insta__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.insta__grid img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 10px; }

/* FAQ */
.faq { background: var(--paper); border-top: 1px solid var(--line); }
.faq__list details { border-bottom: 1px solid var(--line); }
.faq__list summary {
  list-style: none; cursor: pointer; padding: 18px 36px 18px 0; position: relative;
  font-family: var(--ff-display); font-size: 1.3rem; font-weight: 600; color: var(--wine-deep); line-height: 1.25;
}
[dir="rtl"] .faq__list summary { padding: 18px 0 18px 36px; }
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary::after { content: '+'; position: absolute; inset-inline-end: 4px; top: 14px; font-family: var(--ff-body); font-size: 1.6rem; font-weight: 300; color: var(--gold); transition: transform .2s; }
.faq__list details[open] summary::after { transform: rotate(45deg); }
.faq__list details p { padding: 0 0 18px; color: var(--muted); }

/* Pied de page */
.footer { background: var(--wine-deep); color: #e9d6cf; padding: 46px 0 24px; font-size: .95rem; }
.footer__grid { display: grid; gap: 26px; }
.footer__brand { display: flex; align-items: baseline; gap: 8px; margin-bottom: 8px; }
.footer .brand__script { color: #fff; font-size: 2.2rem; }
.footer .brand__caps { color: var(--gold-2); }
.footer h2 { font-family: var(--ff-body); font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-2); margin-bottom: 10px; }
[dir="rtl"] .footer h2 { letter-spacing: 0; font-size: .95rem; }
.footer p + p { margin-top: 4px; }
.footer a { text-decoration: none; }
.footer a:hover { text-decoration: underline; }
.footer__legal { margin-top: 34px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.12); font-size: .82rem; color: #c9b0a8; }

/* WhatsApp flottant */
.wa-float {
  position: fixed; inset-inline-end: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 35;
  width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center;
  background: #1f8f4e; color: #fff; box-shadow: 0 10px 24px -8px rgba(0,0,0,.4); transition: transform .2s, bottom .25s;
}
.wa-float svg { width: 30px; height: 30px; }
.wa-float:hover { transform: scale(1.06); }
body.has-buildbar .wa-float { bottom: calc(84px + env(safe-area-inset-bottom)); }

/* Panier */
.drawer { position: fixed; inset: 0; z-index: 60; }
.drawer[hidden] { display: none; }
.drawer__scrim { position: absolute; inset: 0; background: rgba(43, 26, 30, .45); animation: fade .2s ease; }
.drawer__panel {
  position: absolute; top: 0; bottom: 0; inset-inline-end: 0; width: min(440px, 100%);
  background: var(--cream); display: flex; flex-direction: column; animation: slide .28s ease;
}
[dir="rtl"] .drawer__panel { animation-name: slide-rtl; }
@keyframes fade { from { opacity: 0; } }
@keyframes slide { from { transform: translateX(100%); } }
@keyframes slide-rtl { from { transform: translateX(-100%); } }
.drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px 14px 20px; border-bottom: 1px solid var(--line); }
.drawer__head h2 { font-size: 1.7rem; color: var(--wine-deep); }
.drawer__body { flex: 1; overflow-y: auto; padding: 8px 20px; }
.drawer__foot { padding: 16px 20px calc(16px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: var(--paper); }
.line { display: grid; grid-template-columns: 76px 1fr; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.line__img { width: 76px; height: 76px; border-radius: 12px; overflow: hidden; background: var(--blush-2); }
.line__img img, .line__img svg { width: 100%; height: 100%; object-fit: cover; }
.line__img--svg { background: #fbf1ee; }
.line h3 { font-size: 1.15rem; color: var(--wine-deep); }
.line__desc { font-size: .8rem; color: var(--muted); line-height: 1.4; margin-top: 2px; }
.line__row { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 8px; }
.line .qty { border-color: var(--line); }
.line .qty button { width: 32px; height: 32px; }
.line .qty input { width: 34px; }
.line__actions { display: flex; gap: 4px; }
.line__actions .link { font-size: .8rem; padding: 4px; }
.ship { margin-bottom: 12px; font-size: .86rem; color: var(--muted); }
.ship__bar { height: 6px; border-radius: 6px; background: var(--blush-2); overflow: hidden; margin-top: 6px; }
.ship__bar i { display: block; height: 100%; background: var(--wine); border-radius: 6px; transition: width .3s; }
.totals { display: grid; gap: 4px; font-size: .92rem; margin-bottom: 14px; }
.totals div { display: flex; justify-content: space-between; }
.totals .grand { font-size: 1.1rem; font-weight: 600; padding-top: 6px; border-top: 1px dashed var(--line); margin-top: 4px; }
.cart-empty { text-align: center; padding: 50px 10px; color: var(--muted); }
.cart-empty svg { width: 80px; height: 80px; margin: 0 auto 14px; }

/* Fenêtres */
.modal {
  border: 0; padding: 0; background: var(--cream); color: var(--ink);
  width: min(980px, 100% - 24px); max-height: calc(100dvh - 24px); border-radius: 22px; box-shadow: var(--shadow);
}
.modal::backdrop { background: rgba(43, 26, 30, .55); }
.modal[open] { animation: rise .25s ease; }
@keyframes rise { from { transform: translateY(14px); opacity: 0; } }
.modal__close { position: absolute; top: 10px; inset-inline-end: 10px; z-index: 3; background: rgba(255,253,249,.9); }
.modal--checkout { width: min(620px, 100% - 24px); }

.pm { display: grid; }
.pm__gallery { position: relative; background: var(--blush-2); }
.pm__main { aspect-ratio: 4 / 4.6; width: 100%; object-fit: cover; }
.pm__thumbs { display: flex; gap: 6px; padding: 8px; overflow-x: auto; }
.pm__thumbs button { flex: none; width: 58px; height: 58px; border-radius: 10px; overflow: hidden; border: 2px solid transparent; padding: 0; cursor: pointer; background: none; }
.pm__thumbs button[aria-current="true"] { border-color: var(--wine); }
.pm__thumbs img { width: 100%; height: 100%; object-fit: cover; }
.pm__info { padding: 22px 20px 26px; display: flex; flex-direction: column; gap: 12px; }
.pm__info h2 { font-size: 2.3rem; color: var(--wine-deep); }
.pm__price { font-family: var(--ff-display); font-size: 1.9rem; color: var(--wine); font-weight: 600; }
.pm__desc { color: var(--muted); }
.pm__spec { display: grid; gap: 0; border-block: 1px solid var(--line); margin: 4px 0; }
.pm__spec div { display: grid; grid-template-columns: 120px 1fr; gap: 10px; padding: 9px 0; font-size: .9rem; }
.pm__spec div + div { border-top: 1px solid var(--line); }
.pm__spec dt { color: var(--muted); }
.pm__spec dd { margin: 0; }
.pm__dots { display: inline-flex; gap: 4px; vertical-align: middle; margin-inline-end: 6px; }
.pm__dots i { width: 12px; height: 12px; border-radius: 50%; border: 1px solid rgba(0,0,0,.15); }
.pm__actions { display: grid; gap: 10px; }
.pm__note { font-size: .8rem; color: var(--muted); }

.co { padding: 26px 20px 22px; display: grid; gap: 14px; }
.co h2 { font-size: 2rem; color: var(--wine-deep); padding-inline-end: 40px; }
.co__lead { color: var(--muted); margin-top: -6px; }
.co__grid { display: grid; gap: 12px; }
.co__grid[hidden] { display: none; }
.field { display: grid; gap: 5px; font-size: .88rem; color: var(--muted); }
.field input, .field select, .field textarea {
  min-height: 48px; border: 1px solid var(--line); border-radius: 12px; padding: 0 14px; background: var(--paper);
  font-size: 1rem; color: var(--ink); width: 100%;
}
.field textarea { padding: 12px 14px; min-height: 0; }
.field input:focus, .field select:focus, .field textarea:focus, textarea:focus, .extra__more input:focus { outline: 2px solid var(--gold-2); outline-offset: 1px; border-color: var(--gold-2); }
.field .is-invalid, .field input[aria-invalid="true"] { border-color: #b3122a; }
.check { display: flex; align-items: center; gap: 10px; cursor: pointer; font-size: .95rem; min-height: 44px; }
.check input { width: 20px; height: 20px; accent-color: var(--wine); margin: 0; }
.co__total { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 14px 16px; }
.co__error { color: #a3132b; font-size: .9rem; }
.done { padding: 40px 24px 30px; text-align: center; display: grid; gap: 12px; justify-items: center; }
.done[hidden] { display: none; }
.done__icon { width: 64px; height: 64px; fill: none; stroke: var(--ok); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.done h2 { font-size: 2rem; color: var(--wine-deep); }
.done p { color: var(--muted); max-width: 30em; }
.done strong { color: var(--ink); letter-spacing: .04em; }

.toast {
  position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom)); z-index: 80;
  transform: translate(-50%, 140%); background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 999px;
  font-size: .92rem; box-shadow: var(--shadow); transition: transform .3s ease, visibility .3s; max-width: calc(100% - 32px); text-align: center;
  visibility: hidden;
}
.toast.is-on { transform: translate(-50%, 0); visibility: visible; }
body.has-buildbar .toast { bottom: calc(88px + env(safe-area-inset-bottom)); }

/* Tablette */
@media (min-width: 640px) {
  .hide-sm { display: inline; }
  .promo .dot.hide-sm { display: inline-block; }
  .grid { grid-template-columns: repeat(3, 1fr); gap: 30px 18px; }
  .why__list { grid-template-columns: repeat(4, 1fr); }
  .occ { grid-template-columns: repeat(3, 1fr); }
  .co__grid { grid-template-columns: 1fr 1fr; }
  .insta__grid { grid-template-columns: repeat(6, 1fr); }
  .events__list { grid-template-columns: repeat(3, 1fr); }
  .ev { grid-template-columns: 1fr; }
  .ev img { width: 100%; height: auto; aspect-ratio: 4 / 3; min-height: 0; }
  .how__list { grid-template-columns: 1fr 1fr; }
  .toolbar { flex-direction: row; align-items: center; justify-content: space-between; }
  .chips { margin-inline: 0; padding-inline: 0; }
}

/* Ordinateur */
@media (min-width: 960px) {
  :root { --header-h: 76px; }
  .nav { display: flex; gap: 26px; margin-inline-end: 20px; }
  .nav a { text-decoration: none; font-size: .95rem; position: relative; padding: 6px 0; }
  .nav a::after { content: ''; position: absolute; inset-inline: 0; bottom: 0; height: 1.5px; background: var(--wine); transform: scaleX(0); transition: transform .2s; }
  .nav a:hover::after { transform: scaleX(1); }
  .menu-btn { display: none; }
  .brand { margin-inline-end: 0; }
  .brand__name { flex-direction: row; align-items: baseline; gap: 6px; }
  .brand__script { font-size: 1.9rem; }
  .brand__caps { font-size: .82rem; letter-spacing: .32em; padding: 0; }
  .header__inner { justify-content: space-between; }
  .hero { padding: 56px 0 80px; }
  .hero__grid { grid-template-columns: 1.05fr .95fr; align-items: center; gap: 64px; }
  .hero__cta .btn { flex: 0 0 auto; }
  .hero__inset { inset-inline-start: -48px; width: 40%; }
  .section { padding: 96px 0; }
  .grid { grid-template-columns: repeat(4, 1fr); }
  .builder { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 48px; align-items: start; }
  .builder__stage { position: sticky; top: calc(var(--header-h) + 20px); }
  .buildbar { display: none; }
  body.has-buildbar .wa-float { bottom: 24px; }
  .occ { grid-template-columns: repeat(6, 1fr); }
  .occ button { aspect-ratio: 3 / 4; }
  .events__intro { grid-template-columns: 1fr 1fr; align-items: center; gap: 56px; }
  .how__list { grid-template-columns: repeat(4, 1fr); }
  .how__list li { padding: 70px 22px 24px; }
  [dir="rtl"] .how__list li { padding: 70px 22px 24px; }
  .footer__grid { grid-template-columns: 2fr 1fr 1fr; }
  .pm { grid-template-columns: 1.05fr 1fr; }
  .pm__gallery { border-radius: 22px 0 0 22px; overflow: hidden; }
  [dir="rtl"] .pm__gallery { border-radius: 0 22px 22px 0; }
  .pm__info { padding: 44px 36px 32px; overflow-y: auto; max-height: calc(100dvh - 24px); }
  .co { padding: 34px 32px 28px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
.cart-empty__art { width: 110px; margin: 0 auto 12px; }
.sw__n:empty { display: none !important; }
.co[hidden] { display: none; }
