/* Zentek Maroc — boutique (bleu Zentek, ciel, blanc) */
:root {
  color-scheme: light only;
  --ink: #0F1B4D; --ink-2: #1B2C70; --em: #0068B0; --em-d: #00559A; --em-2: #0080C8; --anis: #F6A821; --anis-d: #E08A0E; --anis-soft: #FDE7B8;
  --pist: #D8E7FA; --pist-2: #E3EEFB; --pist-3: #EEF4FD; --ground: #F5F8FD; --ph: #EBF2FC;
  --line: #D6E2F2; --line-2: #BFD2EA; --line-3: #E9F0FA; --muted: #55657A; --text-2: #3A4D66;
  --promo: #C2410C; --promo-bg: #FFEDD5; --out: #B42318; --white: #fff;
  --shadow-s: 0 1px 2px rgba(15,27,77,.05), 0 4px 14px -6px rgba(15,27,77,.12);
  --shadow: 0 1px 2px rgba(15,27,77,.04), 0 14px 34px -16px rgba(15,27,77,.22);
  --shadow-l: 0 30px 60px -24px rgba(15,27,77,.35);
  --r: 18px; --r-lg: 28px;
  --ease: cubic-bezier(.2,.7,.2,1); --spring: cubic-bezier(.34,1.56,.64,1);
  --f-head: 'Plus Jakarta Sans', system-ui, sans-serif; --f-body: Inter, system-ui, sans-serif; --f-ar: Almarai, 'Segoe UI', Tahoma, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--f-body); color: var(--ink); background: var(--ground); font-size: 16px; line-height: 1.55; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
