/* ==========================================================================
   GLOBAL FRIGO — site B2B (v2) : sobre, structuré, basé sur la photo.
   Bleu de marque #01389A · marine pour les bandeaux · orange réservé aux actions.
   ========================================================================== */
:root {
  --blue: #295aa9;
  --blue-600: #1f4787;
  --blue-50: #e6efff;
  --navy: #121212;
  --navy-900: #121212;
  --orange: #d4a418;
  --orange-600: #b88d10;
  --green: #12925a;
  --text: #121212;
  --muted: #5d5d57;
  --line: #e2e2d8;
  --bg: #fafafa;
  --bg-soft: #f1f1e6;
  --radius: 10px;
  --shadow: 0 12px 32px -14px rgba(18, 18, 18, .22);
  --shadow-lg: 0 28px 60px -28px rgba(18, 18, 18, .38);
  --max: 1400px;
  --pad: clamp(16px, 3.4vw, 40px);
  --f: 'Varta', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --fh: 'Google Sans', 'Product Sans', 'Varta', system-ui, Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--f); font-size: 16px; line-height: 1.6; color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
:focus-visible { outline: 3px solid rgba(41, 90, 169, .45); outline-offset: 2px; border-radius: 4px; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }
.section { padding: clamp(56px, 7vw, 104px) 0; }
.section.soft { background: var(--bg-soft); }
.section.navy { background: var(--navy); color: #fff; }

/* ---------- typographie ---------- */
h1, h2, h3, h4 { font-family: var(--fh); letter-spacing: -.02em; line-height: 1.12; color: var(--navy); }
.navy h2, .navy h3 { color: #fff; }
.h1 { font-size: clamp(32px, 4.5vw, 58px); font-weight: 800; letter-spacing: -.03em; line-height: 1.05; }
.h2 { font-size: clamp(26px, 3vw, 40px); font-weight: 750; }
.h3 { font-size: clamp(18px, 1.5vw, 21px); font-weight: 700; }
.kicker { display: inline-flex; align-items: center; gap: 10px; font-size: 12.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--blue); }
.kicker::before { content: ''; width: 26px; height: 2px; background: var(--orange); }
.navy .kicker, .hero .kicker { color: #b3d1ff; }
.lead { font-size: clamp(16.5px, 1.3vw, 19px); color: var(--muted); max-width: 62ch; }
.muted { color: var(--muted); }
.sec-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: clamp(28px, 3.4vw, 48px); }
.sec-head > div:first-child { display: grid; gap: 12px; max-width: 760px; }

/* ---------- boutons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 50px; padding: 0 24px; border-radius: 8px; font-weight: 650; font-size: 15px; white-space: nowrap; transition: background .2s, color .2s, border-color .2s, box-shadow .2s, transform .2s; border: 1.5px solid transparent; }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-primary { background: var(--orange); color: #fff; box-shadow: 0 10px 22px -12px rgba(212, 164, 24, .9); }
.btn-primary:hover { background: var(--orange-600); transform: translateY(-1px); }
.btn-blue { background: var(--blue); color: #fff; }
.btn-blue:hover { background: var(--blue-600); transform: translateY(-1px); }
.btn-outline { border-color: var(--line); background: #fff; color: var(--navy); }
.btn-outline:hover { border-color: var(--blue); color: var(--blue); }
.btn-ghost-w { border-color: rgba(255, 255, 255, .45); color: #fff; }
.btn-ghost-w:hover { background: #fff; color: var(--navy); border-color: #fff; }
.btn-sm { height: 42px; padding: 0 16px; font-size: 14px; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 650; color: var(--blue); font-size: 15px; }
.link-arrow svg { width: 16px; height: 16px; transition: transform .25s; }
.link-arrow:hover svg, a:hover > .link-arrow svg { transform: translateX(4px); }

/* ---------- bandeau supérieur + en-tête ---------- */
.topbar { background: var(--navy-900); color: #d9d9d0; font-size: 13px; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 18px; min-height: 40px; }
.topbar a { color: #fff; font-weight: 600; }
.topbar a:hover { text-decoration: underline; }
.topbar ul { display: flex; gap: 22px; align-items: center; }
.topbar li { display: inline-flex; align-items: center; gap: 8px; }
.topbar svg { width: 14px; height: 14px; color: #b3d1ff; }
.header { position: relative; background: rgba(255, 255, 255, .97); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); transition: box-shadow .25s; }
.header .container { display: flex; align-items: center; gap: 2.2vw; height: 78px; justify-content: space-between; }
.brand { display: flex; align-items: center; gap: 12px; flex: none; }
.brand img { height: 46px; width: auto; }
.brand-name { font-family: var(--fh); font-size: 21px; letter-spacing: -.01em; color: var(--blue); line-height: 1; text-transform: uppercase; font-weight: 800; }
.brand-name span { font-weight: 400; }
.brand small { display: block; font-family: var(--f); font-size: 10.5px; letter-spacing: .1em; color: var(--muted); font-weight: 600; margin-top: 4px; text-transform: uppercase; }
.nav { display: flex; gap: clamp(14px, 1.8vw, 28px); font-weight: 600; font-size: 15px; }
.nav a { position: relative; padding: 28px 0; color: var(--navy); }
.nav a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--blue); transform: scaleX(0); transition: transform .25s; }
.nav a:hover::after, .nav a.is-active::after { transform: scaleX(1); }
.nav a.is-active { color: var(--blue); }
.h-devis { position: relative; }
.h-devis b { display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 11px; background: #fff; color: var(--orange-600); font-size: 12px; font-weight: 800; }
.burger { display: none; width: 44px; height: 44px; border: 1.5px solid var(--line); border-radius: 8px; place-items: center; }
.burger svg { width: 20px; height: 20px; }
.mobile-nav { display: none; border-top: 1px solid var(--line); background: #fff; padding: 10px var(--pad) 18px; }
.mobile-nav a { display: block; padding: 13px 0; border-bottom: 1px solid var(--line); font-weight: 600; }
.mobile-nav.is-open { display: block; }

/* ---------- héro ---------- */
.hero { position: relative; color: #fff; background: var(--navy); overflow: hidden; }
.hero-media { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%; animation: heroZoom 18s ease-out both; }
@keyframes heroZoom { from { transform: scale(1.07); } to { transform: scale(1); } }
.hero-media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(18, 18, 18, .96) 0%, rgba(18, 18, 18, .88) 34%, rgba(18, 18, 18, .42) 64%, rgba(18, 18, 18, .12) 100%); }
.hero .container { position: relative; z-index: 2; padding-top: clamp(56px, 8vw, 112px); padding-bottom: clamp(96px, 11vw, 150px); }
.hero-content { display: grid; gap: 22px; }
.hero h1 { color: #fff; }
.hero h1 em { font-style: normal; color: #8fb8ff; }
.hero .lead { color: #e8e8e0; }
.hero-search { display: flex; background: #fff; border-radius: 10px; padding: 6px; box-shadow: var(--shadow-lg); max-width: 620px; margin-top: 6px; }
.hero-search input { flex: 1; min-width: 0; border: 0; padding: 0 16px; font-size: 16px; color: var(--text); background: transparent; height: 52px; }
.hero-search input:focus { outline: none; }
.hero-search .btn { height: 52px; }
.hero-quick { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 13.5px; color: #c8c8bf; }
.hero-quick a { padding: 6px 12px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .28); color: #fff; font-weight: 550; transition: background .2s, border-color .2s; }
.hero-quick a:hover { background: rgba(255, 255, 255, .14); border-color: #fff; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 4px; }

/* chiffres clés (chevauchent le héro) */
.facts { position: relative; z-index: 3; margin-top: clamp(-70px, -5.5vw, -46px); }
.facts-card { background: #fff; border-radius: 14px; box-shadow: var(--shadow-lg); border: 1px solid var(--line); display: grid; grid-template-columns: repeat(4, 1fr); }
.fact { padding: clamp(18px, 2.4vw, 30px) clamp(16px, 2.2vw, 30px); display: flex; align-items: center; gap: 16px; border-right: 1px solid var(--line); }
.fact:last-child { border-right: 0; }
.fact-ico { width: 48px; height: 48px; border-radius: 10px; background: var(--blue-50); color: var(--blue); display: grid; place-items: center; flex: none; }
.fact-ico svg { width: 24px; height: 24px; }
.fact b { display: block; font-family: var(--fh); font-size: clamp(24px, 2.5vw, 34px); font-weight: 800; color: var(--navy); line-height: 1; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.fact span { font-size: 13.5px; color: var(--muted); line-height: 1.3; display: block; margin-top: 5px; }

/* ---------- familles ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 1.8vw, 24px); }
.cat { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: box-shadow .3s, transform .3s, border-color .3s; }
.cat:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); border-color: #d9d9d0; }
.cat-media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--bg-soft); }
.cat-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.2, .7, .2, 1); }
.cat:hover .cat-media img { transform: scale(1.05); }
.cat-count { position: absolute; left: 14px; bottom: 14px; background: rgba(18, 18, 18, .86); color: #fff; font-size: 12.5px; font-weight: 650; padding: 6px 11px; border-radius: 6px; backdrop-filter: blur(6px); }
.cat-body { padding: 20px 22px 22px; display: grid; gap: 10px; flex: 1; align-content: start; }
.cat-body p { color: var(--muted); font-size: 14.5px; line-height: 1.5; }
.cat-body .link-arrow { margin-top: 6px; }

/* ---------- produits ---------- */
.tabs { display: flex; gap: 8px; flex-wrap: wrap; }
.tab { height: 40px; padding: 0 16px; border-radius: 8px; border: 1.5px solid var(--line); background: #fff; font-weight: 600; font-size: 14px; color: var(--navy); transition: all .2s; }
.tab:hover { border-color: var(--blue); color: var(--blue); }
.tab.is-active { background: var(--navy); border-color: var(--navy); color: #fff; }
.p-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(12px, 1.6vw, 22px); }
.p-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: box-shadow .3s, border-color .3s, transform .3s; }
.p-card:hover { box-shadow: var(--shadow); border-color: #d9d9d0; transform: translateY(-3px); }
.p-media { position: relative; aspect-ratio: 1; background: #fff; border-bottom: 1px solid var(--line); overflow: hidden; }
.p-media img { width: 100%; height: 100%; object-fit: cover; }
.badge { display: inline-flex; align-items: center; gap: 6px; font-size: 11.5px; font-weight: 700; padding: 4px 9px; border-radius: 5px; letter-spacing: .02em; }
.badge.stock { background: #e5f6ee; color: var(--green); }
.badge.stock::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--green); }
.badge.order { background: #f8efd2; color: var(--orange-600); }
.p-media .badge { position: absolute; left: 10px; top: 10px; }
.p-body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.p-ref { font-family: ui-monospace, 'SF Mono', Menlo, Consolas, monospace; font-size: 12px; color: var(--blue); font-weight: 600; letter-spacing: .02em; }
.p-name { font-size: 14.5px; font-weight: 650; line-height: 1.3; color: var(--navy); }
.p-meta { font-size: 12.5px; color: var(--muted); }
.p-add { margin-top: auto; padding-top: 10px; }
.p-add .btn { width: 100%; }
.p-add .btn.is-in { background: var(--blue-50); border-color: var(--blue); color: var(--blue); }

/* ---------- pourquoi nous ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 80px); align-items: center; }
.split-media { position: relative; border-radius: 14px; overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4 / 3; }
.split-media img { width: 100%; height: 100%; object-fit: cover; }
.split-badge { position: absolute; left: 18px; bottom: 18px; background: #fff; border-radius: 10px; padding: 14px 18px; box-shadow: var(--shadow); display: flex; align-items: center; gap: 12px; font-size: 13.5px; line-height: 1.35; color: var(--muted); }
.split-badge b { display: block; color: var(--navy); font-size: 15px; }
.split-badge .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 5px rgba(18, 146, 90, .16); flex: none; }
.features { display: grid; gap: 4px; margin-top: 26px; }
.feature { display: grid; grid-template-columns: 48px 1fr; gap: 18px; padding: 18px 0; border-top: 1px solid var(--line); }
.feature:last-child { border-bottom: 1px solid var(--line); }
.feature-ico { width: 48px; height: 48px; border-radius: 10px; background: var(--blue); color: #fff; display: grid; place-items: center; }
.feature-ico svg { width: 22px; height: 22px; }
.feature p { color: var(--muted); font-size: 15px; margin-top: 4px; }

/* ---------- métiers ---------- */
.sector-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(12px, 1.6vw, 22px); }
.sector { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 3 / 4; color: #fff; display: flex; align-items: flex-end; isolation: isolate; }
.sector img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .8s cubic-bezier(.2, .7, .2, 1); }
.sector::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(18, 18, 18, 0) 30%, rgba(18, 18, 18, .92) 100%); }
.sector:hover img { transform: scale(1.06); }
.sector-body { padding: 22px; display: grid; gap: 8px; }
.sector-body h3 { color: #fff; font-size: 20px; }
.sector-body p { font-size: 14px; color: #e8e8e0; line-height: 1.45; }

/* ---------- marques ---------- */
.brand-grid { display: grid; grid-template-columns: repeat(6, 1fr); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; }
.brand-cell { display: grid; place-items: center; height: 84px; font-family: var(--fh); font-weight: 800; font-size: clamp(14px, 1.4vw, 19px); letter-spacing: .04em; text-transform: uppercase; color: #8a8a84; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); transition: color .2s, background .2s; }
.brand-cell:hover { color: var(--blue); background: var(--blue-50); }

/* ---------- étapes ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 2vw, 28px); counter-reset: step; }
.step { position: relative; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14); border-radius: var(--radius); padding: 28px 26px 30px; display: grid; gap: 12px; align-content: start; }
.step::before { counter-increment: step; content: '0' counter(step); font-family: var(--fh); font-weight: 800; font-size: 44px; line-height: 1; color: var(--orange); letter-spacing: -.02em; }
.step p { color: #d9d9d0; font-size: 15px; }

/* ---------- journal ---------- */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 1.8vw, 24px); }
.news { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: box-shadow .3s, transform .3s; }
.news:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.news-media { aspect-ratio: 16 / 9; background: var(--bg-soft); overflow: hidden; }
.news-media img { width: 100%; height: 100%; object-fit: cover; }
.news-body { padding: 20px 22px 22px; display: grid; gap: 10px; flex: 1; align-content: start; }
.news-meta { display: flex; gap: 12px; align-items: center; font-size: 12.5px; color: var(--muted); }
.news-meta .cat-tag { background: var(--blue-50); color: var(--blue); font-weight: 700; padding: 3px 9px; border-radius: 5px; }
.news-body p { color: var(--muted); font-size: 14.5px; }

/* ---------- bandeau d'appel ---------- */
.cta-band { position: relative; color: #fff; overflow: hidden; background: var(--navy); }
.cta-band img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .5; }
.cta-band::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(18, 18, 18, .94) 0%, rgba(18, 18, 18, .6) 100%); }
.cta-band .container { position: relative; z-index: 2; display: flex; justify-content: space-between; align-items: center; gap: 30px; flex-wrap: wrap; padding-top: clamp(48px, 6vw, 84px); padding-bottom: clamp(48px, 6vw, 84px); }
.cta-band h2 { color: #fff; }
.cta-band p { color: #e8e8e0; margin-top: 10px; max-width: 54ch; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- pied de page ---------- */
.footer { background: var(--navy-900); color: #b9c7e2; font-size: 14.5px; }
.footer-main { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: clamp(24px, 4vw, 64px); padding: clamp(44px, 5vw, 72px) 0; }
.footer .brand-name { color: #fff; } .footer .brand small { color: #9d9d95; }
.footer h4 { color: #fff; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 16px; }
.footer li { margin-bottom: 10px; }
.footer a:hover { color: #fff; text-decoration: underline; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact svg { width: 16px; height: 16px; color: #b3d1ff; flex: none; margin-top: 4px; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); padding: 18px 0; display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; font-size: 13px; color: #9d9d95; }

/* ---------- apparition au défilement (discrète) ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); transition-delay: var(--d, 0ms); }
.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; transition: none; } .hero-media img { animation: none; } html { scroll-behavior: auto; } }

/* ---------- adaptatif ---------- */
@media (max-width: 1120px) {
  .nav { display: none; }
  .burger { display: grid; }
  .h-devis { margin-left: auto; }
  .burger { margin-left: 10px; }
  .p-grid { grid-template-columns: repeat(3, 1fr); }
  .sector-grid { grid-template-columns: repeat(2, 1fr); } .sector { aspect-ratio: 4 / 3; }
  .brand-grid { grid-template-columns: repeat(4, 1fr); }
  .footer-main { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .topbar ul li:nth-child(n+2) { display: none; }
  .facts-card { grid-template-columns: 1fr 1fr; } .fact:nth-child(2) { border-right: 0; } .fact:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .cat-grid, .news-grid { grid-template-columns: 1fr 1fr; }
  .split { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .hero-media::after { background: linear-gradient(180deg, rgba(18, 18, 18, .9) 0%, rgba(18, 18, 18, .8) 100%); }
}
@media (max-width: 600px) {
  .header .container { height: 66px; } .brand img { height: 36px; } .brand-name { font-size: 18px; } .brand small { display: none; }
  .h-devis span { display: none; }
  .hero-search { flex-direction: column; gap: 6px; } .hero-search .btn { width: 100%; }
  .cat-grid, .news-grid { grid-template-columns: 1fr; }
  .p-grid { grid-template-columns: 1fr 1fr; }
  .sector-grid { grid-template-columns: 1fr; }
  .brand-grid { grid-template-columns: repeat(3, 1fr); } .brand-cell { height: 64px; }
  .fact { flex-direction: column; align-items: flex-start; gap: 10px; }
  .footer-main { grid-template-columns: 1fr; }
  .topbar .tb-left { display: none; }
}

/* ---------- motif de la marque : symbole officiel, fond FIXE qui reste en place pendant le défilement (cf. charte) ---------- */
body::before { content: ''; position: fixed; inset: 0; z-index: -1; pointer-events: none; background: url(../img/brand/bg-pattern-blue.svg) center / cover no-repeat; opacity: .085; }
.section.soft { background: rgba(241, 241, 230, .78); }
.section.navy { background: var(--blue); }
.section.navy .kicker { color: #fff; }
.section.navy .step { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .22); }
.section.navy .step::before { color: var(--orange); }
.section.navy .step p { color: #e6efff; }
.section.navy, .footer, .topbar { position: relative; isolation: isolate; }
.section.navy::before, .footer::before { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: url(../img/brand/bg-pattern-light.svg) center / cover no-repeat fixed; opacity: .16; }
.footer::before { opacity: .1; }
.btn-primary { color: var(--text); box-shadow: 0 10px 22px -12px rgba(212, 164, 24, .9); }
.btn-primary:hover { color: var(--text); }
.h-devis b { color: var(--text); }
.hero h1 em { color: var(--blue-light, #b3d1ff); }
.kicker::before { background: var(--orange); }
@media (hover: none) { body::before, .section.navy::before, .footer::before { background-attachment: scroll; } }

/* ---------- en-tête fixe : transparent sur la photo d'accueil, blanc au défilement, masqué en descendant ---------- */
.site-head { position: fixed; top: 0; left: 0; right: 0; z-index: 70; transition: transform .45s cubic-bezier(.2, .7, .2, 1); will-change: transform; }
.site-head.is-scrolled { transform: translateY(calc(-1 * var(--tb-h, 40px))); }   /* bandeau supérieur masqué dès qu'on défile */
.site-head.is-hidden { transform: translateY(-100%); }
body { padding-top: var(--head-h, 118px); }
body.head-over { padding-top: 0; }
body.head-over .hero .container { padding-top: calc(var(--head-h, 118px) + clamp(40px, 6vw, 90px)); }
.site-head .topbar, .site-head .header { transition: background-color .35s ease, border-color .35s ease, box-shadow .35s ease, color .35s ease; }
.site-head.is-solid .header { background: rgba(255, 255, 255, .97); box-shadow: 0 10px 30px -18px rgba(18, 18, 18, .35); }
.site-head:not(.is-solid) .topbar { background: transparent; border-bottom: 1px solid rgba(255, 255, 255, .14); }
.site-head:not(.is-solid) .header { background: transparent; border-bottom-color: rgba(255, 255, 255, .14); backdrop-filter: none; }
.site-head:not(.is-solid) .nav a { color: #fff; }
.site-head:not(.is-solid) .nav a::after { background: var(--orange); }
.site-head:not(.is-solid) .burger { color: #fff; border-color: rgba(255, 255, 255, .45); }
.site-head:not(.is-solid) .mobile-nav.is-open { background: #fff; }
.site-head.is-hidden .mobile-nav { display: none; }
@media (prefers-reduced-motion: reduce) { .site-head, .site-head .topbar, .site-head .header { transition: none; } }

html { scroll-padding-top: 110px; }
body.head-over .page-hero .container { padding-top: calc(var(--head-h, 118px) + clamp(36px, 5vw, 72px)); }

/* ---------- méga-menu Catalogue ---------- */
.nav a .chev { display: inline-block; width: 14px; height: 14px; margin-left: 4px; vertical-align: -2px; transition: transform .25s; }
.site-head.mega-open .nav a[data-mega-trigger] .chev { transform: rotate(180deg); }
.mega { position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-top: 1px solid var(--line); box-shadow: 0 30px 60px -30px rgba(18, 18, 18, .4);
  opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .22s ease, transform .22s ease, visibility 0s linear .22s; }
.site-head.mega-open .mega { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.site-head.mega-open .header { background: #fff; }
.site-head.mega-open .nav a { color: var(--navy); }
.site-head.mega-open .nav a::after { background: var(--blue); }
.header .mega-inner { display: grid; height: auto; align-items: start; justify-content: stretch; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(24px, 3vw, 48px); padding-top: 30px; padding-bottom: 34px; }
.mega-fams { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px 28px; }
.mega-fam-head { display: flex; gap: 14px; align-items: flex-start; padding: 10px; margin: -10px -10px 6px; border-radius: 10px; transition: background .2s; }
.mega-fam-head:hover { background: var(--blue-50); }
.mega-ico { width: 46px; height: 46px; border-radius: 10px; background: var(--blue-50); color: var(--blue); display: grid; place-items: center; flex: none; transition: background .2s, color .2s; }
.mega-fam-head:hover .mega-ico { background: var(--blue); color: #fff; }
.mega-ico svg { width: 26px; height: 26px; }
.mega-fam-head b { display: block; font-family: var(--fh); font-size: 16px; color: var(--navy); line-height: 1.25; }
.mega-fam-head small { display: block; font-size: 12.5px; color: var(--muted); margin-top: 3px; }
.mega-fam ul { padding-left: 60px; display: grid; gap: 4px; }
.mega-fam li a { font-size: 14px; color: var(--muted); transition: color .15s; }
.mega-fam li a:hover { color: var(--blue); text-decoration: underline; }
.mega-side { border-left: 1px solid var(--line); padding-left: clamp(20px, 2.4vw, 36px); display: grid; align-content: start; gap: 14px; }
.mega-side h4 { font-size: 12.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.mega-brands { display: flex; flex-wrap: wrap; gap: 6px; }
.mega-brands a { font-size: 12.5px; font-weight: 600; letter-spacing: .03em; padding: 6px 10px; border: 1px solid var(--line); border-radius: 6px; color: var(--navy); transition: border-color .15s, color .15s, background .15s; }
.mega-brands a:hover { border-color: var(--blue); color: var(--blue); background: var(--blue-50); }
.mega-promo { position: relative; display: block; border-radius: 10px; overflow: hidden; aspect-ratio: 16 / 7; margin-top: 6px; background: var(--navy); }
.mega-promo img { width: 100%; height: 100%; object-fit: cover; opacity: .6; transition: transform .6s, opacity .3s; }
.mega-promo:hover img { transform: scale(1.05); opacity: .5; }
.mega-promo span { position: absolute; left: 16px; bottom: 14px; color: #fff; }
.mega-promo b { display: block; font-family: var(--fh); font-size: 17px; }
.mega-promo small { font-size: 12.5px; color: #e8e8e0; }
@media (max-width: 1120px) { .mega { display: none; } .nav a .chev { display: none; } }
