/* ==========================================================================
   DAREO — Design system
   Bleu Dareo · Cobalt · Azur · Ciel · Brume · Encre
   ========================================================================== */

:root {
  /* Couleurs de marque */
  --encre: #0A1633;
  --cobalt: #1236A8;
  --bleu: #2459F0;
  --azur: #5B8CFF;
  --ciel: #CFE0FF;
  --brume: #EEF4FF;
  --blanc: #FFFFFF;

  /* Neutres (les photos restent sur fonds neutres, le bleu est réservé à l'interface) */
  --ardoise: #4B5468;
  --gris: #8B92A1;
  --trait: #E5E7EB;
  --fond: #F5F6F8;
  --photo: #F3F4F6;

  /* Fonctionnelles */
  --succes: #12915F;
  --alerte: #E0453A;

  /* Typographie */
  --f-display: "Bricolage Grotesque", "Inter", system-ui, sans-serif;
  --f-text: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Formes */
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 32px;
  --r-pill: 999px;

  --ombre-1: 0 1px 2px rgba(10, 22, 51, .06), 0 2px 8px rgba(10, 22, 51, .04);
  --ombre-2: 0 10px 30px -12px rgba(18, 54, 168, .30);
  --ombre-3: 0 24px 60px -20px rgba(10, 22, 51, .35);

  --gouttiere: 24px;
  --max: 1320px;
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--f-text);
  font-size: 15px;
  line-height: 1.55;
  color: var(--encre);
  background: var(--blanc);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; border: 0; background: none; padding: 0; }
h1, h2, h3, h4 { font-family: var(--f-display); line-height: 1.08; letter-spacing: -.02em; margin: 0; font-weight: 700; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--azur); outline-offset: 2px; border-radius: 6px; }

.ico { width: 20px; height: 20px; flex: none; stroke: currentColor; fill: none; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.ico-sm { width: 16px; height: 16px; }
.ico-lg { width: 24px; height: 24px; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gouttiere); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Logo ---------- */
.logo { display: inline-flex; align-items: center; gap: 10px; }
.logo svg { width: 40px; height: 40px; flex: none; }
.logo-word { font-family: var(--f-display); font-weight: 800; font-size: 30px; letter-spacing: -.045em; line-height: 1; color: var(--encre); }
.logo-word i { font-style: normal; color: var(--bleu); }
.logo--inverse .logo-word { color: var(--blanc); }
.logo--inverse .logo-word i { color: var(--ciel); }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 48px; padding: 0 22px; border-radius: var(--r-pill);
  font-weight: 600; font-size: 15px; white-space: nowrap;
  transition: background .2s, color .2s, box-shadow .2s, transform .2s;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--bleu); color: var(--blanc); box-shadow: var(--ombre-2); }
.btn-primary:hover { background: var(--cobalt); }
.btn-dark { background: var(--encre); color: var(--blanc); }
.btn-dark:hover { background: var(--cobalt); }
.btn-light { background: var(--blanc); color: var(--encre); }
.btn-light:hover { background: var(--brume); }
.btn-ghost { background: transparent; color: var(--encre); box-shadow: inset 0 0 0 1.5px var(--trait); }
.btn-ghost:hover { box-shadow: inset 0 0 0 1.5px var(--bleu); color: var(--bleu); }
.btn-glass { background: rgba(255,255,255,.14); color: var(--blanc); box-shadow: inset 0 0 0 1px rgba(255,255,255,.35); backdrop-filter: blur(8px); }
.btn-glass:hover { background: rgba(255,255,255,.24); }
.btn-sm { height: 40px; padding: 0 16px; font-size: 14px; }
.btn-lg { height: 56px; padding: 0 28px; font-size: 16px; }
.btn-block { width: 100%; }

.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--bleu); white-space: nowrap; }
.link-arrow .ico { transition: transform .2s; }
.link-arrow:hover .ico { transform: translateX(3px); }

.badge { display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px; border-radius: var(--r-pill); font-size: 12px; font-weight: 600; letter-spacing: .01em; }
.badge-bleu { background: var(--bleu); color: var(--blanc); }
.badge-ciel { background: var(--ciel); color: var(--cobalt); }
.badge-brume { background: var(--brume); color: var(--cobalt); }
.badge-encre { background: var(--encre); color: var(--blanc); }

.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--bleu); }
.eyebrow::before { content: ""; width: 18px; height: 2px; background: currentColor; border-radius: 2px; }

