:root{
  --ink:#10261a; --ink-2:#34503f; --muted:#62736a; --gold:#e4bd50;
  --orange:#17602a; --orange-d:#0f4a1c; --orange-t:#f6e8b8;
  --green:#0e8f5b; --green-t:#dcf2e7;
  --paper:#f2f5f2; --white:#fff; --line:#d8e0da;
  --r:10px;
  --f-display:"Bricolage Grotesque","Trebuchet MS",system-ui,sans-serif;
  --f-body:"Figtree",system-ui,-apple-system,"Segoe UI",sans-serif;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;font:16px/1.55 var(--f-body);color:var(--ink);background:var(--paper);-webkit-font-smoothing:antialiased}
h1,h2,h3{font-family:var(--f-display);line-height:1.1;margin:0;letter-spacing:-.01em}
a{color:inherit}
img{max-width:100%;display:block}
button{font:inherit;cursor:pointer}
:focus-visible{outline:3px solid var(--orange);outline-offset:2px}
.wrap{width:min(1200px,100% - 32px);margin-inline:auto}
.skip{position:absolute;left:-999px;top:8px;background:var(--ink);color:#fff;padding:8px 12px;border-radius:6px;z-index:100}
.skip:focus{left:8px}
.muted{color:var(--muted)}

/* En-tête */
.top{background:var(--white);border-bottom:3px solid var(--gold);position:sticky;top:0;z-index:30}
.top-note{background:var(--ink);color:#e6efe9;font-size:13px;text-align:center;padding:6px 12px}
.bar{display:flex;align-items:center;gap:16px;padding:12px 0}
.logo{display:flex;align-items:center;gap:10px;text-decoration:none;flex:none}
.logo-img{height:60px;width:auto}
.logo-foot{background:#fff;display:inline-block;border-radius:10px;padding:8px 12px;margin-bottom:14px}
.logo-mark{width:38px;height:38px;border-radius:9px;background:var(--orange);color:#fff;display:grid;place-items:center;font:800 24px/1 var(--f-display)}
.logo-word{font:800 22px/1 var(--f-display);letter-spacing:-.02em}
.search{flex:1;display:flex;max-width:560px;margin-inline:auto;border:2px solid var(--ink);border-radius:var(--r);overflow:hidden;background:#fff}
.search input{flex:1;border:0;padding:10px 14px;font:inherit;min-width:0;background:transparent}
.search input:focus{outline:none}
.search:focus-within{border-color:var(--orange)}
.search button{border:0;background:var(--ink);color:#fff;width:48px;display:grid;place-items:center}
.search button:hover{background:var(--orange)}
.cart-btn{display:flex;align-items:center;gap:8px;border:2px solid var(--ink);background:#fff;border-radius:var(--r);padding:8px 12px;font-weight:600;flex:none}
.cart-btn:hover{background:var(--paper)}
.cart-btn b{background:var(--gold);color:var(--ink);border-radius:99px;min-width:24px;height:24px;display:grid;place-items:center;font-size:13px;padding:0 6px}
.fam-nav{display:flex;gap:4px;overflow-x:auto;padding-bottom:8px;scrollbar-width:thin}
.fam-nav a{white-space:nowrap;text-decoration:none;font-size:14px;font-weight:600;color:var(--ink-2);padding:7px 12px;border-radius:99px}
.fam-nav a:hover{background:var(--paper)}
.fam-nav a[aria-current="page"]{background:var(--ink);color:#fff}

/* Accueil */
.hero{background:var(--white);border-bottom:1px solid var(--line)}
.hero-in{display:grid;grid-template-columns:1.05fr 1fr;gap:48px;align-items:center;padding:56px 0}
.hero h1{font-size:clamp(36px,5.4vw,66px);font-weight:800}
.hero p.lead{font-size:19px;color:var(--ink-2);max-width:46ch;margin:18px 0 28px}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:2px solid var(--ink);background:var(--ink);color:#fff;font-weight:700;padding:12px 20px;border-radius:var(--r);text-decoration:none}
.btn:hover{background:var(--orange);border-color:var(--orange)}
.btn.alt{background:#fff;color:var(--ink)}
.btn.alt:hover{background:var(--paper);border-color:var(--ink);color:var(--ink)}
.btn.orange{background:var(--orange);border-color:var(--orange)}
.btn.orange:hover{background:var(--orange-d);border-color:var(--orange-d)}
.btn[disabled]{opacity:.5;cursor:not-allowed}
.hero-actions{display:flex;gap:12px;flex-wrap:wrap}
.crates{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}
.crate{aspect-ratio:1;border-radius:14px;display:flex;flex-direction:column;justify-content:space-between;padding:12px;text-decoration:none;position:relative;overflow:hidden;transition:transform .15s}
.crate:hover{transform:translateY(-3px)}
.crate svg{width:52%;height:auto;stroke-width:2.4}
.crate span{font:700 14px/1.15 var(--f-display)}
.crate::after{content:"";position:absolute;right:-8px;top:-8px;width:44px;height:44px;border-radius:50%;background:rgba(255,255,255,.35)}
.sec{padding:52px 0}
.sec-head{display:flex;justify-content:space-between;align-items:end;gap:16px;margin-bottom:24px;flex-wrap:wrap}
.sec-head h2{font-size:clamp(26px,3.4vw,38px)}
.sec-head a{font-weight:700}
.fam-list{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
.fam-card{background:#fff;border:1px solid var(--line);border-radius:14px;padding:20px;text-decoration:none;display:flex;gap:16px;align-items:center}
.fam-card:hover{border-color:var(--ink)}
.fam-ico{width:68px;height:68px;border-radius:14px;display:grid;place-items:center;flex:none}
.fam-ico svg{width:42px;height:42px}
.fam-card h3{font-size:19px;margin-bottom:4px}
.fam-card p{margin:0;font-size:14px;color:var(--muted)}
.strip{background:var(--ink);color:#fff}
.strip-in{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;padding:30px 0}
.strip h3{font-size:18px;margin-bottom:6px;color:#fff}
.strip p{margin:0;color:#c9d6ce;font-size:15px}

/* Grille produits */
.grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}
.card{background:#fff;border:1px solid var(--line);border-radius:14px;overflow:hidden;display:flex;flex-direction:column}
.card:hover{border-color:var(--ink)}
.ph{aspect-ratio:4/3;position:relative;display:grid;place-items:center;overflow:hidden}
.ph svg{width:44%;height:auto;stroke-width:2.2}
.ph img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.ph .sub{position:absolute;left:10px;top:10px;font-size:12px;font-weight:700;background:rgba(255,255,255,.8);padding:3px 8px;border-radius:99px;color:var(--ink)}
.card-b{padding:14px;display:flex;flex-direction:column;gap:10px;flex:1}
.card h3{font:600 16px/1.3 var(--f-body);letter-spacing:0}
.card h3 a{text-decoration:none}
.card h3 a:hover{text-decoration:underline}
.card-f{margin-top:auto;display:flex;flex-wrap:wrap;align-items:end;justify-content:space-between;gap:8px}
.price{display:inline-flex;flex-direction:column;background:var(--orange-t);border-radius:4px 10px 10px 4px;padding:5px 12px 5px 16px;position:relative;line-height:1.15}
.price::before{content:"";position:absolute;left:5px;top:50%;width:6px;height:6px;margin-top:-3px;border-radius:50%;background:var(--paper);box-shadow:inset 0 0 0 1px var(--orange)}
.price b{font:800 19px/1.1 var(--f-display);color:var(--orange-d);white-space:nowrap}
.price small{white-space:normal}
.add{margin-left:auto}
.price small{font-size:11px;color:var(--ink-2)}
.add{border:2px solid var(--ink);background:#fff;border-radius:var(--r);width:44px;height:44px;display:grid;place-items:center;flex:none}
.add:hover{background:var(--ink);color:#fff}
.stock{font-size:12px;font-weight:700;color:var(--green);display:flex;align-items:center;gap:5px}
.stock::before{content:"";width:8px;height:8px;border-radius:50%;background:var(--green)}

/* Boutique */
.shop-head{padding:32px 0 8px}
.shop-head h1{font-size:clamp(28px,4vw,44px)}
.shop-head p{margin:8px 0 0;color:var(--ink-2)}
.tools{display:flex;gap:12px;align-items:center;justify-content:space-between;flex-wrap:wrap;margin:18px 0}
.chips{display:flex;gap:8px;flex-wrap:wrap}
.chip{border:1.5px solid var(--line);background:#fff;border-radius:99px;padding:6px 14px;font-weight:600;font-size:14px}
.chip:hover{border-color:var(--ink)}
.chip[aria-pressed="true"]{background:var(--ink);color:#fff;border-color:var(--ink)}
select{font:inherit;border:1.5px solid var(--line);border-radius:var(--r);padding:8px 10px;background:#fff}
.count{color:var(--muted);font-size:14px}
.empty{background:#fff;border:1px dashed var(--line);border-radius:14px;padding:40px;text-align:center}
.empty h2{font-size:24px;margin-bottom:8px}

/* Fiche produit */
.crumbs{font-size:14px;color:var(--muted);padding:22px 0 10px}
.crumbs a{color:var(--ink-2)}
.pd{display:grid;grid-template-columns:1fr 1fr;gap:40px;padding-bottom:48px}
.pd .ph{aspect-ratio:1;border-radius:18px;border:1px solid var(--line)}
.pd .ph svg{width:36%}
.pd h1{font-size:clamp(28px,3.6vw,42px);margin:6px 0 14px}
.pd .ref{font-size:14px;color:var(--muted)}
.pd .price{margin:6px 0 20px}
.pd .price b{font-size:30px}
.buy{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin:18px 0}
.qty{display:inline-flex;align-items:center;border:2px solid var(--ink);border-radius:var(--r);overflow:hidden;background:#fff}
.qty button{border:0;background:#fff;width:40px;height:40px;font-size:20px;line-height:1}
.qty button:hover{background:var(--paper)}
.qty input{width:48px;text-align:center;border:0;font:700 16px var(--f-body);height:40px;-moz-appearance:textfield}
.qty input::-webkit-outer-spin-button,.qty input::-webkit-inner-spin-button{-webkit-appearance:none}
.note{background:#fff;border:1px solid var(--line);border-radius:var(--r);padding:14px 16px;font-size:14px;color:var(--ink-2);margin-top:20px}

/* Panier (tiroir) */
.scrim{position:fixed;inset:0;background:rgba(16,38,26,.5);z-index:40}
.drawer{position:fixed;top:0;right:0;height:100%;width:min(420px,100%);background:#fff;z-index:50;display:flex;flex-direction:column;transform:translateX(105%);transition:transform .22s ease;visibility:hidden}
.drawer.open{transform:none;visibility:visible}
.drawer-head{display:flex;justify-content:space-between;align-items:center;padding:16px 20px;border-bottom:1px solid var(--line)}
.drawer-head h2{font-size:22px}
.drawer-head button{border:0;background:var(--paper);width:36px;height:36px;border-radius:50%}
.drawer-body{flex:1;overflow:auto;padding:8px 20px}
.line{display:grid;grid-template-columns:56px 1fr auto;gap:12px;padding:14px 0;border-bottom:1px solid var(--line);align-items:center}
.line .t{width:56px;height:56px;border-radius:10px;display:grid;place-items:center}
.line .t svg{width:30px;height:30px}
.line h4{margin:0;font:600 15px/1.3 var(--f-body)}
.line .u{font-size:13px;color:var(--muted)}
.line .qty{margin-top:6px;transform:scale(.85);transform-origin:left}
.line .tot{font-weight:700;text-align:right}
.line .rm{display:block;border:0;background:none;color:var(--muted);font-size:13px;text-decoration:underline;margin-top:6px;margin-left:auto}
.drawer-foot{padding:16px 20px;border-top:1px solid var(--line);display:grid;gap:10px}
.sum{display:flex;justify-content:space-between;font-weight:700;font-size:18px}
.drawer-empty{padding:36px 0;text-align:center;color:var(--ink-2)}

/* Commande */
.co{display:grid;grid-template-columns:1.2fr .8fr;gap:32px;padding:28px 0 56px;align-items:start}
.co h1{font-size:clamp(28px,4vw,40px);margin-bottom:18px}
.panel{background:#fff;border:1px solid var(--line);border-radius:14px;padding:22px}
.panel h2{font-size:20px;margin-bottom:14px}
.f{display:grid;gap:6px;margin-bottom:14px}
.f label{font-weight:600;font-size:14px}
.f input,.f textarea,.f select{font:inherit;border:1.5px solid var(--line);border-radius:var(--r);padding:10px 12px;width:100%;background:#fff}
.f input:focus,.f textarea:focus,.f select:focus{outline:none;border-color:var(--orange)}
.f .err{color:#b3261e;font-size:13px;min-height:0}
.f.bad input,.f.bad select{border-color:#b3261e}
.two{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.radio{display:grid;gap:8px}
.radio label{display:flex;gap:10px;align-items:flex-start;border:1.5px solid var(--line);border-radius:var(--r);padding:12px;cursor:pointer;font-weight:500}
.radio label:has(input:checked){border-color:var(--ink);background:var(--paper)}
.radio input{margin-top:4px;accent-color:var(--orange)}
.radio small{display:block;color:var(--muted)}
.pay-soon{background:var(--paper);border:1.5px dashed var(--line);border-radius:var(--r);padding:12px 14px;font-size:14px;color:var(--ink-2)}
.recap .line{grid-template-columns:1fr auto}
.ok{background:var(--green-t);border:1px solid #9fd8bb;border-radius:14px;padding:22px}
.ok h2{font-size:26px;margin-bottom:6px}
.ref-big{font:800 28px var(--f-display);letter-spacing:.02em}

/* Pied de page */
.foot{background:var(--ink);color:#c9d6ce;margin-top:24px;border-top:4px solid var(--gold)}
.foot-grid{display:grid;grid-template-columns:1.2fr 1fr 1fr;gap:32px;padding:44px 0 24px}
.foot h3{color:#fff;font-size:17px;margin-bottom:8px}
.foot p{margin:0 0 8px;font-size:15px}
.logo-foot{margin-bottom:12px;color:#fff}
.foot-end{border-top:1px solid #27402f;padding:16px 0;font-size:13px}
.toast{position:fixed;left:50%;bottom:22px;transform:translate(-50%,30px);background:var(--ink);color:#fff;padding:12px 18px;border-radius:var(--r);opacity:0;pointer-events:none;transition:.2s;z-index:60;font-weight:600}
.toast.show{opacity:1;transform:translate(-50%,0)}

/* Couleurs par famille */
.c-cuisson{background:#ffe3d1;color:#9a3a08}
.c-table{background:#dfe9fb;color:#1f4aa1}
.c-verrerie{background:#d5f0ef;color:#0c6b69}
.c-cuisine{background:#ffefb8;color:#7a5a00}
.c-electro{background:#e5dcf7;color:#53309f}
.c-mobilier{background:#e3ecd2;color:#476a14}
.c-deco{background:#fbdce7;color:#9b2150}
.c-entretien{background:#d8ecf8;color:#0f5f8c}
.c-exterieur{background:#fbe0cf;color:#8b3d12}

@media (max-width:980px){
  .hero-in{grid-template-columns:1fr;gap:28px;padding:36px 0}
  .grid{grid-template-columns:repeat(3,1fr)}
  .fam-list{grid-template-columns:repeat(2,1fr)}
  .pd,.co{grid-template-columns:1fr}
}
@media (max-width:680px){
  .bar{flex-wrap:wrap}
  .search{order:3;flex-basis:100%;max-width:none}
  .cart-btn span{display:none}
  .logo{margin-right:auto}
  .logo-img{height:42px}
  .grid{grid-template-columns:repeat(2,1fr);gap:10px}
  .fam-list,.strip-in,.foot-grid{grid-template-columns:1fr}
  .crates{gap:8px}
  .card-b{padding:10px}
  .card h3{font-size:14px}
  .price b{font-size:16px}
  .price{padding:5px 10px 5px 14px}
  .two{grid-template-columns:1fr}
  .sec{padding:36px 0}
}
@media (prefers-reduced-motion:reduce){
  *{transition:none!important;scroll-behavior:auto!important}
}
main:focus{outline:none}
.foot .muted{color:#9fb3a7}
.ph img{object-fit:contain;background:#fff}
.pd .note+.note{margin-top:12px}
.c-jeux{background:#ffe0e0;color:#a31d1d}
.c-securite{background:#e0e4ef;color:#2a3a6b}

/* ---------- Bouton WhatsApp flottant ---------- */
.wa-float{position:fixed;right:16px;bottom:16px;z-index:45;display:flex;align-items:center;gap:8px;background:#25d366;color:#fff;font-weight:700;text-decoration:none;padding:12px 16px;border-radius:99px;box-shadow:0 6px 18px rgba(0,0,0,.22)}
.wa-float:hover{background:#1ebe5a}
.wa-float svg{width:24px;height:24px}
@media (max-width:680px){.wa-float span{display:none}.wa-float{padding:13px}}
.visits{margin-left:6px;opacity:.85}
.btn.red{background:#b3202a;border-color:#b3202a;color:#fff}
.btn.red:hover{background:#8f1620;border-color:#8f1620}

/* ---------- Thème de Noël ---------- */
.noel{--noel:#b3202a;--noel-d:#8f1620}
.noel .top-note{background:linear-gradient(90deg,#8f1620,#b3202a 50%,#8f1620);color:#fff;font-weight:600;letter-spacing:.01em}
.noel .top{border-bottom-color:var(--gold)}
.noel-link{background:#b3202a;color:#fff!important;border-radius:99px}
.noel-link:hover{background:#8f1620!important}
.fam-nav a.noel-link[aria-current="page"]{background:#8f1620}
/* guirlande lumineuse sous l'en-tête */
.garland{position:absolute;left:0;right:0;top:100%;height:26px;pointer-events:none;z-index:2;
  background:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='120' height='26'><path d='M0 3 Q30 17 60 3 Q90 17 120 3' fill='none' stroke='%23333' stroke-width='1.3'/></svg>") repeat-x}
.garland::before,.garland::after{content:"";position:absolute;inset:0;background-repeat:repeat-x}
.garland::before{background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='120' height='26'><g><rect x='13.5' y='8.5' width='3' height='3' fill='%23444'/><ellipse cx='15' cy='14.5' rx='3.4' ry='4.6' fill='%23d62828'/><rect x='43.5' y='8.5' width='3' height='3' fill='%23444'/><ellipse cx='45' cy='14.5' rx='3.4' ry='4.6' fill='%231f9d55'/><rect x='73.5' y='8.5' width='3' height='3' fill='%23444'/><ellipse cx='75' cy='14.5' rx='3.4' ry='4.6' fill='%23d62828'/><rect x='103.5' y='8.5' width='3' height='3' fill='%23444'/><ellipse cx='105' cy='14.5' rx='3.4' ry='4.6' fill='%231f9d55'/></g></svg>");animation:twk 1.6s ease-in-out infinite alternate}
.garland::after{background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='120' height='26'><g><rect x='28.5' y='10.5' width='3' height='3' fill='%23444'/><ellipse cx='30' cy='16.5' rx='3.4' ry='4.6' fill='%23f2b705'/><rect x='58.5' y='2' width='3' height='3' fill='%23444'/><ellipse cx='60' cy='8' rx='3.4' ry='4.6' fill='%232d7ff9'/><rect x='88.5' y='10.5' width='3' height='3' fill='%23444'/><ellipse cx='90' cy='16.5' rx='3.4' ry='4.6' fill='%23f2b705'/><rect x='118.5' y='2' width='3' height='3' fill='%23444'/><ellipse cx='118' cy='8' rx='3.4' ry='4.6' fill='%232d7ff9'/></g></svg>");animation:twk 1.6s ease-in-out -.8s infinite alternate}
@keyframes twk{from{opacity:1}to{opacity:.3}}
/* neige */
#snow{position:fixed;inset:0;pointer-events:none;z-index:50;overflow:hidden}
#snow i{position:absolute;top:-12px;border-radius:50%;background:#fff;box-shadow:0 0 4px rgba(0,0,0,.25),0 0 2px #cfe3f5;animation:fall linear infinite}
@keyframes fall{to{transform:translate(var(--dx),105vh)}}
/* accueil */
.noel .hero{position:relative;overflow:hidden;background:linear-gradient(180deg,#fff 0,#fff6f4 100%)}
.noel-pill{display:inline-block;background:#b3202a;color:#fff;border-radius:99px;padding:6px 14px;font-size:14px;margin-bottom:14px}
.noel-pill b{color:#ffd96b}
.orn{position:absolute;left:0;right:0;top:0;height:0;z-index:1}
.bau{position:absolute;top:0;width:0;transform-origin:50% 0;animation:swing 3.4s ease-in-out infinite alternate}
.bau::before{content:"";position:absolute;left:0;top:0;width:1px;height:var(--len);background:#777}
.bau i{position:absolute;left:calc(var(--s) / -2);top:var(--len);width:var(--s);height:var(--s);border-radius:50%;background:radial-gradient(circle at 35% 30%,rgba(255,255,255,.85) 0 8%,var(--c1) 30%,var(--c2) 100%);box-shadow:0 2px 5px rgba(0,0,0,.25)}
.bau i::before{content:"";position:absolute;left:50%;top:-4px;width:8px;height:5px;margin-left:-4px;background:#d9b34a;border-radius:2px 2px 0 0}
@keyframes swing{from{transform:rotate(-5deg)}to{transform:rotate(5deg)}}
.noel-sec{padding-bottom:8px}
.noel-in{background:linear-gradient(180deg,#fff1ee,#fff);border:1px solid #f1c4bf;border-radius:18px;padding:26px 24px 28px;position:relative}
.noel-in::before{content:"";position:absolute;left:18px;right:18px;top:-1px;height:6px;border-radius:0 0 6px 6px;background:repeating-linear-gradient(45deg,#b3202a 0 10px,#fff 10px 20px)}
.noel-in .sec-head h2{color:#8f1620}
.noel .foot::before{content:"";display:block;height:6px;background:repeating-linear-gradient(45deg,#b3202a 0 12px,#fff 12px 24px)}
.noel .strip{background:linear-gradient(90deg,#0f3d1c,#17602a 50%,#0f3d1c)}
@media (prefers-reduced-motion:reduce){.bau,.garland::before,.garland::after{animation:none!important}}
@media (max-width:680px){.orn{display:none}.garland{height:20px;background-size:90px 20px}}
