:root {
  --bg: #faf6f2;
  --soft: #f4ece5;
  --surface: #ffffff;
  --ink: #2b2024;
  --muted: #7d6f72;
  --line: #eadfd7;
  --accent: #a24f5d;      /* bois de rose */
  --accent-dark: #843c49;
  --accent-soft: #f5e3e1;
  --gold: #b8915a;
  --sage: #7f9474;
  --radius: 18px;
  --shadow: 0 18px 50px rgba(77, 40, 48, .12);
  --serif: 'Fraunces', Georgia, serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
[hidden] { display: none !important; }
.muted { color: var(--muted); }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { font-family: 'DM Sans', system-ui, sans-serif; background: var(--bg); color: var(--ink); line-height: 1.6; -webkit-font-smoothing: antialiased; }
body.no-scroll { overflow: hidden; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
img, svg { display: block; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; }
.container { width: min(1180px, 100% - 40px); margin-inline: auto; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.15; letter-spacing: -.02em; }
h1 em, h2 em { font-style: italic; color: var(--accent); }
.eyebrow { font-size: .78rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); margin-bottom: 12px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* ---------- Boutons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 28px; border-radius: 999px; border: 1px solid var(--accent); background: var(--accent); color: #fff; font-weight: 600; font-size: .95rem; transition: background .2s, transform .2s, box-shadow .2s; }
.btn:hover { background: var(--accent-dark); transform: translateY(-2px); box-shadow: 0 10px 24px rgba(162, 79, 93, .28); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: #fff; box-shadow: none; }
.btn--full { width: 100%; }
.btn--small { padding: 9px 18px; font-size: .85rem; }
.btn:disabled { opacity: .5; pointer-events: none; }
.icon-btn { position: relative; width: 42px; height: 42px; display: grid; place-items: center; border: 0; background: none; border-radius: 50%; transition: background .2s; }
.icon-btn:hover { background: var(--soft); }
.icon-btn svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.badge { position: absolute; top: 3px; right: 1px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 99px; background: var(--accent); color: #fff; font-size: .68rem; display: grid; place-items: center; }
.badge.bump { animation: bump .4s; }
@keyframes bump { 50% { transform: scale(1.35); } }

/* ---------- Bandeau + en-tête ---------- */
.announce { background: var(--ink); color: #f3e7de; text-align: center; font-size: .82rem; padding: 9px 16px; letter-spacing: .02em; }
.header { position: sticky; top: 0; z-index: 40; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(12px); border-bottom: 1px solid transparent; transition: border-color .3s; }
.header.scrolled { border-color: var(--line); }
.header__inner { display: flex; align-items: center; gap: 28px; height: 74px; }
.logo { font-family: var(--serif); font-size: 1.85rem; font-weight: 500; letter-spacing: -.03em; }
.logo span { color: var(--accent); }
.nav { display: flex; gap: 30px; margin-inline: auto; font-size: .93rem; }
.nav a { position: relative; padding: 4px 0; }
.nav a::after { content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 1px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .3s; }
.nav a:hover::after { transform: scaleX(1); }
.header__actions { display: flex; align-items: center; gap: 4px; }
.burger { display: none; }
.lang { display: flex; border: 1px solid var(--line); border-radius: 99px; padding: 3px; margin-right: 6px; }
.lang button { border: 0; background: none; padding: 4px 11px; border-radius: 99px; font-size: .78rem; font-weight: 600; color: var(--muted); }
.lang button.active { background: var(--ink); color: #fff; }

/* ---------- Accueil ---------- */
.hero { padding: 60px 0 90px; overflow: hidden; }
.hero__inner { display: grid; grid-template-columns: 1.05fr .95fr; gap: 50px; align-items: center; }
.hero h1 { font-size: clamp(2.9rem, 6.4vw, 5.2rem); line-height: 1.02; margin-bottom: 24px; }
.hero__lead { color: var(--muted); font-size: 1.08rem; max-width: 470px; margin-bottom: 34px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__trust { display: flex; gap: 36px; margin-top: 48px; padding-top: 28px; border-top: 1px solid var(--line); }
.hero__trust b { display: block; font-family: var(--serif); font-size: 1.6rem; font-weight: 500; }
.hero__trust span { font-size: .84rem; color: var(--muted); }

.hero__visual { position: relative; }
.arch { position: relative; aspect-ratio: 4 / 5; max-width: 470px; margin-left: auto; border-radius: 240px 240px 28px 28px; background: linear-gradient(170deg, #f1d9d2 0%, #ead2cb 45%, #dfc3b8 100%); overflow: hidden; }
.arch__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.arch:has(.arch__video)::after { display: none; }
.arch__sun { position: absolute; width: 62%; aspect-ratio: 1; left: 19%; top: 12%; border-radius: 50%; background: radial-gradient(circle, #fbeee6 0%, rgba(251, 238, 230, 0) 70%); }
.arch::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 26%; background: linear-gradient(#e8cfc5, #d9b9ad); border-top: 1px solid rgba(255, 255, 255, .5); }
.arch__item { position: absolute; z-index: 1; bottom: 14%; filter: drop-shadow(0 18px 18px rgba(80, 40, 40, .18)); animation: float 6s ease-in-out infinite; }
.arch__item svg, .arch__item img.photo { width: 100%; height: auto; }
/* L'animation isole l'image : c'est donc le conteneur entier qui se fond dans l'arche */
.arch__item:has(img) { filter: none; mix-blend-mode: multiply; }
.arch__item--main { width: 52%; left: 24%; }
.arch__item--left { width: 36%; left: 1%; bottom: 13%; animation-delay: -2s; }
.arch__item--right { width: 40%; right: 0; bottom: 12%; animation-delay: -4s; }
@keyframes float { 50% { transform: translateY(-10px); } }
.hero__note { position: absolute; z-index: 2; left: 0; top: 20%; display: flex; align-items: center; gap: 12px; padding: 14px 18px; background: var(--surface); border-radius: 16px; box-shadow: var(--shadow); }
.hero__note span { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; background: var(--accent-soft); color: var(--accent); }
.hero__note b { display: block; font-size: .9rem; }
.hero__note small { color: var(--muted); font-size: .8rem; }

/* ---------- Sections ---------- */
.section { padding: 100px 0; }
.section--soft { background: var(--soft); }
.section__head { text-align: center; margin-bottom: 50px; }
.section__head h2 { font-size: clamp(2rem, 4vw, 3rem); }

/* ---------- Catégories ---------- */
.cats { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.cat { border: 0; background: none; text-align: center; }
.cat__art { aspect-ratio: 1; border-radius: 50%; background: var(--tint); display: grid; place-items: center; margin-bottom: 14px; transition: transform .35s, box-shadow .35s; }
.cat__art svg { width: 54%; height: auto; transition: transform .35s; }
.cat:hover .cat__art { transform: translateY(-6px); box-shadow: var(--shadow); }
.cat:hover .cat__art svg { transform: scale(1.06) rotate(-4deg); }
.cat b { font-family: var(--serif); font-weight: 500; font-size: 1.12rem; display: block; }
.cat small { color: var(--muted); font-size: .82rem; }

/* ---------- Bandeau défilant des marques ---------- */
.marquee { overflow: hidden; border-block: 1px solid var(--line); background: var(--surface); padding: 18px 0; }
.marquee__track { display: flex; align-items: center; gap: 34px; width: max-content; animation: marquee 40s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee span { font-family: var(--serif); font-size: 1.45rem; font-weight: 500; white-space: nowrap; color: var(--ink); opacity: .75; }
.marquee i { font-style: normal; color: var(--gold); font-size: .9rem; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Catégories : photo du produit dans un cercle */
.cat__art { overflow: hidden; border: 6px solid var(--surface); box-shadow: 0 0 0 1px var(--line); }
.cat__art img.photo { width: 70%; height: 70%; transition: transform .35s; }
.cat:hover .cat__art img.photo { transform: scale(1.08) rotate(-3deg); }

/* ---------- Offres du moment ---------- */
.offers { display: grid; grid-template-columns: 1.3fr 1fr; gap: 22px; }
.offer { position: relative; display: grid; grid-template-columns: 1fr 1fr; align-items: center; min-height: 340px; border-radius: 28px; overflow: hidden; }
.offer--dark { background: linear-gradient(135deg, #3a2a2f, #2b2024); color: #f6ece5; }
.offer.offer--dark h3 em { color: #e6a9a3; }
.offer--dark p:not(.eyebrow) { color: #cdbdb6; }
.offer--light { background: var(--accent-soft); }
.offer__text { position: relative; z-index: 1; padding: 36px; }
.offer h3 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); margin-bottom: 10px; }
.offer h3 em { font-style: italic; color: var(--accent); }
.offer__text > p:not(.eyebrow) { margin-bottom: 22px; font-size: .95rem; color: var(--muted); }
.offer__img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2, .8, .2, 1); }
.offer:hover .offer__img { transform: scale(1.05); }
.offer__badge { position: absolute; top: 18px; right: 18px; z-index: 2; width: 66px; height: 66px; display: grid; place-items: center; border-radius: 50%; background: var(--accent); color: #fff; font-weight: 700; transform: rotate(-12deg); box-shadow: var(--shadow); }

/* ---------- Marques ---------- */
.section--tight { padding-top: 0; }
.brands { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 12px; }
.brand { padding: 22px 14px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); text-align: center; transition: border-color .2s, transform .2s, box-shadow .2s; }
.brand b { display: block; font-family: var(--serif); font-size: 1.2rem; font-weight: 500; letter-spacing: -.01em; }
.brand small { color: var(--muted); font-size: .8rem; }
.brand:hover { border-color: var(--accent); transform: translateY(-3px); box-shadow: var(--shadow); }
.brand.active { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.pd__brand { border: 0; background: none; padding: 0; color: var(--accent); font: inherit; font-weight: 700; letter-spacing: inherit; text-transform: inherit; text-decoration: underline; text-underline-offset: 3px; }
.footer__credit small { display: block; margin-top: 6px; font-size: .78rem; }

/* ---------- Barre d'outils ---------- */
.toolbar { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; }
.search { flex: 1 1 280px; display: flex; align-items: center; gap: 10px; padding: 0 18px; background: var(--surface); border: 1px solid var(--line); border-radius: 99px; }
.search:focus-within { border-color: var(--accent); }
.search svg { width: 18px; flex: none; fill: none; stroke: var(--muted); stroke-width: 1.8; stroke-linecap: round; }
.search input { flex: 1; border: 0; background: none; padding: 13px 0; outline: none; min-width: 0; }
.toolbar__selects { display: flex; gap: 12px; flex-wrap: wrap; }
select { appearance: none; padding: 13px 40px 13px 18px; border: 1px solid var(--line); border-radius: 99px; background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%237d6f72' stroke-width='1.6'/%3E%3C/svg%3E") no-repeat right 16px center; cursor: pointer; }
select:focus { outline: none; border-color: var(--accent); }
.chips { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 22px; }
.chip { padding: 8px 18px; border-radius: 99px; border: 1px solid var(--line); background: var(--surface); font-size: .88rem; transition: .2s; }
.chip:hover { border-color: var(--ink); }
.chip.active { background: var(--ink); border-color: var(--ink); color: #fff; }
.results { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; margin-bottom: 24px; color: var(--muted); font-size: .9rem; }
.switch { display: flex; align-items: center; gap: 8px; cursor: pointer; }
.switch input { accent-color: var(--accent); width: 16px; height: 16px; }

/* ---------- Cartes produits ---------- */
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px 22px; }
.card { position: relative; display: flex; flex-direction: column; animation: rise .5s both; }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } }
.card__media { position: relative; }
/* Photos produits : sur fond blanc, le blanc se fond dans la couleur de la case (multiply) ;
   photos avec décor (photo--cover) : elles remplissent toute la case */
img.photo { width: 84%; height: 84%; object-fit: contain; mix-blend-mode: multiply; transition: transform .5s cubic-bezier(.2, .8, .2, 1); }
img.photo--cover { width: 100%; height: 100%; object-fit: cover; mix-blend-mode: normal; }
.card__brand { font-size: .74rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.card__art { position: relative; aspect-ratio: 4 / 5; border-radius: var(--radius); background: var(--tint); overflow: hidden; border: 0; width: 100%; display: grid; place-items: center; }
.card__art svg { width: 58%; height: auto; transition: transform .5s cubic-bezier(.2, .8, .2, 1); }
.card:hover .card__art svg { transform: translateY(-6px) scale(1.04); }
.card:hover .card__art img.photo { transform: scale(1.05); }
.card__tags { position: absolute; top: 12px; left: 12px; display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }
.tag { font-size: .7rem; font-weight: 700; letter-spacing: .04em; padding: 4px 10px; border-radius: 99px; background: var(--surface); color: var(--ink); }
.tag--new { background: var(--sage); color: #fff; }
.tag--sale { background: var(--accent); color: #fff; }
.heart { position: absolute; top: 10px; right: 10px; width: 38px; height: 38px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .85); display: grid; place-items: center; transition: transform .2s; }
.heart:hover { transform: scale(1.1); }
.heart svg { width: 18px; fill: none; stroke: var(--ink); stroke-width: 1.7; }
.heart.on svg { fill: var(--accent); stroke: var(--accent); }
.quick { position: absolute; left: 12px; right: 12px; bottom: 12px; padding: 11px; border: 0; border-radius: 99px; background: var(--ink); color: #fff; font-weight: 600; font-size: .86rem; opacity: 0; transform: translateY(10px); transition: .3s; }
.card:hover .quick, .quick:focus-visible { opacity: 1; transform: none; }
.quick:hover { background: var(--accent); }
.card__body { padding: 14px 4px 0; }
.card__cat { font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.card__name { display: block; font-family: var(--serif); font-size: 1.12rem; font-weight: 500; margin: 3px 0 6px; line-height: 1.25; background: none; border: 0; text-align: left; padding: 0; }
.card__name:hover { color: var(--accent); }
.card__meta { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.price { font-weight: 700; }
.price s { color: var(--muted); font-weight: 400; font-size: .85em; margin-left: 6px; }
.stars { color: var(--gold); font-size: .82rem; white-space: nowrap; }
.stars small { color: var(--muted); }
.empty { text-align: center; padding: 50px 0; color: var(--muted); }
.empty p { margin-bottom: 16px; }

/* ---------- Routine (quiz) ---------- */
.quiz { display: grid; grid-template-columns: .85fr 1.15fr; gap: 50px; align-items: center; background: linear-gradient(135deg, #3a2a2f, #2b2024); color: #f6ece5; border-radius: 32px; padding: 60px; }
.quiz h2 { font-size: clamp(2rem, 3.6vw, 2.8rem); margin-bottom: 16px; }
.quiz h2 em { color: #e6a9a3; }
.quiz__intro > p { color: #cdbdb6; }
.quiz__promo { margin-top: 22px; padding: 12px 16px; border: 1px dashed rgba(230, 169, 163, .5); border-radius: 12px; font-size: .9rem; }
.quiz__promo b { color: #fff; letter-spacing: .05em; }
.quiz__box { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); border-radius: 24px; padding: 32px; min-height: 320px; }
.quiz__step { font-size: .8rem; color: #cdbdb6; margin-bottom: 8px; }
.quiz__q { font-family: var(--serif); font-size: 1.5rem; margin-bottom: 22px; }
.quiz__answers { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.answer { padding: 18px; border-radius: 16px; border: 1px solid rgba(255, 255, 255, .16); background: rgba(255, 255, 255, .04); color: #fff; text-align: left; transition: .2s; }
.answer:hover { background: #f6ece5; color: var(--ink); border-color: #f6ece5; }
.answer b { display: block; margin-bottom: 2px; }
.answer small { color: inherit; opacity: .7; font-size: .82rem; }
.routine { display: grid; gap: 10px; margin-bottom: 20px; }
.routine__item { display: grid; grid-template-columns: 56px 1fr auto; gap: 14px; align-items: center; padding: 10px 14px 10px 10px; border-radius: 14px; background: rgba(255, 255, 255, .06); }
.routine__art { width: 56px; height: 56px; border-radius: 12px; background: var(--tint); display: grid; place-items: center; overflow: hidden; }
.routine__art svg { width: 70%; height: auto; }
.routine__item small { display: block; color: #cdbdb6; font-size: .76rem; }
.routine__total { display: flex; justify-content: space-between; margin-bottom: 18px; font-size: 1.05rem; }
.quiz__actions { display: flex; gap: 10px; flex-wrap: wrap; }
.quiz .btn--ghost { color: #f6ece5; border-color: rgba(255, 255, 255, .4); }
.quiz .btn--ghost:hover { background: #f6ece5; color: var(--ink); }
.link-btn { border: 0; background: none; color: #cdbdb6; text-decoration: underline; font-size: .88rem; margin-top: 18px; }

/* ---------- Engagements ---------- */
.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.value { background: var(--surface); border-radius: var(--radius); padding: 30px 26px; }
.value { transition: transform .25s, box-shadow .25s; }
.value:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.value__icon { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 50%; background: var(--accent-soft); margin-bottom: 18px; }
.value__icon svg { width: 24px; fill: none; stroke: var(--accent); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.value h3 { font-size: 1.2rem; margin-bottom: 8px; }
.value p { color: var(--muted); font-size: .92rem; }

/* ---------- Avis ---------- */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.review { padding: 30px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.review p { font-family: var(--serif); font-size: 1.12rem; line-height: 1.5; margin: 12px 0 20px; }
.review footer { display: flex; align-items: center; gap: 12px; font-size: .86rem; }
.review footer i { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-weight: 700; background: var(--accent-soft); color: var(--accent); }
.review footer small { display: block; color: var(--muted); }

/* ---------- Newsletter ---------- */
.newsletter { background: var(--accent); color: #fff; padding: 64px 0; }
.newsletter__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.newsletter h2 { font-size: clamp(1.8rem, 3.4vw, 2.5rem); margin-bottom: 8px; }
.newsletter h2 em { color: #ffd9d3; }
.newsletter p { opacity: .85; }
.newsletter__form { display: flex; flex-wrap: wrap; gap: 10px; }
.newsletter__form input { flex: 1 1 220px; padding: 14px 20px; border-radius: 99px; border: 1px solid rgba(255, 255, 255, .4); background: rgba(255, 255, 255, .12); color: #fff; outline: none; }
.newsletter__form input::placeholder { color: rgba(255, 255, 255, .7); }
.newsletter__form input:focus { border-color: #fff; }
.newsletter .btn { background: #fff; color: var(--accent); border-color: #fff; }
.newsletter .btn:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.newsletter__msg { flex-basis: 100%; min-height: 1.4em; font-size: .9rem; }
.newsletter__msg b { background: #fff; color: var(--accent); padding: 2px 8px; border-radius: 6px; letter-spacing: .05em; }

/* ---------- Pied de page ---------- */
.footer { padding: 50px 0 36px; }
.footer { background: var(--soft); }
.footer__inner { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 30px 40px; align-items: start; }
.footer__inner > div:first-child p { color: var(--muted); font-size: .9rem; margin-top: 6px; max-width: 260px; }
.footer__col { display: grid; gap: 8px; justify-items: start; font-size: .9rem; }
.footer__col h4 { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin-bottom: 4px; }
.footer__col p { color: var(--muted); }
#footerCats { display: grid; gap: 8px; justify-items: start; }
.footer__col a:hover, .footer__link:hover { color: var(--accent); }
.footer__link { border: 0; background: none; padding: 0; text-align: left; }
.footer__credit { grid-column: 1 / -1; padding-top: 24px; border-top: 1px solid var(--line); color: var(--muted); font-size: .85rem; }
.footer__credit a { color: var(--accent); font-weight: 600; }

/* ---------- Fenêtres (modales + panier) ---------- */
.modal, .drawer { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 20px; }
.modal[hidden], .drawer[hidden] { display: none; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(43, 32, 36, .45); backdrop-filter: blur(3px); animation: fade .25s; }
@keyframes fade { from { opacity: 0; } }
.modal__card { position: relative; width: min(560px, 100%); max-height: calc(100vh - 40px); overflow-y: auto; background: var(--bg); border-radius: 26px; padding: 36px; animation: pop .3s cubic-bezier(.2, .8, .2, 1); }
.modal__card--wide { width: min(960px, 100%); padding: 0; }
@keyframes pop { from { opacity: 0; transform: translateY(18px) scale(.98); } }
.modal__close { position: absolute; top: 14px; right: 14px; z-index: 2; width: 38px; height: 38px; border-radius: 50%; border: 0; background: var(--surface); box-shadow: 0 2px 10px rgba(0, 0, 0, .08); font-size: .95rem; }
.modal__close:hover { background: var(--ink); color: #fff; }

/* Fiche produit */
.pd { display: grid; grid-template-columns: 1fr 1fr; }
.pd__art { background: var(--tint); display: grid; place-items: center; min-height: 520px; border-radius: 26px 0 0 26px; overflow: hidden; }
.pd__art svg { width: 56%; height: auto; filter: drop-shadow(0 24px 22px rgba(80, 40, 40, .16)); }
.pd__info { padding: 44px 40px 36px; }
.pd__info h2 { font-size: 2rem; margin: 6px 0 10px; }
.pd__price { display: flex; align-items: baseline; gap: 12px; font-size: 1.5rem; font-weight: 700; margin: 14px 0; }
.pd__price s { font-size: 1rem; font-weight: 400; color: var(--muted); }
.pd__desc { color: var(--muted); margin-bottom: 20px; }
.pd__label { font-size: .82rem; font-weight: 600; margin-bottom: 8px; }
.sizes { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 20px; }
.size { padding: 9px 16px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); font-size: .88rem; }
.size.active { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.buy { display: flex; gap: 10px; margin-bottom: 24px; }
.buy .btn { flex: 1; }
.qty { display: flex; align-items: center; border: 1px solid var(--line); border-radius: 99px; background: var(--surface); }
.qty button { width: 38px; height: 44px; border: 0; background: none; font-size: 1.1rem; }
.qty span { min-width: 22px; text-align: center; font-weight: 600; }
.qty--small { display: inline-flex; }
.qty--small button { width: 30px; height: 32px; }
.pd__heart { width: 50px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); display: grid; place-items: center; }
.pd__heart svg { width: 20px; fill: none; stroke: var(--ink); stroke-width: 1.7; }
.pd__heart.on svg { fill: var(--accent); stroke: var(--accent); }
.tabs { display: flex; gap: 22px; border-bottom: 1px solid var(--line); margin-bottom: 14px; }
.tabs button { border: 0; background: none; padding: 10px 0; font-weight: 600; font-size: .9rem; color: var(--muted); border-bottom: 2px solid transparent; margin-bottom: -1px; }
.tabs button.active { color: var(--ink); border-color: var(--accent); }
.tab-panel { color: var(--muted); font-size: .93rem; min-height: 70px; }
.pd__skin { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.pd__skin span { font-size: .76rem; padding: 4px 10px; border-radius: 99px; background: var(--soft); }
.related { grid-column: 1 / -1; padding: 30px 40px 40px; border-top: 1px solid var(--line); }
.related h3 { font-size: 1.3rem; margin-bottom: 18px; }
.related__list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.mini { border: 0; background: none; text-align: left; }
.mini__art { aspect-ratio: 1; border-radius: 14px; background: var(--tint); display: grid; place-items: center; overflow: hidden; margin-bottom: 8px; }
.mini__art svg { width: 52%; height: auto; transition: transform .3s; }
.mini:hover .mini__art svg { transform: scale(1.08); }
.mini b { display: block; font-family: var(--serif); font-weight: 500; font-size: .95rem; line-height: 1.25; }
.mini small { color: var(--muted); }

/* Panier (tiroir à droite) */
.drawer { place-items: stretch end; padding: 0; }
.drawer__panel { position: relative; width: min(430px, 100%); height: 100%; background: var(--bg); display: flex; flex-direction: column; animation: slide .35s cubic-bezier(.2, .8, .2, 1); }
@keyframes slide { from { transform: translateX(100%); } }
.drawer__head { display: flex; justify-content: space-between; align-items: center; padding: 22px 24px; border-bottom: 1px solid var(--line); }
.drawer__head h2 { font-size: 1.6rem; }
.drawer__head .modal__close { position: static; }
.ship-bar { padding: 16px 24px; font-size: .86rem; background: var(--soft); }
.ship-bar__track { height: 6px; border-radius: 99px; background: var(--line); margin-top: 8px; overflow: hidden; }
.ship-bar__track i { display: block; height: 100%; background: linear-gradient(90deg, var(--gold), var(--accent)); border-radius: 99px; transition: width .4s; }
.drawer__body { flex: 1; overflow-y: auto; padding: 8px 24px; }
.line { display: grid; grid-template-columns: 76px 1fr auto; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.line__art { width: 76px; height: 90px; border-radius: 12px; background: var(--tint); display: grid; place-items: center; overflow: hidden; }
.line__art svg { width: 62%; height: auto; }
.line b { font-family: var(--serif); font-weight: 500; display: block; line-height: 1.25; }
.line small { color: var(--muted); display: block; margin: 2px 0 8px; }
.line__right { display: flex; flex-direction: column; align-items: flex-end; justify-content: space-between; }
.remove { border: 0; background: none; color: var(--muted); font-size: .8rem; text-decoration: underline; }
.remove:hover { color: var(--accent); }
.drawer__foot { padding: 20px 24px 24px; border-top: 1px solid var(--line); background: var(--surface); }
.cart-empty { text-align: center; padding: 60px 10px; color: var(--muted); }
.cart-empty span { font-size: 2.6rem; display: block; margin-bottom: 10px; }
.cart-empty p { margin-bottom: 18px; }

/* Code promo + totaux */
.promo { display: flex; gap: 8px; margin-bottom: 6px; }
.promo input { flex: 1; min-width: 0; padding: 11px 16px; border: 1px solid var(--line); border-radius: 99px; background: var(--bg); text-transform: uppercase; outline: none; }
.promo input:focus { border-color: var(--accent); }
.promo__msg { font-size: .8rem; min-height: 1.3em; margin-bottom: 10px; }
.promo__msg.ok { color: var(--sage); }
.promo__msg.err { color: var(--accent); }
.totals { display: grid; gap: 6px; margin-bottom: 16px; font-size: .92rem; }
.totals div { display: flex; justify-content: space-between; }
.totals .discount { color: var(--sage); }
.totals .grand { font-size: 1.15rem; font-weight: 700; padding-top: 8px; border-top: 1px solid var(--line); margin-top: 4px; }
.totals small { color: var(--muted); }

/* Commande */
.progress { display: flex; gap: 6px; margin-bottom: 26px; counter-reset: s; font-size: .8rem; color: var(--muted); }
.progress li { flex: 1; counter-increment: s; padding-top: 10px; border-top: 3px solid var(--line); }
.progress li::before { content: counter(s) ". "; }
.progress li.active, .progress li.done { color: var(--ink); border-color: var(--accent); font-weight: 600; }
.pane h2 { font-size: 1.7rem; margin-bottom: 20px; }
.pane label { display: grid; gap: 6px; font-size: .86rem; font-weight: 600; margin-bottom: 14px; }
.pane input, .pane select { width: 100%; padding: 12px 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); font-weight: 400; outline: none; }
.pane select { border-radius: 12px; }
.pane input:focus { border-color: var(--accent); }
.pane .invalid { border-color: var(--accent); background: #fff6f5; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ship-modes { border: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 14px; }
.ship-mode { position: relative; display: block !important; padding: 14px 16px !important; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); cursor: pointer; margin: 0 !important; }
.ship-mode input { position: absolute; opacity: 0; }
.ship-mode:has(input:checked) { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.ship-mode b { display: block; }
.ship-mode small { color: var(--muted); font-weight: 400; }
.ship-mode em { position: absolute; top: 14px; right: 16px; font-style: normal; font-weight: 700; }
.error { color: var(--accent); font-size: .86rem; min-height: 1.3em; margin-bottom: 10px; }
.recap-items { display: grid; gap: 10px; margin-bottom: 16px; }
.recap-items div { display: flex; justify-content: space-between; gap: 12px; font-size: .92rem; }
.recap-addr { padding: 14px 16px; border-radius: 14px; background: var(--soft); font-size: .88rem; margin-bottom: 16px; }
.recap-addr b { display: block; margin-bottom: 2px; }
.cod { display: flex; gap: 10px; align-items: center; padding: 12px 16px; border: 1px dashed var(--gold); border-radius: 14px; font-size: .86rem; margin-bottom: 20px; }
.btn-row { display: flex; gap: 10px; }
.btn-row .btn { flex: 1; }
.done { text-align: center; }
.done__icon { width: 70px; height: 70px; margin: 0 auto 18px; border-radius: 50%; display: grid; place-items: center; background: var(--sage); color: #fff; font-size: 2rem; animation: pop .5s; }
.done p { color: var(--muted); margin-bottom: 14px; }
.done__ref { font-family: var(--serif); font-size: 1.3rem; color: var(--ink) !important; margin-bottom: 24px !important; }

/* Notification */
.toast { position: fixed; left: 50%; bottom: 26px; z-index: 200; transform: translateX(-50%); padding: 13px 22px; border-radius: 99px; background: var(--ink); color: #fff; font-size: .9rem; box-shadow: var(--shadow); animation: toast .3s; }
@keyframes toast { from { opacity: 0; transform: translate(-50%, 12px); } }

/* ---------- Responsive ---------- */
@media (max-width: 1060px) {
  .grid { grid-template-columns: repeat(3, 1fr); }
  .values { grid-template-columns: repeat(2, 1fr); }
  .nav { gap: 20px; }
}
@media (max-width: 900px) {
  .burger { display: grid; }
  .nav { position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; gap: 0; padding: 8px 20px 18px; background: var(--bg); border-bottom: 1px solid var(--line); display: none; }
  .nav.open { display: flex; }
  .nav a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .nav a::after { display: none; }
  .header__actions { margin-left: auto; }
  .header__inner { gap: 10px; }
  .hero { padding-top: 30px; }
  .hero__inner, .quiz, .newsletter__inner { grid-template-columns: 1fr; }
  .hero__visual { max-width: 420px; width: 100%; margin: 0 auto; }
  .arch { margin: 0 auto; }
  .cats { grid-template-columns: repeat(5, 150px); overflow-x: auto; padding-bottom: 10px; scroll-snap-type: x mandatory; }
  .cat { scroll-snap-align: start; }
  .reviews { grid-template-columns: 1fr; }
  .offers { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
  .quiz { padding: 36px 24px; }
  .pd { grid-template-columns: 1fr; }
  .pd__art { min-height: 320px; border-radius: 26px 26px 0 0; }
  .pd__info { padding: 28px 24px; }
  .related { padding: 24px; }
}
@media (max-width: 640px) {
  .section { padding: 70px 0; }
  .grid { grid-template-columns: repeat(2, 1fr); gap: 20px 14px; }
  .quick { opacity: 1; transform: none; padding: 8px; font-size: .78rem; }
  .card__name { font-size: 1rem; }
  .card__meta { flex-direction: column; gap: 2px; }
  .values, .row, .ship-modes, .quiz__answers { grid-template-columns: 1fr; }
  .related__list { grid-template-columns: repeat(2, 1fr); }
  .hero__trust { gap: 22px; }
  .hero__note { display: none; }
  .modal__card { padding: 28px 20px; border-radius: 22px; }
  .modal__card--wide { padding: 0; }
  .lang { margin-right: 0; }
  .lang button { padding: 4px 8px; }
  .footer__inner { grid-template-columns: 1fr; }
  .offer { grid-template-columns: 1fr; min-height: 0; }
  .offer__img { height: 220px; order: -1; }
  .offer__text { padding: 26px; }
  .marquee span { font-size: 1.15rem; }
}
@media (hover: none) {
  .quick { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