body.no-scroll { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: var(--em); text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
a:hover { color: var(--ink); }
button { font-family: inherit; }
:focus-visible { outline: 3px solid var(--anis); outline-offset: 2px; border-radius: 6px; }
h1, h2, h3 { font-family: var(--f-head); letter-spacing: -0.025em; line-height: 1.1; margin: 0; }
h1 { font-size: clamp(30px, 4vw, 50px); font-weight: 800; letter-spacing: -0.035em; }
h2 { font-size: clamp(24px, 3vw, 38px); font-weight: 800; }
[lang="ar"] { font-family: var(--f-ar); letter-spacing: 0; }
.ic { flex: none; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { max-width: 1280px; margin: 0 auto; padding: 0 28px; }
.narrow { max-width: 880px; }
.center { text-align: center; }
.muted { color: var(--muted); font-weight: 500; }
.ar-soft { color: #8FA9CF; font-weight: 500; }
.h-ar { font-family: var(--f-ar); font-weight: 700; font-size: .55em; color: var(--em); margin-left: 8px; letter-spacing: 0; white-space: nowrap; }
.h-ar.big { font-size: 22px; margin: 10px 0 0; display: block; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 10px; font-size: 13px; font-weight: 700; color: var(--em); text-transform: uppercase; letter-spacing: .1em; }
.eyebrow-promo { color: var(--promo); }
.eyebrow-light { color: var(--anis); }
.lead { margin: 12px 0 0; font-size: 18px; color: var(--text-2); max-width: 720px; }
.empty { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 40px; text-align: center; color: var(--muted); background: #fff; border: 1.5px dashed var(--line-2); border-radius: var(--r); }
.section { padding-top: 88px; }
.sec-head { display: flex; flex-wrap: wrap; gap: 16px; align-items: flex-end; justify-content: space-between; margin-bottom: 28px; }
.more { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 15px; text-decoration: none; }
.more .ic { transition: transform .3s var(--ease); }
.more:hover .ic { transform: translateX(4px); }
.round { width: 46px; height: 46px; flex: none; border-radius: 50%; background: var(--pist); color: var(--em); display: inline-flex; align-items: center; justify-content: center; }

/* ---------- Boutons ---------- */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 0 24px; border-radius: 14px; border: 0; font: 700 16px var(--f-body); text-decoration: none; cursor: pointer; overflow: hidden; isolation: isolate; transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .25s, color .25s; }
.btn::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.35) 50%, transparent 70%); transform: translateX(-120%); transition: transform .7s var(--ease); }
.btn:hover::after { transform: translateX(120%); }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn:disabled { opacity: .5; cursor: not-allowed; transform: none; }
.btn .ic { transition: transform .3s var(--ease); }
.btn:hover .ic:last-child:not(:first-child) { transform: translateX(3px); }
.btn-lg { min-height: 56px; padding: 0 28px; font-size: 16px; }
.btn-sm { min-height: 42px; padding: 0 16px; font-size: 14px; border-radius: 12px; }
.btn-block { width: 100%; }
.btn-primary { background: var(--em); color: #fff; box-shadow: 0 10px 22px -12px rgba(0,104,176,.8); }
.btn-primary:hover { background: var(--em-d); color: #fff; }
.btn-accent { background: var(--anis); color: var(--ink); box-shadow: 0 10px 24px -12px rgba(224,138,14,.9); }
.btn-accent:hover { background: #F8C050; color: var(--ink); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { color: #fff; background: var(--ink-2); }
/* WhatsApp : vert de la marque WhatsApp (#25D366) ; version plus foncée pour les boutons avec texte (lisibilité) */
.btn-wa { background: #128C4A; color: #fff; box-shadow: 0 10px 24px -12px rgba(18,140,74,.8); }
.btn-wa:hover { background: #0E7A40; color: #fff; }
.btn-outline { background: #fff; color: var(--em); box-shadow: inset 0 0 0 1.5px var(--em); }
.btn-outline:hover { background: var(--pist-3); color: var(--em-d); }
.icon-btn { width: 44px; height: 44px; border: 0; border-radius: 12px; background: var(--ground); color: var(--ink); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; transition: background .2s, transform .2s; text-decoration: none; }
.icon-btn:hover { background: var(--pist-2); color: var(--em); }

/* ---------- En-tête fixe ---------- */
/* La zone d'en-tête garde toujours la hauteur de l'en-tête déplié (fixée en JS) :
   quand il se réduit au défilement, la page ne bouge pas, donc plus de va-et-vient. */
[data-region="header"] { position: sticky; top: 0; z-index: 60; pointer-events: none; }
[data-region="header"] > * { pointer-events: auto; }
.topbar { background: var(--ink); color: #D6E4F7; font-size: 13px; }
.topbar-in { display: flex; justify-content: space-between; align-items: center; gap: 8px 24px; min-height: 38px; }
.tb-msg, .tb-item { display: inline-flex; align-items: center; gap: 8px; }
.tb-msg .ic { color: var(--anis); }
.tb-ar { color: #9DB6D9; margin-left: 6px; }
.tb-right { display: inline-flex; gap: 22px; }
.tb-item { color: #D6E4F7; text-decoration: none; }
.tb-item .ic { color: var(--anis); }
.tb-item:hover { color: #fff; }
.site-header { position: relative; background: rgba(255,255,255,.94); -webkit-backdrop-filter: saturate(1.4) blur(12px); backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid var(--line); transition: box-shadow .3s; }
.is-scrolled .site-header { box-shadow: 0 10px 30px -18px rgba(15,27,77,.35); }
.header-in { display: flex; align-items: center; gap: 18px; padding-top: 14px; padding-bottom: 14px; transition: padding .3s var(--ease); }
.is-scrolled .header-in { padding-top: 9px; padding-bottom: 9px; }
.burger { display: none; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-family: var(--f-head); font-weight: 800; font-size: 21px; letter-spacing: -0.02em; white-space: nowrap; }
.logo:hover { color: var(--ink); }
.logo-mark { width: 42px; height: 42px; border-radius: 13px; background: var(--em); color: var(--anis); display: inline-flex; align-items: center; justify-content: center; box-shadow: 0 8px 18px -10px rgba(0,104,176,.9); transition: transform .5s var(--spring), width .3s, height .3s; }
.logo:hover .logo-mark { transform: rotate(-8deg) scale(1.06); }
.is-scrolled .logo-mark { width: 36px; height: 36px; }
.logo-img { display: block; height: 50px; width: auto; transition: height .3s var(--ease), transform .5s var(--spring); }
.logo:hover .logo-img { transform: scale(1.03); }
.is-scrolled .logo-img { height: 42px; }
.drawer-head .logo-img { height: 40px; }
.logo-light .logo-img { height: 54px; }
.mm-toggle { display: inline-flex; align-items: center; gap: 9px; height: 46px; padding: 0 16px; border-radius: 12px; border: 0; background: var(--ink); color: #fff; font: 700 15px var(--f-body); cursor: pointer; transition: background .2s; white-space: nowrap; }
.mm-toggle:hover, .mega-open .mm-toggle { background: var(--em); }
.mm-chev { transition: transform .35s var(--ease); }
.mega-open .mm-chev { transform: rotate(180deg); }
.search { position: relative; flex: 1; display: flex; min-width: 0; }
.search-ic { position: absolute; left: 15px; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.search input { flex: 1; min-width: 0; height: 46px; border: 1.5px solid var(--line-2); border-right: 0; border-radius: 12px 0 0 12px; padding: 0 14px 0 44px; font: 500 15px var(--f-body); background: #FAFCFF; color: var(--ink); transition: border-color .2s, box-shadow .2s, background .2s; }
.search input:focus { outline: none; border-color: var(--em); background: #fff; box-shadow: 0 0 0 4px rgba(0,104,176,.12); }
.search button { display: inline-flex; align-items: center; gap: 8px; height: 46px; padding: 0 18px; border: 0; border-radius: 0 12px 12px 0; background: var(--em); color: #fff; font: 700 14px var(--f-body); cursor: pointer; transition: background .2s; }
.search button:hover { background: var(--em-d); }
.hdr-wa { color: #1DA851; }
.hdr-wa:hover { background: #E3F7EA; color: #128C4A; }
.cart-btn { position: relative; display: inline-flex; align-items: center; gap: 8px; height: 46px; padding: 0 16px; border-radius: 12px; background: var(--anis); color: var(--ink); font-weight: 700; font-size: 15px; text-decoration: none; white-space: nowrap; transition: background .2s, transform .2s; }
.cart-btn:hover { background: #F8C050; color: var(--ink); }
.cart-count { min-width: 22px; height: 22px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 12px; display: inline-flex; align-items: center; justify-content: center; padding: 0 6px; }
.cart-count.bump { animation: bump .6s var(--spring); }
@keyframes bump { 0% { transform: scale(1); } 30% { transform: scale(1.5); background: var(--em); } 100% { transform: scale(1); } }
.subnav { display: grid; grid-template-rows: 1fr; transition: grid-template-rows .35s var(--ease), opacity .3s; border-top: 1px solid var(--line-3); }
.subnav > .wrap { overflow: hidden; width: 100%; max-width: 1280px; }
.is-scrolled .subnav { grid-template-rows: 0fr; opacity: 0; border-top-color: transparent; }
.subnav-in { display: flex; align-items: center; gap: 6px 26px; min-height: 0; }
.subnav-in a, .sn-note { display: inline-flex; align-items: center; gap: 7px; padding: 11px 0; font-weight: 600; font-size: 14px; color: var(--ink); text-decoration: none; position: relative; }
.subnav-in a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 6px; height: 2px; background: var(--em); border-radius: 2px; transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.subnav-in a:hover::after { transform: scaleX(1); }
.subnav-in a .ic { color: var(--em); }
.subnav-in a.sn-promo, .subnav-in a.sn-promo .ic { color: var(--promo); }
.sn-note { margin-left: auto; color: var(--muted); font-weight: 500; }
.sn-note .ic { color: var(--em); }

/* Méga-menu */
.megamenu { position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 30px 50px -30px rgba(15,27,77,.45); opacity: 0; visibility: hidden; transform: translateY(-10px); transition: opacity .3s var(--ease), transform .35s var(--ease), visibility .3s; max-height: calc(100vh - 150px); overflow-y: auto; overscroll-behavior: contain; }
.mega-open .megamenu { opacity: 1; visibility: visible; transform: none; }
.mm-in { display: grid; grid-template-columns: 1.35fr 1fr .8fr; gap: 36px; padding-top: 28px; padding-bottom: 32px; }
.mm-title { display: flex; align-items: center; gap: 8px; margin: 0 0 14px; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.mm-title .ic { color: var(--em); }
.mm-title span { text-transform: none; letter-spacing: 0; font-weight: 400; }
.mm-pests { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.mm-pest, .mm-cat { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 14px; text-decoration: none; color: var(--ink); transition: background .2s, transform .25s var(--ease); opacity: 0; transform: translateY(8px); }
.mega-open .mm-pest, .mega-open .mm-cat { opacity: 1; transform: none; transition: background .2s, transform .4s var(--ease) calc(var(--i) * 35ms), opacity .4s var(--ease) calc(var(--i) * 35ms); }
.mm-pest:hover, .mm-cat:hover { background: var(--pist-3); color: var(--ink); }
.mm-pest > span:not(.vis), .mm-cat > span:not(.vis) { flex: 1; display: flex; flex-direction: column; line-height: 1.25; }
.mm-pest strong { font-size: 15px; }
.mm-pest small, .mm-cat small { color: var(--muted); font-size: 13px; }
.mm-pest em, .mm-cat em { font-style: normal; font-size: 12px; font-weight: 700; color: var(--em); background: var(--pist-2); border-radius: 999px; padding: 2px 8px; }
.mm-cat span { font-weight: 600; font-size: 15px; }
.mm-go { color: var(--muted); transition: transform .25s var(--ease); }
.mm-cat:hover .mm-go { transform: translateX(3px); color: var(--em); }
.mm-pest .vis, .mm-cat .vis { width: 44px; height: 44px; }
.mm-cat .vis { width: 38px; height: 38px; border-radius: 11px; }
.mm-all { display: inline-flex; align-items: center; gap: 8px; margin: 12px 0 0 12px; font-weight: 700; text-decoration: none; }
.mm-aside { align-self: start; background: var(--ink); color: #D6E4F7; border-radius: 20px; padding: 24px; display: flex; flex-direction: column; gap: 10px; position: relative; overflow: hidden; }
.mm-aside::before { content: ''; position: absolute; width: 180px; height: 180px; border-radius: 50%; right: -60px; top: -60px; background: rgba(246,168,33,.14); }
.mm-aside strong { color: #fff; font-family: var(--f-head); font-size: 20px; line-height: 1.2; }
.mm-aside p { margin: 0 0 6px; font-size: 14px; }
.mm-aside .btn { align-self: flex-start; }
.mm-aside-ic { width: 50px; height: 50px; border-radius: 14px; background: #25D366; color: #fff; display: inline-flex; align-items: center; justify-content: center; }

/* Visuel catégorie / nuisible : photo ou icône */
.vis { width: 52px; height: 52px; flex: none; border-radius: 50%; background: var(--pist); color: var(--em); display: inline-flex; align-items: center; justify-content: center; overflow: hidden; transition: background .3s, color .3s, transform .4s var(--spring); }
.vis-img { background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.vis-img img { width: 100%; height: 100%; object-fit: cover; }

/* Panneaux latéraux (menu mobile, mini-panier) */
.scrim { position: fixed; inset: 0; z-index: 80; background: rgba(15,27,77,.5); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; }
.drawer-open .scrim, .cart-open .scrim { opacity: 1; visibility: visible; }
.drawer, .minicart { position: fixed; top: 0; bottom: 0; z-index: 90; width: min(380px, 88vw); background: #fff; display: flex; flex-direction: column; box-shadow: var(--shadow-l); visibility: hidden; transition: transform .45s var(--ease), visibility .45s; }
.drawer { left: 0; transform: translateX(-104%); }
.minicart { right: 0; transform: translateX(104%); width: min(420px, 92vw); }
.drawer-open .drawer, .cart-open .minicart { transform: none; visibility: visible; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px 14px 20px; border-bottom: 1px solid var(--line-3); }
.drawer-head .logo { font-size: 19px; }
.drawer-head .logo-mark { width: 36px; height: 36px; }
.drawer-body { flex: 1; overflow-y: auto; padding: 10px 0; }
.acc { border-bottom: 1px solid var(--line-3); }
.acc summary { list-style: none; display: flex; align-items: center; gap: 12px; padding: 16px 20px; font-weight: 700; cursor: pointer; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary .ic:first-child { color: var(--em); }
.acc-chev { margin-left: auto; transition: transform .3s var(--ease); color: var(--muted); }
.acc[open] .acc-chev { transform: rotate(180deg); }
.acc-links { padding: 0 12px 12px; display: flex; flex-direction: column; gap: 2px; animation: accIn .35s var(--ease); }
@keyframes accIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.acc-links a { display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 6px 10px; border-radius: 12px; text-decoration: none; color: var(--ink); font-weight: 600; }
.acc-links a:hover { background: var(--pist-3); }
.acc-links a > span:not(.vis) { flex: 1; }
.acc-links small { color: var(--muted); font-weight: 500; }
.acc-links .vis { width: 38px; height: 38px; }
.drawer-links { display: flex; flex-direction: column; padding: 10px 12px; }
.drawer-links a { display: flex; align-items: center; gap: 12px; min-height: 50px; padding: 0 10px; border-radius: 12px; text-decoration: none; color: var(--ink); font-weight: 600; }
.drawer-links a .ic { color: var(--em); }
.drawer-links a.sn-promo, .drawer-links a.sn-promo .ic { color: var(--promo); }
.drawer-links a:hover { background: var(--pist-3); }
.drawer-foot { padding: 16px 20px 22px; border-top: 1px solid var(--line-3); display: flex; flex-direction: column; gap: 12px; align-items: center; }
.drawer-tel { display: inline-flex; gap: 8px; align-items: center; font-weight: 600; text-decoration: none; }
.mc-title { display: inline-flex; align-items: center; gap: 10px; font-family: var(--f-head); font-size: 20px; }
.mc-title .ic { color: var(--em); }
.mc-body { flex: 1; display: flex; flex-direction: column; min-height: 0; }
.mc-lines { flex: 1; overflow-y: auto; padding: 8px 20px; }
.mc-line { display: flex; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line-3); animation: accIn .35s var(--ease) both; }
.mc-line img, .mc-thumb { width: 64px; height: 64px; object-fit: contain; background: var(--ph); border-radius: 12px; padding: 4px; flex: none; }
.mc-thumb { display: inline-flex; align-items: center; justify-content: center; color: var(--em); }
.mc-info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.mc-info a { font-weight: 700; color: var(--ink); text-decoration: none; font-size: 15px; line-height: 1.3; }
.mc-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.mc-foot { padding: 18px 20px 22px; border-top: 1px solid var(--line-3); display: flex; flex-direction: column; gap: 12px; background: var(--ground); }
.mc-empty { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 30px; text-align: center; color: var(--muted); }
.mc-empty .round { width: 72px; height: 72px; }
.qty-s { display: inline-flex; align-items: center; border: 1.5px solid var(--line-2); border-radius: 10px; overflow: hidden; }
.qty-s button { width: 36px; height: 36px; border: 0; background: #fff; color: var(--ink); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.qty-s button:hover { background: var(--pist-3); }
.qty-s span { min-width: 30px; text-align: center; font-weight: 700; font-size: 14px; }
.link-btn { border: 0; background: none; color: var(--out); font: 600 13px var(--f-body); cursor: pointer; display: inline-flex; align-items: center; gap: 4px; min-height: 36px; padding: 0; }

/* ---------- Carrousel ---------- */
.hero-wrap { padding-top: 26px; }
.hero { position: relative; height: clamp(440px, 58vh, 540px); border-radius: var(--r-lg); overflow: hidden; background: var(--ink); box-shadow: var(--shadow-l); }
.slide { position: absolute; inset: 0; background: radial-gradient(120% 120% at 85% 20%, rgba(255,255,255,.14), transparent 55%), var(--bg); opacity: 0; visibility: hidden; transition: opacity .9s var(--ease), visibility .9s; overflow: hidden; }
.slide.is-active { opacity: 1; visibility: visible; z-index: 1; }
.orb { position: absolute; border-radius: 50%; pointer-events: none; }
.orb-1 { width: 520px; height: 520px; right: -120px; top: -140px; border: 1.5px solid rgba(255,255,255,.12); animation: spin 40s linear infinite; }
.orb-1::after { content: ''; position: absolute; width: 22px; height: 22px; border-radius: 50%; background: var(--anis); top: 50%; left: -11px; box-shadow: 0 0 30px var(--anis); }
.orb-2 { width: 340px; height: 340px; right: 10%; bottom: -180px; background: rgba(246,168,33,.16); filter: blur(10px); animation: float 9s ease-in-out infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes float { 50% { transform: translate(-20px, -24px) scale(1.06); } }
.slide-media { position: absolute; right: 6%; top: 0; bottom: 0; width: 42%; display: flex; align-items: center; justify-content: center; }
.slide-media img { max-height: 86%; width: auto; object-fit: contain; filter: drop-shadow(0 30px 40px rgba(0,0,0,.35)); transform: scale(1.12) translateY(20px); opacity: 0; }
.slide.is-active .slide-media img { animation: heroImg 1.1s var(--ease) .15s forwards, kenburns calc(var(--dur) + 2s) ease-out 1.2s forwards; }
@keyframes heroImg { to { transform: scale(1) translateY(0); opacity: 1; } }
@keyframes kenburns { from { transform: scale(1); } to { transform: scale(1.05) translateY(-6px); } }
.slide-text { position: relative; z-index: 2; height: 100%; max-width: 640px; padding: 40px 60px 100px; display: flex; flex-direction: column; justify-content: center; justify-content: safe center; gap: 16px; color: #fff; overflow: hidden; }
.slide-text.fit-tight { gap: 12px; }
.slide-text.fit-tight .slide-p, .slide-text.fit-min .slide-ar { display: none; }
.slide.no-img .slide-text { max-width: 780px; }
.slide-text > * { opacity: 0; transform: translateY(22px); }
.slide.is-active .slide-text > * { animation: fadeUp .8s var(--ease) forwards; }
.slide.is-active .slide-text > *:nth-child(2) { animation-delay: .08s; }
.slide.is-active .slide-text > *:nth-child(3) { animation-delay: .16s; }
.slide.is-active .slide-text > *:nth-child(4) { animation-delay: .24s; }
.slide.is-active .slide-text > *:nth-child(5) { animation-delay: .32s; }
@keyframes fadeUp { to { opacity: 1; transform: none; } }
.slide-tag { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.18); color: var(--anis-soft); padding: 7px 14px; border-radius: 999px; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.slide-tag::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--anis); box-shadow: 0 0 0 4px rgba(246,168,33,.25); }
.slide h1, .slide .h1like { font-family: var(--f-head); font-size: clamp(28px, 3.6vw, 50px); font-weight: 800; line-height: 1.03; letter-spacing: -0.035em; margin: 0; color: #fff; text-wrap: balance; }
.slide-ar { margin: -4px 0 0; font-family: var(--f-ar); font-weight: 700; font-size: 21px; color: var(--anis-soft); text-align: left; }
.slide-p { margin: 0; font-size: 17px; color: rgba(255,255,255,.88); max-width: 500px; }
.slide-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; padding-top: 6px; }
.slide-price { display: flex; flex-direction: column; font-family: var(--f-head); font-weight: 800; font-size: 26px; line-height: 1.1; }
.slide-price small { font: 500 12px var(--f-body); color: rgba(255,255,255,.7); text-transform: uppercase; letter-spacing: .08em; }
.hero-ctrl { position: absolute; left: 60px; bottom: 30px; display: flex; gap: 14px; align-items: center; z-index: 3; }
.hero-btn { width: 44px; height: 44px; border: 1px solid rgba(255,255,255,.25); border-radius: 50%; background: rgba(255,255,255,.08); color: #fff; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: background .2s, transform .2s; }
.hero-btn:hover { background: rgba(255,255,255,.22); transform: scale(1.06); }
.dots { display: flex; gap: 8px; }
.dot { position: relative; width: 12px; height: 6px; border: 0; padding: 0; border-radius: 999px; background: rgba(255,255,255,.35); cursor: pointer; overflow: hidden; transition: width .4s var(--ease); }
.dot.is-active { width: 48px; }
.dot i { position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: var(--anis); border-radius: inherit; }
.dot.is-active i { animation: progress var(--dur) linear forwards; }
.hero.paused .dot.is-active i { animation-play-state: paused; }
@keyframes progress { to { width: 100%; } }

/* Bandeau défilant */
.ticker { margin-top: 26px; overflow: hidden; background: var(--em); color: #fff; mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.ticker-track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-track span { display: inline-flex; align-items: center; gap: 10px; padding: 15px 30px; font-weight: 600; font-size: 15px; white-space: nowrap; }
.ticker-track span .ic { color: var(--anis); }
.tk-dup { padding: 0 !important; gap: 0 !important; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Nuisibles, catégories ---------- */
.pest-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 16px; }
.pest { position: relative; display: flex; flex-direction: column; gap: 16px; background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 22px 20px 18px; text-decoration: none; color: var(--ink); box-shadow: var(--shadow-s); overflow: hidden; isolation: isolate; transition: transform .4s var(--ease), box-shadow .4s var(--ease), color .3s; }
.pest::before { content: ''; position: absolute; inset: 0; z-index: -1; background: var(--em); clip-path: circle(0% at 85% 15%); transition: clip-path .6s var(--ease); }
.pest:hover { transform: translateY(-6px); box-shadow: var(--shadow); color: #fff; }
.pest:hover::before { clip-path: circle(150% at 85% 15%); }
.pest .vis { width: 60px; height: 60px; }
.pest.has-img .vis { width: 72px; height: 72px; }
.pest:hover .vis:not(.vis-img) { background: var(--anis); color: var(--ink); animation: wiggle .6s var(--ease); }
@keyframes wiggle { 25% { transform: rotate(-12deg) scale(1.08); } 50% { transform: rotate(10deg) scale(1.08); } 75% { transform: rotate(-5deg); } }
.pest-name { display: flex; flex-direction: column; }
.pest-name strong { font-size: 18px; font-family: var(--f-head); }
.pest-name span { font-size: 15px; color: var(--muted); transition: color .3s; }
.pest:hover .pest-name span, .pest:hover small { color: var(--pist); }
.pest-foot { display: flex; align-items: center; justify-content: space-between; margin-top: auto; }
.pest-foot small { color: var(--muted); font-weight: 600; transition: color .3s; }
.pest-go { width: 36px; height: 36px; border-radius: 50%; background: var(--pist-3); color: var(--em); display: inline-flex; align-items: center; justify-content: center; transition: transform .4s var(--ease), background .3s; }
.pest:hover .pest-go { background: var(--anis); color: var(--ink); transform: translateX(4px) rotate(-45deg); }
.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.cat-tile { display: flex; align-items: center; gap: 16px; padding: 18px 20px; border-radius: 20px; background: #fff; border: 1px solid var(--line); text-decoration: none; color: var(--ink); box-shadow: var(--shadow-s); transition: transform .35s var(--ease), border-color .3s, box-shadow .35s; }
.cat-tile:hover { transform: translateY(-4px); border-color: var(--em); box-shadow: var(--shadow); color: var(--ink); }
.cat-tile .vis { width: 58px; height: 58px; border-radius: 16px; }
.cat-tile.has-img .vis { width: 84px; height: 84px; border-radius: 16px; }
.cat-tile:hover .vis:not(.vis-img) { background: var(--em); color: var(--anis); transform: rotate(-6deg); }
.cat-txt { flex: 1; display: flex; flex-direction: column; line-height: 1.3; }
.cat-txt strong { font-size: 17px; font-family: var(--f-head); }
.cat-txt span { color: var(--em); font-size: 14px; }
.cat-txt small { color: var(--muted); }
.cat-go { color: var(--muted); transition: transform .3s var(--ease), color .3s; }
.cat-tile:hover .cat-go { transform: translateX(4px); color: var(--em); }

/* Étapes */
.steps-box { position: relative; overflow: hidden; background: var(--ink); color: #D6E4F7; border-radius: var(--r-lg); padding: 48px; }
.steps-box::before { content: ''; position: absolute; width: 420px; height: 420px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.07); right: -140px; top: -160px; }
.steps-box h2 { color: #fff; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; position: relative; }
.steps::before { content: ''; position: absolute; top: 33px; left: 8%; right: 8%; border-top: 2px dashed rgba(246,168,33,.35); }
.steps li { position: relative; display: flex; flex-direction: column; gap: 10px; }
.step-ic { position: relative; width: 66px; height: 66px; border-radius: 20px; background: var(--anis); color: var(--ink); display: inline-flex; align-items: center; justify-content: center; box-shadow: 0 0 0 8px var(--ink); }
.step-ic b { position: absolute; top: -8px; right: -8px; width: 26px; height: 26px; border-radius: 50%; background: #fff; color: var(--ink); font-size: 13px; display: inline-flex; align-items: center; justify-content: center; }
.steps strong { color: #fff; font-size: 19px; font-family: var(--f-head); }
.steps p { margin: 0; font-size: 15px; }

/* Pro */
.pro-band { position: relative; overflow: hidden; background: var(--anis); border-radius: var(--r-lg); padding: 40px 44px; display: flex; flex-wrap: wrap; gap: 24px 32px; align-items: center; }
.pro-band::after { content: ''; position: absolute; width: 300px; height: 300px; border-radius: 50%; background: rgba(255,255,255,.22); right: -80px; bottom: -150px; }
.pro-ic { width: 70px; height: 70px; border-radius: 20px; background: var(--ink); color: var(--anis); display: inline-flex; align-items: center; justify-content: center; flex: none; }
.pro-txt { flex: 1 1 420px; position: relative; z-index: 1; }
.pro-band .h-ar { color: #1B2C70; }
.pro-list { list-style: none; margin: 14px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; font-weight: 600; color: #22385C; }
.pro-list li { display: inline-flex; align-items: center; gap: 6px; }
.pro-band .btn { position: relative; z-index: 1; }

/* ---------- Cartes produit ---------- */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 22px; }
.card { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 22px; overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--shadow-s); transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .3s; }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--line-2); }
.card-media { position: relative; display: flex; align-items: center; justify-content: center; aspect-ratio: 1 / .92; background: radial-gradient(80% 80% at 50% 40%, #fff 0%, var(--ph) 100%); padding: 22px; overflow: hidden; }
.card-img { max-height: 100%; width: auto; object-fit: contain; transition: transform .7s var(--ease); }
.card:hover .card-img { transform: scale(1.08) rotate(-1.5deg); }
.card.is-out .card-img { filter: grayscale(.6); opacity: .65; }
.badge { position: absolute; border-radius: 999px; padding: 5px 11px; font-size: 12px; font-weight: 800; letter-spacing: .02em; }
.badge-promo { top: 14px; left: 14px; background: var(--promo); color: #fff; box-shadow: 0 6px 14px -6px rgba(194,65,12,.8); }
.badge-out { top: 14px; right: 14px; background: var(--ink); color: #fff; }
.badge-inline { position: static; align-self: flex-start; }
.badge-lg { font-size: 15px; padding: 8px 14px; top: 20px; left: 20px; }
.card-body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card.no-media .card-media { display: none; }
.card.no-media .card-body { padding-top: 22px; }
.card-cat { align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; color: var(--em); background: var(--pist-3); border-radius: 999px; padding: 4px 10px; text-decoration: none; max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card-body h3 { font-family: var(--f-body); font-size: 16px; font-weight: 700; letter-spacing: 0; line-height: 1.35; }
.card-body h3 a { color: var(--ink); text-decoration: none; }
.card-body h3 a::after { content: ''; position: absolute; inset: 0; z-index: 0; }
.card-cat, .add-btn { position: relative; z-index: 1; }
.stk { display: inline-flex; align-items: center; gap: 7px; margin: 0; font-size: 13px; font-weight: 600; }
.stk i { position: relative; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.stk-in { color: #0A7350; }
.stk-in i::after { content: ''; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid currentColor; opacity: 0; animation: ping 2.4s ease-out infinite; }
.stk-out { color: var(--out); }
@keyframes ping { 0% { transform: scale(.4); opacity: .7; } 100% { transform: scale(1.4); opacity: 0; } }
.card-foot { margin-top: auto; padding-top: 6px; display: flex; justify-content: space-between; align-items: flex-end; gap: 10px; }
.price { display: flex; flex-direction: column; line-height: 1.2; }
.price s, .product-price s { color: var(--muted); font-size: 14px; }
.price strong { font-family: var(--f-head); font-weight: 800; font-size: 20px; }
.is-promo { color: var(--promo); }
.add-btn { width: 48px; height: 48px; flex: none; border: 0; border-radius: 15px; background: var(--em); color: #fff; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; transition: background .25s, transform .35s var(--spring); }
.add-btn:hover { background: var(--anis); color: var(--ink); transform: scale(1.08) rotate(-4deg); }
.add-btn:disabled { background: #C3CDDB; cursor: not-allowed; transform: none; }
.add-btn .ok-ic { display: none; }
.add-btn.added { background: var(--anis); color: var(--ink); animation: pop .5s var(--spring); }
.add-btn.added .add-ic { display: none; }
.add-btn.added .ok-ic { display: block; }
@keyframes pop { 40% { transform: scale(1.25); } }

/* Apparition au défilement */
.js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease) calc(var(--d, 0) * 70ms), transform .8s var(--ease) calc(var(--d, 0) * 70ms); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js .card[data-reveal].is-in { transition: opacity .8s var(--ease) calc(var(--d, 0) * 60ms), transform .45s var(--ease), box-shadow .45s var(--ease), border-color .3s; }
.js .pest[data-reveal].is-in, .js .cat-tile[data-reveal].is-in { transition: opacity .8s var(--ease) calc(var(--d, 0) * 60ms), transform .4s var(--ease), box-shadow .4s, color .3s, border-color .3s; }

/* ---------- Pages liste ---------- */
.page-top { padding-top: 26px; padding-bottom: 24px; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 14px; color: var(--muted); margin-bottom: 14px; }
.crumbs a { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; color: var(--muted); }
.crumbs a:hover { color: var(--em); }
.crumb-sep { opacity: .5; }
.page-hero { display: flex; align-items: center; gap: 24px; padding: 30px 34px; border-radius: var(--r-lg); background: radial-gradient(90% 140% at 100% 0%, var(--pist) 0%, transparent 60%), var(--pist-3); border: 1px solid var(--line); margin-bottom: 22px; }
.page-hero .vis { width: 84px; height: 84px; background: #fff; box-shadow: var(--shadow-s); }
.page-hero .vis-img { width: 104px; height: 104px; }
.ph-txt { flex: 1; min-width: 0; }
.page-title { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.page-title > .ic { color: var(--em); }
.toolbar { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: space-between; margin-bottom: 22px; }
.list-tools { display: flex; align-items: center; gap: 14px; margin-left: auto; }
.count { color: var(--muted); font-weight: 600; font-size: 14px; white-space: nowrap; }
.sort { flex-direction: row; display: flex; align-items: center; gap: 8px; height: 44px; padding: 0 6px 0 12px; border: 1.5px solid var(--line-2); border-radius: 12px; background: #fff; color: var(--em); }
.sort select { height: 40px; border: 0; background: transparent; font: 600 14px var(--f-body); color: var(--ink); cursor: pointer; }
.sort select:focus { outline: none; }
.chips-box { position: relative; display: flex; align-items: center; min-width: 0; flex: 1 1 0; }
.chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 2px; max-width: 100%; min-width: 0; flex: 1 1 auto; scroll-behavior: smooth; overscroll-behavior-x: contain; }
.chips.dragging { scroll-behavior: auto; cursor: grabbing; }
.chips.dragging .chip-btn { pointer-events: none; }
.chips-box.can-next .chips { -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 96px), transparent calc(100% - 40px)); mask-image: linear-gradient(90deg, #000 calc(100% - 96px), transparent calc(100% - 40px)); }
.chips-box.can-prev .chips { -webkit-mask-image: linear-gradient(90deg, transparent 40px, #000 96px); mask-image: linear-gradient(90deg, transparent 40px, #000 96px); }
.chips-box.can-prev.can-next .chips { -webkit-mask-image: linear-gradient(90deg, transparent 40px, #000 96px, #000 calc(100% - 96px), transparent calc(100% - 40px)); mask-image: linear-gradient(90deg, transparent 40px, #000 96px, #000 calc(100% - 96px), transparent calc(100% - 40px)); }
.chips-arr { position: absolute; top: 50%; z-index: 2; width: 40px; height: 40px; margin-top: -20px; border-radius: 50%; border: 1.5px solid var(--line-2); background: #fff; color: var(--ink); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; box-shadow: 0 6px 16px -8px rgba(15,27,77,.45); transition: background .2s, border-color .2s, color .2s, transform .2s; }
.chips-arr:hover { background: var(--em); border-color: var(--em); color: #fff; transform: scale(1.06); }
.chips-arr.prev { left: 0; }
.chips-arr.next { right: 0; }
.chips::-webkit-scrollbar { display: none; }
.chip-btn { display: inline-flex; align-items: center; gap: 7px; height: 42px; padding: 0 15px; border-radius: 999px; border: 1.5px solid var(--line-2); background: #fff; font: 600 14px var(--f-body); color: var(--ink); cursor: pointer; white-space: nowrap; transition: background .25s, border-color .25s, color .25s, transform .25s var(--spring); }
.chip-btn .ic { color: var(--em); transition: color .25s; }
.chip-btn:hover { border-color: var(--em); transform: translateY(-1px); }
.chip-btn.is-on { border-color: var(--em); background: var(--em); color: #fff; }
.chip-btn.is-on .ic { color: var(--anis); }
.search-info { margin: -6px 0 18px; color: var(--text-2); display: flex; align-items: center; gap: 8px; }
.grid .card.is-filtered { display: none; }
.grid .card.is-entering { animation: cardIn .5s var(--ease) both; }
@keyframes cardIn { from { opacity: 0; transform: translateY(14px) scale(.98); } to { opacity: 1; transform: none; } }

/* ---------- Fiche produit ---------- */
.product { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 52px; align-items: start; }
.product.no-media { grid-template-columns: minmax(0, 760px); }
.product.no-media .product-media { display: none; }
.product-media { position: sticky; top: 170px; background: radial-gradient(80% 80% at 50% 40%, #fff 0%, var(--ph) 100%); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow); aspect-ratio: 1 / 1; display: flex; align-items: center; justify-content: center; padding: 40px; overflow: hidden; cursor: zoom-in; }
.product-img { max-height: 100%; width: auto; object-fit: contain; transition: transform .3s var(--ease); }
.product-media.zooming .product-img { transform: scale(1.8); }
.product-info { display: flex; flex-direction: column; gap: 18px; }
.pi-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tag-link { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: 13px; font-weight: 600; color: var(--ink); text-decoration: none; transition: border-color .2s, background .2s; }
.tag-link .ic { color: var(--em); }
.tag-link:hover { border-color: var(--em); background: var(--pist-3); color: var(--ink); }
.stock-badge { align-self: flex-start; display: inline-flex; align-items: center; gap: 10px; margin: 0; padding: 8px 14px; border-radius: 999px; font-weight: 700; font-size: 14px; }
.stock-badge i { position: relative; width: 10px; height: 10px; border-radius: 50%; background: currentColor; }
.stock-badge.is-in { background: #DDF3E4; color: #0A6B4A; }
.stock-badge.is-in i::after { content: ''; position: absolute; inset: -5px; border-radius: 50%; border: 2px solid currentColor; animation: ping 2.2s ease-out infinite; }
.stock-badge.is-out { background: #FDE7E5; color: var(--out); }
.product-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; }
.product-price strong { font-family: var(--f-head); font-weight: 800; font-size: 42px; letter-spacing: -0.02em; }
.save { font-size: 14px; font-weight: 700; color: var(--promo); background: var(--promo-bg); padding: 4px 10px; border-radius: 999px; }
.buy { display: flex; flex-wrap: wrap; gap: 12px; }
.btn-grow { flex: 1 1 220px; }
.qty { display: flex; align-items: center; height: 56px; border: 1.5px solid var(--line-2); border-radius: 14px; background: #fff; overflow: hidden; }
.qty button { width: 48px; height: 100%; border: 0; background: transparent; color: var(--ink); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; transition: background .2s; }
.qty button:hover { background: var(--pist-3); }
.qty input { width: 48px; height: 100%; border: 0; text-align: center; font: 700 17px var(--f-body); color: var(--ink); -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.ticks { list-style: none; margin: 4px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; padding: 14px; background: #fff; border: 1px solid var(--line); border-radius: 16px; font-size: 13px; color: var(--muted); }
.ticks li .ic { color: var(--em); margin-top: 1px; }
.ticks li span { display: flex; flex-direction: column; }
.ticks li b { color: var(--ink); font-size: 14px; }
.tabs { margin-top: 56px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-s); overflow: hidden; }
.tab-list { position: relative; display: flex; gap: 4px; padding: 0 16px; border-bottom: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; }
.tab { display: inline-flex; align-items: center; gap: 8px; height: 60px; padding: 0 16px; border: 0; background: none; font: 600 15px var(--f-body); color: var(--muted); cursor: pointer; white-space: nowrap; transition: color .2s; }
.tab:hover, .tab.is-on { color: var(--ink); }
.tab.is-on .ic { color: var(--em); }
.tab-ink { position: absolute; bottom: -1px; height: 3px; border-radius: 3px; background: var(--em); transition: left .35s var(--ease), width .35s var(--ease); }
.tab-panel { padding: 28px 32px; animation: accIn .4s var(--ease); }
.buybar { display: none; }

/* ---------- Panier, commande ---------- */
.box { background: #fff; border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow-s); padding: 28px; margin: 0; }
fieldset.box { min-width: 0; }
legend { display: flex; align-items: center; gap: 10px; font-family: var(--f-head); font-weight: 800; font-size: 20px; padding: 0; margin-bottom: 16px; float: left; width: 100%; }
legend .ic { color: var(--em); }
legend + * { clear: both; }
label { display: flex; flex-direction: column; gap: 7px; font-size: 14px; font-weight: 600; }
label.full { margin-top: 16px; }
input, select, textarea { font: 500 15px var(--f-body); color: var(--ink); }
.fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; }
.box input:not([type=radio]):not([type=checkbox]), .box select, .box textarea { min-height: 50px; border: 1.5px solid var(--line-2); border-radius: 12px; padding: 0 14px; background: #fff; transition: border-color .2s, box-shadow .2s; }
.box textarea { padding: 12px 14px; resize: vertical; }
.box input:focus, .box select:focus, .box textarea:focus { outline: none; border-color: var(--em); box-shadow: 0 0 0 4px rgba(0,104,176,.12); }
.invalid { border-color: var(--out) !important; animation: shake .4s; }
@keyframes shake { 25% { transform: translateX(-5px); } 75% { transform: translateX(5px); } }
.co-steps { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 26px; padding: 0; }
.co-steps li { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: 14px; font-weight: 600; color: var(--muted); }
.co-steps li.done { color: var(--em); }
.co-steps li.on { background: var(--em); border-color: var(--em); color: #fff; }
.checkout { display: flex; flex-wrap: wrap; gap: 24px; align-items: flex-start; }
.co-main { flex: 999 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.co-side { flex: 1 1 340px; max-width: 430px; position: sticky; top: 170px; display: flex; flex-direction: column; gap: 14px; }
.co-side h2 { font-size: 22px; display: flex; align-items: center; gap: 10px; }
.deliv { display: flex; gap: 16px; align-items: center; background: var(--pist-3); border-radius: 16px; padding: 16px; transition: background .3s; }
.deliv.is-set { background: #E0F4E8; animation: accIn .4s var(--ease); }
.deliv strong { display: block; }
.opt { flex-direction: row; align-items: center; gap: 14px; border: 1.5px solid var(--line-2); border-radius: 16px; padding: 16px; margin-top: 10px; cursor: pointer; font-weight: 500; transition: border-color .2s, background .2s; }
.opt input { width: 20px; height: 20px; accent-color: var(--em); }
.opt-ic { width: 42px; height: 42px; border-radius: 12px; background: var(--pist-2); color: var(--em); display: inline-flex; align-items: center; justify-content: center; flex: none; }
.opt span:not(.opt-ic) { flex: 1; display: flex; flex-direction: column; }
.opt small { color: var(--text-2); font-size: 14px; }
.opt.is-on { border: 2px solid var(--em); background: var(--pist-3); }
.opt.is-disabled { border-style: dashed; background: var(--ground); color: #6B778C; cursor: not-allowed; }
.opt.is-disabled .opt-ic { background: #EDF0F5; color: #8A93A3; }
.opt em { font-style: normal; font-size: 12px; font-weight: 700; background: #E3E8F0; color: #4B5873; border-radius: 999px; padding: 4px 10px; }
.sum-line { display: flex; justify-content: space-between; gap: 12px; font-size: 15px; }
.sum-line span:first-child { color: var(--text-2); }
.sum-total { display: flex; justify-content: space-between; align-items: baseline; border-top: 1px solid var(--line-3); padding-top: 14px; }
.sum-total strong { font-family: var(--f-head); font-size: 28px; font-weight: 800; }
.sum-item { display: flex; gap: 12px; align-items: center; font-size: 14px; }
.sum-item img, .sum-item .mc-thumb { width: 52px; height: 52px; object-fit: contain; background: var(--ph); border-radius: 10px; padding: 4px; }
.sum-item span { flex: 1; }
.progress { background: var(--pist-3); border-radius: 14px; padding: 12px 14px; font-size: 14px; display: flex; flex-direction: column; gap: 8px; }
.progress .ic { color: var(--em); }
.progress-txt { display: flex; align-items: center; gap: 8px; }
.bar { height: 8px; border-radius: 999px; background: #D3E0F2; overflow: hidden; }
.bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--em), var(--em-2)); border-radius: 999px; transition: width .6s var(--ease); }
.cart-root { display: flex; flex-wrap: wrap; gap: 24px; align-items: flex-start; margin-top: 24px; }
.cart-lines { flex: 999 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.cart-line { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 14px; box-shadow: var(--shadow-s); animation: accIn .4s var(--ease) both; }
.cart-line img, .cart-line .mc-thumb { width: 84px; height: 84px; object-fit: contain; background: var(--ph); border-radius: 14px; padding: 6px; }
.cart-line .cl-name { flex: 1 1 200px; display: flex; flex-direction: column; gap: 4px; }
.cart-line .cl-name a { font-weight: 700; color: var(--ink); text-decoration: none; }
.cart-line .qty { height: 46px; }
.cart-line .qty button { width: 40px; }
.cl-total { font-weight: 800; min-width: 110px; text-align: right; font-family: var(--f-head); }
.confirm { text-align: center; max-width: 660px; margin: 24px auto; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.confirm .round { width: 88px; height: 88px; background: var(--em); color: #fff; animation: pop .7s var(--spring); }
.confirm .round .ic { width: 42px; height: 42px; }
.confirm-num { font-family: var(--f-head); font-size: 30px; font-weight: 800; color: var(--em); margin: 4px 0; }
.note { background: #FFF8E1; color: #5C4600; border-radius: 12px; padding: 12px 14px; font-size: 14px; }
.two-col { display: flex; flex-wrap: wrap; gap: 24px; align-items: flex-start; margin-top: 22px; }
.two-col > * { flex: 1 1 360px; }
.two-col form, .form-stack { display: flex; flex-direction: column; gap: 16px; }
.two-col form h2 { font-size: 22px; display: flex; gap: 10px; align-items: center; }
.two-col form h2 .ic { color: var(--em); }
.contact-list { list-style: none; display: flex; flex-direction: column; gap: 18px; }
.contact-list li { display: flex; gap: 14px; align-items: center; }
.contact-list li > span:last-child { display: flex; flex-direction: column; }
.prose { font-size: 17px; line-height: 1.8; color: var(--text-2); margin-top: 22px; }
.prose p:first-child { margin-top: 0; }
.art-cover { margin-top: 26px; background: radial-gradient(80% 80% at 50% 40%, #fff 0%, var(--ph) 100%); border-radius: var(--r-lg); display: flex; justify-content: center; padding: 28px; max-height: 440px; }
.art-cover img { max-height: 384px; object-fit: contain; }
.art-cta { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; margin-top: 32px; }
.art-cta > span:nth-child(2) { flex: 1 1 260px; display: flex; flex-direction: column; color: var(--muted); }
.art-cta strong { color: var(--ink); }
.art-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 22px; }
.art-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 22px; overflow: hidden; text-decoration: none; color: var(--ink); box-shadow: var(--shadow-s); transition: transform .4s var(--ease), box-shadow .4s; }
.art-card.no-media .art-img { display: none; }
.art-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); color: var(--ink); }
.art-img { height: 200px; background: radial-gradient(80% 80% at 50% 40%, #fff 0%, var(--ph) 100%); display: flex; align-items: center; justify-content: center; padding: 18px; overflow: hidden; }
.art-img img { max-height: 100%; object-fit: contain; transition: transform .7s var(--ease); }
.art-card:hover .art-img img { transform: scale(1.08); }
.art-body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.art-body small { display: inline-flex; align-items: center; gap: 6px; color: var(--em); font-weight: 700; }
.art-body strong { font-size: 19px; line-height: 1.3; font-family: var(--f-head); }
.art-body .more { margin-top: auto; }
.nf-ic { width: 96px; height: 96px; border-radius: 50%; background: var(--pist); color: var(--em); display: inline-flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.nf-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 24px; }

/* ---------- Pied de page ---------- */
.assure { margin-top: 96px; background: var(--pist-2); border-top: 1px solid var(--line); }
.assure-in { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 18px; padding-top: 28px; padding-bottom: 28px; }
.assure-item { display: flex; gap: 14px; align-items: center; }
.assure-item .round { background: #fff; width: 52px; height: 52px; }
.assure-item strong { display: block; font-size: 15px; }
.assure-item small { color: var(--muted); font-size: 13px; }
.site-footer { background: var(--ink); color: #BFD0EA; font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-top: 60px; padding-bottom: 36px; }
.footer-grid > div { display: flex; flex-direction: column; gap: 11px; }
.footer-grid a { color: #BFD0EA; text-decoration: none; transition: color .2s, transform .2s; }
.footer-grid a:hover { color: #fff; }
.f-brand p { margin: 6px 0 0; max-width: 320px; }
.logo-light { color: #fff; }
.logo-light:hover { color: #fff; }
.footer-title { color: #fff; font-weight: 700; font-size: 15px; margin-bottom: 4px; }
.f-contact a, .f-contact span { display: inline-flex; align-items: center; gap: 10px; }
.f-contact .ic { color: var(--anis); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; border-top: 1px solid #113A73; padding-top: 20px; padding-bottom: 96px; color: #9DB0D3; font-size: 13px; }
.pay-badges { display: inline-flex; flex-wrap: wrap; gap: 10px; }
.pay-badges span { display: inline-flex; align-items: center; gap: 6px; border: 1px solid #1E4C8F; border-radius: 999px; padding: 5px 11px; }
.pay-badges .ic { color: var(--anis); }
.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 40; display: inline-flex; gap: 8px; align-items: center; height: 56px; padding: 0 22px 0 18px; border-radius: 999px; background: #25D366; color: #fff; font-weight: 700; text-decoration: none; box-shadow: 0 14px 30px -10px rgba(18,140,74,.7); transition: transform .3s var(--spring), background .2s; }
.wa-float::before { content: ''; position: absolute; inset: 0; border-radius: inherit; border: 2px solid #25D366; animation: ping 2.8s ease-out infinite; }
.wa-float:hover { color: #fff; background: #1EBE5D; transform: scale(1.05); }
.to-top { position: fixed; right: 26px; bottom: 90px; z-index: 40; width: 46px; height: 46px; border: 0; border-radius: 50%; background: #fff; color: var(--ink); box-shadow: var(--shadow); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity .3s, transform .3s var(--ease), visibility .3s; }
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--anis); }
.toast { position: fixed; left: 50%; bottom: 96px; z-index: 120; display: inline-flex; align-items: center; gap: 10px; transform: translateX(-50%) translateY(20px); background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 14px; font-weight: 600; font-size: 14px; opacity: 0; pointer-events: none; transition: all .3s var(--ease); max-width: 90vw; box-shadow: var(--shadow-l); }
.toast.show { opacity: 1; transform: translateX(-50%); }
.toast .ic { color: var(--anis); }

/* ---------- Écrans moyens ---------- */
@media (max-width: 1100px) {
  .mm-in { grid-template-columns: 1.2fr 1fr; }
  .mm-aside { display: none; }
  .sn-note { display: none; }
  .tb-right .tb-item:first-child { display: none; }
  .hdr-wa { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .subnav, .mm-toggle, .megamenu, .tb-ar { display: none; }
  .burger { display: inline-flex; }
  .header-in { flex-wrap: wrap; gap: 10px 12px; }
  .logo { flex: 1; justify-content: center; font-size: 19px; }
  .logo-mark { width: 36px; height: 36px; }
  .logo-img, .is-scrolled .logo-img { height: 40px; }
  .cart-label { display: none; }
  .cart-btn { padding: 0 12px; }
  .search button span { display: none; }
  .search button { padding: 0 16px; }
  .search { order: 3; flex-basis: 100%; transition: max-height .35s var(--ease), opacity .3s, margin .3s; max-height: 60px; }
  .is-scrolled .search { max-height: 0; opacity: 0; margin-top: -10px; overflow: hidden; }
  .product { grid-template-columns: 1fr; gap: 28px; }
  .product-media { position: relative; top: 0; }
  .co-side { position: static; max-width: none; }
  .steps { grid-template-columns: 1fr; }
  .steps::before { top: 0; bottom: 0; left: 33px; right: auto; border-top: 0; border-left: 2px dashed rgba(246,168,33,.35); }
  .steps li { flex-direction: row; flex-wrap: wrap; align-items: center; column-gap: 18px; }
  .steps li p { flex-basis: 100%; padding-left: 84px; margin-top: -6px; }
}
/* ---------- Téléphone ---------- */
@media (max-width: 640px) {
  .wrap { padding: 0 16px; }
  .section { padding-top: 60px; }
  .topbar-in { justify-content: center; min-height: 34px; font-size: 12px; }
  .tb-right { display: none; }
  .hero-wrap { padding-top: 14px; }
  .hero { height: 470px; border-radius: 24px; }
  .slide-media { left: 0; right: 0; width: auto; top: 18px; bottom: auto; height: 42%; }
  .slide-media img { max-height: 100%; }
  .slide-text { justify-content: flex-end; justify-content: safe flex-end; padding: 20px 22px 80px; gap: 10px; }
  .slide.no-img .slide-text { justify-content: center; }
  .slide-p { display: none; }
  .slide-ar { font-size: 17px; }
  .slide-price { font-size: 21px; }
  .btn-lg { min-height: 52px; padding: 0 22px; }
  .hero-ctrl { left: 22px; bottom: 22px; }
  .hero-btn { display: none; }
  .orb-1 { width: 320px; height: 320px; }
  .ticker { margin-top: 16px; }
  .ticker-track span { padding: 12px 20px; font-size: 14px; }
  .pest-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .pest { padding: 16px 14px 14px; gap: 12px; border-radius: 18px; }
  .pest .vis { width: 50px; height: 50px; }
  .pest-name strong { font-size: 16px; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .card { border-radius: 18px; }
  .card-media { padding: 14px; }
  .card-cat { display: none; }
  .card-body { padding: 12px; gap: 6px; }
  .card-body h3 { font-size: 14px; }
  .stk { font-size: 12px; }
  .price strong { font-size: 16px; }
  .price s { font-size: 12px; }
  .add-btn { width: 44px; height: 44px; border-radius: 13px; }
  .badge { font-size: 11px; padding: 4px 8px; }
  .badge-promo { top: 10px; left: 10px; }
  .badge-out { top: 10px; right: 10px; }
  .steps-box { padding: 30px 22px; }
  .pro-band { padding: 28px 22px; }
  .page-hero { flex-direction: column; align-items: flex-start; padding: 22px; gap: 14px; }
  .page-hero .vis { width: 64px; height: 64px; }
  .toolbar { flex-direction: column; align-items: stretch; }
  .list-tools { margin-left: 0; justify-content: space-between; }
  .chips-box { flex: none; width: calc(100% + 32px); margin: 0 -16px; }
  .chips { padding: 2px 16px; }
  .chips-arr { display: none; }
  .ticks { grid-template-columns: 1fr; }
  .product-media { padding: 24px; }
  .product-price strong { font-size: 34px; }
  .tab-panel { padding: 20px; }
  .box { padding: 20px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .wa-float span { display: none; }
  .wa-float { width: 56px; padding: 0; justify-content: center; }
  .to-top { right: 24px; bottom: 88px; }
  .cl-total { min-width: 0; }
  .buybar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; display: flex; align-items: center; gap: 12px; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: rgba(255,255,255,.96); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-top: 1px solid var(--line); box-shadow: 0 -10px 30px -18px rgba(15,27,77,.4); transform: translateY(110%); transition: transform .4s var(--ease); }
  .buybar.show { transform: none; }
  .buybar > span { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.2; }
  .buybar small { color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .buybar strong { font-family: var(--f-head); font-size: 20px; }
  .has-buybar .wa-float, .has-buybar .to-top { bottom: 92px; }
  .has-buybar .to-top { bottom: 158px; }
}

/* Moins d'animations si l'utilisateur l'a demandé */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .slide-text > *, .slide-media img { opacity: 1; transform: none; }
  .ticker-track { animation: none; }
}
/* Mode sombre du téléphone : on garde volontairement les couleurs claires */
@media (prefers-color-scheme: dark) {
  :root { color-scheme: light only; }
  html, body { background-color: var(--ground); color: var(--ink); }
}
