/* MP · Mizo Prestige — ivoire, prune, rose de Damas, fil d'or */
@font-face { font-family: 'Cormorant Garamond'; src: url('/assets/fonts/CormorantGaramond-500.woff2') format('woff2'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Cormorant Garamond'; src: url('/assets/fonts/CormorantGaramond-600.woff2') format('woff2'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'Cormorant Garamond'; src: url('/assets/fonts/CormorantGaramond-500i.woff2') format('woff2'); font-weight: 500; font-style: italic; font-display: swap; }
@font-face { font-family: 'Jost'; src: url('/assets/fonts/Jost-300.woff2') format('woff2'); font-weight: 300; font-display: swap; }
@font-face { font-family: 'Jost'; src: url('/assets/fonts/Jost-400.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Jost'; src: url('/assets/fonts/Jost-500.woff2') format('woff2'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Jost'; src: url('/assets/fonts/Jost-600.woff2') format('woff2'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'Amiri'; src: url('/assets/fonts/Amiri-400-ar.woff2') format('woff2'); font-weight: 400; font-display: swap; unicode-range: U+0600-06FF; }

:root {
  --ivory: #F8F3EC; --ivory-2: #F2EAE0; --white: #FFFDFA;
  --ink: #3A1F2E; --ink-2: #5A3B4B; --muted: #8A7480;
  --rose: #C4667E; --rose-2: #A84F67; --petal: #EBBFC8; --petal-2: #F6E1E6;
  --gold: #C9A961; --gold-2: #E2CB8F; --sage: #8FA79A;
  --line: rgba(58,31,46,.12);
  --serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --sans: 'Jost', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --ar: 'Amiri', 'Noto Naskh Arabic', serif;
  --r: 22px; --shadow: 0 24px 60px rgba(58,31,46,.14);
}
* { margin: 0; padding: 0; box-sizing: border-box; }
::selection { background: var(--rose); color: #fff; }
:focus-visible { outline: 2px solid var(--rose); outline-offset: 3px; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; overflow-x: clip; }
body { background: var(--ivory); color: var(--ink); font: 400 17px/1.65 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: clip; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.05; letter-spacing: -.005em; }
h1 { font-size: clamp(3rem, 7.2vw, 5.4rem); }
h2 { font-size: clamp(2.2rem, 4.4vw, 3.4rem); }
h3 { font-size: 1.5rem; }
em { font-style: italic; color: var(--rose); }
.ar { font-family: var(--ar); direction: rtl; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.eyebrow { display: inline-flex; align-items: center; gap: 12px; font-size: .78rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--rose-2); }
.eyebrow::before { content: ''; width: 34px; height: 1px; background: var(--gold); }
.eyebrow.center::after { content: ''; width: 34px; height: 1px; background: var(--gold); }
.lead { font-size: 1.15rem; color: var(--ink-2); font-weight: 300; max-width: 60ch; }
.center { text-align: center; }
.center .lead { margin-inline: auto; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 12px; z-index: 99; background: var(--ink); color: #fff; padding: 8px 14px; }

/* décor zellige */
.zellige { position: relative; }
.zellige::before { content: ''; position: absolute; inset: 0; background: url('/assets/img/zellige.svg') center / 120px; opacity: .35; pointer-events: none; mask-image: linear-gradient(180deg, transparent, #000 20%, #000 80%, transparent); -webkit-mask-image: linear-gradient(180deg, transparent, #000 20%, #000 80%, transparent); }
.zellige > * { position: relative; }

/* boutons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 15px 28px; border-radius: 999px; font: 500 .9rem/1 var(--sans); letter-spacing: .06em; text-transform: uppercase; border: 1px solid transparent; transition: transform .25s ease, box-shadow .25s ease, background .25s; cursor: pointer; white-space: nowrap; }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn:active { transform: scale(.98); }
.btn-wa { background: var(--ink); color: var(--ivory); box-shadow: 0 10px 28px rgba(58,31,46,.28); }
.btn-wa:hover { transform: translateY(-2px); box-shadow: 0 16px 36px rgba(58,31,46,.34); background: #2c1622; }
.btn-rose { background: linear-gradient(140deg, #d47a91, var(--rose) 55%, var(--rose-2)); color: #fff; box-shadow: 0 10px 28px rgba(196,102,126,.35); }
.btn-rose:hover { transform: translateY(-2px); box-shadow: 0 16px 36px rgba(196,102,126,.45); }
.btn-line { border-color: rgba(58,31,46,.3); color: var(--ink); background: rgba(255,255,255,.35); }
.btn-line:hover { border-color: var(--gold); background: #fff; transform: translateY(-2px); }
.btn-s { padding: 11px 20px; font-size: .78rem; }

/* header */
.hdr { position: fixed; inset: 0 0 auto; z-index: 50; transition: background .3s, box-shadow .3s, transform .35s; }
.hdr--scrolled { background: rgba(248,243,236,.9); backdrop-filter: blur(14px) saturate(1.2); box-shadow: 0 8px 30px rgba(58,31,46,.08); }
.hdr--hidden { transform: translateY(-101%); }
.hdr-in { max-width: 1280px; margin: 0 auto; padding: 18px 28px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 24px; }
.hdr--scrolled .hdr-in { padding-block: 10px; }
.brand img { height: 44px; width: auto; }
.nav { display: flex; gap: 30px; justify-self: center; }
.nav a { font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); position: relative; padding: 6px 0; }
.nav a::after { content: ''; position: absolute; left: 0; right: 100%; bottom: 0; height: 1px; background: var(--rose); transition: right .3s; }
.nav a:hover::after { right: 0; }
.hdr-cta { display: flex; align-items: center; gap: 12px; justify-self: end; }
.burger { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.burger span { display: block; width: 22px; height: 2px; background: var(--ink); margin: 5px 0; transition: .3s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* hero */
.hero { padding: 150px 0 70px; position: relative; overflow: clip; }
.hero-bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.hero-bg i { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; }
.hero-bg i:nth-child(1) { width: 520px; height: 520px; background: var(--petal); right: -120px; top: -80px; }
.hero-bg i:nth-child(2) { width: 380px; height: 380px; background: var(--gold-2); left: -160px; bottom: -120px; opacity: .35; }
.hero-in { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero h1 { margin: 22px 0 8px; }
.hero h1 small { display: block; font-size: .42em; font-weight: 500; color: var(--ink-2); font-style: normal; letter-spacing: .02em; margin-bottom: 8px; }
.hero .ar { font-size: 1.7rem; color: var(--rose-2); opacity: .85; margin-bottom: 18px; display: block; text-align: left; direction: rtl; }
.hero .lead { margin-bottom: 30px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.price { display: flex; align-items: baseline; gap: 10px; margin: 26px 0 0; }
.price b { white-space: nowrap; }
.price b { font: 500 2.4rem/1 var(--serif); color: var(--ink); }
.price span { font-size: .85rem; color: var(--muted); letter-spacing: .05em; text-transform: uppercase; }
.hero-visual { position: relative; }
.hero-visual .frame { border-radius: 40% 40% var(--r) var(--r) / 30% 30% var(--r) var(--r); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4/5; background: var(--petal-2); }
.hero-visual .frame img { width: 100%; height: 100%; object-fit: cover; }
.hero-visual .badge { position: absolute; left: -26px; bottom: 44px; width: 128px; height: 128px; border-radius: 50%; background: var(--ink); color: var(--gold-2); display: grid; place-items: center; text-align: center; font: 500 .72rem/1.3 var(--sans); letter-spacing: .1em; text-transform: uppercase; box-shadow: var(--shadow); animation: spin 26s linear infinite; }
.hero-visual .badge b { font: 500 1.9rem/1 var(--serif); color: var(--ivory); display: block; letter-spacing: 0; text-transform: none; }
.hero-visual .badge b i { font-style: normal; font-size: .55em; }
.hero-visual .sticker { position: absolute; right: -18px; top: 36px; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 12px 16px; font-size: .8rem; box-shadow: 0 12px 30px rgba(58,31,46,.12); display: flex; gap: 10px; align-items: center; }
.hero-visual .sticker svg { width: 22px; height: 22px; color: var(--sage); }
@keyframes spin { to { transform: rotate(360deg); } }
.hero-visual .badge { animation: none; }

/* bande confiance */
.trust { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(255,253,250,.6); }
.trust ul { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); }
.trust li { display: flex; align-items: center; justify-content: center; gap: 12px; padding: 20px 12px; font-size: .84rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); border-right: 1px solid var(--line); }
.trust li:last-child { border-right: 0; }
.trust svg { width: 22px; height: 22px; color: var(--gold); flex: none; }

/* sections */
.sec { padding: 96px 0; }
.sec-alt { background: var(--ivory-2); }
.sec-prune { background: var(--ink); color: var(--ivory); }
.sec-prune h2, .sec-prune h3 { color: var(--ivory); }
.sec-prune .lead { color: rgba(248,243,236,.75); }
.sec-prune .eyebrow { color: var(--gold-2); }
.sec-head { max-width: 720px; margin: 0 auto 54px; text-align: center; }
.sec-head h2 { margin: 16px 0 14px; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split h2 { margin: 16px 0 16px; }
.split .lead { margin-bottom: 26px; }
.split .pic { border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 1; background: var(--petal-2); }
.split .pic img { width: 100%; height: 100%; object-fit: cover; }
.split .pic--tall { aspect-ratio: 4/5; }

/* 3 gestes */
.gestes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.geste { background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: 36px 30px; position: relative; overflow: hidden; transition: transform .3s, box-shadow .3s; }
.geste:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.geste::before { content: attr(data-n); position: absolute; right: 22px; top: 12px; font: 500 5rem/1 var(--serif); color: var(--petal-2); }
.geste .ico { width: 56px; height: 56px; border-radius: 50%; background: var(--petal-2); display: grid; place-items: center; color: var(--rose-2); margin-bottom: 22px; }
.geste .ico svg { width: 26px; height: 26px; }
.geste h3 { margin-bottom: 10px; }
.geste p { color: var(--ink-2); font-weight: 300; font-size: 1rem; }

/* ingrédients */
.ingr { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 26px; }
.ingr li { display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: start; padding: 14px 0; border-bottom: 1px solid var(--line); }
.ingr li b { font: 500 1.25rem/1.15 var(--serif); display: block; }
.ingr li span { font-size: .92rem; color: var(--ink-2); font-weight: 300; }
.ingr li i { width: 44px; height: 44px; border-radius: 50%; background: var(--white); border: 1px solid var(--gold); display: grid; place-items: center; font: 500 1.1rem var(--serif); color: var(--rose-2); font-style: normal; }
.pills { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.pill { padding: 8px 14px; border-radius: 999px; background: var(--white); border: 1px solid var(--line); font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); }
.pill.no { border-color: rgba(196,102,126,.4); color: var(--rose-2); }

/* rituel */
.steps { counter-reset: s; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 30px; }
.step { position: relative; padding: 28px 26px 28px; border-radius: var(--r); background: rgba(255,255,255,.05); border: 1px solid rgba(248,243,236,.14); }
.step::before { counter-increment: s; content: counter(s, decimal-leading-zero); font: 500 .8rem var(--sans); letter-spacing: .2em; color: var(--gold-2); display: block; margin-bottom: 14px; }
.step h3 { margin-bottom: 8px; }
.step p { color: rgba(248,243,236,.75); font-weight: 300; font-size: .98rem; }

/* comparatif */
.compare { background: var(--white); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow); }
.compare table { width: 100%; border-collapse: collapse; }
.compare th, .compare td { padding: 18px 22px; text-align: left; border-bottom: 1px solid var(--line); font-size: .98rem; }
.compare th { font: 500 .78rem var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); background: var(--ivory); }
.compare th:last-child, .compare td:last-child { background: var(--petal-2); color: var(--ink); font-weight: 500; }
.compare th:last-child { color: var(--rose-2); }
.compare td:first-child { color: var(--ink-2); font-weight: 300; }
.compare tr:last-child td { border-bottom: 0; }
.compare .ok::before { content: '✓  '; color: var(--rose-2); }
.compare .no::before { content: '✕  '; color: var(--muted); }

/* galerie */
.gallery { display: grid; grid-template-columns: 1.2fr .9fr .9fr; grid-auto-rows: 300px; gap: 16px; }
.gallery figure { border-radius: var(--r); overflow: hidden; background: var(--petal-2); position: relative; }
.gallery figure:first-child { grid-row: span 2; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
.gallery figure:hover img { transform: scale(1.04); }
.gallery figcaption { position: absolute; left: 18px; bottom: 16px; color: #fff; font: 500 .78rem var(--sans); letter-spacing: .14em; text-transform: uppercase; text-shadow: 0 2px 12px rgba(0,0,0,.5); }

/* offre */
.offer { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.card { background: var(--white); border: 1px solid var(--line); border-radius: 28px; padding: 38px 36px; box-shadow: var(--shadow); position: relative; overflow: hidden; }
.card--hero { border-color: var(--gold); }
.card--hero::after { content: 'Produit phare'; position: absolute; right: -40px; top: 26px; transform: rotate(38deg); background: var(--rose); color: #fff; font: 500 .68rem var(--sans); letter-spacing: .16em; text-transform: uppercase; padding: 6px 54px; }
.card .thumb { width: 100%; aspect-ratio: 16/10; border-radius: 18px; overflow: hidden; margin-bottom: 26px; background: var(--petal-2); }
.card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.card h3 { font-size: 2rem; margin-bottom: 4px; }
.card .sub { color: var(--muted); font-size: .85rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 18px; }
.card ul { list-style: none; margin: 0 0 24px; display: grid; gap: 8px; }
.card li { display: flex; gap: 10px; align-items: start; font-size: .98rem; color: var(--ink-2); font-weight: 300; }
.card li::before { content: '—'; color: var(--gold); flex: none; }
.card .price { margin: 0 0 22px; }
.card .cta-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.card .note { font-size: .82rem; color: var(--muted); margin-top: 14px; }

/* parfums teaser */
.teaser { border-radius: 32px; overflow: hidden; position: relative; min-height: 460px; display: grid; align-items: end; color: var(--ivory); background: var(--ink); }
.teaser img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .75; }
.teaser::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(58,31,46,0) 20%, rgba(58,31,46,.92)); }
.teaser .in { position: relative; z-index: 1; padding: 48px; max-width: 640px; }
.teaser h2 { color: var(--ivory); margin: 14px 0 12px; }
.teaser p { color: rgba(248,243,236,.8); font-weight: 300; margin-bottom: 24px; }
.teaser .eyebrow { color: var(--gold-2); }

/* faq */
.faq { max-width: 820px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); padding: 4px 0; }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 20px 0; font: 500 1.35rem/1.25 var(--serif); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font: 300 1.8rem/1 var(--sans); color: var(--rose); transition: transform .3s; flex: none; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 22px; color: var(--ink-2); font-weight: 300; max-width: 68ch; }

/* contact */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.contact .links { display: grid; gap: 14px; margin-top: 26px; }
.contact .links a { display: flex; gap: 16px; align-items: center; padding: 16px 20px; background: var(--white); border: 1px solid var(--line); border-radius: 16px; transition: .3s; }
.contact .links a:hover { border-color: var(--gold); transform: translateX(4px); }
.contact .links svg { width: 24px; height: 24px; color: var(--rose-2); flex: none; }
.contact .links b { display: block; font-weight: 500; }
.contact .links span { font-size: .85rem; color: var(--muted); }
.contact .pic { border-radius: var(--r); overflow: hidden; aspect-ratio: 1; box-shadow: var(--shadow); }
.contact .pic img { width: 100%; height: 100%; object-fit: cover; }

/* footer */
.ftr { background: var(--ink); color: rgba(248,243,236,.7); padding: 56px 0 30px; }
.ftr-in { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 40px; align-items: start; }
.ftr img { height: 64px; width: auto; margin-bottom: 16px; }
.ftr p { font-size: .92rem; font-weight: 300; max-width: 40ch; }
.ftr h4 { color: var(--gold-2); font: 500 .78rem var(--sans); letter-spacing: .18em; text-transform: uppercase; margin-bottom: 14px; }
.ftr ul { list-style: none; display: grid; gap: 8px; font-size: .95rem; }
.ftr a:hover { color: var(--ivory); }
.ftr-bot { border-top: 1px solid rgba(248,243,236,.12); margin-top: 40px; padding-top: 22px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: .8rem; }
.ftr-bot a { color: var(--gold-2); }

/* whatsapp flottant */
.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 60; display: flex; align-items: center; gap: 10px; background: #25D366; color: #fff; padding: 12px 18px 12px 14px; border-radius: 999px; box-shadow: 0 12px 30px rgba(37,211,102,.4); font: 500 .85rem var(--sans); letter-spacing: .04em; transition: transform .25s; }
.wa-float:hover { transform: translateY(-3px); }
.wa-float svg { width: 24px; height: 24px; }

/* reveal */
.js .rv { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s ease; }
.js .rv.on { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .rv { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

@media (max-width: 1000px) {
  .hero-in, .split, .contact, .offer { grid-template-columns: 1fr; }
  .split.rev .pic { order: -1; }
  .gestes, .steps { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 240px; }
  .ftr-in { grid-template-columns: 1fr; }
  .trust ul { grid-template-columns: 1fr 1fr; }
  .trust li:nth-child(2) { border-right: 0; }
  .trust li:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .hdr-in { padding: 14px 18px; grid-template-columns: auto auto; }
  .brand img { height: 36px; }
  .nav { position: fixed; inset: 64px 0 auto; background: var(--ivory); flex-direction: column; gap: 0; padding: 12px 24px 24px; box-shadow: 0 20px 40px rgba(58,31,46,.15); transform: translateY(-120%); transition: transform .35s; }
  .nav.open { transform: none; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: .95rem; }
  .hdr-cta .btn { display: none; }
  .burger { display: block; }
  .hero { padding-top: 110px; }
  .hero .ar { font-size: 1.4rem; }
  .hero-visual .badge { width: 104px; height: 104px; left: 8px; bottom: -18px; font-size: .62rem; }
  .hero-visual .badge b { font-size: 1.5rem; }
  .hero-visual .sticker { right: 8px; top: 12px; }
  .sec { padding: 64px 0; }
  .gallery { grid-template-columns: 1fr; grid-auto-rows: 260px; }
  .gallery figure:first-child { grid-row: span 1; }
  .card { padding: 28px 22px; }
  .compare th, .compare td { padding: 12px 12px; font-size: .88rem; }
  .ingr { grid-template-columns: 1fr; }
  .teaser .in { padding: 28px 22px; }
  .wa-float span { display: none; }
  .wa-float { padding: 14px; }
}