/* ---------- Bandeau d'annonce ---------- */
.topbar { background: var(--encre); color: #C9D5F2; font-size: 13px; }
.topbar .container { display: flex; align-items: center; justify-content: space-between; height: 40px; gap: 16px; }
.topbar-msg { display: flex; align-items: center; gap: 28px; overflow: hidden; white-space: nowrap; }
.topbar-msg span { display: inline-flex; align-items: center; gap: 8px; }
.topbar-msg .ico { color: var(--azur); width: 16px; height: 16px; }
.topbar-links { display: flex; gap: 20px; white-space: nowrap; }
.topbar-links a:hover { color: var(--blanc); }

/* ---------- Header ---------- */
.header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.92); backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid var(--trait); }
.header-main { display: flex; align-items: center; gap: 28px; height: var(--header-h); }
.header-burger { display: none; }
.search { flex: 1; max-width: 640px; display: flex; align-items: center; height: 48px; padding: 0 6px 0 18px; border-radius: var(--r-pill); background: var(--fond); box-shadow: inset 0 0 0 1.5px var(--trait); transition: box-shadow .2s, background .2s; }
.search:focus-within { background: var(--blanc); box-shadow: inset 0 0 0 1.5px var(--bleu), 0 0 0 4px rgba(36,89,240,.12); }
.search .ico { color: var(--gris); }
.search input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; height: 100%; padding: 0 12px; font-size: 15px; }
.search input::placeholder { color: var(--gris); }
.search button { height: 36px; padding: 0 16px; border-radius: var(--r-pill); background: var(--bleu); color: var(--blanc); font-weight: 600; font-size: 14px; }
.header-actions { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.hbtn { position: relative; display: inline-flex; align-items: center; gap: 10px; height: 46px; padding: 0 12px; border-radius: var(--r-pill); transition: background .2s; }
.hbtn:hover { background: var(--brume); }
.hbtn small { display: block; font-size: 11px; color: var(--gris); line-height: 1.2; }
.hbtn strong { display: block; font-size: 14px; font-weight: 600; line-height: 1.2; }
.hbtn-cart { background: var(--encre); color: var(--blanc); padding: 0 16px 0 14px; }
.hbtn-cart:hover { background: var(--cobalt); }
.cart-count { display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: var(--r-pill); background: var(--azur); color: var(--blanc); font-size: 12px; font-weight: 700; }
.cart-count.bump { animation: bump .4s ease; }
@keyframes bump { 40% { transform: scale(1.35); } }

.catnav { border-top: 1px solid var(--trait); }
.catnav .container { display: flex; align-items: center; gap: 4px; height: 52px; overflow-x: auto; scrollbar-width: none; }
.catnav .container::-webkit-scrollbar { display: none; }
.catnav-all { display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 14px; margin-right: 6px; border-radius: var(--r-pill); background: var(--brume); color: var(--cobalt); font-weight: 600; font-size: 14px; white-space: nowrap; }
.catnav a:not(.catnav-all) { padding: 8px 10px; border-radius: var(--r-pill); font-size: 14px; font-weight: 500; color: var(--ardoise); white-space: nowrap; transition: color .2s, background .2s; }
.catnav a:not(.catnav-all):hover, .catnav a.is-active { color: var(--bleu); background: var(--brume); }
.catnav .catnav-promo { margin-left: auto; padding-right: 0 !important; color: var(--bleu) !important; font-weight: 600 !important; }

/* ---------- Sections ---------- */
.section { padding: 72px 0; }
.section-tight { padding: 48px 0; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 28px; }
.section-head h2 { font-size: clamp(28px, 3.2vw, 40px); margin-top: 10px; }
.section-head p { color: var(--ardoise); margin-top: 8px; max-width: 520px; }
.section-brume { background: var(--fond); }

/* ---------- Hero ---------- */
.hero { padding: 24px 0 0; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 20px; }
.hero-main { position: relative; min-height: 560px; border-radius: var(--r-xl); overflow: hidden; color: var(--encre); isolation: isolate; display: flex; align-items: center; background: #EFE8DD; }
.hero-main > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%; z-index: -2; }
.hero-main::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(255,255,255,.72) 0%, rgba(255,255,255,.4) 34%, rgba(255,255,255,0) 58%); }
.hero-content { padding: 56px; max-width: 620px; }
.hero-content .badge { background: var(--blanc); color: var(--encre); box-shadow: var(--ombre-1); }
.hero-content .badge i { width: 8px; height: 8px; border-radius: 50%; background: var(--bleu); }
.hero h1 { font-size: clamp(40px, 5.4vw, 72px); font-weight: 800; letter-spacing: -.035em; margin: 18px 0 18px; }
.hero h1 em { font-style: normal; color: var(--bleu); }
.hero-content p { font-size: 18px; color: var(--ardoise); max-width: 420px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-stats { display: flex; gap: 32px; margin-top: 40px; padding-top: 24px; border-top: 1px solid rgba(10,22,51,.12); }
.hero-stats strong { display: block; font-family: var(--f-display); font-size: 26px; font-weight: 700; }
.hero-stats span { font-size: 13px; color: var(--ardoise); }

.hero-side { display: grid; grid-template-rows: 1fr 1fr; gap: 20px; }
.hero-card { position: relative; min-height: 0; border-radius: var(--r-xl); overflow: hidden; padding: 24px; display: flex; flex-direction: column; justify-content: flex-end; isolation: isolate; }
.hero-card > img { position: absolute; z-index: -1; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.hero-card:hover > img { transform: scale(1.04); }
.hero-card--photo { color: var(--blanc); }
.hero-card--photo > img { inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-card--photo::before { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; background: linear-gradient(0deg, rgba(20,18,16,.78) 0%, rgba(20,18,16,.25) 48%, rgba(20,18,16,0) 70%); }
.hero-card--photo > * { position: relative; z-index: 1; }
.hero-card--photo > img { position: absolute; z-index: -1; }
.hero-card--produit { background: var(--photo); color: var(--encre); justify-content: space-between; }
.hero-card--produit > img { right: 4%; bottom: 6%; width: 52%; mix-blend-mode: multiply; }
.hero-card .badge { align-self: flex-start; }
.hero-card--photo .badge { margin-bottom: auto; }
.hero-card h3 { font-size: 24px; margin-top: 10px; }
.hero-card p { font-size: 14px; margin-top: 4px; }
.hero-card--photo p { color: rgba(255,255,255,.82); }
.hero-card--produit p { color: var(--ardoise); max-width: 46%; }
.hero-card-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; }
.hero-card .go { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--blanc); color: var(--encre); flex: none; transition: background .2s, color .2s; }
.hero-card--produit .go { background: var(--encre); color: var(--blanc); }
.hero-card:hover .go { background: var(--bleu); color: var(--blanc); }
.price-tag { font-family: var(--f-display); font-size: 26px; font-weight: 800; letter-spacing: -.02em; }
.price-tag small { font-size: 13px; font-weight: 600; opacity: .7; }

.zellige { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='56' viewBox='0 0 56 56'%3E%3Cg fill='none' stroke='%23ffffff' stroke-opacity='.14' stroke-width='1.2'%3E%3Crect x='16' y='16' width='24' height='24'/%3E%3Crect x='16' y='16' width='24' height='24' transform='rotate(45 28 28)'/%3E%3Ccircle cx='28' cy='28' r='5'/%3E%3Cpath d='M0 0l8 8M56 0l-8 8M0 56l8-8M56 56l-8-8'/%3E%3C/g%3E%3C/svg%3E"); }

/* ---------- Réassurance ---------- */
.usp { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 20px; border-radius: var(--r-lg); background: var(--fond); box-shadow: inset 0 0 0 1px var(--trait); }
.usp-item { display: flex; align-items: center; gap: 14px; padding: 22px 24px; }
.usp-item + .usp-item { border-left: 1px solid var(--trait); }
.usp-ico { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: var(--blanc); color: var(--bleu); box-shadow: var(--ombre-1); flex: none; }
.usp-item strong { display: block; font-size: 15px; }
.usp-item span { font-size: 13px; color: var(--ardoise); }

/* ---------- Catégories ---------- */
.cats { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.cat { display: block; group: cat; }
.cat-img { position: relative; aspect-ratio: 1; border-radius: var(--r-lg); overflow: hidden; background: var(--photo); }
.cat-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.cat:hover .cat-img img { transform: scale(1.06); }
.cat-img::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(10,22,51,.06); }
.cat-meta { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 12px; }
.cat-meta strong { font-size: 15px; font-weight: 600; line-height: 1.3; }
.cat-meta span { font-size: 13px; color: var(--gris); }
.cat-go { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--brume); color: var(--bleu); flex: none; transition: background .2s, color .2s; }
.cat:hover .cat-go { background: var(--bleu); color: var(--blanc); }

/* ---------- Onglets / filtres ---------- */
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { height: 38px; padding: 0 16px; border-radius: var(--r-pill); font-size: 14px; font-weight: 500; color: var(--ardoise); box-shadow: inset 0 0 0 1.5px var(--trait); background: var(--blanc); transition: all .2s; }
.chip:hover { color: var(--bleu); box-shadow: inset 0 0 0 1.5px var(--ciel); }
.chip.is-active { background: var(--encre); color: var(--blanc); box-shadow: none; }

/* ---------- Carte produit ---------- */
.products { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 3 * 20px) / 4); gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 4px; }
.rail::-webkit-scrollbar { display: none; }
.rail > * { scroll-snap-align: start; }
.rail-nav { display: flex; gap: 8px; }
.rail-btn { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--trait); background: var(--blanc); transition: all .2s; }
.rail-btn:hover { background: var(--encre); color: var(--blanc); box-shadow: none; }

