:root{
  --blanc:#FFFFFF;
  --brume:#FBFCFC;
  --encre:#123B47;
  --gris:#6C8A92;
  --bleu:#0B84C7;
  --bleu-clair:#3DA9DE;
  --bleu-profond:#075E8F;
  --bleu-pale:#EAF7FA;
  --trait:#E7EEF0;
  --or:#B9791A;
  --corail:#FF6B4A;

  --relief:0 1px 2px rgba(18,59,71,.05), 0 14px 30px -18px rgba(18,59,71,.25);
  --relief-h:0 2px 4px rgba(18,59,71,.07), 0 22px 44px -20px rgba(18,59,71,.32);

  --titre:'Fraunces','Playfair Display',Georgia,serif;
  --f:'Inter',-apple-system,BlinkMacSystemFont,system-ui,sans-serif;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth;background:#fff;color-scheme:light}
body{
  margin:0;color:var(--encre);
  font-family:var(--f);font-size:16px;line-height:1.55;
  -webkit-font-smoothing:antialiased;font-variant-numeric:tabular-nums;
  background:var(--brume);
}
.wrap{max-width:900px;margin:0 auto;padding:0 20px}
a{color:var(--bleu-profond);text-decoration:none}
:focus-visible{outline:2px solid var(--bleu-profond);outline-offset:3px;border-radius:8px}

.demo{
  background:linear-gradient(180deg,#FFF8EA,#FFEFD2);
  color:#8A5A0B;font-size:12.5px;font-weight:500;text-align:center;
  padding:10px 16px;
}

header{padding:20px 0;border-bottom:1px solid var(--trait)}
.top .wrap, header .wrap{display:flex;align-items:center;justify-content:space-between}
.marque{font-family:var(--f);font-weight:700;font-size:20px;color:var(--encre);letter-spacing:-.01em}
.marque b{font-weight:700;color:var(--bleu)}
.catnav{display:flex;gap:20px;flex-wrap:wrap;font-size:14px;font-weight:500;color:var(--gris)}
.catnav a:hover{color:var(--bleu-profond)}

/* ---------- bandeau d'accueil : bleu, vague, doux ---------- */
.hero-outer{
  position:relative;overflow:hidden;border-radius:30px;margin:24px 0 40px;
  background:linear-gradient(165deg, var(--bleu-clair) 0%, var(--bleu) 45%, var(--bleu-profond) 100%);
  box-shadow:0 30px 60px -24px rgba(18,59,71,.4);
}
.hero-outer::before{
  content:"";position:absolute;top:-120px;right:-90px;width:340px;height:340px;border-radius:50%;
  background:radial-gradient(circle, rgba(255,214,140,.5) 0%, rgba(255,214,140,0) 65%);
}
.etincelle{position:absolute;border-radius:50%;background:#fff;opacity:.7;animation:tinte 3.4s ease-in-out infinite}
.etincelle:nth-child(1){width:5px;height:5px;top:22%;left:15%;animation-delay:0s}
.etincelle:nth-child(2){width:4px;height:4px;top:55%;left:30%;animation-delay:.8s}
.etincelle:nth-child(3){width:5px;height:5px;top:35%;left:80%;animation-delay:1.6s}
@keyframes tinte{0%,100%{opacity:.1;transform:scale(.7)}50%{opacity:.9;transform:scale(1.15)}}

.bassin{position:relative;padding:44px 24px 0;text-align:center}
.eyebrow{position:relative;display:inline-flex;align-items:center;gap:6px;font-size:13px;font-weight:600;color:#fff;
  background:rgba(255,255,255,.16);border:1px solid rgba(255,255,255,.3);padding:7px 14px;border-radius:999px;
  margin-bottom:18px;backdrop-filter:blur(6px)}
.signature{position:relative;font-family:var(--titre);font-weight:600;font-size:clamp(30px,7vw,44px);
  line-height:1.12;margin:0 0 12px;color:#fff;letter-spacing:-.01em}
.signature em{font-style:italic;color:#FFE1A6}
.accroche{position:relative;font-size:16px;color:#DCEEFA;max-width:440px;margin:0 auto 26px;line-height:1.55}
.sous{display:none}

.cherche{position:relative;max-width:460px;margin:0 auto}
#q{
  width:100%;padding:16px 20px 16px 48px;font-family:var(--f);font-size:16px;
  color:var(--encre);background:#fff;border:none;border-radius:14px;outline:none;
  box-shadow:0 16px 34px -12px rgba(7,60,90,.45);
}
#q::placeholder{color:#9BB0B8}
.loupe{position:absolute;left:19px;top:50%;transform:translateY(-50%);width:16px;height:16px;
  border:2px solid #9BB0B8;border-radius:50%;pointer-events:none}
.loupe::after{content:"";position:absolute;right:-6px;bottom:-4px;width:7px;height:2px;
  background:#9BB0B8;transform:rotate(45deg);border-radius:2px}

.stat-row{position:relative;display:flex;justify-content:center;gap:22px;margin-top:20px;font-size:13px;color:#CFE6F7}
.stat-row b{color:#fff;font-family:var(--f);font-weight:700}

.vague{display:block;width:100%;height:40px;margin-top:22px}

/* ---------- barre catégorie, tons eau, douce ---------- */
.cat-bar-wrap{background:var(--bleu-pale);border-radius:24px;padding:16px}
.cat-bar{display:flex;gap:8px;overflow-x:auto;scrollbar-width:none}
.cat-bar::-webkit-scrollbar{display:none}
.cat-pill{
  flex:none;display:flex;align-items:center;gap:7px;font-size:13.5px;font-weight:600;
  padding:9px 15px;border-radius:999px;border:1px solid var(--trait);background:#fff;color:var(--gris);
  box-shadow:0 1px 2px rgba(18,59,71,.05), 0 6px 14px -8px rgba(18,59,71,.12);
  transition:color .15s ease;white-space:nowrap;
}
.cat-pill:hover{color:var(--encre)}
.cat-pill svg{width:17px;height:17px;fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;stroke:var(--gris)}
.cat-pill.active{color:#fff;box-shadow:0 4px 14px -4px rgba(7,60,90,.5)}
.cat-pill.active svg{stroke:#fff}

.puces{margin:22px 0 0}

.compte{font-size:13px;color:var(--gris);margin:26px 0 14px;padding-left:6px}

.pagehead{padding:24px 0 6px}
.pagehead h1{font-family:var(--titre);font-size:clamp(26px,6vw,34px);margin:0 0 6px;color:var(--encre)}
.pagehead p{color:var(--gris);font-size:14.5px;margin:0;max-width:480px}
.crumb{font-size:12.5px;color:var(--gris);margin:18px 0 0}
.crumb a:hover{color:var(--bleu-profond)}

/* ---------- catégories, page d'accueil ---------- */
.cat-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}
.cat-card{background:#fff;border:1px solid var(--trait);border-radius:20px;padding:18px 15px;
  display:flex;flex-direction:column;gap:10px;box-shadow:var(--relief);transition:transform .2s ease,box-shadow .2s ease}
.cat-card:hover{transform:translateY(-3px);box-shadow:var(--relief-h)}
.cat-card .icon-badge{width:44px;height:44px;border-radius:13px;display:flex;align-items:center;justify-content:center}
.cat-card .icon-badge svg{width:22px;height:22px;stroke:#fff;fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.cat-card h3{font-family:var(--f);font-size:15px;font-weight:700;margin:0;color:var(--encre)}
.cat-card .from{font-size:12.5px;color:var(--gris)}
.cat-card .from b{color:var(--or);font-weight:700}

.banner{position:relative;border-radius:26px;overflow:hidden;min-height:180px;display:flex;align-items:center;margin:36px 0}
.banner{background:linear-gradient(120deg, var(--bleu-clair) 0%, var(--bleu) 55%, var(--bleu-profond) 100%)}
.banner::before{content:"";position:absolute;top:-50px;right:-30px;width:200px;height:200px;border-radius:50%;
  background:radial-gradient(circle, rgba(255,255,255,.28), transparent 70%)}
.banner-content{position:relative;padding:26px;color:#fff}
.banner-content h2{font-family:var(--titre);color:#fff;font-size:22px;margin:0 0 6px}
.banner-content p{color:#DCEAEF;font-size:14px;margin:0}

.trust{border-radius:22px;border:1px solid var(--trait);padding:22px;margin-bottom:36px}
.trust-item{margin-bottom:16px}
.trust-item:last-child{margin-bottom:0}
.trust-item svg{width:22px;height:22px;stroke:var(--bleu);fill:none;stroke-width:1.8;margin-bottom:6px}
.trust-item h3{font-family:var(--f);font-size:14.5px;font-weight:700;margin:0 0 3px}
.trust-item p{font-size:13px;color:var(--gris);margin:0;line-height:1.5}

/* ---------- fiches produit ---------- */
.prod{background:#fff;border:1px solid var(--trait);border-radius:22px;margin-bottom:16px;overflow:hidden;box-shadow:var(--relief)}
.prod>header{padding:18px 18px 15px;display:flex;gap:14px;align-items:flex-start;border-bottom:1px solid var(--trait)}
.entete{flex:1;min-width:0}
.vignette{flex:none;width:60px;height:60px;border-radius:15px;display:flex;align-items:center;justify-content:center;background:var(--bleu-profond)}
.vignette img{width:100%;height:100%;object-fit:contain;padding:8px}
.vignette svg{width:30px;height:30px;stroke:#fff;fill:none;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.cat{display:inline-block;font-size:10.5px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;
  color:var(--bleu-profond);background:var(--bleu-pale);padding:4px 10px;border-radius:6px}
.nom{font-family:var(--titre);font-size:20px;font-weight:600;letter-spacing:-.01em;line-height:1.2;margin:9px 0 6px}
.resume{font-size:13px;color:var(--gris)}
.resume b{color:var(--encre);font-weight:700}
.unite{display:inline-block;margin-top:9px;font-size:12px;font-weight:700;color:var(--or);
  background:#FFF1DC;padding:5px 10px;border-radius:8px}

.off{display:flex;align-items:center;gap:12px;padding:13px 18px;border-bottom:1px solid var(--trait)}
.off:last-child{border-bottom:none}
.off.best{background:#FFF1DC}
.off.rupture{opacity:.45}
.qui{flex:1;min-width:0}
.qui strong{display:block;font-size:14px;font-weight:700}
.qui em{display:block;font-style:normal;font-size:11.5px;color:var(--gris);margin-top:2px;
  overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.prix{text-align:right;white-space:nowrap}
.prix b{display:block;font-size:18px;font-weight:800;letter-spacing:-.02em}
.prix i{display:block;font-style:normal;font-size:10.5px;color:var(--gris);margin-top:2px}
.badge{display:inline-block;margin-top:4px;font-size:10px;font-weight:700;letter-spacing:.05em;text-transform:uppercase;
  color:var(--or);background:#fff;padding:2px 8px;border-radius:999px;box-shadow:0 1px 3px rgba(185,121,26,.3)}
.fleche{flex:none;width:32px;height:32px;border-radius:50%;display:flex;align-items:center;justify-content:center;
  font-size:16px;color:var(--bleu-profond);background:var(--bleu-pale)}

.vide{background:#fff;border-radius:22px;padding:40px 22px;text-align:center;color:var(--gris);box-shadow:var(--relief)}
.vide strong{display:block;color:var(--encre);font-family:var(--titre);font-size:19px;font-weight:600;margin-bottom:6px}

.retour{display:inline-block;margin:26px 0 6px;font-size:13.5px;font-weight:600;color:var(--gris)}
.retour:hover{color:var(--bleu-profond)}

footer{margin-top:20px;padding:26px 0 40px;font-size:12.5px;color:var(--gris);line-height:1.8;border-top:1px solid var(--trait)}
footer nav{margin-top:10px;display:flex;gap:16px;flex-wrap:wrap}

@media (max-width:520px){
  .cat-grid{grid-template-columns:repeat(2,1fr)}
}
@media (prefers-reduced-motion:reduce){
  *{animation:none!important;transition:none!important}
  html{scroll-behavior:auto}
}
