/* =====================================================================
   LYTRON — STYLES (e-commerce shop layout)
   Light default + dark mode. Accent: electric blue #1763ff.
   ===================================================================== */

/* L'attribut HTML [hidden] doit toujours l'emporter sur les règles
   display des composants (.btn, .acct-btn…), sinon un élément masqué
   en JS resterait visible. */
[hidden] { display: none !important; }

/* ---------- TOKENS ---------- */
:root {
  --accent: #1763ff;
  --accent-2: #0ea5a8;
  --accent-ink: #0b3fb8;
  --wa: #25d366;

  --bg: #f4f6fb;
  --surface: #ffffff;
  --surface-2: #f8fafc;
  --line: #e6eaf2;
  --line-2: #eef1f7;
  --ink: #0f1828;
  --ink-soft: #46546b;
  --ink-faint: #7a879c;

  --shadow-sm: 0 1px 2px rgba(16,28,52,.06), 0 2px 8px rgba(16,28,52,.05);
  --shadow-md: 0 6px 22px rgba(16,28,52,.09);
  --shadow-lg: 0 18px 50px rgba(16,28,52,.16);

  --radius: 14px;
  --radius-sm: 10px;
  --radius-lg: 20px;

  --maxw: 1240px;

  --grad: linear-gradient(120deg, #1763ff, #0ea5a8);
  --sans: "Plus Jakarta Sans", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --display: "Space Grotesk", var(--sans);
}

body.dark {
  --bg: #0b1018;
  --surface: #121a27;
  --surface-2: #0f1622;
  --line: #243349;
  --line-2: #1c2939;
  --ink: #eef3fb;
  --ink-soft: #aab9d0;
  --ink-faint: #7388a5;

  --shadow-sm: 0 1px 2px rgba(0,0,0,.4);
  --shadow-md: 0 8px 26px rgba(0,0,0,.5);
  --shadow-lg: 0 22px 60px rgba(0,0,0,.6);
}

/* ---------- RESET ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  overflow-x: hidden;
  transition: background .3s, color .3s;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, select, textarea { font-family: inherit; font-size: 1rem; }
ul { list-style: none; }
h1, h2, h3, h4, h5 { font-family: var(--display); line-height: 1.15; font-weight: 700; color: var(--ink); }
section { padding: 4.5rem 0; }
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 1.25rem; }
::selection { background: rgba(23,99,255,.2); }

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .8rem 1.4rem; border-radius: var(--radius-sm);
  font-weight: 700; font-size: .95rem; white-space: nowrap;
  transition: transform .15s, box-shadow .2s, background .2s, color .2s, border-color .2s;
}
.btn-sm { padding: .55rem 1rem; font-size: .86rem; }
.btn-block { width: 100%; }
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 8px 20px rgba(23,99,255,.28); }
.btn-primary:hover { background: var(--accent-ink); transform: translateY(-2px); box-shadow: 0 12px 26px rgba(23,99,255,.36); }
.btn-ghost { background: var(--surface); color: var(--ink); border: 1.5px solid var(--line); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }
.btn-wa { background: var(--wa); color: #06351a; }
.btn-wa:hover { filter: brightness(1.05); transform: translateY(-2px); }

.icon-btn {
  width: 42px; height: 42px; border-radius: 11px; display: inline-flex; align-items: center; justify-content: center;
  background: var(--surface-2); border: 1px solid var(--line); font-size: 1.1rem; transition: .2s; color: var(--ink);
}
.icon-btn:hover { border-color: var(--accent); transform: translateY(-1px); }

/* ---------- TOPBAR ---------- */
.topbar {
  background: #0c1424; color: #cdd8ee; font-size: .82rem;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
body.dark .topbar { background: #070b12; }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; height: 38px; gap: 1rem; }
.topbar-left, .topbar-right { display: flex; align-items: center; gap: .85rem; }
.tb-item { display: inline-flex; align-items: center; gap: .35rem; white-space: nowrap; }
.tb-ico { font-size: .9rem; opacity: .9; }
.tb-sep { opacity: .4; }
.tb-link { transition: color .2s; }
.tb-link:hover { color: #fff; }
.tb-phone { font-weight: 800; color: #fff; letter-spacing: .2px; }
.tb-phone .tb-ico { font-size: 1rem; }
@media (max-width: 640px){ .topbar-left { display: none; } .topbar-inner { justify-content: center; } }

/* ---------- HEADER ---------- */
.header { background: var(--surface); border-bottom: 1px solid var(--line); position: relative; z-index: 30; }
.header-inner { display: flex; align-items: center; gap: 1.5rem; min-height: 72px; padding: .6rem 1.25rem; }
.logo { display: inline-flex; align-items: center; flex-shrink: 0; }
.logo-img { height: 42px; width: auto; }
.logo-img-dark { display: none; }
body.dark .logo-img-light { display: none; }
body.dark .logo-img-dark { display: block; }

.search {
  flex: 1; display: flex; align-items: center; gap: .5rem; max-width: 620px; min-width: 0;
  background: var(--surface-2); border: 1.5px solid var(--line); border-radius: 12px;
  padding: .3rem .3rem .3rem .9rem; transition: border-color .2s, box-shadow .2s;
}
.search:focus-within { border-color: var(--accent); box-shadow: 0 0 0 4px rgba(23,99,255,.12); }
.search-ico { font-size: .95rem; opacity: .6; }
.search-input { flex: 1; border: none; background: none; outline: none; color: var(--ink); padding: .5rem 0; min-width: 60px; }
.search-cat {
  border: none; background: none; color: var(--ink-soft); font-size: .86rem; font-weight: 600;
  border-left: 1px solid var(--line); padding: 0 .6rem; outline: none; max-width: 160px; cursor: pointer;
}
.search-btn { background: var(--accent); color: #fff; border-radius: 9px; padding: .55rem 1.1rem; font-weight: 700; font-size: .88rem; transition: background .2s; }
.search-btn:hover { background: var(--accent-ink); }

.header-tools { display: flex; align-items: center; gap: .7rem; flex-shrink: 0; }
.header-phone { display: inline-flex; align-items: center; gap: .55rem; }
.hp-ico { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgba(23,99,255,.1); color: var(--accent); font-size: 1.05rem; }
.hp-ico svg { width: 22px; height: 22px; }
.hp-text { display: flex; flex-direction: column; line-height: 1.2; }
.hp-label { font-size: .72rem; color: var(--ink-faint); }
.hp-num { font-weight: 800; font-size: .98rem; color: var(--ink); font-family: var(--display); }

.lang-switch { display: inline-flex; background: var(--surface-2); border: 1px solid var(--line); border-radius: 10px; padding: 2px; }
.lang-btn { padding: .35rem .6rem; border-radius: 8px; font-weight: 700; font-size: .78rem; color: var(--ink-faint); transition: .2s; }
.lang-btn.active { background: var(--accent); color: #fff; }

.cart-btn {
  display: inline-flex; align-items: center; gap: .5rem; position: relative;
  background: var(--accent); color: #fff; border-radius: 11px; padding: .55rem .9rem; font-weight: 700; font-size: .9rem;
  box-shadow: 0 8px 18px rgba(23,99,255,.26); transition: transform .15s, background .2s;
}
.cart-btn:hover { background: var(--accent-ink); transform: translateY(-1px); }
.cart-ico { font-size: 1.05rem; }
.cart-count {
  min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px; background: #fff; color: var(--accent);
  font-size: .74rem; font-weight: 800; display: grid; place-items: center;
}

/* ---------- NAV ---------- */
.mainnav { background: var(--surface); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 40; transition: box-shadow .2s; }
.mainnav.scrolled { box-shadow: var(--shadow-md); }
.mainnav-inner { display: flex; align-items: center; gap: 1rem; min-height: 52px; }
.mainnav-links { display: flex; align-items: center; gap: .35rem; flex: 1; }
.nav-link {
  display: inline-block; padding: .55rem .9rem; border-radius: 9px; font-weight: 600; font-size: .92rem; color: var(--ink-soft);
  transition: background .2s, color .2s;
}
.nav-link:hover, .nav-link.active { background: rgba(23,99,255,.09); color: var(--accent); }
.nav-quote { flex-shrink: 0; }
.burger { display: none; flex-direction: column; gap: 5px; width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 9px; align-items: center; justify-content: center; }
.burger span { width: 20px; height: 2px; background: var(--ink); border-radius: 2px; transition: .25s; }
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- PROMO BANNER ---------- */
.promo { padding: 3rem 0; background:
  radial-gradient(900px 360px at 85% -10%, rgba(23,99,255,.12), transparent 60%),
  radial-gradient(700px 320px at 5% 120%, rgba(14,165,168,.1), transparent 55%);
}
.promo-inner { display: grid; grid-template-columns: 1.15fr .85fr; gap: 2rem; align-items: center; }
.promo-badge { display: inline-flex; align-items: center; gap: .5rem; padding: .35rem .8rem; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-size: .78rem; font-weight: 700; color: var(--accent); box-shadow: var(--shadow-sm); }
.promo-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(23,99,255,.18); }
.promo-title { font-size: clamp(1.9rem, 4vw, 3rem); margin: 1rem 0 .8rem; letter-spacing: -.02em; }
.promo-sub { color: var(--ink-soft); font-size: 1.05rem; max-width: 46ch; }
.promo-actions { display: flex; gap: .8rem; flex-wrap: wrap; margin-top: 1.4rem; }
.promo-brands { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.6rem; }
.promo-brands .brand-logo { height: 38px; min-width: 74px; font-size: .86rem; padding: .45rem .85rem; }

.promo-visual { position: relative; height: 340px; display: grid; place-items: center; }
.pv-main { height: 300px; width: auto; filter: drop-shadow(0 30px 40px rgba(16,28,52,.25)); animation: floaty 6s ease-in-out infinite; }
.pv-side { position: absolute; width: auto; filter: drop-shadow(0 18px 26px rgba(16,28,52,.2)); }
.pv-s1 { height: 150px; left: 2%; bottom: 6%; animation: floaty 7s ease-in-out infinite .6s; }
.pv-s2 { height: 150px; right: 0%; top: 8%; animation: floaty 5.5s ease-in-out infinite 1s; }
.pv-tile { width: 190px; height: 120px; object-fit: cover; border-radius: 16px; border: 4px solid #fff; box-shadow: 0 18px 30px rgba(16,28,52,.28); filter: none; }
body.dark .pv-tile { border-color: rgba(255,255,255,.14); }
.pv-badge {
  position: absolute; left: 50%; bottom: -6px; transform: translateX(-50%);
  display: flex; align-items: center; gap: .55rem; background: var(--surface); border: 1px solid var(--line);
  border-radius: 999px; padding: .5rem 1rem; box-shadow: var(--shadow-md); font-size: .8rem; color: var(--ink-soft); white-space: nowrap;
}
.pv-badge b { font-family: var(--display); font-size: 1.1rem; color: var(--accent); }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
@media (prefers-reduced-motion: reduce){ .pv-main,.pv-side { animation: none; } }

/* ---------- INTERACTIVE CAR ---------- */
.carscene { padding: 3.6rem 0 1.4rem; background: linear-gradient(180deg, var(--bg) 0%, var(--surface-2,rgba(23,99,255,.04)) 100%); }
.cs-head { text-align: center; max-width: 640px; margin: 0 auto 1.6rem; }
.cs-title { font-family: var(--display); font-size: clamp(1.5rem,3.4vw,2.2rem); margin: .5rem 0 .3rem; color: var(--ink); }
.cs-sub { color: var(--ink-soft); font-size: .98rem; }
/* premium framed photo stage */
.cs-stage { position: relative; max-width: 960px; margin: 0 auto; aspect-ratio: 1500 / 762; border-radius: 22px; overflow: hidden;
  box-shadow: 0 34px 80px -30px rgba(6,12,28,.6), inset 0 0 0 1px rgba(255,255,255,.06);
  background:
    radial-gradient(120% 120% at 50% 18%, #1b2540 0%, #121a30 38%, #0b1020 70%, #070b16 100%); }
/* premium studio spotlight behind the car */
.cs-spot { position: absolute; left: 50%; top: 30%; width: 78%; height: 70%; transform: translate(-50%,-50%); z-index: 0; pointer-events: none;
  background: radial-gradient(closest-side, rgba(70,110,200,.45) 0%, rgba(40,70,150,.20) 45%, transparent 78%);
  filter: blur(6px); }
/* reflective floor line under the car */
.cs-floor { position: absolute; left: 50%; bottom: 16%; width: 86%; height: 2px; transform: translateX(-50%); z-index: 0; pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(120,160,240,.55), transparent);
  box-shadow: 0 0 26px 6px rgba(60,100,200,.30); }
.cs-car { position: absolute; left: 50%; top: 49%; transform: translate(-50%,-50%); width: 86%; height: auto; display: block; z-index: 1;
  filter: drop-shadow(0 26px 26px rgba(0,0,0,.55));
  -webkit-box-reflect: below 1px linear-gradient(transparent 62%, rgba(255,255,255,.14));
  transition: transform .9s cubic-bezier(.2,.8,.2,1); }
.cs-stage:hover .cs-car { transform: translate(-50%,-50%) scale(1.035); }

/* Hotspots = étiquettes toujours visibles avec flèche animée pointant la zone */
.hotspot { position: absolute; transform: translate(-50%,-100%); z-index: 3; display: flex; flex-direction: column; align-items: center; gap: 3px; background: none; border: 0; cursor: pointer; padding: 0; animation: hsFloat 2.4s ease-in-out infinite; }
.hotspot:nth-of-type(2){ animation-delay:.3s } .hotspot:nth-of-type(3){ animation-delay:.6s }
.hotspot:nth-of-type(4){ animation-delay:.9s } .hotspot:nth-of-type(5){ animation-delay:1.2s } .hotspot:nth-of-type(6){ animation-delay:1.5s }
.hs-label { font-size: .82rem; font-weight: 800; color: #fff; letter-spacing: .2px;
  background: linear-gradient(135deg, #2b74ff, #1763ff); padding: .36rem .8rem; border-radius: 999px; white-space: nowrap;
  box-shadow: 0 10px 24px -6px rgba(23,99,255,.7), inset 0 0 0 1px rgba(255,255,255,.22);
  display: inline-flex; align-items: center; gap: .35rem; transition: transform .2s, box-shadow .2s; }
.hs-emo { font-size: .9rem; line-height: 1; }
.hs-arrow { width: 0; height: 0; border-left: 7px solid transparent; border-right: 7px solid transparent; border-top: 10px solid #1763ff;
  filter: drop-shadow(0 3px 3px rgba(23,99,255,.5)); animation: hsArrow 1.1s ease-in-out infinite; }
.hs-pin { width: 12px; height: 12px; border-radius: 50%; background: #fff; border: 3px solid var(--accent); margin-top: -1px;
  box-shadow: 0 0 0 0 rgba(23,99,255,.55); animation: hsPulse 1.8s ease-out infinite; }
.hotspot:hover .hs-label, .hotspot:focus-visible .hs-label { transform: scale(1.09); box-shadow: 0 14px 30px -6px rgba(23,99,255,.85), inset 0 0 0 1px rgba(255,255,255,.3); }
@keyframes hsArrow { 0%,100%{ transform: translateY(0) } 50%{ transform: translateY(5px) } }
@keyframes hsFloat { 0%,100%{ transform: translate(-50%,-100%) } 50%{ transform: translate(-50%,calc(-100% - 4px)) } }
@keyframes hsPulse { 0%{ box-shadow:0 0 0 0 rgba(23,99,255,.5) } 70%{ box-shadow:0 0 0 11px rgba(23,99,255,0) } 100%{ box-shadow:0 0 0 0 rgba(23,99,255,0) } }
.cs-hint { text-align: center; font-size: .85rem; font-weight: 600; color: var(--ink-soft); margin: .9rem auto 0; }
body.dark .cs-glass { opacity: .8; }
@media (prefers-reduced-motion: reduce){ .cs-rim,.cs-shadow,.cs-light,.hs-pin,.hs-arrow,.hotspot,.cs-car-float { animation: none; } }
@media (max-width: 560px){ .hs-label { font-size: .68rem; padding: .28rem .55rem; } .hs-emo{ display:none } .carscene { padding: 2rem 0 .5rem; } }

/* ---------- ABOUT / QUI SOMMES-NOUS ---------- */
.about { padding: 3rem 0 1rem; }
.about-grid { max-width: 880px; }
.about-title { font-family: var(--display); font-size: clamp(1.5rem,3.4vw,2.2rem); color: var(--ink); margin: .5rem 0 .9rem; line-height: 1.15; }
.about-lead { font-size: 1.06rem; color: var(--ink); line-height: 1.7; margin: 0 0 .9rem; }
.about-p { color: var(--ink-soft); line-height: 1.7; margin: 0 0 1.4rem; }
.about-feats { display: grid; grid-template-columns: repeat(2,1fr); gap: .9rem; }
.about-feat { display: flex; align-items: flex-start; gap: .7rem; padding: .9rem 1rem; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm,0 6px 18px rgba(8,18,40,.06)); transition: transform .22s, box-shadow .22s; }
.about-feat:hover { transform: translateY(-3px); box-shadow: 0 16px 34px -12px rgba(18,71,201,.22); }
.af-ico { font-size: 1.5rem; line-height: 1; flex-shrink: 0; }
.about-feat strong { display: block; color: var(--ink); font-size: .98rem; margin-bottom: .15rem; }
.about-feat span { color: var(--ink-soft); font-size: .86rem; line-height: 1.45; }
@media (max-width: 620px){ .about-feats { grid-template-columns: 1fr; } }

/* ---------- STATS BAND ---------- */
.stats { padding: 2.4rem 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 1rem; }
.stat { text-align: center; padding: 1.2rem .6rem; border-radius: var(--radius,16px); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-md); transition: transform .25s, box-shadow .25s; }
.stat:hover { transform: translateY(-4px); box-shadow: 0 18px 36px rgba(18,71,201,.18); }
.stat-num { font-family: var(--display); font-size: clamp(1.7rem,3.6vw,2.6rem); font-weight: 800; color: var(--accent); line-height: 1; letter-spacing: -.02em; }
.stat-k { margin-top: .45rem; font-size: .82rem; color: var(--ink-soft); font-weight: 600; }
@media (max-width: 720px){ .stats-grid { grid-template-columns: repeat(2,1fr); } }

/* ---------- PARTNERS / MARQUES ---------- */
.partners { padding: 2.6rem 0 1rem; }
.brands-row { display: flex; flex-wrap: wrap; justify-content: center; gap: .8rem; margin-top: 1.4rem; }
.brand-chip { font-family: var(--display); font-weight: 700; font-size: clamp(.95rem,1.6vw,1.2rem); letter-spacing: .3px; color: var(--ink-soft); padding: .55rem 1.1rem; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); box-shadow: var(--shadow-sm,0 4px 12px rgba(8,18,40,.05)); transition: transform .2s, color .2s, border-color .2s, box-shadow .2s; }
.brand-chip:hover { transform: translateY(-3px); color: var(--accent); border-color: color-mix(in srgb, var(--accent) 45%, transparent); box-shadow: 0 12px 26px -10px rgba(18,71,201,.35); }
/* Wordmark "logo" badges (couleurs de marque) */
.brand-logo { display: inline-flex; align-items: center; justify-content: center; font-family: var(--display); font-weight: 800; font-size: clamp(.92rem,1.5vw,1.12rem); letter-spacing: .2px; padding: .6rem 1.15rem; min-width: 92px; height: 46px; border-radius: 10px; box-shadow: var(--shadow-sm,0 4px 12px rgba(8,18,40,.08)); transition: transform .2s, box-shadow .2s; text-transform: uppercase; }
.brand-logo:hover { transform: translateY(-3px) scale(1.03); box-shadow: 0 14px 30px -10px rgba(8,18,40,.4); }
.brand-logo-plain { background: var(--surface); color: var(--ink-soft); border: 1px solid var(--line); }

/* ---------- VALEURS ---------- */
.values { padding: 2.6rem 0; }
.val-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 1rem; margin-top: 1.4rem; }
.val-card { text-align: center; padding: 1.6rem 1rem; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm,0 6px 18px rgba(8,18,40,.06)); transition: transform .25s, box-shadow .25s; }
.val-card:hover { transform: translateY(-5px); box-shadow: 0 22px 44px -16px rgba(18,71,201,.28); }
.val-ico { font-size: 2rem; display: block; margin-bottom: .5rem; }
.val-card h3 { font-size: 1.02rem; color: var(--ink); margin: 0 0 .35rem; }
.val-card p { font-size: .86rem; color: var(--ink-soft); line-height: 1.5; margin: 0; }
@media (max-width: 820px){ .val-grid { grid-template-columns: repeat(2,1fr); } }

/* ---------- FAMILLES DE PRODUITS ---------- */
.families { padding: 3rem 0 1rem; }
.fam-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.1rem; margin-top: 1.6rem; }
.fam-card { position: relative; display: block; text-align: left; padding: 0; border: 0; cursor: pointer; border-radius: 18px; overflow: hidden; min-height: 230px; background: #0b1018; box-shadow: 0 16px 40px -18px rgba(8,18,40,.5); transition: transform .28s, box-shadow .28s; isolation: isolate; }
.fam-card:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -22px rgba(18,71,201,.5); }
.fam-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; transition: transform .6s cubic-bezier(.2,.8,.2,1); }
.fam-card:hover img { transform: scale(1.07); }
.fam-ov { position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(8,12,22,.05) 0%, rgba(8,12,22,.55) 58%, rgba(6,10,18,.92) 100%); }
.fam-grad { background: linear-gradient(150deg, #16223c 0%, #0c1424 100%); }
.fam-grad.fg-adblue { background: linear-gradient(150deg, #0d3b5c 0%, #0a1626 100%); }
.fam-grad.fg-brakes { background: linear-gradient(150deg, #4a1320 0%, #160c14 100%); }
.fam-grad.fg-industrial { background: linear-gradient(150deg, #243046 0%, #0c1320 100%); }
.fam-ico { position: absolute; top: 1rem; right: 1.1rem; font-size: 2.4rem; z-index: 1; opacity: .9; filter: drop-shadow(0 4px 10px rgba(0,0,0,.4)); }
.fam-body { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 1.1rem 1.2rem 1.2rem; display: flex; flex-direction: column; gap: .3rem; }
.fam-name { font-family: var(--display); font-weight: 800; font-size: 1.12rem; color: #fff; line-height: 1.15; }
.fam-desc { font-size: .82rem; color: rgba(233,240,252,.82); line-height: 1.45; max-height: 0; opacity: 0; overflow: hidden; transition: max-height .35s ease, opacity .3s ease, margin .3s ease; }
.fam-go { font-size: .8rem; font-weight: 800; color: #7fb0ff; margin-top: .3rem; transform: translateX(-4px); opacity: .85; transition: transform .25s, opacity .25s; }
.fam-card:hover .fam-desc, .fam-card:focus-visible .fam-desc { max-height: 80px; opacity: 1; margin-top: .15rem; }
.fam-card:hover .fam-go { transform: translateX(0); opacity: 1; }
@media (max-width: 880px){ .fam-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 540px){ .fam-grid { grid-template-columns: 1fr; } .fam-desc { max-height: 80px; opacity: 1; } }

/* ---------- MARQUEE ---------- */
.marquee { background: var(--accent); overflow: hidden; padding: .55rem 0; }
.marquee-track { display: inline-flex; gap: 2.5rem; white-space: nowrap; animation: marq 28s linear infinite; will-change: transform; }
.marquee-track span { color: rgba(255,255,255,.95); font-weight: 600; font-size: .9rem; display: inline-flex; align-items: center; }
.marquee-track span::after { content: "•"; margin-left: 2.5rem; opacity: .5; }
@keyframes marq { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce){ .marquee-track { animation: none; } }

/* ---------- SHOP LAYOUT ---------- */
.shop { padding: 2.5rem 0 4rem; }
.shop-inner { display: grid; grid-template-columns: 264px 1fr; gap: 1.75rem; align-items: start; }

/* Sidebar */
.sidebar { position: sticky; top: calc(52px + 1rem); }
.sidebar-toggle { display: none; }
.side-block { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.1rem 1.15rem; margin-bottom: 1.1rem; box-shadow: var(--shadow-sm); }
.side-title { font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-faint); margin-bottom: .9rem; padding-bottom: .65rem; border-bottom: 1px solid var(--line-2); }
.side-cats li { margin-bottom: .12rem; }
.side-cat {
  width: 100%; display: flex; align-items: center; gap: .55rem; padding: .55rem .6rem; border-radius: 9px;
  font-size: .92rem; color: var(--ink-soft); font-weight: 600; transition: background .15s, color .15s; text-align: left;
}
.side-cat:hover { background: var(--surface-2); color: var(--ink); }
.side-cat.active { background: rgba(23,99,255,.1); color: var(--accent); }
.side-cat .sc-ico { width: 20px; text-align: center; }
.side-cat .sc-name { flex: 1; }
.side-cat .sc-count { font-size: .75rem; font-weight: 700; color: var(--ink-faint); background: var(--surface-2); border-radius: 999px; padding: .1rem .5rem; }
.side-cat.active .sc-count { background: rgba(23,99,255,.16); color: var(--accent); }

.side-brands { display: flex; flex-wrap: wrap; gap: .45rem; }
.brand-pill {
  padding: .4rem .75rem; border-radius: 999px; border: 1.5px solid var(--line); background: var(--surface-2);
  font-size: .82rem; font-weight: 600; color: var(--ink-soft); transition: .15s;
}
.brand-pill:hover { border-color: var(--accent); color: var(--accent); }
.brand-pill.active { background: var(--accent); border-color: var(--accent); color: #fff; }

/* Toolbar */
.shop-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; flex-wrap: wrap; }
.shop-count { font-weight: 700; color: var(--ink-soft); }
.shop-count span { color: var(--accent); }
.shop-sort { display: flex; align-items: center; gap: .55rem; }
.shop-sort label { font-size: .85rem; color: var(--ink-faint); font-weight: 600; }
.shop-sort select { border: 1.5px solid var(--line); background: var(--surface); color: var(--ink); border-radius: 10px; padding: .5rem .7rem; font-weight: 600; font-size: .88rem; outline: none; cursor: pointer; }
.shop-sort select:focus { border-color: var(--accent); }

.active-chips { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.1rem; }
.active-chips:empty { display: none; }
.chip { display: inline-flex; align-items: center; gap: .4rem; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: .35rem .75rem; font-size: .8rem; font-weight: 600; color: var(--ink-soft); }
.chip button { color: var(--ink-faint); font-weight: 800; line-height: 1; }
.chip button:hover { color: var(--accent); }
.chip-clear { color: var(--accent); font-weight: 700; font-size: .8rem; background: none; padding: .35rem .4rem; }

/* Product grid */
.products-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; }
.product {
  position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  display: flex; flex-direction: column; overflow: hidden; box-shadow: var(--shadow-sm);
  transition: transform .2s, box-shadow .2s, border-color .2s; --p-accent: var(--accent);
}
.product:hover { transform: translateY(-8px); box-shadow: 0 26px 50px -12px color-mix(in srgb, var(--p-accent) 35%, rgba(16,28,52,.4)); border-color: color-mix(in srgb, var(--p-accent) 55%, var(--line)); }
.product-media {
  position: relative; height: 200px; display: grid; place-items: center; padding: 1.2rem; overflow: hidden;
  background:
    radial-gradient(120px 120px at 50% 38%, color-mix(in srgb, var(--p-accent) 14%, transparent), transparent 70%),
    var(--surface-2);
  border-bottom: 1px solid var(--line-2);
}
/* sheen sweep on hover */
.product-media::after {
  content: ""; position: absolute; top: 0; left: -60%; width: 45%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.55), transparent);
  transform: skewX(-18deg); transition: left .6s ease; pointer-events: none;
}
.product:hover .product-media::after { left: 130%; }
.product-media img { max-height: 165px; width: auto; object-fit: contain; transition: transform .35s cubic-bezier(.2,.8,.2,1); filter: drop-shadow(0 12px 18px rgba(16,28,52,.16)); position: relative; z-index: 1; }
.product:hover .product-media img { transform: scale(1.1) rotate(-1deg); }
@media (prefers-reduced-motion: reduce){ .product-media::after { display: none; } .product:hover .product-media img { transform: none; } }
.product-tag {
  position: absolute; top: .7rem; left: .7rem; font-size: .68rem; font-weight: 700; letter-spacing: .02em;
  padding: .2rem .55rem; border-radius: 999px; background: color-mix(in srgb, var(--p-accent) 14%, var(--surface));
  color: var(--p-accent); border: 1px solid color-mix(in srgb, var(--p-accent) 30%, transparent);
}
.product-feat-badge {
  position: absolute; top: .7rem; right: .7rem; width: 26px; height: 26px; border-radius: 50%;
  display: grid; place-items: center; background: var(--accent); color: #fff; font-size: .8rem; box-shadow: 0 4px 10px rgba(23,99,255,.35);
}
.product-body { padding: 1rem 1rem 1.1rem; display: flex; flex-direction: column; flex: 1; }
.product-body h3 { font-size: 1.02rem; margin-bottom: .35rem; }
.product-desc { display: none; }
.product-meta { margin: .1rem 0 .9rem; }
.pm-row { display: flex; flex-direction: column; gap: 1px; margin-bottom: .45rem; }
.pm-k { font-size: .68rem; text-transform: uppercase; letter-spacing: .05em; color: var(--ink-faint); font-weight: 700; }
.pm-v { font-size: .86rem; color: var(--ink-soft); }
.product-actions { margin-top: auto; display: flex; gap: .5rem; }
.btn-add { flex: 1; background: var(--accent); color: #fff; border-radius: 10px; padding: .65rem .8rem; font-weight: 700; font-size: .85rem; transition: background .2s, transform .15s; }
.btn-add:hover { background: var(--accent-ink); transform: translateY(-1px); }
.btn-add.ok { background: var(--wa); color: #06351a; }
.btn-pwa {
  width: 44px; flex-shrink: 0; border: 1.5px solid var(--line); border-radius: 10px; color: var(--wa);
  display: grid; place-items: center; transition: .2s; background: var(--surface); font-size: 0;
}
.btn-pwa::before { content: "💬"; font-size: 1.1rem; }
.btn-pwa:hover { border-color: var(--wa); background: rgba(37,211,102,.1); }

/* Placeholder for products without image */
.ph { width: 100%; height: 100%; display: grid; place-items: center; padding: 10px; }
/* ---- Contenant produit stylisé (bidon / fût / IBC) ---- */
.ph-vessel { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: flex-end;
  background: linear-gradient(150deg, color-mix(in srgb, var(--p-accent) 62%, #fff) 0%, color-mix(in srgb, var(--p-accent) 88%, #000) 100%);
  box-shadow: var(--shadow-md), inset 0 2px 6px rgba(255,255,255,.25); }
.ph-vessel::before { content: ""; position: absolute; top: 10px; left: 14%; width: 12px; height: 64%; border-radius: 8px; background: rgba(255,255,255,.28); filter: blur(2px); }
.ph-vessel::after { content: ""; position: absolute; top: -13px; width: 30px; height: 18px; border-radius: 5px 5px 3px 3px; background: color-mix(in srgb, var(--p-accent) 72%, #000); box-shadow: inset 0 -2px 3px rgba(0,0,0,.25); }
.ph-cap2 { display: none; }
/* bidon / jerrycan */
.ph-can { width: 100px; height: 132px; border-radius: 10px 16px 14px 14px; }
.ph-can::after { right: 20px; }
/* fût / drum */
.ph-drum { width: 118px; height: 140px; border-radius: 16px / 9px;
  background-image: linear-gradient(150deg, color-mix(in srgb, var(--p-accent) 62%, #fff), color-mix(in srgb, var(--p-accent) 90%, #000)),
    repeating-linear-gradient(0deg, transparent 0 30px, rgba(0,0,0,.10) 30px 33px); }
.ph-drum::after { left: 50%; transform: translateX(-50%); width: 0; height: 0; }
.ph-drum::before { left: 12%; }
/* IBC cube */
.ph-ibc2 { width: 124px; height: 130px; border-radius: 8px;
  background-image: linear-gradient(150deg, color-mix(in srgb, var(--p-accent) 55%, #fff), color-mix(in srgb, var(--p-accent) 85%, #000)),
    repeating-linear-gradient(0deg, transparent 0 16px, rgba(0,0,0,.12) 16px 18px),
    repeating-linear-gradient(90deg, transparent 0 16px, rgba(0,0,0,.12) 16px 18px); }
.ph-ibc2::after { display: none; }
/* étiquette blanche */
.ph-label2 { position: relative; z-index: 2; width: 80%; margin-bottom: 14px; background: rgba(255,255,255,.94); border-radius: 6px; padding: 7px 6px 6px; display: flex; flex-direction: column; align-items: center; gap: 1px; box-shadow: 0 3px 8px rgba(0,0,0,.18); }
.ph-brand { font-family: var(--display); font-weight: 800; font-size: .62rem; letter-spacing: .04em; text-transform: uppercase; color: color-mix(in srgb, var(--p-accent) 78%, #000); line-height: 1; }
.ph-pname { font-family: var(--display); font-weight: 800; font-size: .72rem; color: #0c1424; text-align: center; line-height: 1.1; max-width: 100%; }
.ph-grade { font-size: .56rem; font-weight: 700; color: #5b6b86; text-align: center; line-height: 1; margin-top: 1px; }
/* boîte (filtres / disques) */
.ph-box { width: 116px; min-height: 110px; border-radius: 14px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; padding: 12px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.ph-box-ico { font-size: 2.1rem; line-height: 1; }
.ph-box-name { font-family: var(--display); font-weight: 800; font-size: .74rem; color: var(--ink); text-align: center; line-height: 1.12; }
.ph-box-sub { font-size: .6rem; font-weight: 700; color: var(--ink-faint); text-align: center; }
body.dark .ph-label2 { background: rgba(248,250,255,.96); }

.no-results { text-align: center; padding: 3rem 1rem; color: var(--ink-soft); }
.nr-ico { font-size: 2.4rem; margin-bottom: .6rem; }
.no-results p { margin-bottom: 1rem; }

/* ---------- SECTION HEADINGS ---------- */
.section-soft { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 640px; margin-bottom: 2.2rem; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.eyebrow { display: inline-block; font-size: .76rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); margin-bottom: .7rem; }
.section-head h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); letter-spacing: -.02em; margin-bottom: .6rem; }
.lead { color: var(--ink-soft); font-size: 1.05rem; }

/* ---------- SEGMENTS ---------- */
.seg-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; align-items: start; }
.seg { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); transition: box-shadow .2s, border-color .2s; overflow: hidden; }
body.dark .section-soft .seg { background: var(--surface-2); }
.seg:hover { box-shadow: var(--shadow-md); }
.seg.open { border-color: var(--accent); box-shadow: 0 14px 34px rgba(23,99,255,.16); }
.seg-head { width: 100%; display: flex; align-items: center; gap: .9rem; padding: 1.2rem 1.3rem; background: none; border: 0; cursor: pointer; text-align: left; font: inherit; color: inherit; }
.seg-ico { flex: 0 0 auto; width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; font-size: 1.4rem; background: rgba(23,99,255,.1); }
.seg-htxt { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: .15rem; }
.seg-title { font-size: 1.02rem; font-weight: 800; font-family: var(--display); }
.seg-sub { font-size: .85rem; color: var(--ink-soft); }
.seg-chev { flex: 0 0 auto; font-size: 1.5rem; line-height: 1; color: var(--accent); transition: transform .25s; }
.seg.open .seg-chev { transform: rotate(180deg); }
.seg-detail { max-height: 0; overflow: hidden; transition: max-height .35s ease; padding: 0 1.3rem; }
.seg.open .seg-detail { max-height: 720px; padding-bottom: 1.3rem; }
.seg-block { padding: .85rem 0; border-top: 1px solid var(--line); }
.seg-lbl { display: inline-block; font-size: .72rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; margin-bottom: .35rem; color: var(--accent); }
.seg-pain .seg-lbl { color: #e0892a; }
.seg-sol .seg-lbl { color: var(--wa, #25d366); }
.seg-block p { font-size: .9rem; color: var(--ink-soft); line-height: 1.55; }
.seg-cta { display: inline-block; margin-top: 1rem; font-size: .88rem; font-weight: 700; color: var(--accent); }
.seg-cta:hover { color: var(--accent-ink); }
@media (max-width: 720px) { .seg-grid { grid-template-columns: 1fr; } }

/* ---------- QUOTE / BASKET ---------- */
.quote-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; align-items: start; }
.quote-basket { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem; box-shadow: var(--shadow-sm); }
.qb-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1rem; padding-bottom: .9rem; border-bottom: 1px solid var(--line-2); }
.qb-head h3 { font-size: 1.1rem; }
.qb-count { font-size: .82rem; color: var(--ink-faint); font-weight: 700; }
.qb-empty { text-align: center; padding: 2rem 1rem; color: var(--ink-soft); }
.qe-ico { font-size: 2rem; margin-bottom: .6rem; }
.qb-empty p { margin-bottom: 1rem; }

.qb-item { display: flex; align-items: center; gap: .75rem; padding: .7rem 0; border-bottom: 1px solid var(--line-2); }
.qi-ico { width: 40px; height: 40px; border-radius: 10px; background: var(--surface-2); display: grid; place-items: center; font-size: 1.2rem; flex-shrink: 0; }
.qi-info { flex: 1; min-width: 0; }
.qi-name { font-weight: 700; font-size: .9rem; }
.qi-fmt { font-size: .76rem; color: var(--ink-faint); }
.qty-ctrl { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 9px; overflow: hidden; }
.qty-ctrl button { width: 28px; height: 30px; font-weight: 700; color: var(--ink-soft); background: var(--surface-2); }
.qty-ctrl button:hover { color: var(--accent); }
.qty-ctrl input { width: 38px; height: 30px; text-align: center; border: none; border-left: 1px solid var(--line); border-right: 1px solid var(--line); background: var(--surface); color: var(--ink); -moz-appearance: textfield; }
.qty-ctrl input::-webkit-outer-spin-button, .qty-ctrl input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qi-remove { width: 28px; height: 28px; border-radius: 8px; color: var(--ink-faint); font-size: .8rem; flex-shrink: 0; }
.qi-remove:hover { color: #e23; background: rgba(238,34,51,.1); }

/* ---------- FORMS ---------- */
.quote-form { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow-sm); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: .9rem; }
.field { margin-bottom: .9rem; display: flex; flex-direction: column; }
.field label { font-size: .8rem; font-weight: 700; color: var(--ink-soft); margin-bottom: .35rem; }
.field input, .field select, .field textarea {
  border: 1.5px solid var(--line); background: var(--surface-2); color: var(--ink); border-radius: 10px;
  padding: .7rem .8rem; outline: none; transition: border-color .2s, box-shadow .2s; width: 100%;
}
.field textarea { min-height: 96px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 4px rgba(23,99,255,.12); }
.quote-form-actions { display: flex; gap: .7rem; margin-top: .5rem; }
.quote-cod-note { font-size: .82rem; color: var(--ink-soft); font-weight: 600; margin: 0 0 .9rem; }
.form-success { margin-top: 1rem; padding: .8rem 1rem; border-radius: 10px; background: rgba(37,211,102,.12); color: #0a7a3b; font-weight: 700; font-size: .9rem; display: none; }
.form-success.show { display: block; }
.form-success strong { display: block; margin-top: .25rem; font-family: var(--display); }
body.dark .form-success { color: #6ee7a8; }
.form-error { margin-top: 1rem; padding: .8rem 1rem; border-radius: 10px; background: rgba(226,34,51,.1); color: #c41f2c; font-weight: 700; font-size: .9rem; display: none; }
.form-error.show { display: block; }
body.dark .form-error { color: #ff8f96; }

/* ---------- MOTEUR VÉHICULE → HUILE ---------- */
.finder { padding: 3.5rem 0; }
.finder-panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-md); overflow: hidden; }
.finder-selects { display: grid; grid-template-columns: 1fr 1fr 1fr auto; gap: 1rem; align-items: end; padding: 1.5rem; background: linear-gradient(180deg, rgba(23,99,255,.05), transparent); border-bottom: 1px solid var(--line); }
.finder-field { display: flex; flex-direction: column; }
.finder-field label { font-size: .78rem; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; color: var(--ink-faint); margin-bottom: .4rem; }
.finder-field select {
  border: 1.5px solid var(--line); background: var(--surface-2); color: var(--ink); border-radius: 11px;
  padding: .75rem .85rem; outline: none; font-weight: 600; font-size: .95rem; cursor: pointer;
  transition: border-color .2s, box-shadow .2s;
}
.finder-field select:focus { border-color: var(--accent); box-shadow: 0 0 0 4px rgba(23,99,255,.12); }
.finder-field select:disabled { opacity: .5; cursor: not-allowed; }
.finder-reset { align-self: end; height: 46px; }

.finder-result { padding: 1.5rem; }
.finder-empty { text-align: center; color: var(--ink-soft); padding: 1.5rem 1rem; margin: 0; }

.finder-reco { display: grid; gap: 1.2rem; }
.fr-grade-band { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; padding: 1.2rem 1.4rem; border-radius: var(--radius); background: radial-gradient(120% 140% at 0% 0%, #2b74ff 0%, #1763ff 45%, #0c2c7a 100%); color: #fff; }
.fr-grade-badge { font-family: var(--display); font-weight: 800; font-size: 1.9rem; background: rgba(255,255,255,.18); border-radius: 14px; padding: .4rem 1rem; letter-spacing: .02em; }
.fr-grade-meta { display: flex; flex-direction: column; gap: .2rem; }
.fr-grade-meta .frm-title { font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; opacity: .85; }
.fr-grade-meta .frm-desc { font-size: .95rem; max-width: 46ch; }
.fr-tags { display: flex; flex-wrap: wrap; gap: .5rem; margin-left: auto; }
.fr-tag { background: rgba(255,255,255,.16); border-radius: 999px; padding: .3rem .8rem; font-size: .8rem; font-weight: 700; }

.fr-products h4 { font-size: .82rem; text-transform: uppercase; letter-spacing: .05em; color: var(--ink-faint); margin: 0 0 .7rem; }
.fr-plist { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: .7rem; }
.fr-pcard { display: flex; align-items: center; gap: .7rem; border: 1px solid var(--line); border-radius: 12px; padding: .7rem .8rem; background: var(--surface-2); }
.fr-pcard.is-reco { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(23,99,255,.1); }
.fr-pico { width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; font-size: 1.1rem; background: var(--surface); border: 1px solid var(--line); flex-shrink: 0; }
.fr-pbody { flex: 1; min-width: 0; }
.fr-pname { font-weight: 700; font-size: .9rem; line-height: 1.2; }
.fr-pfmt { font-size: .76rem; color: var(--ink-faint); }
.fr-padd { border: 0; background: var(--accent); color: #fff; border-radius: 9px; width: 30px; height: 30px; font-size: 1.1rem; font-weight: 700; cursor: pointer; flex-shrink: 0; transition: background .2s, transform .15s; }
.fr-padd:hover { background: var(--accent-ink); transform: scale(1.06); }
.fr-reco-flag { font-size: .68rem; font-weight: 800; color: var(--accent); text-transform: uppercase; letter-spacing: .04em; }
.fr-none { color: var(--ink-soft); font-size: .9rem; margin: 0; }
.fr-viewall { margin-top: .3rem; }
.fr-disclaimer { font-size: .8rem; color: var(--ink-faint); margin: 0; }

@media (max-width: 820px){
  .finder-selects { grid-template-columns: 1fr 1fr; }
  .finder-reset { grid-column: 1 / -1; }
}
@media (max-width: 520px){
  .finder-selects { grid-template-columns: 1fr; }
  .fr-grade-band { flex-direction: column; align-items: flex-start; }
  .fr-tags { margin-left: 0; }
}

/* ---------- CONTACT ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; align-items: start; }
.contact-cards { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; margin-bottom: 1rem; }
.contact-card { display: flex; align-items: center; gap: .8rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem; box-shadow: var(--shadow-sm); transition: transform .2s, border-color .2s; }
body.dark .section-soft .contact-card { background: var(--surface-2); }
.contact-card:hover { transform: translateY(-3px); border-color: var(--accent); }
.cc-ico { width: 44px; height: 44px; border-radius: 11px; background: rgba(23,99,255,.1); display: grid; place-items: center; font-size: 1.2rem; flex-shrink: 0; }
.cc-k { font-size: .74rem; color: var(--ink-faint); font-weight: 700; }
.cc-v { font-weight: 700; font-size: .92rem; word-break: break-word; }

.map-embed { display: block; position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-sm); height: 260px; }
.map-embed iframe { width: 100%; height: 100%; border: 0; filter: saturate(.9); }
body.dark .map-embed iframe { filter: invert(.9) hue-rotate(180deg) saturate(.8); }
.map-cta { position: absolute; left: 12px; bottom: 12px; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: .45rem .9rem; font-size: .82rem; font-weight: 700; color: var(--accent); box-shadow: var(--shadow-md); }

/* ---------- FOOTER ---------- */
.footer { background: #0b1220; color: #c2cee2; padding: 3.2rem 0 1.6rem; }
body.dark .footer { background: #070b12; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 2rem; padding-bottom: 2rem; border-bottom: 1px solid rgba(255,255,255,.08); }
.footer-brand .logo-img { height: 38px; margin-bottom: 1rem; display: block; }
.footer-brand p { font-size: .92rem; color: #93a2bd; max-width: 32ch; }
.footer-social-title { margin: 1.1rem 0 .5rem; font-size: .82rem; font-weight: 700; color: #c2cee2; letter-spacing: .3px; }
.footer-social { display: flex; flex-wrap: wrap; gap: .55rem; margin-top: 0; }
.footer-social a { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: rgba(255,255,255,.07); color: #c2cee2; font-weight: 700; transition: transform .2s, background .2s; }
.footer-social a:hover { background: var(--accent); transform: translateY(-3px); }
.soc-svg { width: 1.2rem; height: 1.2rem; display: block; }
.footer-social a[aria-label="Facebook"]:hover { background: #1877f2; }
.footer-social a[aria-label="Instagram"]:hover { background: linear-gradient(45deg,#f09433,#e6683c,#dc2743,#cc2366,#bc1888); }
.footer-social a[aria-label="TikTok"]:hover { background: #000; }
.footer-social a[aria-label="LinkedIn"]:hover { background: #0a66c2; }
.footer-social a[aria-label="WhatsApp"]:hover { background: var(--wa,#25d366); }
.footer-social a:hover .soc-svg { color: #fff; }
.footer-col h5 { color: #fff; font-size: .92rem; margin-bottom: 1rem; letter-spacing: .03em; }
.footer-col ul li { margin-bottom: .55rem; }
.footer-col a, .footer-col span { font-size: .9rem; color: #93a2bd; transition: color .2s; }
.footer-col a:hover { color: #fff; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding-top: 1.4rem; font-size: .82rem; color: #7e8da8; }
.footer-bottom a { color: #93a2bd; }
.footer-bottom a:hover { color: #fff; }

/* ---------- WHATSAPP FLOAT ---------- */
.wa-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 60; display: inline-flex; align-items: center; gap: .5rem;
  background: var(--wa); color: #06351a; padding: .8rem 1rem; border-radius: 999px; font-weight: 800; font-size: .9rem;
  box-shadow: 0 12px 30px rgba(37,211,102,.4); transition: transform .2s;
}
.wa-float:hover { transform: translateY(-3px) scale(1.03); }
.wa-ico { display: inline-flex; }
.wa-svg { width: 1.25em; height: 1.25em; display: block; }
.btn-wa .wa-svg { width: 1.15rem; height: 1.15rem; }
.wa-float .wa-svg { width: 1.4rem; height: 1.4rem; }
.cc-ico-wa { background: rgba(37,211,102,.14); color: var(--wa); }
#footWa .wa-svg { width: 1.2rem; height: 1.2rem; }
/* gentle pulse ring on the floating button */
.wa-float::after { content:""; position:absolute; inset:0; border-radius:999px; box-shadow:0 0 0 0 rgba(37,211,102,.5); animation: waPulse 2.4s ease-out infinite; }
@keyframes waPulse { 0%{box-shadow:0 0 0 0 rgba(37,211,102,.45);} 70%{box-shadow:0 0 0 16px rgba(37,211,102,0);} 100%{box-shadow:0 0 0 0 rgba(37,211,102,0);} }
@media (prefers-reduced-motion: reduce){ .wa-float::after{ animation:none; } }

/* ---------- DRAWER ---------- */
.drawer-overlay { position: fixed; inset: 0; background: rgba(8,14,26,.5); backdrop-filter: blur(2px); opacity: 0; visibility: hidden; transition: .3s; z-index: 70; }
.drawer-overlay.open { opacity: 1; visibility: visible; }
.drawer {
  position: fixed; top: 0; right: 0; width: min(420px, 92vw); height: 100%; background: var(--surface); z-index: 80;
  transform: translateX(105%); transition: transform .32s cubic-bezier(.4,0,.2,1); display: flex; flex-direction: column; box-shadow: var(--shadow-lg);
}
.drawer.open { transform: translateX(0); }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 1.2rem 1.3rem; border-bottom: 1px solid var(--line); }
.drawer-head h3 { font-size: 1.1rem; }
.drawer-body { flex: 1; overflow-y: auto; padding: 1rem 1.3rem; }
.drawer-foot { padding: 1.1rem 1.3rem; border-top: 1px solid var(--line); display: grid; gap: .6rem; }

/* ---------- SCROLL PROGRESS ---------- */
.scroll-progress { position: fixed; top: 0; left: 0; height: 3px; width: 100%; background: var(--grad); transform: scaleX(0); transform-origin: left; z-index: 100; }

/* ---------- REVEAL ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce){ .reveal { opacity: 1; transform: none; transition: none; } }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1080px) {
  .shop-inner { grid-template-columns: 220px 1fr; }
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 920px) {
  .search { order: 3; flex-basis: 100%; max-width: none; }
  .header-inner { flex-wrap: wrap; gap: .8rem; }
  .hp-text { display: none; }
  .header-phone { gap: 0; }
  .cart-label { display: none; }
}
@media (max-width: 780px) {
  section { padding: 3rem 0; }
  .promo-inner { grid-template-columns: 1fr; }
  .promo-visual { height: 260px; order: -1; }
  .pv-main { height: 220px; }
  .quote-grid, .contact-grid { grid-template-columns: 1fr; }
  .contact-cards { grid-template-columns: 1fr; }

  /* nav becomes mobile menu */
  .burger { display: flex; }
  .mainnav-inner { position: relative; }
  .mainnav-links {
    position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--surface); border: 1px solid var(--line); border-radius: 0 0 14px 14px; padding: .5rem;
    box-shadow: var(--shadow-lg); display: none;
  }
  .mainnav-links.mobile-open { display: flex; }
  .nav-link { padding: .8rem 1rem; }
  .nav-quote { margin-left: auto; }

  /* sidebar collapses to a toggle */
  .sidebar { position: static; }
  .sidebar-toggle {
    display: flex; align-items: center; justify-content: space-between; width: 100%; gap: .5rem;
    background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: .85rem 1.1rem;
    font-weight: 700; box-shadow: var(--shadow-sm); margin-bottom: 1rem;
  }
  .st-caret { transition: transform .2s; }
  .sidebar.open .st-caret { transform: rotate(180deg); }
  .sidebar-panels { display: none; }
  .sidebar.open .sidebar-panels { display: block; }
  .shop-inner { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  /* barre de recherche : doit tenir dans l'écran (pas de scroll horizontal) */
  .search { gap: .4rem; padding: .25rem .25rem .25rem .75rem; }
  .search-input { min-width: 0; font-size: .95rem; }
  .search-ico { display: none; }
  .search-cat { display: none; } /* le filtre catégorie reste dispo dans la boutique */
  .search-btn { padding: .5rem .8rem; font-size: 0; flex-shrink: 0; }
  .search-btn::before { content: "🔍"; font-size: 1rem; line-height: 1; }

  .products-grid { grid-template-columns: 1fr 1fr; gap: .7rem; }
  .product-media { height: 150px; }
  .product-media img { max-height: 120px; }
  .product-body { padding: .75rem; }
  .product-body h3 { font-size: .9rem; }
  .field-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .topbar-left .tb-item:nth-child(n+3) { display: none; }
  .tb-hide-sm { display: none; }
  .wa-txt { display: none; }
}
@media (max-width: 380px) {
  .products-grid { grid-template-columns: 1fr; }
}

/* ============ FICHE PÉDAGOGIQUE FAMILLE (MODAL) ============ */
.guide-overlay { position: fixed; inset: 0; background: rgba(6,12,28,.55); backdrop-filter: blur(3px); opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; z-index: 70; }
.guide-overlay.open { opacity: 1; visibility: visible; }
.guide-modal { position: fixed; top: 0; right: 0; height: 100%; width: min(560px, 100%); background: var(--surface, #fff); box-shadow: -30px 0 80px -30px rgba(6,12,28,.5); transform: translateX(100%); transition: transform .42s cubic-bezier(.2,.8,.2,1); z-index: 71; display: flex; flex-direction: column; }
.guide-modal.open { transform: translateX(0); }
.guide-close { position: absolute; top: 14px; right: 14px; z-index: 3; width: 38px; height: 38px; border-radius: 12px; border: 0; background: rgba(255,255,255,.14); color: #fff; font-size: 1.1rem; cursor: pointer; transition: background .2s; }
.guide-close:hover { background: rgba(255,255,255,.28); }
.guide-scroll { overflow-y: auto; height: 100%; }
.guide-hero { padding: 2.4rem 1.8rem 1.6rem; color: #fff; background: radial-gradient(120% 120% at 100% 0%, #2b74ff 0%, #1763ff 42%, #0c2c7a 100%); }
.guide-emo { font-size: 2.6rem; line-height: 1; display: block; margin-bottom: .6rem; }
.guide-kicker { font-size: .72rem; font-weight: 800; letter-spacing: 1.5px; text-transform: uppercase; opacity: .85; }
.guide-title { font-family: var(--display); font-size: clamp(1.45rem, 4vw, 1.95rem); margin: .35rem 0 .55rem; line-height: 1.12; }
.guide-lead { font-size: .98rem; line-height: 1.5; opacity: .95; margin: 0; }
.guide-body { padding: 1.4rem 1.8rem .5rem; }
.guide-sec { padding: 1.05rem 0; border-bottom: 1px solid var(--line, rgba(0,0,0,.08)); }
.guide-sec:last-child { border-bottom: 0; }
.guide-sec h3 { font-size: 1.02rem; font-weight: 800; color: var(--accent); margin: 0 0 .4rem; display: flex; align-items: center; gap: .5rem; }
.guide-sec h3::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); flex-shrink: 0; }
.guide-sec p { font-size: .95rem; line-height: 1.62; color: var(--ink-soft); margin: 0; }
.guide-foot { position: sticky; bottom: 0; padding: 1rem 1.8rem 1.4rem; background: var(--surface, #fff); border-top: 1px solid var(--line, rgba(0,0,0,.08)); }
body.dark .guide-modal { background: #0e1424; }
body.dark .guide-foot { background: #0e1424; }
body.dark .guide-close { background: rgba(255,255,255,.12); }
@media (max-width: 560px) { .guide-hero { padding: 2rem 1.3rem 1.4rem; } .guide-body, .guide-foot { padding-left: 1.3rem; padding-right: 1.3rem; } }

/* ============ HEADER : bouton compte + devis fantôme ============ */
.cart-btn-ghost { background: var(--surface-2); color: var(--ink); box-shadow: none; border: 1.5px solid var(--line); padding: .5rem .7rem; }
.cart-btn-ghost:hover { background: var(--surface-2); border-color: var(--accent); color: var(--accent); }
.cart-btn-ghost .cart-count { background: var(--accent); color: #fff; }
.acct-btn { display: inline-flex; align-items: center; gap: .5rem; background: var(--accent); color: #fff; border-radius: 11px; padding: .55rem .9rem; font-weight: 700; font-size: .9rem; box-shadow: 0 8px 18px rgba(23,99,255,.26); transition: transform .15s, background .2s; }
.acct-btn:hover { background: var(--accent-ink); transform: translateY(-1px); }
.acct-ico svg { width: 20px; height: 20px; display: block; }
@media (max-width: 720px){ .acct-label { display: none; } .acct-btn { padding: .55rem .7rem; } }

/* ============ ESPACE COMPTE (MODAL) ============ */
.acct-overlay { position: fixed; inset: 0; background: rgba(6,12,28,.55); backdrop-filter: blur(3px); opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; z-index: 72; }
.acct-overlay.open { opacity: 1; visibility: visible; }
.acct-modal { position: fixed; top: 0; right: 0; height: 100%; width: min(460px, 100%); background: var(--surface); box-shadow: -30px 0 80px -30px rgba(6,12,28,.5); transform: translateX(100%); transition: transform .42s cubic-bezier(.2,.8,.2,1); z-index: 73; display: flex; flex-direction: column; }
.acct-modal.open { transform: translateX(0); }
.acct-close { position: absolute; top: 14px; right: 14px; z-index: 3; width: 38px; height: 38px; border-radius: 12px; border: 0; background: rgba(255,255,255,.16); color: #fff; font-size: 1.1rem; cursor: pointer; }
.acct-close:hover { background: rgba(255,255,255,.3); }
.acct-scroll { overflow-y: auto; height: 100%; }
.acct-hero { padding: 2.2rem 1.7rem 1.5rem; color: #fff; background: radial-gradient(120% 120% at 100% 0%, #2b74ff 0%, #1763ff 42%, #0c2c7a 100%); }
.acct-hero-ico { width: 52px; height: 52px; border-radius: 14px; background: rgba(255,255,255,.16); display: grid; place-items: center; margin-bottom: .8rem; }
.acct-hero-ico svg { width: 28px; height: 28px; color: #fff; }
.acct-head-title { font-family: var(--display); font-size: 1.5rem; margin: 0 0 .3rem; }
.acct-head-sub { font-size: .92rem; opacity: .95; margin: 0; }
.acct-tabs { display: flex; gap: .4rem; padding: 1.3rem 1.7rem 0; }
.acct-tab { flex: 1; padding: .7rem; border-radius: 11px 11px 0 0; font-weight: 700; font-size: .9rem; color: var(--ink-faint); background: var(--surface-2); border: 1px solid var(--line); border-bottom: 0; transition: .2s; }
.acct-tab.active { color: var(--accent); background: var(--surface); box-shadow: inset 0 -3px 0 var(--accent); }
.acct-form { padding: 1.3rem 1.7rem .4rem; display: flex; flex-direction: column; gap: .35rem; }
.acct-form label { font-size: .82rem; font-weight: 700; color: var(--ink-soft); margin-top: .5rem; }
.acct-form input { width: 100%; padding: .7rem .85rem; border-radius: 10px; border: 1.5px solid var(--line); background: var(--surface-2); color: var(--ink); transition: border-color .2s, box-shadow .2s; }
.acct-form input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(23,99,255,.12); }
.acct-form .btn { margin-top: 1rem; }
.acct-row { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; }
.acct-err { color: #e1444a; font-size: .84rem; font-weight: 600; margin: .4rem 0 0; min-height: 1em; }
.acct-note { padding: .8rem 1.7rem 1.6rem; font-size: .82rem; color: var(--ink-faint); }
.acct-dash { padding: 1.6rem 1.7rem; display: flex; flex-direction: column; gap: 1rem; }
.acct-welcome { display: flex; align-items: center; gap: .9rem; }
.acct-avatar { width: 52px; height: 52px; border-radius: 50%; background: var(--accent); color: #fff; font-weight: 800; font-size: 1.4rem; display: grid; place-items: center; font-family: var(--display); }
.acct-hello { margin: 0; font-size: 1.05rem; }
.acct-company { margin: 0; color: var(--ink-soft); font-size: .9rem; }
.acct-info { display: flex; flex-direction: column; gap: .1rem; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.acct-info li { display: flex; justify-content: space-between; gap: 1rem; padding: .8rem 1rem; background: var(--surface-2); border-bottom: 1px solid var(--line); font-size: .9rem; }
.acct-info li:last-child { border-bottom: 0; }
.acct-info li span { color: var(--ink-faint); }
.acct-info li strong { color: var(--ink); text-align: right; word-break: break-word; }
.acct-badge { background: rgba(255,255,255,.25); border-radius: 999px; padding: 0 .5rem; font-size: .8rem; font-weight: 800; }
body.dark .acct-close { background: rgba(255,255,255,.12); }
@media (max-width: 460px){ .acct-row { grid-template-columns: 1fr; } }

.acct-orders-head h3 { font-size: 1rem; margin: 0; }
.acct-orders { display: flex; flex-direction: column; gap: .7rem; max-height: 360px; overflow-y: auto; }
.ord-loading, .ord-empty { text-align: center; color: var(--ink-soft); font-size: .88rem; padding: 1.2rem 0; }
.ord-card { border: 1px solid var(--line); border-radius: 12px; padding: .8rem .9rem; background: var(--surface-2); }
.ord-top { display: flex; align-items: center; justify-content: space-between; gap: .6rem; }
.ord-top strong { font-family: var(--display); font-size: .95rem; }
.ord-date { font-size: .76rem; color: var(--ink-faint); margin-top: .15rem; }
.ord-badge { display: inline-block; padding: .2rem .6rem; border-radius: 999px; font-size: .72rem; font-weight: 800; white-space: nowrap; }
.ord-badge-pending { background: rgba(230,162,29,.14); color: #b9760f; }
.ord-badge-confirmed { background: rgba(23,99,255,.12); color: var(--accent); }
.ord-badge-shipping { background: rgba(14,165,168,.14); color: #0a8487; }
.ord-badge-delivered { background: rgba(37,211,102,.14); color: #0a7a3b; }
.ord-badge-cancelled { background: rgba(226,34,51,.12); color: #c41f2c; }
.ord-items { list-style: none; margin: .55rem 0 0; padding: .55rem 0 0; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: .2rem; }
.ord-items li { display: flex; justify-content: space-between; gap: .6rem; font-size: .82rem; }
.ord-items li b { color: var(--accent); }

/* ============ ASSISTANT / CHAT ============ */
.chat-fab { position: fixed; left: 22px; bottom: 22px; z-index: 60; width: 60px; height: 60px; border-radius: 50%; background: var(--accent); color: #fff; display: grid; place-items: center; box-shadow: 0 14px 30px -6px rgba(23,99,255,.6); transition: transform .2s, opacity .2s, visibility .2s; animation: chatBob 3s ease-in-out infinite; }
.chat-fab:hover { transform: scale(1.08); background: var(--accent-ink); }
.chat-fab svg { width: 28px; height: 28px; }
.chat-fab.hide { opacity: 0; visibility: hidden; transform: scale(.6); }
.chat-fab-badge { position: absolute; top: -2px; right: -2px; background: #0ea5a8; color: #fff; font-size: .6rem; font-weight: 800; padding: 2px 5px; border-radius: 999px; box-shadow: 0 2px 6px rgba(0,0,0,.3); letter-spacing: .5px; }
@keyframes chatBob { 0%,100%{ transform: translateY(0) } 50%{ transform: translateY(-5px) } }
.chat-panel { position: fixed; left: 22px; bottom: 22px; z-index: 61; width: min(380px, calc(100vw - 32px)); height: min(560px, calc(100vh - 100px)); background: var(--surface); border: 1px solid var(--line); border-radius: 20px; box-shadow: 0 30px 70px -20px rgba(6,12,28,.5); display: flex; flex-direction: column; overflow: hidden; transform: translateY(20px) scale(.96); opacity: 0; transition: transform .32s cubic-bezier(.2,.8,.2,1), opacity .32s; }
.chat-panel.open { transform: translateY(0) scale(1); opacity: 1; }
.chat-head { display: flex; align-items: center; justify-content: space-between; gap: .6rem; padding: .9rem 1rem; color: #fff; background: radial-gradient(120% 140% at 0% 0%, #2b74ff 0%, #1763ff 55%, #0c2c7a 100%); }
.chat-head-id { display: flex; align-items: center; gap: .65rem; }
.chat-ava { width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.18); display: grid; place-items: center; font-size: 1.3rem; }
.chat-name { margin: 0; font-weight: 800; font-size: .98rem; font-family: var(--display); }
.chat-status { margin: 0; font-size: .74rem; opacity: .92; display: flex; align-items: center; gap: .35rem; }
.chat-dot { width: 8px; height: 8px; border-radius: 50%; background: #4ade80; box-shadow: 0 0 0 0 rgba(74,222,128,.6); animation: hsPulse 2s infinite; }
.chat-x { width: 32px; height: 32px; border-radius: 9px; border: 0; background: rgba(255,255,255,.16); color: #fff; cursor: pointer; font-size: .95rem; }
.chat-x:hover { background: rgba(255,255,255,.3); }
.chat-log { flex: 1; overflow-y: auto; padding: 1rem; display: flex; flex-direction: column; gap: .6rem; background: var(--surface-2); }
.chat-msg { display: flex; }
.chat-msg.chat-user { justify-content: flex-end; }
.chat-bubble { max-width: 82%; padding: .65rem .85rem; border-radius: 16px; font-size: .9rem; line-height: 1.45; white-space: pre-wrap; }
.chat-bot .chat-bubble { background: var(--surface); border: 1px solid var(--line); color: var(--ink); border-bottom-left-radius: 5px; }
.chat-user .chat-bubble { background: var(--accent); color: #fff; border-bottom-right-radius: 5px; }
.chat-typing { display: inline-flex; gap: 4px; align-items: center; }
.chat-typing span { width: 7px; height: 7px; border-radius: 50%; background: var(--ink-faint); animation: chatType 1.2s infinite; }
.chat-typing span:nth-child(2){ animation-delay: .2s } .chat-typing span:nth-child(3){ animation-delay: .4s }
@keyframes chatType { 0%,60%,100%{ transform: translateY(0); opacity: .4 } 30%{ transform: translateY(-5px); opacity: 1 } }
.chat-quick { display: flex; flex-wrap: wrap; gap: .4rem; padding: .6rem .8rem 0; background: var(--surface-2); }
.chat-chip { font-size: .78rem; font-weight: 600; padding: .4rem .7rem; border-radius: 999px; background: var(--surface); border: 1.5px solid var(--line); color: var(--ink-soft); transition: .2s; }
.chat-chip:hover { border-color: var(--accent); color: var(--accent); }
.chat-input { display: flex; gap: .5rem; padding: .7rem .8rem; background: var(--surface-2); }
.chat-input input { flex: 1; padding: .65rem .85rem; border-radius: 12px; border: 1.5px solid var(--line); background: var(--surface); color: var(--ink); }
.chat-input input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(23,99,255,.12); }
.chat-send { width: 44px; height: 44px; border-radius: 12px; background: var(--accent); color: #fff; display: grid; place-items: center; flex-shrink: 0; transition: background .2s; }
.chat-send:hover { background: var(--accent-ink); }
.chat-send svg { width: 20px; height: 20px; }
.chat-foot { font-size: .72rem; color: var(--ink-faint); text-align: center; padding: 0 .8rem .7rem; background: var(--surface-2); margin: 0; }
.chat-foot a { color: var(--wa); font-weight: 700; }
@media (max-width: 480px){ .chat-fab { left: 16px; bottom: 16px; } .chat-panel { left: 8px; right: 8px; width: auto; bottom: 8px; height: calc(100vh - 80px); } }