.pcard { position: relative; display: flex; flex-direction: column; padding: 8px; border-radius: var(--r-lg); background: var(--blanc); transition: transform .3s cubic-bezier(.2,.7,.2,1); }
.pcard-media { position: relative; aspect-ratio: 1; border-radius: 18px; overflow: hidden; background: var(--photo); }
.pcard-media img { width: 100%; height: 100%; object-fit: contain; padding: 9%; mix-blend-mode: multiply; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.pcard:hover .pcard-media img { transform: scale(1.05); }
.pcard-badges { position: absolute; top: 12px; left: 12px; display: flex; gap: 6px; z-index: 1; }
.pcard-wish { position: absolute; top: 10px; right: 10px; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--blanc); color: var(--encre); box-shadow: var(--ombre-1); transition: color .2s, transform .2s; }
.pcard-wish:hover { color: var(--bleu); transform: scale(1.06); }
.pcard-wish.is-on { color: var(--blanc); background: var(--bleu); }
.pcard-wish.is-on .ico { fill: currentColor; }
.pcard-add { position: absolute; left: 12px; right: 12px; bottom: 12px; opacity: 0; transform: translateY(8px); transition: opacity .25s, transform .25s; }
.pcard:hover .pcard-add, .pcard:focus-within .pcard-add { opacity: 1; transform: none; }
.pcard-body { padding: 12px 8px 6px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.pcard-brand { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--bleu); }
.pcard-title { font-family: var(--f-text); letter-spacing: 0; font-size: 15px; font-weight: 600; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pcard-title a:hover { color: var(--bleu); }
.pcard-ref { font-size: 12px; color: var(--gris); }
.pcard-foot { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 8px; }
.price { font-family: var(--f-display); font-weight: 700; font-size: 20px; letter-spacing: -.02em; white-space: nowrap; }
.price small { font-size: .62em; font-weight: 600; color: var(--ardoise); margin-left: 2px; }
.price-ask { font-size: 14px; font-weight: 600; color: var(--ardoise); }
.pcard-cartmini { display: none; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--bleu); color: var(--blanc); }

