:root {
  /* Couleurs du logo Dermato Beauty */
  --teal: #0b94b0;
  --mid: #2fb48a;
  --green: #7ed957;
  --grad: linear-gradient(90deg, var(--teal), var(--mid) 55%, var(--green));

  --bg: #ffffff;
  --soft: #e3f3ee;
  --ink: #0f2a2e;
  --muted: #5d7275;
  --white: #ffffff;
  --radius: 22px;
  --display: "Lexend", system-ui, sans-serif;
  --sans: "Inter", system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--sans); background: var(--bg); color: var(--ink); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { display: block; max-width: 100%; }
button { font: inherit; cursor: pointer; background: none; border: 0; color: inherit; }
a { color: inherit; text-decoration: none; }

.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Marquee ---------- */
.marquee { background: var(--grad); color: var(--white); overflow: hidden; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; }
.marquee__track { display: flex; gap: 48px; width: max-content; padding: 9px 0; animation: marquee 28s linear infinite; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Header & logo ---------- */
.header { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 12px 20px; }
.header__left { display: flex; gap: 18px; }
.header__right { justify-self: end; }
.link-btn { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; display: inline-flex; align-items: center; gap: 8px; }

.logo { display: inline-flex; flex-direction: column; align-items: flex-end; font-family: var(--display); line-height: .9; }
.logo__main { font-size: 30px; font-weight: 700; letter-spacing: -.02em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.logo__sub { position: relative; font-size: 15px; font-weight: 700; padding-right: 22px; margin-top: 2px; background: linear-gradient(90deg, var(--teal), var(--mid)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.logo__sub::after { content: ""; position: absolute; right: 0; top: 55%; width: 18px; height: 3px; border-radius: 2px; background: var(--green); }

.cart-count { display: inline-grid; place-items: center; min-width: 22px; height: 22px; border-radius: 50%; background: var(--soft); font-size: 11px; transition: transform .3s; }
.cart-count.bump { transform: scale(1.35); background: var(--mid); color: var(--white); }

/* ---------- Drawer ---------- */
.drawer, .cart { position: fixed; top: 0; bottom: 0; width: min(380px, 88vw); background: var(--white); z-index: 60; padding: 28px 24px; transition: transform .45s cubic-bezier(.7,0,.2,1); display: flex; flex-direction: column; }
.drawer { left: 0; transform: translateX(-100%); }
.cart { right: 0; transform: translateX(100%); }
.drawer.open, .cart.open { transform: none; }
.drawer__close { font-size: 32px; line-height: 1; align-self: flex-end; }
.drawer__links { list-style: none; margin-top: 30px; }
.drawer__links a { display: block; font-family: var(--display); font-weight: 600; font-size: 26px; padding: 12px 0; border-bottom: 1px solid rgba(0,0,0,.08); }
.drawer__links a:hover { color: var(--mid); }
.overlay { position: fixed; inset: 0; background: rgba(0,0,0,.45); z-index: 50; opacity: 0; pointer-events: none; transition: opacity .3s; }
.overlay.show { opacity: 1; pointer-events: auto; }


/* =========================================================
   CAROUSEL — card expansion
   nth-child(1) & (2) = plein écran (2 = actif)
   nth-child(3+) = petites cartes à droite
   ========================================================= */
.carousel { position: relative; height: 100svh; min-height: 560px; overflow: hidden; background: var(--ink); touch-action: pan-y; user-select: none; }
.carousel__slide { position: absolute; inset: 0; }

.item {
  position: absolute; z-index: 1;
  width: 200px; height: 280px; top: 50%; transform: translateY(-50%);
  border-radius: 20px; overflow: hidden;
  background-size: cover; background-position: center;
  box-shadow: 0 30px 50px -10px rgba(0,0,0,.55);
  transition: all .6s cubic-bezier(.2,.8,.2,1);
  cursor: pointer;
}
/* voile sombre (seulement sur la carte en plein écran) */
.item::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8,30,34,.85), rgba(8,30,34,.35) 55%, rgba(8,30,34,.1)); opacity: 0; transition: opacity .6s; }
/* légende sur les petites cartes */
.item__label { position: absolute; left: 14px; right: 14px; bottom: 14px; color: var(--white); font-family: var(--display); font-weight: 600; font-size: 15px; text-shadow: 0 2px 10px rgba(0,0,0,.6); transition: opacity .3s; }
.item::after { content: ""; position: absolute; inset: 40% 0 0; background: linear-gradient(to top, rgba(0,0,0,.6), transparent); z-index: 0; transition: opacity .3s; }
.item__label { z-index: 1; }

.item:nth-child(1), .item:nth-child(2) {
  top: 0; left: 0; width: 100%; height: 100%; transform: none; border-radius: 0; box-shadow: none; cursor: default;
}
.item:nth-child(1)::before, .item:nth-child(2)::before { opacity: 1; }
.item:nth-child(1)::after, .item:nth-child(2)::after,
.item:nth-child(1) .item__label, .item:nth-child(2) .item__label { opacity: 0; }

.item:nth-child(3) { left: 55%; }
.item:nth-child(4) { left: calc(55% + 220px); }
.item:nth-child(5) { left: calc(55% + 440px); }
.item:nth-child(n+6) { left: calc(55% + 660px); opacity: 0; }

/* contenu de la carte active */
.item__content { position: absolute; z-index: 2; left: 6%; top: 50%; transform: translateY(-50%); width: min(460px, 42%); color: var(--white); display: none; }
.item:nth-child(2) .item__content { display: block; }
.item__content > * { animation: showUp .8s ease-in-out both; } /* texte visible même si l'animation ne se rejoue pas (téléphone) */
.item__content > :nth-child(2) { animation-delay: .15s; }
.item__content > :nth-child(3) { animation-delay: .3s; }
.item__content > :nth-child(4) { animation-delay: .45s; }
.item__content > :nth-child(5) { animation-delay: .6s; }
@keyframes showUp { from { opacity: 0; transform: translateY(40px); filter: blur(12px); } to { opacity: 1; transform: none; filter: none; } }

.badge { display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; border-radius: 999px; background: var(--grad); font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.item__title { font-family: var(--display); font-size: clamp(38px, 6vw, 68px); font-weight: 800; line-height: 1; margin-top: 16px; letter-spacing: -.02em; }
.item__desc { font-size: 15px; line-height: 1.5; opacity: .88; margin-top: 12px; }
.item__price { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-top: 16px; font-size: 13px; }
.item__price del { opacity: .7; }
.item__price strong { font-size: 30px; font-weight: 700; }
.item__discount { font-family: var(--display); font-size: 34px; font-weight: 800; color: var(--green); }
.item__btn { display: inline-block; margin-top: 22px; padding: 15px 30px; border-radius: 999px; border: 1px solid rgba(255,255,255,.45); background: rgba(255,255,255,.14); backdrop-filter: blur(8px); font-weight: 600; transition: background .25s, color .25s; }
.item__btn:hover { background: var(--white); color: var(--ink); }

/* navigation */
.carousel__nav { position: absolute; z-index: 5; left: 6%; right: 6%; bottom: 28px; display: flex; align-items: center; gap: 16px; color: var(--white); }
.counter { font-size: 13px; letter-spacing: .1em; opacity: .85; white-space: nowrap; }
.progress { flex: 1; max-width: 260px; height: 2px; background: rgba(255,255,255,.25); border-radius: 2px; overflow: hidden; }
.progress__bar { height: 100%; width: 20%; background: var(--grad); transition: width .5s ease; }

/* fonds de secours si une image ne charge pas */
.ph-0 { --ph: linear-gradient(140deg, #0b94b0, #0f2a2e); }
.ph-1 { --ph: linear-gradient(140deg, #2fb48a, #0f3a33); }
.ph-2 { --ph: linear-gradient(140deg, #7ed957, #1b5e3f); }
.ph-3 { --ph: linear-gradient(140deg, #4cc3c9, #134a52); }
.ph-4 { --ph: linear-gradient(140deg, #a6e27f, #2b6a4a); }

/* ---------- Mobile ---------- */
@media (max-width: 767px) {
  .carousel { height: 100svh; min-height: 640px; }
  /* cartes en haut à droite : la suivante (grande) + celle d'après (petite, qui sort de l'écran) */
  .item { width: 64px; height: 76px; top: calc(var(--header-h, 70px) + 50px); transform: none; border-radius: 12px; }
  .item:nth-child(3) { left: calc(100% - 152px); width: 92px; height: 110px; border-radius: 14px; z-index: 2; }
  .item:nth-child(4) { left: calc(100% - 43px); }
  .item:nth-child(n+5) { left: 100%; opacity: 0; }
  .item:nth-child(n+4) .item__label { opacity: 0; }
  .item:nth-child(n+3) .item__video { display: none; } /* une seule photo qui remplit la carte */
  .item__label { font-size: 11px; left: 8px; right: 6px; bottom: 7px; line-height: 1.2; }
  .item::before { background: linear-gradient(to top, rgba(8,30,34,.95) 15%, rgba(8,30,34,.45) 60%, rgba(8,30,34,.2)); }
  /* contenu en bas */
  .item__content { top: auto; bottom: 70px; left: 20px; right: 78px; width: auto; transform: none; }
  .item__desc { font-size: 14px; }
  .item__btn { display: block; text-align: center; }
  .carousel__nav { left: 20px; right: 78px; bottom: 28px; }
}
@media (min-width: 768px) {
  .header { padding: 14px 40px; }
}
@media (max-width: 420px) { .hide-sm { display: none; } .logo__main { font-size: 26px; } .logo__sub { font-size: 13px; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } .item__content > * { opacity: 1; } }

/* ---------- Réseaux sociaux (boutons flottants) ---------- */
.socials { position: fixed; z-index: 30; right: 22px; bottom: 24px; display: flex; flex-direction: column; gap: 12px; }
.social { width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; color: #fff; box-shadow: 0 8px 20px -6px rgba(0,0,0,.45); transition: transform .25s cubic-bezier(.2,.8,.2,1); }
.social svg { width: 22px; height: 22px; }
.social:hover { transform: scale(1.12) translateX(-3px); }
.social--tiktok { background: #000; }
.social--instagram { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fd5949 45%, #d6249f 60%, #285aeb 90%); }
.social--facebook { background: #1877f2; }
.social--whatsapp { background: #25d366; }
@media (max-width: 767px) {
  .socials { right: 14px; bottom: 18px; gap: 10px; }
  .social { width: 46px; height: 46px; }
}

/* =========================================================
   PAGE CATÉGORIE (categorie.html)
   ========================================================= */
.cat-hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; color: #fff; background-size: cover; background-position: center; background-color: var(--ink); isolation: isolate; }
.cat-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(8,30,34,.92), rgba(8,30,34,.35) 70%, rgba(8,30,34,.15)); }
.cat-hero__inner { width: 100%; max-width: 1200px; margin: 0 auto; padding: 140px 20px 32px; animation: heroIn .8s ease both; }
@keyframes heroIn { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
.crumbs { font-size: 12px; letter-spacing: .08em; opacity: .85; margin-bottom: 14px; display: flex; gap: 8px; }
.crumbs a:hover { text-decoration: underline; }
.cat-hero__title { font-family: var(--display); font-weight: 800; font-size: clamp(40px, 8vw, 72px); line-height: 1; letter-spacing: -.02em; margin-top: 14px; }
.cat-hero__desc { max-width: 520px; margin-top: 10px; font-size: 15px; line-height: 1.5; opacity: .9; }
.cat-hero__count { margin-top: 14px; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--green); }

.toolbar { position: sticky; top: var(--header-h, 68px); z-index: 20; display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 16px 20px 14px; background: var(--bg); }
.sort { display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 600; color: var(--muted); }
.sort select { font: inherit; font-size: 14px; color: var(--ink); padding: 10px 14px; min-width: 150px; border-radius: 12px; border: 1px solid rgba(15,42,46,.15); background: #fff; }

.grid { max-width: 1200px; margin: 0 auto; padding: 10px 20px 40px; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 22px; }
.p-card { background: #fff; border-radius: 20px; overflow: hidden; display: flex; flex-direction: column; box-shadow: 0 10px 30px -18px rgba(15,42,46,.35); animation: cardIn .6s var(--d) ease both; transition: transform .3s, box-shadow .3s; }
.p-card:hover { transform: translateY(-4px); box-shadow: 0 20px 40px -20px rgba(15,42,46,.45); }
@keyframes cardIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
.p-card__media { position: relative; aspect-ratio: 1 / 1; background: var(--ph, var(--soft)); overflow: hidden; }
.p-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.p-card:hover .p-card__media img { transform: scale(1.06); }
.p-card__tag { position: absolute; top: 12px; left: 12px; padding: 5px 10px; border-radius: 999px; background: #fff; color: var(--teal); font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.p-card__off { position: absolute; top: 12px; right: 12px; padding: 5px 10px; border-radius: 999px; background: var(--grad); color: #fff; font-size: 12px; font-weight: 800; font-family: var(--display); }
.p-card__body { padding: 16px; display: flex; flex-direction: column; flex: 1; }
.p-card__brand { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--teal); font-weight: 700; }
.p-card__name { font-family: var(--display); font-size: 17px; font-weight: 600; line-height: 1.25; margin-top: 6px; }
.p-card__price { margin: 10px 0 14px; display: flex; align-items: baseline; gap: 8px; }
.p-card__price strong { font-size: 19px; }
.p-card__price del { color: var(--muted); font-size: 13px; }
.p-card__btn { margin-top: auto; display: block; text-align: center; padding: 12px; border-radius: 999px; background: var(--grad); color: #fff; font-weight: 700; font-size: 14px; transition: filter .2s; }
.p-card__btn:hover { filter: brightness(1.08); }

/* ---------- Avis clients (reviews.js) ---------- */
.reviews { max-width: 1200px; margin: 0 auto; padding: 30px 20px 70px; }
.reviews__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; padding-top: 30px; border-top: 1px solid rgba(15,42,46,.1); margin-bottom: 22px; }
.reviews__kicker { font-size: 11px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--teal); }
.reviews__title { font-family: var(--display); font-weight: 800; font-size: clamp(28px, 5vw, 40px); line-height: 1.1; margin-top: 6px; }
.reviews__score { display: flex; align-items: center; gap: 10px; margin-top: 8px; font-size: 14px; color: var(--muted); }
.reviews__score strong { font-family: var(--display); font-size: 22px; color: var(--ink); }
.reviews__btn { padding: 12px 22px; border-radius: 999px; background: var(--grad); color: #fff; font-weight: 700; font-size: 14px; transition: filter .2s; }
.reviews__btn:hover { filter: brightness(1.08); }
.reviews__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 18px; }
.review { display: flex; flex-direction: column; gap: 12px; background: #fff; border: 1px solid rgba(15,42,46,.08); border-radius: 20px; padding: 20px; box-shadow: 0 10px 30px -18px rgba(15,42,46,.35); animation: cardIn .6s var(--d) ease both; }
.review__text { flex: 1; font-size: 14.5px; line-height: 1.6; color: var(--ink); white-space: pre-line; overflow-wrap: anywhere; }
.review__who { display: flex; align-items: center; gap: 10px; }
.review__who strong { display: block; font-size: 14px; }
.review__who small { display: block; font-size: 12px; color: var(--muted); margin-top: 1px; }
.review__avatar { flex: none; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--soft); color: var(--teal); font-family: var(--display); font-weight: 700; }
.stars { color: #f5b301; letter-spacing: 2px; font-size: 15px; white-space: nowrap; }
.stars__off { color: rgba(15,42,46,.15); }
.reviews__more { text-align: center; margin-top: 22px; }
.reviews__more button { padding: 11px 22px; border-radius: 999px; border: 1px solid rgba(15,42,46,.15); background: #fff; font-weight: 600; font-size: 14px; color: var(--teal); }
.reviews__more button:hover { border-color: var(--mid); }

/* ---------- Questions fréquentes (page catégorie) ---------- */
.faq { max-width: 860px; margin: 0 auto; padding: 0 20px 90px; }
#reviews, #faqTitle { scroll-margin-top: calc(var(--header-h, 68px) + 20px); }
.faq__list { display: grid; gap: 10px; margin-top: 20px; }
.faq__item { background: #fff; border-radius: 16px; box-shadow: 0 10px 30px -22px rgba(15,42,46,.35); border: 1px solid rgba(15,42,46,.1); transition: border-color .2s; }
.faq__item[open] { border-color: rgba(47,180,138,.35); }
.faq__item summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 16px 18px; font-family: var(--display); font-weight: 600; font-size: 15.5px; line-height: 1.35; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary:focus-visible { outline: 2px solid var(--mid); outline-offset: 2px; border-radius: 16px; }
.faq__icon { flex: none; position: relative; width: 28px; height: 28px; border-radius: 50%; background: var(--soft); }
.faq__icon::before, .faq__icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; border-radius: 2px; background: var(--teal); transition: transform .25s; }
.faq__icon::after { transform: rotate(90deg); }
.faq__item[open] .faq__icon::after { transform: rotate(0); }
.faq__item p { padding: 0 18px 18px; font-size: 14.5px; line-height: 1.65; color: var(--muted); }
.faq__cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 22px; padding: 20px 22px; border-radius: 20px; background: #fff; border: 1px solid rgba(15,42,46,.1); }
.faq__cta strong { display: block; font-family: var(--display); font-size: 17px; }
.faq__cta span { display: block; font-size: 14px; color: var(--muted); margin-top: 3px; }
.faq__wa { display: inline-flex; align-items: center; gap: 8px; padding: 12px 20px; border-radius: 999px; background: #25d366; color: #fff; font-weight: 700; font-size: 14px; white-space: nowrap; transition: filter .2s; }
.faq__wa:hover { filter: brightness(1.05); }
.faq__wa svg { width: 20px; height: 20px; }

/* ---------- Pied de page (common.js) ---------- */
.footer { background: var(--ink); color: rgba(255,255,255,.75); padding: 56px 20px 24px; }
.footer__inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 32px; }
.footer__logo { font-family: var(--display); font-weight: 800; font-size: 26px; color: #fff; }
.footer__logo span { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.footer__logo-img { display: block; max-width: 200px; max-height: 64px; width: auto; height: auto; object-fit: contain; }
.footer__label { display: block; font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.45); margin-bottom: 2px; }
.footer__col a { overflow-wrap: anywhere; }
.footer__col a[href^="mailto:"] { overflow-wrap: normal; white-space: nowrap; } /* l'email reste sur une seule ligne */
.socials { transition: opacity .3s, transform .3s; }
.socials.is-hidden { opacity: 0; transform: translateX(20px); pointer-events: none; }
.footer__brand p { margin-top: 12px; max-width: 320px; font-size: 14px; line-height: 1.6; }
.footer__col h3 { font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--green); margin-bottom: 14px; }
.footer__col ul { list-style: none; display: grid; gap: 10px; font-size: 14px; }
.footer__col a, .footer__col button { color: rgba(255,255,255,.8); font: inherit; text-align: left; transition: color .2s; }
.footer__col a:hover, .footer__col button:hover { color: #fff; text-decoration: underline; }
.footer__bottom { max-width: 1200px; margin: 40px auto 0; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.12); font-size: 12.5px; color: rgba(255,255,255,.5); }

@media (max-width: 900px) {
  .footer__inner { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  .faq { padding: 0 16px 70px; }
  .faq__item summary { padding: 14px 16px; font-size: 14.5px; }
  .faq__item p { padding: 0 16px 16px; }
  .faq__wa { width: 100%; justify-content: center; }
  .footer { padding: 44px 16px 90px; } /* place pour les boutons flottants */
  .footer__inner { gap: 28px 20px; }
  .footer__col:last-child { grid-column: 1 / -1; } /* contact sur toute la largeur : l'email tient sur une ligne */
}

/* fenêtre "Laisser un avis" : étoiles cliquables (ordre inversé pour colorer les précédentes au survol) */
.club__form textarea { font: inherit; font-size: 15px; color: var(--ink); padding: 12px 14px; border-radius: 12px; border: 1px solid rgba(15,42,46,.18); background: #fff; width: 100%; resize: vertical; min-height: 100px; }
.club__form textarea:focus { outline: none; border-color: var(--mid); box-shadow: 0 0 0 3px rgba(47,180,138,.18); }
.rate { border: 0; padding: 0; margin: 0; }
.rate legend { font-size: 12px; font-weight: 600; color: var(--muted); margin-bottom: 4px; }
.rate__stars { display: inline-flex; flex-direction: row-reverse; gap: 4px; }
.rate__stars input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.rate__stars label { font-size: 34px; line-height: 1; color: rgba(15,42,46,.15); cursor: pointer; transition: color .15s, transform .15s; }
.rate__stars label:hover, .rate__stars label:hover ~ label,
.rate__stars input:checked ~ label { color: #f5b301; }
.rate__stars label:hover { transform: scale(1.12); }
.rate__stars input:focus-visible + label { outline: 2px solid var(--mid); outline-offset: 2px; border-radius: 6px; }

@media (max-width: 600px) {
  .reviews { padding: 20px 16px 56px; }
  .reviews__btn { width: 100%; }
  .reviews__grid { grid-template-columns: 1fr; gap: 12px; }
}

@media (max-width: 600px) {
  .cat-hero { min-height: 100svh; }
  .cat-hero__inner { padding-bottom: 48px; }
  .toolbar { padding: 12px 16px; }
  .grid { grid-template-columns: repeat(2, 1fr); gap: 12px; padding: 6px 16px 30px; }
  .p-card { border-radius: 16px; }
  .p-card__body { padding: 12px; }
  .p-card__name { font-size: 14px; }
  .p-card__price strong { font-size: 16px; }
  .p-card__btn { padding: 10px; font-size: 13px; }
}

/* =========================================================
   BARRE DU HAUT — transparente sur l'image, blanche au scroll
   ========================================================= */
.topbar { position: fixed; top: 0; left: 0; right: 0; z-index: 40; color: #fff; transition: background .35s, box-shadow .35s, color .35s; }
.topbar::before { content: ""; position: absolute; inset: 0 0 -40px; z-index: -1; pointer-events: none; background: linear-gradient(to bottom, rgba(5,20,24,.55), transparent); transition: opacity .35s; }
.topbar .marquee { max-height: 40px; transition: max-height .35s; }
/* logo blanc sur l'image */
.topbar .logo__main, .topbar .logo__sub { background: none; -webkit-background-clip: border-box; background-clip: border-box; color: #fff; transition: color .35s; }

.topbar.scrolled { background: rgba(255,255,255,.95); backdrop-filter: blur(10px); color: var(--ink); box-shadow: 0 6px 24px -12px rgba(15,42,46,.35); }
.topbar.scrolled::before { opacity: 0; }
.topbar.scrolled .marquee { max-height: 0; }
/* logo en dégradé quand la barre est blanche */
.topbar.scrolled .logo__main { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.topbar.scrolled .logo__sub { background: linear-gradient(90deg, var(--teal), var(--mid)); -webkit-background-clip: text; background-clip: text; color: transparent; }
/* trait du logo : blanc sur l'image, vert au scroll */
.topbar .logo__sub::after { background: #fff; transition: background .35s; }
.topbar.scrolled .logo__sub::after { background: var(--green); }

/* filtres (puces) de la page catégorie */
.filters { display: flex; gap: 8px; max-width: 100%; overflow-x: auto; scrollbar-width: none; padding: 2px; }
.filters::-webkit-scrollbar { display: none; }
.filter { flex: none; padding: 8px 16px; border-radius: 999px; background: #d4efec; color: var(--ink); border: 1px solid transparent; font-size: 13px; font-weight: 500; white-space: nowrap; transition: background .2s, color .2s, border-color .2s; }
.filter:hover { border-color: var(--mid); }
.filter.active { background: var(--grad); color: #fff; font-weight: 600; }
.empty { grid-column: 1 / -1; text-align: center; color: var(--muted); padding: 40px 0; }
.sort { font-size: 14px; color: var(--muted); font-weight: 500; }

/* =========================================================
   CLUB FIDÉLITÉ
   ========================================================= */
.club-btn { padding: 8px 14px; border-radius: 999px; border: 1px solid currentColor; }
.club-btn__icon { color: var(--green); }
.topbar.scrolled .club-btn { background: var(--grad); color: #fff; border-color: transparent; }
.topbar.scrolled .club-btn__icon { color: #fff; }
.club-btn { white-space: nowrap; }
.club-btn__short { display: none; }
@media (max-width: 600px) {
  .club-btn, .topbar.scrolled .club-btn { padding: 0; border: 0; background: none; color: inherit; gap: 6px; letter-spacing: .1em; }
  .club-btn__icon { order: 2; color: var(--green) !important; font-size: 13px; }
  .club-btn__full { display: none; }
  .club-btn__short { display: inline; }
}

.club { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; padding: 16px; visibility: hidden; }
.club.open { visibility: visible; }
.club__backdrop { position: absolute; inset: 0; background: rgba(5,20,24,.55); backdrop-filter: blur(4px); opacity: 0; transition: opacity .3s; }
.club.open .club__backdrop { opacity: 1; }
.club__panel { position: relative; width: min(460px, 100%); max-height: calc(100svh - 32px); overflow-y: auto; background: #fff; border-radius: 24px; color: var(--ink); opacity: 0; transform: translateY(30px) scale(.97); transition: opacity .3s, transform .35s cubic-bezier(.2,.8,.2,1); }
.club.open .club__panel { opacity: 1; transform: none; }
.club__close { position: absolute; top: 12px; right: 14px; z-index: 2; width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,.25); color: #fff; font-size: 24px; line-height: 1; }
.club__head { background: var(--grad); color: #fff; padding: 28px 24px 22px; border-radius: 24px 24px 0 0; }
.club__kicker { font-size: 11px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; opacity: .9; }
.club__head h2 { font-family: var(--display); font-size: 28px; font-weight: 800; margin-top: 6px; line-height: 1.1; }
.club__head p { font-size: 14px; margin-top: 6px; opacity: .95; }
.club__perks { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 16px 20px 0; }
.club__perks li { background: var(--soft); border-radius: 14px; padding: 12px 8px; text-align: center; }
.club__perks strong { display: block; font-family: var(--display); font-size: 15px; color: var(--teal); }
.club__perks span { display: block; font-size: 11px; color: var(--muted); margin-top: 3px; line-height: 1.3; }
.club__body { padding: 18px 20px 22px; }
.club__tabs { display: grid; grid-template-columns: 1fr 1fr; background: var(--soft); border-radius: 999px; padding: 4px; margin-bottom: 16px; }
.club__tab { padding: 10px; border-radius: 999px; font-weight: 600; font-size: 14px; color: var(--muted); transition: background .2s, color .2s; }
.club__tab.active { background: #fff; color: var(--ink); box-shadow: 0 2px 8px rgba(15,42,46,.12); }
.club__form { display: grid; gap: 12px; }
.club__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.club__form label { display: grid; gap: 5px; font-size: 12px; font-weight: 600; color: var(--muted); }
.club__form input { font: inherit; font-size: 15px; color: var(--ink); padding: 12px 14px; border-radius: 12px; border: 1px solid rgba(15,42,46,.18); background: #fff; width: 100%; min-width: 0; }
.club__form input:focus { outline: none; border-color: var(--mid); box-shadow: 0 0 0 3px rgba(47,180,138,.18); }
.club__error { color: #c0392b; font-size: 13px; min-height: 1em; }
.club__error:empty { display: none; }
.club__submit { padding: 15px; border-radius: 999px; background: var(--grad); color: #fff; font-weight: 700; font-size: 15px; transition: filter .2s; }
.club__submit:hover { filter: brightness(1.08); }
.club__submit:disabled { opacity: .6; cursor: wait; }
.club__welcome { background: #e4f7ea; color: #1b6b3a; font-weight: 600; font-size: 14px; padding: 10px 14px; border-radius: 12px; margin-bottom: 14px; }

.mcard { position: relative; overflow: hidden; border-radius: 18px; padding: 20px; color: #fff; background: linear-gradient(135deg, #0b6f86, #0b94b0 40%, #2fb48a 75%, #7ed957); box-shadow: 0 18px 36px -18px rgba(11,148,176,.7); }
.mcard::after { content: ""; position: absolute; width: 220px; height: 220px; right: -70px; top: -90px; border-radius: 50%; background: rgba(255,255,255,.12); }
.mcard__top { display: flex; justify-content: space-between; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; opacity: .9; }
.mcard__brand { font-family: var(--display); font-weight: 700; letter-spacing: 0; text-transform: none; font-size: 15px; }
.mcard__brand em { font-style: normal; font-weight: 500; }
.mcard__name { font-family: var(--display); font-size: 24px; font-weight: 700; margin-top: 18px; }
.mcard__code { font-family: monospace; font-size: 15px; letter-spacing: .12em; opacity: .9; }
.mcard__pts { margin-top: 14px; font-size: 14px; }
.mcard__pts strong { font-family: var(--display); font-size: 34px; font-weight: 800; margin-right: 4px; }
.mcard__bar { height: 6px; border-radius: 6px; background: rgba(255,255,255,.3); margin-top: 8px; overflow: hidden; }
.mcard__bar span { display: block; height: 100%; background: #fff; border-radius: 6px; }
.mcard__hint { margin-top: 14px; font-size: 14px; }
.club__note { margin-top: 10px; font-size: 13px; color: var(--muted); line-height: 1.5; }
.club__row { display: flex; justify-content: space-between; margin-top: 14px; }
.club__link { font-size: 13px; font-weight: 600; color: var(--teal); text-decoration: underline; }

@media (max-width: 600px) {
  .club { place-items: end center; padding: 0; }
  .club__panel { border-radius: 24px 24px 0 0; max-height: 92svh; transform: translateY(100%); }
  .club__perks strong { font-size: 13px; }
}

/* =========================================================
   NAVBAR V2 — animations (pour revenir en arrière : supprimer ce bloc)
   ========================================================= */
.header { position: relative; padding: 18px 28px; transition: padding .4s cubic-bezier(.2,.8,.2,1); }
.topbar.scrolled .header { padding: 10px 28px; }
.logo { transition: transform .4s cubic-bezier(.2,.8,.2,1); }
.topbar.scrolled .logo { transform: scale(.86); }

/* entrée en douceur au chargement */
.header > nav, .header > .logo, .header > .header__right { animation: navIn .9s cubic-bezier(.2,.8,.2,1) both; }
.header > .logo { animation-delay: .12s; }
.header > .header__right { animation-delay: .24s; }
@keyframes navIn { from { opacity: 0; transform: translateY(-16px); } to { opacity: 1; transform: none; } }

/* burger animé */
.nav-menu { gap: 12px; }
.burger { display: inline-grid; gap: 5px; width: 22px; }
.burger i { display: block; height: 2px; border-radius: 2px; background: currentColor; transition: width .35s cubic-bezier(.2,.8,.2,1), transform .35s; }
.burger i:nth-child(1) { width: 22px; }
.burger i:nth-child(2) { width: 14px; }
.burger i:nth-child(3) { width: 18px; }
.nav-menu:hover .burger i:nth-child(1) { width: 14px; }
.nav-menu:hover .burger i:nth-child(2) { width: 22px; }
.nav-menu:hover .burger i:nth-child(3) { width: 10px; }

/* soulignement dégradé au survol */
.nav-label { position: relative; display: inline-block; }
.nav-label::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; border-radius: 2px; background: var(--grad); transform: scaleX(0); transform-origin: right; transition: transform .4s cubic-bezier(.2,.8,.2,1); }
.link-btn:hover .nav-label::after { transform: scaleX(1); transform-origin: left; }

/* Fidélité : sans cadre, étoile qui scintille */
.club-btn, .topbar.scrolled .club-btn { padding: 0; border: 0; border-radius: 0; background: none; color: inherit; gap: 8px; }
.club-btn__icon, .topbar.scrolled .club-btn__icon { order: 2; display: inline-block; color: var(--green); font-size: 15px; text-shadow: 0 0 10px rgba(126,217,87,.8); animation: twinkle 2.6s ease-in-out infinite; }
@keyframes twinkle {
  0%, 100% { transform: scale(1) rotate(0); opacity: 1; }
  45% { transform: scale(1.35) rotate(72deg); opacity: .85; }
  55% { transform: scale(.9) rotate(90deg); opacity: 1; }
}

/* ligne de progression du scroll */
.scroll-line { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--grad); transform: scaleX(var(--progress, 0)); transform-origin: left; opacity: 0; transition: opacity .35s; }
.topbar.scrolled .scroll-line { opacity: 1; }

@media (max-width: 600px) {
  .header, .topbar.scrolled .header { padding-left: 16px; padding-right: 16px; }
  .header { padding-top: 14px; padding-bottom: 14px; }
  .nav-menu { gap: 9px; }
  .club-btn__icon, .topbar.scrolled .club-btn__icon { font-size: 13px; }
}

/* =========================================================
   BOUTON FIDÉLITÉ — reflet lumineux + paillettes
   ========================================================= */
.club-btn, .topbar.scrolled .club-btn { position: relative; padding: 6px 2px; gap: 9px; color: inherit; }

/* texte avec un reflet vert qui passe dessus */
.club-text {
  font-weight: 700; letter-spacing: .16em; white-space: nowrap;
  background: linear-gradient(110deg, #fff 0 38%, #7ed957 46%, #d9fff3 50%, #2fb48a 54%, #fff 62% 100%);
  background-size: 260% 100%; background-position: 100% 0;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: shine 3.8s ease-in-out infinite;
}
.topbar.scrolled .club-text {
  background-image: linear-gradient(110deg, var(--ink) 0 38%, #0b94b0 46%, #7ed957 50%, #2fb48a 54%, var(--ink) 62% 100%);
}
@keyframes shine { 0% { background-position: 100% 0; } 55%, 100% { background-position: -60% 0; } }

/* paillettes à 4 branches */
.spark {
  display: inline-block; flex: none; pointer-events: none;
  background: linear-gradient(135deg, #b8f5e6, #7ed957 45%, #2fb48a);
  clip-path: polygon(50% 0, 61% 39%, 100% 50%, 61% 61%, 50% 100%, 39% 61%, 0 50%, 39% 39%);
}
.spark--main { order: 3; width: 16px; height: 16px; filter: drop-shadow(0 0 6px rgba(126,217,87,.9)); animation: sparkSpin 5s linear infinite, sparkGlow 2s ease-in-out infinite; }
.spark--a, .spark--b { position: absolute; scale: 0; animation: sparkPop 2.6s ease-in-out infinite; }
.spark--a { width: 8px; height: 8px; left: -10px; top: -2px; }
.spark--b { width: 6px; height: 6px; right: 22px; bottom: -4px; animation-delay: 1.3s; }

@keyframes sparkSpin { to { rotate: 360deg; } }
@keyframes sparkGlow { 0%, 100% { scale: 1; } 50% { scale: 1.25; } }
@keyframes sparkPop { 0%, 60%, 100% { scale: 0; rotate: 0deg; } 30% { scale: 1; rotate: 90deg; } }

/* survol : la grande paillette tourne vite, les petites éclatent */
.club-btn:hover .spark--main { animation-duration: 1.2s, 2s; }
.club-btn:hover .spark--a { animation: none; scale: 1.4; translate: -4px -4px; transition: scale .3s, translate .3s; }
.club-btn:hover .spark--b { animation: none; scale: 1.4; translate: 2px 4px; transition: scale .3s, translate .3s; }

@media (max-width: 600px) {
  .club-btn, .topbar.scrolled .club-btn { gap: 7px; }
  .club-text { letter-spacing: .1em; }
  .spark--main { width: 13px; height: 13px; }
  .spark--a { left: -9px; }
  .spark--b { right: 18px; }
}

/* Fidélité aligné sur le style de MENU (même police, taille, couleur) */
.club-text, .topbar.scrolled .club-text {
  font-weight: 600; letter-spacing: .14em;
  background: none; -webkit-background-clip: border-box; background-clip: border-box;
  color: inherit; animation: none;
}
.club-btn, .topbar.scrolled .club-btn { padding: 0; gap: 8px; }
.spark--main { width: 12px; height: 12px; filter: drop-shadow(0 0 4px rgba(126,217,87,.7)); animation: sparkSpin 8s linear infinite; }
.club-btn:hover .spark--main { animation-duration: 1.5s; }
@media (max-width: 600px) {
  .spark--main { width: 11px; height: 11px; }
}

/* =========================================================
   BOUTON FIDÉLITÉ — emblème : texte en arc + "club"
   ========================================================= */
.club-btn, .topbar.scrolled .club-btn { padding: 0; gap: 0; }
.club-logo { display: block; width: 112px; height: auto; overflow: visible; filter: drop-shadow(0 1px 3px rgba(0,0,0,.35)); transition: transform .35s cubic-bezier(.2,.8,.2,1), filter .35s; }
.club-logo__arc { font-family: var(--display); font-weight: 700; font-size: 15px; letter-spacing: 1.8px; fill: currentColor; }
.club-logo__sub { font-family: var(--sans); font-style: italic; font-weight: 600; font-size: 10.5px; letter-spacing: 2.5px; fill: var(--green); }
.club-logo__spark { fill: var(--green); transform-box: fill-box; transform-origin: center; animation: sparkSpin 6s linear infinite; }
.club-logo__spark--2 { animation-direction: reverse; }

.topbar.scrolled .club-logo { filter: none; }
.topbar.scrolled .club-logo__sub, .topbar.scrolled .club-logo__spark { fill: var(--mid); }

.club-btn:hover .club-logo { transform: translateY(-2px) scale(1.04); }
.club-btn:hover .club-logo__spark { animation-duration: 1.4s; }

@media (max-width: 600px) {
  .club-logo { width: 94px; }
}

/* =========================================================
   BOUTON FIDÉLITÉ — avatar + anneau de progression des points
   ========================================================= */
.avatar { position: relative; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; color: #fff; background: rgba(255,255,255,.16); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); transition: background .35s, color .35s, transform .3s cubic-bezier(.2,.8,.2,1); }
.topbar.scrolled .avatar { background: var(--soft); color: var(--teal); }
.club-btn:hover .avatar { transform: scale(1.08); }

.avatar__ring { position: absolute; inset: 0; width: 100%; height: 100%; rotate: -90deg; overflow: visible; }
.avatar__track { fill: none; stroke: rgba(255,255,255,.3); stroke-width: 1.5; transition: stroke .35s; }
.topbar.scrolled .avatar__track { stroke: rgba(11,148,176,.18); }
.avatar__prog { fill: none; stroke: url(#ringGrad); stroke-width: 2.6; stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 100; transition: stroke-dashoffset 1.2s cubic-bezier(.2,.8,.2,1); }
/* visiteur non inscrit : l'anneau se dessine au survol pour inviter à s'inscrire */
.club-btn:hover .avatar:not(.is-member) .avatar__prog { stroke-dashoffset: 0 !important; }

.avatar__icon { width: 22px; height: 22px; }
.avatar__initial { display: none; font-family: var(--display); font-weight: 700; font-size: 17px; letter-spacing: 0; }
.avatar.is-member .avatar__icon { display: none; }
.avatar.is-member .avatar__initial { display: block; }

/* petite paillette : invite à s'inscrire, ou signale un cadeau disponible */
.avatar__badge { position: absolute; top: -3px; right: -3px; width: 14px; height: 14px; background: linear-gradient(135deg, #b8f5e6, #7ed957 45%, #2fb48a); clip-path: polygon(50% 0, 61% 39%, 100% 50%, 61% 61%, 50% 100%, 39% 61%, 0 50%, 39% 39%); filter: drop-shadow(0 0 4px rgba(126,217,87,.9)); animation: sparkSpin 6s linear infinite, sparkGlow 2s ease-in-out infinite; }
.avatar.is-member .avatar__badge { display: none; }
.avatar.is-member.has-reward .avatar__badge { display: block; }

@media (max-width: 600px) {
  .avatar { width: 40px; height: 40px; }
  .avatar__icon { width: 20px; height: 20px; }
}

/* =========================================================
   VIDÉOS (slider d'accueil + bannière catégorie)
   ========================================================= */
.item { isolation: isolate; }
.item__video { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.cat-hero__video { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }

/* site sans catégorie (tout masqué dans le dashboard) */
.site-empty { position: absolute; inset: 0; display: grid; place-items: center; color: #fff; font-family: var(--display); font-size: 22px; }

/* =========================================================
   FENÊTRE COMMANDE (réutilise le style de la fenêtre fidélité)
   ========================================================= */
.order__item { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 16px; background: var(--soft); margin-bottom: 16px; }
.order__img { flex: none; width: 60px; height: 60px; border-radius: 12px; background-size: cover; background-position: center; }
.order__info { flex: 1; min-width: 0; }
.order__info strong { display: block; font-family: var(--display); font-size: 15px; font-weight: 600; line-height: 1.25; }
.order__info span { font-size: 14px; color: var(--teal); font-weight: 700; }
.qty-stepper { display: flex; align-items: center; background: #fff; border-radius: 999px; border: 1px solid rgba(15,42,46,.12); }
.qty-stepper button { width: 34px; height: 34px; font-size: 18px; color: var(--teal); }
.qty-stepper output { min-width: 22px; text-align: center; font-weight: 700; }
.order__total { display: flex; justify-content: space-between; align-items: baseline; padding-top: 4px; border-top: 1px dashed rgba(15,42,46,.15); }
.order__total strong { font-family: var(--display); font-size: 24px; }
.order__alt { text-align: center; font-size: 13px; color: var(--muted); }
.order__alt a { color: var(--teal); font-weight: 600; text-decoration: underline; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; }

.order__done { text-align: center; display: grid; gap: 12px; justify-items: center; }
.order__check { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; font-size: 30px; color: #fff; background: var(--grad); box-shadow: 0 10px 24px -10px rgba(11,148,176,.7); animation: popIn .5s cubic-bezier(.2,.8,.2,1.4) both; }
@keyframes popIn { from { transform: scale(.3); opacity: 0; } }
.order__done h3 { font-family: var(--display); font-size: 22px; }
.order__done p { font-size: 14px; color: var(--muted); line-height: 1.5; }
.order__lines { list-style: none; width: 100%; text-align: left; background: var(--soft); border-radius: 14px; padding: 6px 14px; }
.order__lines li { display: flex; justify-content: space-between; gap: 10px; padding: 8px 0; font-size: 14px; border-bottom: 1px solid rgba(15,42,46,.08); }
.order__lines li:last-child { border: 0; }
.order__lines-total b { font-size: 16px; color: var(--teal); }
.order__wa { display: block; width: 100%; text-align: center; background: #25d366; }

/* =========================================================
   LOGO IMAGE (Dashboard > Paramètres > Logo du site)
   version blanche sur la photo, version normale quand la barre devient blanche
   ========================================================= */
.logo--img { position: relative; display: grid; align-items: center; justify-items: center; }
.logo__img { grid-area: 1 / 1; display: block; height: 48px; width: auto; max-width: 190px; object-fit: contain; transition: opacity .35s; }
.logo__img--dark { opacity: 0; }
.topbar.scrolled .logo__img--light { opacity: 0; }
.topbar.scrolled .logo__img--dark { opacity: 1; }
@media (max-width: 600px) { .logo__img { height: 38px; max-width: 140px; } }

/* =========================================================
   PAGE PRODUIT (produit.html / produit.js)
   --accent = couleur du produit (Dashboard > Produits), le reste en découle
   ========================================================= */
a.p-card__media { display: block; }
.p-card__name a:hover { color: var(--teal); }

.pp {
  --accent-strong: color-mix(in srgb, var(--accent) 60%, #0f2a2e);
  --accent-soft: color-mix(in srgb, var(--accent) 9%, #fff);
  --line: rgba(15,42,46,.1);
  background: #fff;
  padding-top: var(--header-h, 76px);
}
.pp-missing { min-height: 70svh; display: grid; place-content: center; gap: 14px; text-align: center; padding: 120px 20px 60px; }
.pp-missing h1 { font-family: var(--display); font-size: 30px; }
.pp-missing p { color: var(--muted); }

.pp-section { max-width: 1200px; margin: 0 auto; padding: 64px 20px; }
.pp-h2 { font-family: var(--display); font-weight: 700; font-size: clamp(24px, 3.4vw, 34px); line-height: 1.15; letter-spacing: -.01em; }
.pp-h2--center { text-align: center; max-width: 720px; margin: 0 auto 32px; }
.pp-text { margin-top: 14px; max-width: 720px; font-size: 16px; line-height: 1.75; color: #33494c; white-space: pre-line; }

/* ---------- 1. Photos + infos ---------- */
.pp-hero { max-width: 1200px; margin: 0 auto; padding: 32px 20px 56px; display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: start; }
.pp-gallery { position: sticky; top: calc(var(--header-h, 76px) + 20px); }
.pp-gallery.has-thumbs { display: grid; grid-template-columns: 72px 1fr; gap: 14px; }
.pp-gallery__thumbs { display: grid; gap: 10px; align-content: start; }
.pp-thumb { aspect-ratio: 1; border-radius: 12px; overflow: hidden; border: 1.5px solid var(--line); background: #fff; transition: border-color .2s; }
.pp-thumb img { width: 100%; height: 100%; object-fit: contain; padding: 4px; }
.pp-thumb.active, .pp-thumb:hover { border-color: var(--ink); }
.pp-gallery__main { position: relative; border-radius: 24px; border: 1px solid var(--line); overflow: hidden; background: #fff; }
.pp-gallery__track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.pp-gallery__track::-webkit-scrollbar { display: none; }
.pp-gallery__slide { flex: 0 0 100%; aspect-ratio: 1; scroll-snap-align: start; display: grid; place-items: center; }
.pp-gallery__slide img { width: 100%; height: 100%; object-fit: contain; }
/* avec la pastille "Vous économisez" : un peu plus de hauteur et d'espace en haut pour qu'elle ne cache pas le produit */
.pp-gallery__main.has-save .pp-gallery__slide { aspect-ratio: 1 / 1.1; padding-top: 56px; }
.pp-gallery__main.has-save .pp-gallery__slide img { min-height: 0; }
.pp-save { position: absolute; top: 16px; left: 16px; padding: 7px 13px; border-radius: 999px; background: var(--accent); color: var(--on-accent); font-size: 12.5px; font-weight: 800; }
.pp-dots { display: none; }

.pp-info { padding-top: 6px; }
.pp-brand { font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--accent-strong); }
.pp-brand-logo { display: block; height: 36px; width: auto; max-width: 180px; object-fit: contain; object-position: left center; }
.pp-title { font-family: var(--display); font-weight: 700; font-size: clamp(24px, 3vw, 31px); line-height: 1.18; letter-spacing: -.01em; margin-top: 14px; overflow-wrap: anywhere; }
.pp-subtitle { margin-top: 8px; font-size: 14px; color: var(--muted); }
.pp-rating { display: inline-flex; align-items: center; gap: 8px; margin-top: 12px; font-size: 13.5px; color: var(--muted); }
.pp-rating b { color: #f5b301; letter-spacing: 2px; font-size: 15px; font-weight: 400; }
.pp-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 12px; margin-top: 20px; }
.pp-price strong { font-family: var(--display); font-size: 30px; }
.pp-price del { color: var(--muted); font-size: 16px; }
.pp-highlights { list-style: none; display: grid; gap: 12px; margin-top: 22px; }
.pp-highlights li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; line-height: 1.45; }
.pp-highlights i { flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--accent); color: var(--on-accent); display: grid; place-items: center; font-style: normal; font-size: 13px; margin-top: -1px; }
.pp-highlights b { font-weight: 700; }

/* bouton WhatsApp : suit le défilement puis reprend sa place */
.pp-cta-slot { margin-top: 26px; height: 58px; }
.pp-cta { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; height: 58px; border-radius: 999px; background: #25d366; color: #fff; font-weight: 700; font-size: 16.5px; box-shadow: 0 14px 30px -16px rgba(37,211,102,.9); transition: transform .2s; }
.pp-cta:hover { transform: translateY(-2px); }
.pp-cta svg { width: 22px; height: 22px; }
button.pp-cta { background: var(--ink); box-shadow: none; }
.pp-cta.is-floating { position: fixed; z-index: 60; left: 50%; bottom: calc(16px + env(safe-area-inset-bottom)); width: min(440px, calc(100% - 32px)); transform: translateX(-50%); box-shadow: 0 18px 40px -14px rgba(15,42,46,.55); animation: ppCtaIn .4s cubic-bezier(.2,.8,.2,1); }
.pp-cta.is-floating:hover { transform: translateX(-50%) translateY(-2px); }
@keyframes ppCtaIn { from { transform: translate(-50%, 160%); } }
@media (max-width: 900px) {
  /* mobile : le bouton laisse la place aux boutons réseaux sociaux à droite */
  .pp-cta.is-floating { left: 16px; right: 72px; width: auto; transform: none; animation-name: ppCtaInM; }
  .pp-cta.is-floating:hover { transform: none; }
}
@keyframes ppCtaInM { from { transform: translateY(160%); } }
.pp-cta-sub { text-align: center; margin-top: 10px; font-size: 12.5px; color: var(--muted); }

/* ---------- 2. Onglets en slider ---------- */
.pp-tabs { position: sticky; top: var(--header-h, 76px); z-index: 20; background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.pp-tabs__inner { position: relative; max-width: 1200px; margin: 0 auto; padding: 0 20px; display: flex; gap: 30px; overflow-x: auto; scrollbar-width: none; }
.pp-tabs__inner::-webkit-scrollbar { display: none; }
.pp-tabs button { flex: none; padding: 18px 0 16px; font-size: 15px; font-weight: 600; color: var(--muted); transition: color .2s; }
.pp-tabs button.on { color: var(--ink); }
.pp-tabs button:focus:not(:focus-visible) { outline: none; } /* pas de cadre noir après un clic */
.pp-tabs__bar { position: absolute; left: 20px; bottom: 0; height: 2px; background: var(--ink); transition: transform .4s cubic-bezier(.2,.8,.2,1), width .4s; }
.pp-panels { overflow: hidden; transition: height .45s cubic-bezier(.2,.8,.2,1); touch-action: pan-y; }
.pp-panels__track { display: flex; align-items: flex-start; transition: transform .5s cubic-bezier(.2,.8,.2,1); }
.pp-panel { flex: 0 0 100%; min-width: 0; max-width: 100%; padding: 44px max(20px, calc((100% - 1160px) / 2)) 64px; }
.pp-panel[aria-hidden="true"] { visibility: hidden; transition: visibility 0s .5s; }

.pp-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 200px)); gap: 12px; margin-top: 28px; }
.pp-stats div { padding: 16px 12px; border-radius: 16px; border: 1px solid var(--line); text-align: center; }
.pp-stats strong { display: block; font-family: var(--display); font-size: 24px; color: var(--accent-strong); }
.pp-stats span { font-size: 12.5px; color: var(--muted); }

.pp-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); margin-top: 36px; }
.pp-step { position: relative; padding-right: 22px; }
.pp-step:last-child { padding-right: 0; }
.pp-step:not(:last-child)::before { content: ""; position: absolute; top: 27px; left: 56px; right: 0; border-top: 2px dashed color-mix(in srgb, var(--accent) 35%, #fff); }
.pp-step__n { position: relative; z-index: 1; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--accent); color: var(--on-accent); font-family: var(--display); font-weight: 800; font-size: 18px; box-shadow: 0 0 0 8px #fff; }
.pp-step__body { margin-top: 22px; padding: 22px; border-radius: 20px; border: 1px solid var(--line); transition: box-shadow .25s, transform .25s; }
.pp-step__body:hover { transform: translateY(-3px); box-shadow: 0 18px 36px -24px rgba(15,42,46,.45); }
.pp-step h3 { font-family: var(--display); font-size: 17px; margin-bottom: 6px; }
.pp-step p { font-size: 14.5px; line-height: 1.6; color: var(--muted); white-space: pre-line; }
.pp-step__time { display: inline-block; margin-top: 14px; padding: 6px 12px; border-radius: 999px; background: var(--accent-soft); color: var(--accent-strong); font-size: 12.5px; font-weight: 700; }

.pp-advice { display: grid; gap: 14px; margin-top: 28px; }
.pp-advice__item { display: grid; grid-template-columns: 110px 1fr auto; gap: 20px; align-items: center; padding: 14px 20px 14px 14px; border-radius: 20px; border: 1px solid var(--line); transition: border-color .2s, box-shadow .25s, transform .25s; }
.pp-advice__item:hover { border-color: var(--ink); transform: translateY(-2px); box-shadow: 0 18px 36px -26px rgba(15,42,46,.5); }
.pp-advice__item img { width: 110px; height: 110px; object-fit: cover; border-radius: 14px; background: var(--accent-soft); }
.pp-advice__body { display: grid; gap: 4px; min-width: 0; }
.pp-advice__when { font-size: 12px; font-weight: 700; color: var(--accent-strong); }
.pp-advice__body strong { font-family: var(--display); font-size: 16.5px; line-height: 1.3; }
.pp-advice__why { font-size: 14px; line-height: 1.55; color: var(--muted); }
.pp-advice__price { font-weight: 700; font-size: 15px; margin-top: 2px; }
.pp-advice__price del, .pp-rcard__price del { font-weight: 400; font-size: 13px; color: var(--muted); margin-left: 6px; }
.pp-advice__go { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; transition: background .2s, color .2s; }
.pp-advice__item:hover .pp-advice__go { background: var(--ink); color: #fff; border-color: var(--ink); }

/* ---------- 3. Ingrédients autour de la photo ---------- */
.pp-ing { border-top: 1px solid var(--line); max-width: none; }
.pp-ing__grid { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: 1fr minmax(240px, 360px) 1fr; gap: 40px; align-items: center; }
.pp-ing__img { aspect-ratio: 3 / 4; border-radius: 200px 200px 26px 26px; overflow: hidden; background: var(--accent-soft); }
.pp-ing__img img { width: 100%; height: 100%; object-fit: cover; }
.pp-ing__col { list-style: none; display: grid; gap: 30px; }
.pp-ing__col:first-child { text-align: right; }
.pp-ing__col:first-child .pp-ing__item { flex-direction: row-reverse; }
.pp-ing__item { display: flex; gap: 14px; align-items: flex-start; }
.pp-ing__dot { flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: var(--on-accent); font-size: 13px; }
.pp-ing__item strong { display: block; font-family: var(--display); font-size: 15px; text-transform: uppercase; letter-spacing: .04em; }
.pp-ing__item p { margin-top: 4px; font-size: 14px; line-height: 1.55; color: var(--muted); }

/* ---------- 4. Bienfaits ---------- */
.pp-ben { border-top: 1px solid var(--line); }
.pp-ben__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 380px)); justify-content: center; gap: 18px; }
.pp-ben__card { position: relative; aspect-ratio: 4 / 5; border-radius: 24px; overflow: hidden; background: var(--accent-soft); display: flex; align-items: flex-end; isolation: isolate; }
.pp-ben__card img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.pp-ben__card:hover img { transform: scale(1.05); }
.pp-ben__card:has(img)::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(8,30,34,.82), rgba(8,30,34,.1) 60%); }
.pp-ben__text { padding: 22px; }
.pp-ben__card:has(img) .pp-ben__text { color: #fff; }
.pp-ben__text strong { display: block; font-family: var(--display); font-size: 17px; text-transform: uppercase; letter-spacing: .04em; }
.pp-ben__text p { margin-top: 6px; font-size: 14px; line-height: 1.55; opacity: .9; }

/* ---------- 5. Grande photo ---------- */
.pp-banner img { display: block; width: 100%; max-height: 640px; object-fit: cover; }

/* ---------- 6. Même marque ---------- */
.pp-range { border-top: 1px solid var(--line); scroll-margin-top: calc(var(--header-h, 76px) + 20px); }
.pp-range__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 26px; }
.pp-range__logo { display: block; height: 26px; width: auto; margin-bottom: 10px; }
.pp-range .pp-brand { margin-bottom: 8px; }
.pp-range__nav { display: flex; gap: 8px; }
.pp-range__nav button { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); font-size: 16px; transition: border-color .2s; }
.pp-range__nav button:hover { border-color: var(--ink); }
.pp-range__list { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 3 * 18px) / 4); gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.pp-range__list::-webkit-scrollbar { display: none; }
.pp-rcard { scroll-snap-align: start; display: grid; gap: 6px; align-content: start; }
.pp-rcard__img { aspect-ratio: 1; border-radius: 18px; border: 1px solid var(--line); overflow: hidden; margin-bottom: 8px; transition: transform .3s; background: var(--accent-soft); }
.pp-rcard__img img { width: 100%; height: 100%; object-fit: cover; }
.pp-rcard:hover .pp-rcard__img { transform: translateY(-3px); }
.pp-rcard__type { font-size: 12px; color: var(--muted); }
.pp-rcard__name { font-family: var(--display); font-size: 15.5px; font-weight: 600; line-height: 1.3; }
.pp-rcard:hover .pp-rcard__name { text-decoration: underline; text-underline-offset: 3px; }
.pp-rcard__price { font-weight: 700; font-size: 15px; }

/* ---------- 7-9. Avis, FAQ, produits liés ---------- */
.pp-reviews { padding-top: 64px; border-top: 1px solid var(--line); scroll-margin-top: calc(var(--header-h, 76px) + 20px); }
.pp-reviews .reviews__head { border-top: 0; padding-top: 0; }
.pp-reviews .reviews__kicker { color: var(--accent-strong); }
.pp-reviews .review { background: #fff; }
.pp-reviews .review__avatar { background: var(--accent); color: var(--on-accent); }
.pp-reviews .reviews__btn { background: var(--ink); }
.pp .faq__icon { background: var(--accent-soft); }
.pp .faq__icon::before, .pp .faq__icon::after { background: var(--accent-strong); }
.pp-faq { padding-top: 56px; border-top: 1px solid var(--line); max-width: none; }
.pp-faq > * { max-width: 820px; margin-left: auto; margin-right: auto; }
.pp-faq .faq__item[open] { border-color: color-mix(in srgb, var(--accent) 50%, transparent); }
.pp-related { padding-top: 10px; padding-bottom: 56px; }
.pp-related__grid { padding: 0; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }

@media (max-width: 900px) {
  .pp-hero { grid-template-columns: 1fr; gap: 22px; padding: 0 0 40px; }
  .pp-info { padding: 0 20px; }
  .pp-gallery, .pp-gallery.has-thumbs { position: static; display: block; }
  .pp-gallery__thumbs { display: none; }
  .pp-gallery__main { border-radius: 0; border-width: 0 0 1px; }
  .pp-dots { display: flex; justify-content: center; gap: 6px; position: absolute; bottom: 14px; left: 0; right: 0; pointer-events: none; }
  .pp-dots i { width: 7px; height: 7px; border-radius: 50%; background: rgba(15,42,46,.25); transition: width .25s; }
  .pp-dots i.on { width: 20px; border-radius: 4px; background: var(--ink); }
  .pp-steps { grid-template-columns: 1fr; margin-top: 28px; }
  .pp-step { display: grid; grid-template-columns: 44px 1fr; gap: 16px; padding: 0 0 18px; }
  .pp-step:last-child { padding-bottom: 0; }
  .pp-step:not(:last-child)::before { top: 44px; bottom: 0; left: 21px; right: auto; border-top: 0; border-left: 2px dashed color-mix(in srgb, var(--accent) 35%, #fff); }
  .pp-step__n { width: 44px; height: 44px; font-size: 15px; box-shadow: 0 0 0 6px #fff; }
  .pp-step__body { margin-top: 0; padding: 18px; }
  .pp-ing__grid { grid-template-columns: 1fr 1fr; gap: 28px 20px; }
  .pp-ing__img { grid-column: 1 / -1; grid-row: 1; width: min(320px, 80%); margin: 0 auto; }
  .pp-ing__col:first-child { text-align: left; }
  .pp-ing__col:first-child .pp-ing__item { flex-direction: row; }
  .pp-range__nav { display: none; }
  .pp-range__list { grid-auto-columns: 62%; gap: 14px; margin: 0 -20px; padding: 0 20px; scroll-padding: 0 20px; }
}
@media (max-width: 600px) {
  .pp-section { padding: 48px 16px; }
  .pp-info { padding: 0 16px; }
  .pp-tabs__inner { padding: 0 16px; gap: 24px; }
  .pp-tabs__bar { left: 16px; }
  .pp-panel { padding: 32px 16px 48px; }
  .pp-stats { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .pp-stats strong { font-size: 20px; }
  .pp-advice__item { grid-template-columns: 84px 1fr; gap: 14px; padding: 12px; align-items: start; }
  .pp-advice__item img { width: 84px; height: 84px; }
  .pp-advice__go { display: none; }
  .pp-advice__body strong { font-size: 15px; }
  .pp-ing__grid { grid-template-columns: 1fr; }
  .pp-ben__grid { grid-template-columns: 1fr; }
  .pp-ben__card { aspect-ratio: 16 / 11; }
  .pp-range__list { margin: 0 -16px; padding: 0 16px; }
  .pp-reviews { padding-top: 48px; }
  .pp-related__grid { grid-template-columns: repeat(2, 1fr); }
}

/* =========================================================
   ACCUEIL ORDINATEUR (script.js > initColumns) : catégories en colonnes
   La colonne ouverte s'agrandit et joue sa vidéo. Le téléphone garde le slider.
   ========================================================= */
.hcols { --ease: cubic-bezier(.2,.8,.2,1); display: flex; gap: 12px; height: calc(100vh - var(--header-h, 76px) - 32px - 70px); min-height: 520px; margin-top: calc(var(--header-h, 76px) + 32px + 4px); padding: 0 92px 0 32px; }
.home-cols .topbar.scrolled .marquee { max-height: 40px; } /* le bandeau reste visible (32px) */
.hcol { position: relative; flex: 1 1 0; min-width: 0; border-radius: 26px; overflow: hidden; background: #e8efed; cursor: pointer; transition: flex-grow .7s var(--ease); isolation: isolate; }
.hcol.on { flex-grow: 5.2; cursor: default; }
.hcol__img, .hcol__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -3; transition: transform 1.2s var(--ease); }
.hcol__video { z-index: -2; opacity: 0; transition: opacity .5s; }
.hcol.on .hcol__video { opacity: 1; }
.hcol:not(.on):hover .hcol__img { transform: scale(1.06); }
.hcol::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(6,22,25,.78), rgba(6,22,25,.05) 55%); }
.hcol.on::after { background: linear-gradient(to top, rgba(6,22,25,.85), rgba(6,22,25,.1) 55%), linear-gradient(to right, rgba(6,22,25,.35), transparent 60%); }

/* colonne fermée : numéro + nom à la verticale */
.hcol__label { position: absolute; left: 0; right: 0; bottom: 22px; display: grid; justify-items: center; gap: 14px; color: #fff; transition: opacity .3s; }
.hcol__label b { font-family: var(--display); font-size: 13px; opacity: .75; }
.hcol__label span { writing-mode: vertical-rl; transform: rotate(180deg); font-family: var(--display); font-weight: 600; font-size: 19px; white-space: nowrap; }
.hcol.on .hcol__label { opacity: 0; pointer-events: none; }

/* colonne ouverte : contenu */
.hcol__body { position: absolute; left: 40px; right: 40px; bottom: 36px; max-width: 520px; color: #fff; opacity: 0; transform: translateY(24px); transition: opacity .3s, transform .3s; pointer-events: none; }
.hcol.on .hcol__body { opacity: 1; transform: none; transition: opacity .6s .35s, transform .7s .35s var(--ease); pointer-events: auto; }
.hcol__num { font-family: var(--display); font-size: 13px; letter-spacing: .1em; opacity: .75; }
.hcol__body .badge { margin-left: 10px; vertical-align: 2px; }
.hcol__title { font-family: var(--display); font-weight: 800; font-size: clamp(40px, 4.6vw, 70px); line-height: 1; letter-spacing: -.025em; margin-top: 14px; }
.hcol__desc { margin-top: 12px; font-size: 15.5px; line-height: 1.55; opacity: .88; }
.hcol__foot { display: flex; align-items: center; flex-wrap: wrap; gap: 16px 22px; margin-top: 22px; }
.hcol__price { font-size: 13px; } .hcol__price del { opacity: .65; margin: 0 6px; }
.hcol__price strong { font-family: var(--display); font-size: 28px; }
.hcol__price em { font-style: normal; font-family: var(--display); font-weight: 800; font-size: 20px; color: var(--green); margin-left: 8px; }
.hcol__btn { display: inline-flex; padding: 15px 26px; border-radius: 999px; background: #fff; color: var(--ink); font-weight: 700; font-size: 15px; transition: transform .2s; }
.hcol__btn:hover { transform: translateY(-2px); }

/* barre de temps en haut de la colonne ouverte */
.hcol__bar { position: absolute; top: 18px; left: 40px; right: 40px; height: 3px; border-radius: 3px; background: rgba(255,255,255,.28); overflow: hidden; opacity: 0; transition: opacity .3s; }
.hcol.on .hcol__bar { opacity: 1; }
.hcol__bar i { display: block; height: 100%; width: 0; background: #fff; }
.hcol.on .hcol__bar i { animation: hcolFill linear forwards; animation-duration: var(--t, 6s); }
@keyframes hcolFill { to { width: 100%; } }

@media (max-width: 1200px) { .hcol.on { flex-grow: 4; } .hcol__label span { font-size: 16px; } }

/* accueil ordinateur : quand le client a choisi lui-même, plus de barre de temps */
.hcols.manual .hcol__bar { display: none; }

/* lien vers les produits, sous les colonnes */
.hs-down { display: flex; justify-content: center; padding: 16px 0 6px; }
.hs-down a { display: inline-flex; align-items: center; gap: 10px; font-size: 13.5px; font-weight: 600; color: var(--muted); transition: color .2s; }
.hs-down a:hover { color: var(--ink); }
.hs-down i { width: 30px; height: 30px; border-radius: 50%; border: 1px solid rgba(15,42,46,.12); display: grid; place-items: center; font-style: normal; animation: hsBob 1.6s ease-in-out infinite; }
@keyframes hsBob { 50% { transform: translateY(4px); } }

/* produits de la catégorie ouverte (script.js > initColumns) */
.hs { --line: rgba(15,42,46,.1); --soft: #f4f7f6; max-width: 1480px; margin: 0 auto; padding: 36px 92px 100px 32px; scroll-margin-top: calc(var(--header-h, 76px) + 40px); }
.hs__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.hs__kicker { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--teal); }
.hs__title { font-family: var(--display); font-weight: 800; font-size: 40px; letter-spacing: -.02em; margin-top: 6px; }
.hs__title small { font-family: var(--sans); font-size: 15px; font-weight: 500; color: var(--muted); margin-left: 10px; letter-spacing: 0; }
.hs__all { display: inline-flex; padding: 12px 20px; border-radius: 999px; border: 1px solid var(--line); font-weight: 600; font-size: 14px; transition: background .2s, color .2s, border-color .2s; }
.hs__all:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.hs__layout { display: grid; grid-template-columns: 230px 1fr; gap: 44px; padding-top: 28px; }
.hs__side { position: sticky; top: calc(var(--header-h, 76px) + 52px); align-self: start; display: grid; gap: 28px; }
.hs__side h3 { font-size: 11.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.hs__opts { display: grid; gap: 2px; }
.hs__opt { display: flex; justify-content: space-between; align-items: center; width: 100%; padding: 10px 12px; border-radius: 12px; font-size: 14.5px; text-align: left; transition: background .2s; }
.hs__opt:hover { background: var(--soft); }
.hs__opt.on { background: var(--ink); color: #fff; font-weight: 600; }
.hs__opt small { font-size: 12px; opacity: .6; }
.hs__help { padding: 18px; border-radius: 18px; background: var(--soft); font-size: 13.5px; line-height: 1.55; color: #33494c; }
.hs__help strong { display: block; font-family: var(--display); font-size: 15px; color: var(--ink); margin-bottom: 4px; }
.hs__help a { display: inline-block; margin-top: 10px; font-weight: 700; color: #128c4b; text-decoration: underline; text-underline-offset: 3px; }
.hs__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; align-content: start; transition: opacity .2s; }
.hs__grid.fade { opacity: 0; }
.hs__empty { grid-column: 1 / -1; color: var(--muted); padding: 40px 0; }
.hs-card { display: grid; align-content: start; border: 1px solid var(--line); border-radius: 22px; overflow: hidden; background: #fff; animation: hsCardIn .5s var(--d, 0ms) both cubic-bezier(.2,.8,.2,1); transition: box-shadow .3s, transform .3s cubic-bezier(.2,.8,.2,1), border-color .2s; }
@keyframes hsCardIn { from { opacity: 0; transform: translateY(16px); } }
.hs-card:hover { transform: translateY(-4px); border-color: transparent; box-shadow: 0 22px 44px -26px rgba(15,42,46,.45); }
.hs-card__media { position: relative; aspect-ratio: 1; background: var(--soft); overflow: hidden; }
.hs-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.2,.8,.2,1); }
.hs-card:hover .hs-card__media img { transform: scale(1.05); }
.hs-card__off { position: absolute; top: 12px; left: 12px; padding: 5px 10px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 11.5px; font-weight: 800; }
.hs-card__body { display: grid; gap: 4px; padding: 16px 18px 18px; }
.hs-card__brand { font-size: 11.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--teal); }
.hs-card__name { font-family: var(--display); font-size: 15.5px; font-weight: 600; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.6em; }
.hs-card__row { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 8px; }
.hs-card__price { font-size: 17px; font-weight: 700; }
.hs-card__price del { display: block; font-size: 12.5px; font-weight: 400; color: var(--muted); }
.hs-card__go { width: 40px; height: 40px; flex: none; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; transition: background .2s, color .2s, border-color .2s; }
.hs-card:hover .hs-card__go { background: var(--ink); color: #fff; border-color: var(--ink); }
@media (max-width: 1250px) { .hs__grid { grid-template-columns: repeat(3, 1fr); } }

/* =========================================================
   PAGE PRODUIT — ORDINATEUR (≥ 1024px). Le téléphone garde la mise en page ci-dessus.
   ========================================================= */
.pp-desk { display: none; } /* éléments affichés seulement sur ordinateur */
@media (min-width: 1024px) {
  .pp-desk { display: revert; }

  /* 1. photo + infos : même hauteur des deux côtés, infos directement sur le fond */
  .pp-hero { max-width: 1320px; padding: 36px 36px 64px; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: 32px; align-items: stretch; }
  .pp-gallery, .pp-gallery.has-thumbs { position: static; display: grid; grid-template-columns: 1fr; grid-template-rows: 1fr; grid-auto-rows: auto; gap: 14px; min-height: 520px; }
  .pp-gallery__main { order: 1; min-height: 0; border-radius: 26px; }
  .pp-gallery__track { height: 100%; }
  .pp-gallery__slide, .pp-gallery__main.has-save .pp-gallery__slide { aspect-ratio: auto; height: 100%; padding: 6%; }
  .pp-gallery__main.has-save .pp-gallery__slide { padding-top: 64px; }
  .pp-gallery__thumbs { order: 2; display: flex; gap: 12px; }
  .pp-thumb { width: 96px; height: 96px; aspect-ratio: auto; border-radius: 16px; }
  .pp-thumb img { object-fit: cover; padding: 0; }

  .pp-info { display: flex; flex-direction: column; justify-content: center; padding: 12px 8px 4px 16px; } /* centré face à la photo */
  .pp-brand-logo { align-self: flex-start; height: 38px; max-width: 220px; }
  .pp-title { font-size: 30px; line-height: 1.22; }
  .pp-subtitle { margin-top: 10px; font-size: 17px; }
  .pp-price { align-items: center; margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); }
  .pp-price strong { font-size: 42px; }
  .pp-price del { font-size: 20px; }
  .pp-pct { margin-left: auto; padding: 6px 12px; border-radius: 999px; background: var(--accent-soft); color: var(--accent-strong); font-style: normal; font-size: 15px; font-weight: 700; }
  .pp-highlights { margin: 20px 0 28px; }
  .pp-highlights li { font-size: 16.5px; }
  .pp-cta-slot { margin-top: 28px; height: 64px; }
  .pp-cta { height: 64px; font-size: 17.5px; }
  .pp-cta-sub { display: flex; justify-content: space-between; gap: 16px; margin-top: 14px; text-align: left; font-size: 14px; }
  .pp-cta-sub a { text-decoration: underline; text-underline-offset: 3px; }
  .pp-cta-sub a:hover { color: var(--ink); }

  /* 2. onglets : pastille centrée qui glisse, contenu en deux colonnes */
  .pp-tabs { position: static; border: 0; background: none; margin-top: 8px; }
  .pp-tabs__inner { width: max-content; max-width: none; margin: 0 0 0 max(36px, calc((100% - 1248px) / 2)); padding: 6px; gap: 0; border-radius: 999px; background: #f4f7f6; overflow: visible; }
  .pp-tabs button { position: relative; z-index: 1; padding: 12px 26px; border-radius: 999px; transition: color .25s; }
  .pp-tabs button.on { color: #fff; }
  .pp-tabs__bar { top: 6px; bottom: 6px; left: 6px; height: auto; border-radius: 999px; z-index: 0; }
  .pp-panel { padding: 32px max(36px, calc((100% - 1248px) / 2)) 40px; }
  /* une seule colonne : titre juste sous les onglets, puis le contenu */
  .pp-two { max-width: 900px; }
  .pp-two__head { margin-bottom: 26px; }
  .pp-two .pp-h2 { font-size: 40px; line-height: 1.15; }
  .pp-lead, .pp-two__head .pp-text { margin-top: 12px; font-size: 16px; line-height: 1.6; color: var(--muted); }
  .pp-two__body > .pp-text:first-child { margin-top: 0; font-size: 16.5px; line-height: 1.8; }
  .pp-stats { grid-template-columns: repeat(3, 1fr); }
  .pp-steps { grid-template-columns: 1fr; gap: 16px; margin-top: 0; }
  .pp-step { display: grid; grid-template-columns: 64px 1fr; gap: 20px; align-items: start; padding: 22px; border: 1px solid var(--line); border-radius: 22px; transition: border-color .2s; }
  .pp-step:hover { border-color: color-mix(in srgb, var(--accent) 55%, #bfc9ca); }
  .pp-step:not(:last-child)::before { display: none; }
  .pp-step__n { width: 64px; height: 64px; border-radius: 18px; box-shadow: none; font-size: 20px; }
  .pp-step__body, .pp-step__body:hover { margin: 0; padding: 0; border: 0; transform: none; box-shadow: none; }
  .pp-step h3 { font-size: 18px; }
  .pp-step p { font-size: 15px; }
  .pp-advice { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; margin-top: 0; }
  .pp-advice__item { grid-template-columns: 1fr; gap: 0; padding: 0; align-items: start; overflow: hidden; }
  .pp-advice__item img { width: 100%; height: auto; aspect-ratio: 4 / 3; border-radius: 0; }
  .pp-advice__body { padding: 16px 18px 18px; }
  .pp-advice__go { display: none; }

  /* FAQ : titre + WhatsApp à gauche, questions à droite */
  .pp-faq { display: grid; grid-template-columns: 380px minmax(0, 1fr); grid-template-rows: auto 1fr; grid-template-areas: "title list" "cta list"; column-gap: 64px; align-items: start; max-width: 1320px; padding: 64px 36px 90px; }
  .pp-faq > * { max-width: none; margin-left: 0; margin-right: 0; }
  .pp-faq .pp-h2--center { grid-area: title; text-align: left; margin: 0; font-size: 32px; }
  .pp-faq .faq__list { grid-area: list; margin-top: 0; }
  .pp-faq .faq__cta { grid-area: cta; align-self: start; display: grid; justify-items: start; gap: 16px; margin-top: 22px; padding: 0; border: 0; background: none; }
}

/* =========================================================
   PAGE CONFIDENTIALITÉ (confidentialite.html)
   ========================================================= */
.legal { padding: calc(var(--header-h, 76px) + 40px) 20px 80px; }
.legal__inner { max-width: 760px; margin: 0 auto; }
.legal__kicker { font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--teal); }
.legal h1 { font-family: var(--display); font-weight: 800; font-size: clamp(30px, 5vw, 46px); line-height: 1.1; letter-spacing: -.02em; margin-top: 8px; }
.legal__date { margin-top: 10px; font-size: 13px; color: var(--muted); }
.legal h2 { font-family: var(--display); font-size: 21px; margin: 36px 0 10px; }
.legal p, .legal li { font-size: 15.5px; line-height: 1.75; color: #33494c; }
.legal p + p { margin-top: 10px; }
.legal ul { padding-left: 20px; display: grid; gap: 6px; }
.legal a { color: var(--teal); text-decoration: underline; text-underline-offset: 3px; }
.legal [data-fill] { background: #fff4c2; padding: 0 4px; border-radius: 4px; } /* à compléter par le propriétaire du site */

/* mention légale sous les formulaires */
.form-legal { font-size: 11.5px; line-height: 1.5; color: var(--muted); text-align: center; }
.form-legal a { text-decoration: underline; text-underline-offset: 2px; }

/* bandeau d'information sur les données (common.js > storageNotice) */
.notice { position: fixed; z-index: 90; left: 20px; bottom: 20px; width: min(420px, calc(100% - 40px)); display: grid; gap: 12px; padding: 18px 20px; border-radius: 18px; background: #fff; color: var(--ink); box-shadow: 0 20px 50px -18px rgba(15,42,46,.45), 0 0 0 1px rgba(15,42,46,.08); animation: noticeIn .45s cubic-bezier(.2,.8,.2,1) both; transition: opacity .3s, transform .3s; }
.notice.is-out { opacity: 0; transform: translateY(16px); }
@keyframes noticeIn { from { opacity: 0; transform: translateY(20px); } }
.notice p { font-size: 13.5px; line-height: 1.55; color: #33494c; }
.notice strong { color: var(--ink); }
.notice a { color: var(--teal); text-decoration: underline; text-underline-offset: 2px; }
.notice button { justify-self: start; padding: 10px 20px; border-radius: 999px; background: var(--ink); color: #fff; font-weight: 700; font-size: 13.5px; }
@media (max-width: 600px) { .notice { left: 12px; right: 12px; bottom: 12px; width: auto; } .notice button { justify-self: stretch; } }

/* =========================================================
   PANIER (cart.js) — bouton de l'en-tête, fenêtre, bouton "sala" de la page produit
   ========================================================= */
.header__right { display: flex; align-items: center; gap: 14px; }
.cart-btn { position: relative; width: 40px; height: 40px; display: grid; place-items: center; color: inherit; border-radius: 50%; transition: transform .2s; }
.cart-btn svg { width: 24px; height: 24px; }
.cart-btn:hover { transform: translateY(-1px); }
.cart-btn__count { position: absolute; top: 1px; right: -2px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: var(--grad); color: #fff; font-size: 11px; font-weight: 700; line-height: 18px; text-align: center; display: none; box-shadow: 0 0 0 2px rgba(255,255,255,.9); }
.cart-btn.has-items .cart-btn__count { display: block; }
.cart-btn.bump { animation: cartBump .5s cubic-bezier(.2,.8,.2,1.4); }
@keyframes cartBump { 40% { transform: scale(1.25); } }

.cart__empty { text-align: center; display: grid; gap: 16px; color: var(--muted); font-size: 14px; line-height: 1.5; }
.cart__hint { background: #fff6e0; color: #7a5300; border-radius: 12px; padding: 10px 14px; font-size: 13.5px; margin-bottom: 12px; line-height: 1.4; }
.cart__hint--ok { background: #e4f7ea; color: #1b6b3a; }
.cart__lines { list-style: none; display: grid; gap: 10px; transition: opacity .2s; }
.cart__lines.is-pending { opacity: .75; }
.cart__line { display: flex; align-items: center; gap: 12px; padding: 10px; border-radius: 16px; background: var(--soft); }
.cart__line .order__img { display: block; width: 56px; height: 56px; }
.cart__info { flex: 1; min-width: 0; display: grid; gap: 3px; }
.cart__info strong { display: block; font-family: var(--display); font-size: 14px; font-weight: 600; line-height: 1.25; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.cart__price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px; font-size: 14px; }
.cart__price b { color: var(--teal); }
.cart__price del { color: var(--muted); font-size: 12.5px; }
.cart__price em { font-style: normal; font-size: 11px; font-weight: 700; color: #fff; background: #e0533d; border-radius: 999px; padding: 1px 7px; }
.cart__info small { font-size: 11.5px; color: #1b6b3a; font-weight: 600; }
.cart__side { display: grid; justify-items: center; gap: 4px; }
.cart__side .qty-stepper button { width: 30px; height: 30px; }
.cart__remove { font-size: 11.5px; color: var(--muted); text-decoration: underline; }
.cart__sum { margin: 14px 0; padding-top: 10px; border-top: 1px dashed rgba(15,42,46,.15); display: grid; gap: 6px; }
.cart__sum p { display: flex; justify-content: space-between; align-items: baseline; font-size: 14px; color: var(--muted); }
.cart__save b { color: #1b6b3a; }
.cart__total { color: var(--ink) !important; }
.cart__total strong { font-family: var(--display); font-size: 24px; }
.cart__wa { display: block; text-align: center; background: #25d366; }
.cart__form-btn { display: block; width: 100%; margin-top: 10px; padding: 13px; border-radius: 999px; border: 1px solid rgba(15,42,46,.2); font-weight: 600; font-size: 14.5px; color: var(--ink); }
.cart__form-btn:hover { background: var(--soft); }
.cart__back { margin-bottom: 12px; text-decoration: none; }
.order__was { color: var(--muted); font-size: 15px; font-weight: 400; }
.order__lines-save b { color: #1b6b3a; }
.order__lines del { color: var(--muted); font-weight: 400; font-size: 12.5px; }

/* page produit : petit bouton panier à côté de "Commander sur WhatsApp" */
.pp-cta-slot { display: flex; gap: 10px; }
.pp-cta-slot .pp-cta:not(.is-floating) { flex: 1; min-width: 0; }
.pp-cart { flex: none; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--ink); border: 1.5px solid var(--line, rgba(15,42,46,.15)); transition: transform .2s, border-color .2s; }
.pp-cart svg { width: 25px; height: 25px; }
.pp-cart:hover { transform: translateY(-2px); border-color: var(--ink); }
@media (min-width: 1024px) { .pp-cart { width: 64px; height: 64px; } }

/* Panier : plein écran sur téléphone, tiroir à droite sur ordinateur ; le total + le bouton restent en bas */
.club.cart-modal { padding: 0; place-items: stretch end; }
.cart-modal .club__panel { width: min(440px, 100%); height: 100%; max-height: none; border-radius: 0; display: flex; flex-direction: column; overflow: hidden; transform: translateX(100%); opacity: 1; }
.cart-modal.open .club__panel { transform: none; }
.cart-modal .club__head { border-radius: 0; flex: none; padding-top: max(24px, env(safe-area-inset-top)); }
.cart-modal .club__body { flex: 1; overflow-y: auto; overscroll-behavior: contain; }
.cart__foot { flex: none; padding: 0 20px calc(16px + env(safe-area-inset-bottom)); background: #fff; box-shadow: 0 -10px 24px -18px rgba(15,42,46,.35); }
.cart__foot:empty { display: none; }
.cart__foot .cart__sum { margin: 0 0 12px; padding-top: 12px; border-top: 0; }
.cart__sum-title { font-size: 11px !important; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.cart__foot .club__submit { display: block; width: 100%; text-align: center; }
.cart__total strong.flash { animation: totalFlash .6s ease; }
@keyframes totalFlash { 40% { transform: scale(1.12); color: #1b6b3a; } }
.cart__total strong { display: inline-block; }
@media (max-width: 600px) {
  .cart-modal .club__panel { width: 100%; transform: translateY(100%); }
  .cart-modal.open .club__panel { transform: none; }
}

/* "Ajouté au panier" : petit message, le client continue ses achats */
.cart-toast { position: fixed; z-index: 90; top: calc(var(--header-h, 70px) + 10px); right: 16px; display: grid; gap: 2px; padding: 12px 16px; border-radius: 14px; background: var(--ink); color: #fff; font-size: 14px; box-shadow: 0 14px 30px -12px rgba(15,42,46,.6); cursor: pointer; opacity: 0; transform: translateY(-10px); pointer-events: none; transition: opacity .25s, transform .25s; }
.cart-toast.show { opacity: 1; transform: none; pointer-events: auto; }
.cart-toast span { font-size: 12.5px; opacity: .8; text-decoration: underline; }
button.pp-cta.pp-cta--wa { background: #25d366; box-shadow: 0 14px 30px -16px rgba(37,211,102,.9); }
.cart__hint--ship { background: #e8f4fb; color: #0b5d75; }
.cart__free { color: #1b6b3a; }
#orderShip { font-size: 12px; color: var(--muted); font-weight: 400; }
/* club : code secret */
.club__form label small { font-weight: 400; font-size: 11.5px; color: var(--muted); }
.club__form .pin-input { letter-spacing: .5em; font-size: 18px; font-weight: 700; max-width: 160px; }