/* ---------- Mise en avant catégorie + produits ---------- */
.spotlight { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.spotlight-tile { grid-row: span 1; position: relative; border-radius: var(--r-xl); overflow: hidden; padding: 30px; display: flex; flex-direction: column; justify-content: flex-end; color: var(--blanc); isolation: isolate; min-height: 0; }
.spotlight-tile > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.spotlight-tile::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(20,18,16,.82), rgba(20,18,16,.18) 58%, rgba(20,18,16,0)); }
.spotlight-tile h3 { font-size: 34px; font-weight: 800; letter-spacing: -.03em; margin: 12px 0 10px; }
.spotlight-tile p { color: rgba(255,255,255,.82); margin-bottom: 22px; }
.spotlight-tile .eyebrow { color: var(--blanc); }
.spotlight .products { display: contents; }

/* ---------- Bannières promo (visuels de la boutique) ---------- */
.promos { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.promo { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; border-radius: var(--r-xl); overflow: hidden; background: var(--fond); box-shadow: inset 0 0 0 1px var(--trait); transition: box-shadow .25s; }
.promo:hover { box-shadow: inset 0 0 0 1px var(--trait), var(--ombre-2); }
.promo-media { position: relative; overflow: hidden; min-height: 320px; }
.promo-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.promo:hover .promo-media img { transform: scale(1.04); }
.promo-inner { padding: 36px; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
.promo h3 { font-size: 30px; font-weight: 800; letter-spacing: -.03em; margin: 12px 0 10px; }
.promo p { margin-bottom: 24px; color: var(--ardoise); }

/* ---------- Offre ---------- */
.offer { display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; gap: 24px; border-radius: var(--r-xl); background: var(--encre); color: var(--blanc); overflow: hidden; }
.offer-text { padding: 48px 0 48px 56px; }
.offer-text .eyebrow { color: var(--azur); }
.offer h2 { font-size: clamp(30px, 3.4vw, 46px); font-weight: 800; letter-spacing: -.03em; margin: 14px 0 12px; }
.offer p { color: #B9C3DA; max-width: 440px; }
.offer-price { display: flex; align-items: baseline; gap: 14px; margin: 26px 0 28px; }
.offer-price .price { font-size: 44px; font-weight: 800; color: var(--blanc); }
.offer-price .price small { color: #B9C3DA; }
.offer-media { position: relative; align-self: stretch; min-height: 380px; margin: 16px 16px 16px 0; border-radius: var(--r-lg); background: var(--photo); }
.offer-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 8%; mix-blend-mode: multiply; }
.offer-media .badge { position: absolute; top: 18px; left: 18px; }

/* ---------- Pourquoi Dareo ---------- */
.why { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.why-item { padding: 26px; border-radius: var(--r-lg); background: var(--blanc); box-shadow: inset 0 0 0 1px var(--trait); }
.why-item .usp-ico { width: 44px; height: 44px; border-radius: 14px; background: var(--brume); box-shadow: none; margin-bottom: 18px; }
.why-item strong { display: block; font-family: var(--f-display); font-size: 19px; letter-spacing: -.01em; }
.why-item p { font-size: 14px; color: var(--ardoise); margin-top: 6px; }

/* ---------- Marques ---------- */
.brands { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.brand { display: grid; place-items: center; height: 96px; padding: 0 22%; border-radius: var(--r-md); background: var(--blanc); box-shadow: inset 0 0 0 1px var(--trait); font-family: var(--f-display); font-size: 22px; font-weight: 800; letter-spacing: .02em; color: var(--ardoise); transition: all .25s; }
.brand img { max-height: 30px; width: auto; filter: grayscale(1); opacity: .65; mix-blend-mode: multiply; transition: filter .25s, opacity .25s; }
.brand:hover { box-shadow: inset 0 0 0 1.5px var(--bleu), var(--ombre-2); transform: translateY(-2px); }
.brand:hover img { filter: none; opacity: 1; }
.brand-light img { filter: invert(1) grayscale(1); }
.brand-light:hover img { filter: invert(1); }

/* ---------- Newsletter ---------- */
.newsletter { position: relative; border-radius: var(--r-xl); background-color: var(--bleu); color: var(--blanc); padding: 56px; display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; overflow: hidden; }
.newsletter h2 { font-size: clamp(30px, 3.4vw, 44px); font-weight: 800; letter-spacing: -.03em; }
.newsletter p { color: #D6E2FF; margin-top: 12px; }
.nl-form { display: flex; gap: 8px; padding: 6px; border-radius: var(--r-pill); background: var(--blanc); }
.nl-form input { flex: 1; min-width: 0; border: 0; outline: 0; padding: 0 18px; font-size: 15px; color: var(--encre); background: transparent; }
.nl-note { font-size: 12px; color: #BFD0FA; margin-top: 12px; }

/* ---------- Footer ---------- */
.footer { background: var(--encre); color: #AFBCDD; margin-top: 72px; padding: 64px 0 28px; font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 40px; }
.footer p { margin-top: 16px; max-width: 320px; }
.footer h4 { font-family: var(--f-text); font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--blanc); margin-bottom: 16px; }
.footer li + li { margin-top: 10px; }
.footer a:hover { color: var(--blanc); }
.socials { display: flex; gap: 8px; margin-top: 22px; }
.socials a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(255,255,255,.18); transition: all .2s; }
.socials a:hover { background: var(--bleu); box-shadow: none; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.1); font-size: 13px; }
.pay { display: flex; gap: 8px; }
.pay span { display: inline-grid; place-items: center; height: 30px; padding: 0 10px; border-radius: 6px; background: rgba(255,255,255,.08); font-size: 11px; font-weight: 700; letter-spacing: .06em; color: #DCE5FA; }

/* ---------- Toast panier ---------- */
.toast { position: fixed; z-index: 100; right: 24px; bottom: 24px; display: flex; align-items: center; gap: 14px; padding: 12px 18px 12px 12px; border-radius: var(--r-md); background: var(--encre); color: var(--blanc); box-shadow: var(--ombre-3); opacity: 0; visibility: hidden; transform: translateY(16px); transition: opacity .3s, transform .4s cubic-bezier(.2,.8,.2,1), visibility .3s; max-width: calc(100vw - 32px); }
.toast.is-on { opacity: 1; visibility: visible; transform: none; }
.toast img { width: 48px; height: 48px; border-radius: 10px; background: var(--brume); }
.toast strong { display: block; font-size: 14px; }
.toast span { font-size: 13px; color: #AFC1EE; }
.toast .ok { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--succes); margin-left: 4px; }

/* ==========================================================================
   Page produit
   ========================================================================== */
.crumbs { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; padding: 22px 0; font-size: 13px; color: var(--gris); }
.crumbs a:hover { color: var(--bleu); }
.crumbs .ico { width: 14px; height: 14px; }
.crumbs [aria-current] { color: var(--encre); font-weight: 500; }

.pdp { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr); gap: 56px; align-items: start; }
.gallery { display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: 16px; position: sticky; top: calc(var(--header-h) + 70px); }
.thumbs { display: flex; flex-direction: column; gap: 12px; }
.thumb { aspect-ratio: 1; border-radius: 14px; overflow: hidden; background: var(--photo); box-shadow: inset 0 0 0 1.5px transparent; opacity: .7; transition: all .2s; }
.thumb img { width: 100%; height: 100%; object-fit: contain; padding: 6%; mix-blend-mode: multiply; }
.thumb:hover { opacity: 1; }
.thumb.is-active { opacity: 1; outline: 2px solid var(--bleu); outline-offset: 2px; }
.stage { position: relative; aspect-ratio: 1; border-radius: var(--r-xl); overflow: hidden; background: var(--photo); }
.stage img { width: 100%; height: 100%; object-fit: contain; padding: 6%; mix-blend-mode: multiply; transition: opacity .25s; }
.stage-tools { position: absolute; top: 16px; right: 16px; display: flex; flex-direction: column; gap: 8px; }
.stage-tools button { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--blanc); box-shadow: var(--ombre-1); transition: all .2s; }
.stage-tools button:hover { color: var(--bleu); }
.stage-tools button.is-on { background: var(--bleu); color: var(--blanc); }
.stage-tools button.is-on .ico { fill: currentColor; }
.stage-badges { position: absolute; top: 18px; left: 18px; display: flex; gap: 8px; }
.stage-arrows { position: absolute; left: 16px; right: 16px; bottom: 16px; display: flex; justify-content: space-between; align-items: center; }
.stage-arrows button { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: rgba(255,255,255,.9); box-shadow: var(--ombre-1); }
.stage-dots { display: flex; gap: 6px; padding: 8px 12px; border-radius: var(--r-pill); background: rgba(255,255,255,.9); }
.stage-dots i { width: 7px; height: 7px; border-radius: 50%; background: var(--ciel); transition: all .2s; }
.stage-dots i.is-active { width: 20px; border-radius: 4px; background: var(--bleu); }

.buy-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.buy-brand { display: inline-flex; align-items: center; gap: 10px; }
.buy-brand b { font-family: var(--f-display); font-size: 15px; font-weight: 800; letter-spacing: .08em; padding: 6px 12px; border-radius: 8px; background: var(--encre); color: var(--blanc); }
.buy-brand span { font-size: 13px; color: var(--gris); }
.buy h1 { font-size: clamp(30px, 3.2vw, 42px); font-weight: 800; letter-spacing: -.03em; margin: 18px 0 14px; }
.rating { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--ardoise); }
.stars { display: flex; gap: 2px; color: var(--ciel); }
.stars .ico { width: 16px; height: 16px; fill: currentColor; stroke: none; }
.rating a { color: var(--bleu); font-weight: 600; }
.buy-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 12px; margin: 26px 0 6px; }
.buy-price .price { font-size: 44px; font-weight: 800; letter-spacing: -.035em; }
.buy-price .price small { font-size: 18px; }
.buy-price .ttc { font-size: 13px; color: var(--gris); }
.buy-instal { font-size: 14px; color: var(--ardoise); }
.buy-instal b { color: var(--encre); }
.buy-hr { height: 1px; background: var(--trait); margin: 26px 0; border: 0; }
.highlights { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.highlights li { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; background: var(--fond); font-size: 14px; font-weight: 500; }
.highlights .ico { color: var(--bleu); }
.stock { display: flex; align-items: center; gap: 8px; margin: 22px 0 14px; font-size: 14px; font-weight: 600; color: var(--succes); }
.stock::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 4px rgba(18,145,95,.15); }
.buy-row { display: flex; gap: 10px; }
.qty { display: flex; align-items: center; height: 56px; border-radius: var(--r-pill); box-shadow: inset 0 0 0 1.5px var(--trait); }
.qty button { display: grid; place-items: center; width: 48px; height: 100%; border-radius: var(--r-pill); color: var(--ardoise); }
.qty button:hover { color: var(--bleu); }
.qty input { width: 36px; border: 0; outline: 0; text-align: center; font-weight: 700; font-size: 16px; background: transparent; -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.buy-row .btn-primary { flex: 1; }
.buy-now { margin-top: 10px; }
.buy-links { display: flex; flex-wrap: wrap; gap: 6px 22px; margin-top: 18px; font-size: 14px; font-weight: 500; color: var(--ardoise); }
.buy-links button { display: inline-flex; align-items: center; gap: 8px; }
.buy-links button:hover { color: var(--bleu); }
.buy-links button.is-on { color: var(--bleu); }
.buy-links button.is-on .ico { fill: currentColor; }
.delivery { margin-top: 26px; border-radius: var(--r-lg); box-shadow: inset 0 0 0 1px var(--trait); overflow: hidden; }
.delivery-row { display: flex; gap: 14px; padding: 16px 18px; align-items: flex-start; }
.delivery-row + .delivery-row { border-top: 1px solid var(--trait); }
.delivery-row .usp-ico { width: 40px; height: 40px; border-radius: 12px; background: var(--brume); box-shadow: none; }
.delivery-row strong { display: block; font-size: 14px; }
.delivery-row span { font-size: 13px; color: var(--ardoise); }
.delivery-row b { color: var(--bleu); }

/* Onglets */
.tabs-bar { display: flex; gap: 6px; padding: 6px; border-radius: var(--r-pill); background: var(--fond); box-shadow: inset 0 0 0 1px var(--trait); width: max-content; max-width: 100%; overflow-x: auto; scrollbar-width: none; }
.tabs-bar::-webkit-scrollbar { display: none; }
.tab { height: 44px; padding: 0 20px; border-radius: var(--r-pill); font-weight: 600; font-size: 14px; color: var(--ardoise); white-space: nowrap; }
.tab:hover { color: var(--encre); }
.tab.is-active { background: var(--blanc); color: var(--encre); box-shadow: var(--ombre-1); }
.tab span { display: inline-grid; place-items: center; min-width: 20px; height: 20px; margin-left: 6px; padding: 0 6px; border-radius: var(--r-pill); background: var(--ciel); color: var(--cobalt); font-size: 11px; }
.panel { display: none; padding-top: 36px; }
.panel.is-active { display: block; animation: fade .35s ease; }
@keyframes fade { from { opacity: 0; transform: translateY(6px); } }
.desc { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.desc h3 { font-size: 32px; font-weight: 800; letter-spacing: -.03em; }
.desc > div > p { color: var(--ardoise); font-size: 16px; margin-top: 14px; }
.desc-media { border-radius: var(--r-xl); overflow: hidden; aspect-ratio: 1.15; background: var(--photo); }
.desc-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.desc-stat { padding: 28px; border-radius: var(--r-lg); background: var(--fond); }
.desc-stat strong { display: block; font-family: var(--f-display); font-size: 44px; font-weight: 800; letter-spacing: -.04em; line-height: 1; color: var(--encre); }
.desc-stat strong small { font-size: 18px; color: var(--bleu); margin-left: 4px; }
.desc-stat span { display: block; margin-top: 10px; font-size: 14px; color: var(--ardoise); }
.desc-stat--photo { grid-column: 1 / -1; position: relative; min-height: 220px; background: var(--photo); }
.desc-stat--photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 4% 10%; mix-blend-mode: multiply; }
.desc-media img { width: 100%; height: 100%; object-fit: contain; padding: 8%; mix-blend-mode: multiply; }
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 40px; }
.feature { padding: 26px; border-radius: var(--r-lg); background: var(--fond); }
.feature .usp-ico { margin-bottom: 18px; }
.feature strong { display: block; font-family: var(--f-display); font-size: 19px; letter-spacing: -.01em; }
.feature p { font-size: 14px; color: var(--ardoise); margin-top: 6px; }
.specs { width: 100%; max-width: 820px; border-collapse: separate; border-spacing: 0; border-radius: var(--r-lg); overflow: hidden; box-shadow: inset 0 0 0 1px var(--trait); font-size: 15px; }
.specs th, .specs td { text-align: left; padding: 16px 22px; }
.specs tr:nth-child(odd) { background: var(--fond); }
.specs th { width: 38%; font-weight: 500; color: var(--ardoise); }
.specs td { font-weight: 600; }
.brand-panel { display: grid; grid-template-columns: 220px 1fr; gap: 36px; align-items: center; max-width: 900px; }
.brand-panel .brand { height: 160px; font-size: 34px; }
.brand-panel p { color: var(--ardoise); margin: 12px 0 20px; font-size: 16px; }
.empty { display: grid; grid-template-columns: 260px 1fr; gap: 40px; align-items: center; padding: 36px; border-radius: var(--r-xl); background: var(--fond); max-width: 900px; }
.empty-score { text-align: center; }
.empty-score strong { font-family: var(--f-display); font-size: 64px; font-weight: 800; line-height: 1; }
.empty-score .stars { justify-content: center; margin: 10px 0 6px; }
.empty-score .stars .ico { width: 20px; height: 20px; }
.empty-score span { font-size: 13px; color: var(--gris); }
.empty h4 { font-size: 22px; }
.empty p { color: var(--ardoise); margin: 8px 0 20px; }

.sticky-buy { display: none; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1180px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-side { grid-template-rows: none; grid-template-columns: 1fr 1fr; }
  .why { grid-template-columns: 1fr 1fr; }
  .promos { grid-template-columns: 1fr; }
  .hero-card { min-height: 220px; }
  .cats { grid-template-columns: repeat(3, 1fr); }
  .spotlight { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .spotlight-tile { grid-row: auto; grid-column: 1 / -1; min-height: 320px; }
  .rail { grid-auto-columns: calc((100% - 2 * 20px) / 3); }
  .products { grid-template-columns: repeat(3, 1fr); }
  .hbtn small, .hbtn strong { display: none; }
  .hbtn-cart strong { display: block; }
  .pdp { gap: 36px; }
  .gallery { grid-template-columns: 1fr; }
  .thumbs { flex-direction: row; order: 2; }
  .thumb { width: 76px; }
}

@media (max-width: 900px) {
  :root { --gouttiere: 16px; --header-h: 64px; }
  .topbar-links { display: none; }
  .topbar .container { justify-content: center; }
  .topbar-msg span:not(:first-child) { display: none; }
  .header-main { gap: 12px; flex-wrap: wrap; height: auto; padding: 10px var(--gouttiere) 12px; }
  .header-burger { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; margin-left: -6px; }
  .logo svg { width: 34px; height: 34px; }
  .logo-word { font-size: 26px; }
  .search { order: 3; flex-basis: 100%; max-width: none; height: 46px; }
  .search button { display: none; }
  .hbtn { padding: 0 10px; height: 42px; }
  .hbtn-account, .hbtn-wish { display: none; }
  .hbtn-cart strong { display: none; }
  .catnav .container { height: 48px; }
  .section { padding: 52px 0; }
  .section-head { align-items: flex-start; flex-direction: column; gap: 14px; }
  .hero { padding-top: 16px; }
  .hero-main { min-height: 520px; }
  .hero-main { flex-direction: column; align-items: stretch; min-height: 0; background: #F7F3EC; }
  .hero-main > img { position: static; height: 240px; object-position: 72% 50%; }
  .hero-main::before { display: none; }
  .hero-content { padding: 28px 22px; }
  .hero-content p { font-size: 16px; }
  .hero-stats { gap: 22px; margin-top: 28px; }
  .hero-stats strong { font-size: 22px; }
  .hero-side { grid-template-columns: 1fr 1fr; gap: 12px; }
  .hero-card { min-height: 200px; padding: 16px; border-radius: var(--r-lg); }
  .hero-card h3 { font-size: 18px; }
  .hero-card p, .hero-card .go { display: none; }
  .hero-card--produit > img { width: 62%; right: -4%; bottom: 4%; }
  .hero-card--produit h3 { max-width: 60%; }
  .price-tag { font-size: 18px; }
  .spotlight { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .spotlight-tile { padding: 24px; min-height: 300px; }
  .spotlight-tile h3 { font-size: 28px; }
  .usp { grid-template-columns: 1fr 1fr; }
  .usp-item { padding: 16px; gap: 12px; }
  .usp-item + .usp-item { border-left: 0; }
  .usp-item:nth-child(even) { border-left: 1px solid var(--trait); }
  .usp-item:nth-child(n+3) { border-top: 1px solid var(--trait); }
  .usp-ico { width: 40px; height: 40px; }
  .usp-item span { display: none; }
  .cats { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .rail { grid-auto-columns: 70%; gap: 14px; }
  .products { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .rail-nav { display: none; }
  .pcard-add { display: none; }
  .pcard-cartmini { display: grid; }
  .price { font-size: 18px; }
  .promo { grid-template-columns: 1fr; }
  .promo-media { min-height: 260px; order: -1; }
  .promo-inner { padding: 24px; }
  .promo h3 { font-size: 26px; }
  .offer { grid-template-columns: 1fr; gap: 0; }
  .offer-text { padding: 28px 22px 8px; }
  .offer-price .price { font-size: 36px; }
  .offer-media { min-height: 300px; margin: 16px; }
  .why { grid-template-columns: 1fr; }
  .brands { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .brand { height: 72px; font-size: 17px; }
  .newsletter { grid-template-columns: 1fr; padding: 32px 22px; gap: 24px; }
  .nl-form { flex-direction: column; border-radius: var(--r-lg); }
  .nl-form input { height: 48px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .toast { right: 16px; left: 16px; bottom: 88px; }

  .crumbs { padding: 14px 0; }
  .pdp { grid-template-columns: 1fr; gap: 28px; }
  .gallery { position: static; }
  .stage { border-radius: var(--r-lg); }
  .thumbs { display: none; }
  .buy h1 { margin-top: 14px; }
  .buy-price .price { font-size: 36px; }
  .highlights { grid-template-columns: 1fr; }
  .desc, .brand-panel, .empty { grid-template-columns: 1fr; gap: 24px; }
  .empty { padding: 24px; }
  .features { grid-template-columns: 1fr; }
  .desc-stat { padding: 20px; }
  .desc-stat strong { font-size: 34px; }
  .specs th, .specs td { padding: 14px 16px; }
  .sticky-buy { position: fixed; z-index: 60; left: 0; right: 0; bottom: 0; display: flex; align-items: center; gap: 12px; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: rgba(255,255,255,.96); backdrop-filter: blur(12px); border-top: 1px solid var(--trait); transform: translateY(110%); transition: transform .3s; }
  .sticky-buy.is-on { transform: none; }
  .sticky-buy .price { font-size: 22px; }
  .sticky-buy small { display: block; font-size: 12px; color: var(--gris); }
  .sticky-buy .btn { flex: 1; }
  body.has-sticky-buy .footer { padding-bottom: 100px; }
}

@media (max-width: 420px) {
  .hero h1 { font-size: 38px; }
  .hero-stats > div:last-child { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
