/* Hajuvas Business Center Services — charte noir & or, moderne, soft et élégante */
:root {
  --black: #0d0d0f;
  --ink: #1b1a17;
  --ink-2: #4a463d;
  --muted: #7a7466;
  --gold: #c9a24a;
  --gold-2: #e6c97a;
  --gold-3: #9c7a2c;
  --gold-soft: #f4ead2;
  --cream: #faf7f0;
  --line: #e9e2d0;
  --white: #fff;
  --ok: #2f7d4f;
  --danger: #b3261e;
  --grad-gold: linear-gradient(135deg, #f0d58a 0%, #c9a24a 45%, #9c7a2c 100%);
  --radius: 14px;
  --radius-sm: 9px;
  --shadow: 0 10px 30px -12px rgba(20, 16, 6, .18);
  --shadow-lg: 0 24px 60px -20px rgba(20, 16, 6, .30);
  --font: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --container: 1240px;
  --header-h: 84px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html, body { overflow-x: clip; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--cream); line-height: 1.65; font-size: 16px; -webkit-font-smoothing: antialiased; }
img, video { max-width: 100%; height: auto; display: block; }
a { color: var(--gold-3); text-decoration: none; transition: color .2s; }
a:hover { color: var(--black); }
h1, h2, h3, .h1 { font-family: var(--serif); font-weight: 700; line-height: 1.15; color: var(--black); margin: 0 0 .5em; letter-spacing: .2px; }
h1, .h1 { font-size: clamp(2rem, 4.5vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 3vw, 2.5rem); }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1em; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 860px; }
.center { text-align: center; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.sr, .hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 0; background: var(--black); color: var(--gold-2); padding: 10px 16px; z-index: 1000; }
.skip:focus { left: 10px; top: 10px; }

.ico { width: 1.15em; height: 1.15em; flex: none; vertical-align: -.2em; }
.ico-sm { width: .9em; height: .9em; }
.ico-xl { width: 56px; height: 56px; color: var(--gold); margin: 0 auto 12px; }

/* ---------- Boutons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; padding: .8em 1.5em; border-radius: 999px; border: 1.5px solid transparent; font-weight: 600; font-size: .95rem; cursor: pointer; transition: transform .2s, box-shadow .2s, background .2s, color .2s, border-color .2s; text-align: center; line-height: 1.2; background: var(--black); color: var(--white); }
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); color: var(--white); }
.btn-gold { background: var(--grad-gold); color: var(--black); }
.btn-gold:hover { color: var(--black); box-shadow: 0 12px 28px -10px rgba(201, 162, 74, .65); }
.btn-outline { background: transparent; color: var(--black); border-color: var(--gold); }
.btn-outline:hover { background: var(--black); color: var(--gold-2); border-color: var(--black); }
.btn-ghost { background: rgba(255, 255, 255, .08); color: var(--white); border-color: rgba(255, 255, 255, .5); backdrop-filter: blur(4px); }
.btn-ghost:hover { background: var(--white); color: var(--black); }
.btn-wa { background: #1fa855; color: #fff; margin-top: 10px; }
.btn-wa:hover { background: #178a45; color: #fff; }
.btn-admin { background: #2b2b2b; color: var(--gold-2); border-radius: 8px; }
.btn-sm { padding: .55em 1.1em; font-size: .85rem; }
.btn-lg { padding: 1em 1.9em; font-size: 1.02rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.btn-row.center { justify-content: center; }
.btn-col { display: grid; gap: 8px; }
.icon-btn { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); background: var(--white); color: var(--ink); cursor: pointer; position: relative; transition: background .2s, color .2s, border-color .2s; }
.icon-btn:hover { background: var(--black); color: var(--gold-2); border-color: var(--black); }
.icon-btn-gold { background: var(--gold-soft); border-color: transparent; color: var(--gold-3); }
.link-arrow { display: inline-flex; align-items: center; gap: .4em; font-weight: 600; color: var(--gold-3); }
.link-arrow .ico { transition: transform .2s; }
.link-arrow:hover .ico { transform: translateX(4px); }

/* ---------- Barre admin / topbar ---------- */
.adminbar { background: #222; color: #ddd; font-size: .82rem; display: flex; gap: 18px; align-items: center; justify-content: center; padding: 6px 12px; flex-wrap: wrap; }
.adminbar a { color: var(--gold-2); display: inline-flex; gap: 4px; align-items: center; }
.topbar { background: var(--black); color: #cfc8b6; font-size: .84rem; }
.topbar-in { display: flex; justify-content: space-between; align-items: center; min-height: 40px; gap: 12px; }
.topbar a, .topbar span { color: #cfc8b6; display: inline-flex; align-items: center; gap: 6px; }
.topbar a:hover { color: var(--gold-2); }
.topbar-contacts { display: flex; gap: 22px; flex-wrap: wrap; }
.topbar-social { display: flex; gap: 12px; }

/* ---------- En-tête ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(250, 247, 240, .92); backdrop-filter: saturate(160%) blur(12px); border-bottom: 1px solid var(--line); transition: box-shadow .3s; }
.site-header.scrolled { box-shadow: 0 8px 24px -16px rgba(0, 0, 0, .35); }
.header-in { display: flex; align-items: center; justify-content: space-between; min-height: var(--header-h); gap: 20px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--black); }
.brand img { width: 56px; height: 56px; border-radius: 50%; box-shadow: 0 0 0 2px var(--gold), 0 6px 16px -6px rgba(0, 0, 0, .5); }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-text strong { font-family: var(--serif); font-size: 1.55rem; letter-spacing: 2.5px; background: var(--grad-gold); -webkit-background-clip: text; background-clip: text; color: transparent; }
.brand-text small { font-size: .68rem; letter-spacing: 1.8px; text-transform: uppercase; color: var(--ink-2); }
.main-nav { display: flex; align-items: center; gap: 22px; }
.main-nav > ul { display: flex; list-style: none; margin: 0; padding: 0; gap: 4px; }
.main-nav > ul > li { position: relative; }
.main-nav > ul > li > a, .dd-toggle { display: inline-flex; align-items: center; gap: 4px; padding: 10px 12px; color: var(--ink); font-weight: 600; font-size: .93rem; background: none; border: 0; cursor: pointer; border-radius: 8px; position: relative; }
.main-nav > ul > li > a::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 4px; height: 2px; background: var(--grad-gold); transform: scaleX(0); transition: transform .25s; transform-origin: left; }
.main-nav > ul > li > a:hover::after, .main-nav > ul > li > a[aria-current]::after { transform: scaleX(1); }
.dropdown { position: absolute; top: 100%; left: 0; min-width: 230px; list-style: none; margin: 0; padding: 8px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transform: translateY(8px); transition: .2s; }
.has-dd:hover .dropdown, .has-dd.open .dropdown { opacity: 1; visibility: visible; transform: none; }
.dropdown a { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 8px; color: var(--ink); font-weight: 500; }
.dropdown a:hover { background: var(--gold-soft); color: var(--black); }
.dropdown .ico { color: var(--gold-3); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.badge { position: absolute; top: -4px; right: -4px; background: var(--gold); color: var(--black); font-size: .7rem; font-weight: 700; min-width: 20px; height: 20px; border-radius: 10px; display: grid; place-items: center; padding: 0 5px; }
.nav-toggle { display: none; background: none; border: 0; width: 46px; height: 46px; cursor: pointer; color: var(--black); }
.nav-toggle .ico { width: 28px; height: 28px; }
.search-panel { border-top: 1px solid var(--line); background: var(--white); padding: 14px 0; }
.search-form { display: flex; align-items: center; gap: 12px; }
.search-form input { flex: 1; border: 0; background: transparent; padding: 10px 0; font-size: 1.05rem; outline: none; }

/* ---------- Hero / carrousel ---------- */
.hero { position: relative; height: min(84vh, 760px); min-height: 520px; overflow: hidden; background: var(--black); color: var(--white); }
.hero-track, .hero-slide { position: absolute; inset: 0; }
.hero-slide { opacity: 0; visibility: hidden; transition: opacity 1s ease, visibility 1s; }
.hero-slide.is-active { opacity: 1; visibility: visible; }
.hero-media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-slide.is-active img.hero-media { animation: kenburns 14s ease-out both; }
@keyframes kenburns { from { transform: scale(1.08); } to { transform: scale(1); } }
.hero-pattern { background:
  radial-gradient(1200px 500px at 85% 20%, rgba(201, 162, 74, .35), transparent 60%),
  radial-gradient(800px 400px at 10% 90%, rgba(201, 162, 74, .18), transparent 60%),
  repeating-linear-gradient(135deg, rgba(255, 255, 255, .025) 0 2px, transparent 2px 22px),
  linear-gradient(135deg, #0d0d0f 0%, #1d1a14 60%, #2a2316 100%); }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8, 8, 9, .85) 0%, rgba(8, 8, 9, .55) 50%, rgba(8, 8, 9, .15) 100%); }
.hero-content { position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; justify-content: center; max-width: var(--container); padding: 0 88px; }
.hero-content h1, .hero-content .h1 { color: var(--white); max-width: 760px; margin-bottom: .35em; }
.hero-content .lead { font-size: clamp(1.02rem, 1.6vw, 1.22rem); max-width: 600px; color: #e9e3d3; }
.is-active .hero-content > * { animation: rise .9s both; }
.is-active .hero-content > *:nth-child(2) { animation-delay: .15s; }
.is-active .hero-content > *:nth-child(3) { animation-delay: .3s; }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 10px; }
.hero-nav { position: absolute; top: 50%; transform: translateY(-50%); z-index: 3; width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .35); background: rgba(0, 0, 0, .25); color: var(--white); cursor: pointer; display: grid; place-items: center; transition: .2s; }
.hero-nav:hover { background: var(--gold); color: var(--black); border-color: var(--gold); }
.hero-nav.prev { left: 18px; } .hero-nav.next { right: 18px; }
.hero-dots { position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%); display: flex; gap: 10px; z-index: 3; }
.hero-dots button { width: 10px; height: 10px; padding: 0; border-radius: 10px; border: 0; background: rgba(255, 255, 255, .45); cursor: pointer; transition: width .3s, background .3s; }
.hero-dots button[aria-selected="true"] { width: 34px; background: var(--gold); }
.hero-sound { position: absolute; right: 20px; bottom: 22px; z-index: 3; display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .35); background: rgba(0, 0, 0, .35); color: var(--white); font-size: .82rem; cursor: pointer; backdrop-filter: blur(6px); }
.hero-sound span { display: inline-flex; align-items: center; gap: 6px; }
.hero-sound .when-sound, .hero-sound[aria-pressed="true"] .when-muted { display: none; }
.hero-sound[aria-pressed="true"] .when-sound { display: inline-flex; }
.hero-sound[hidden] { display: none; }
.hero-progress { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: rgba(255, 255, 255, .12); z-index: 3; }
.hero-progress span { display: block; height: 100%; width: 0; background: var(--grad-gold); }

/* ---------- Sections ---------- */
.section { padding: clamp(56px, 8vw, 96px) 0; }
.section-alt { background: var(--white); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 44px; }
.section-head.with-link { display: flex; justify-content: space-between; align-items: flex-end; max-width: none; text-align: left; gap: 20px; flex-wrap: wrap; }
.section-head.with-link h2 { margin: 0; }
.eyebrow { text-transform: uppercase; letter-spacing: 3px; font-size: .76rem; font-weight: 700; color: var(--gold-3); margin-bottom: .6em; display: inline-flex; align-items: center; gap: 10px; }
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--grad-gold); }
.sub-title { font-size: 1.6rem; margin: 40px 0 20px; }

.intro-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 60px; align-items: center; }
.intro-grid p { color: var(--ink-2); font-size: 1.04rem; }
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 0; }
.stats > div { background: var(--black); color: var(--white); border-radius: var(--radius); padding: 28px 22px; position: relative; overflow: hidden; }
.stats > div::after { content: ""; position: absolute; right: -30px; top: -30px; width: 110px; height: 110px; border-radius: 50%; background: radial-gradient(circle, rgba(201, 162, 74, .35), transparent 70%); }
.stats dt { font-family: var(--serif); font-size: 2.8rem; font-weight: 700; line-height: 1; background: var(--grad-gold); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stats dd { margin: 8px 0 0; color: #cfc8b6; font-size: .9rem; }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.services { background: var(--white); }
.service { background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px 26px; display: flex; flex-direction: column; align-items: flex-start; transition: transform .3s, box-shadow .3s, border-color .3s; }
.service:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--gold); }
.service p { color: var(--ink-2); flex: 1; }
.service-ico { width: 60px; height: 60px; border-radius: 16px; display: grid; place-items: center; background: var(--black); color: var(--gold-2); margin-bottom: 18px; }
.service-ico .ico { width: 28px; height: 28px; }

/* ---------- Cartes produits ---------- */
.grid-products { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 22px; }
.grid-5 { grid-template-columns: repeat(5, 1fr); }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; position: relative; transition: transform .3s, box-shadow .3s; }
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.card-media { position: relative; aspect-ratio: 4 / 3; background: var(--gold-soft); overflow: hidden; display: block; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.card:hover .card-media img { transform: scale(1.06); }
.card-body { padding: 16px 18px 18px; display: flex; flex-direction: column; flex: 1; }
.card-cat { font-size: .72rem; text-transform: uppercase; letter-spacing: 1.4px; color: var(--muted); margin: 0 0 4px; font-weight: 600; }
.card-title { font-family: var(--font); font-size: 1.02rem; font-weight: 700; margin: 0 0 6px; line-height: 1.3; }
.card-title a { color: var(--black); }
.card-title a:hover { color: var(--gold-3); }
.card-text { color: var(--ink-2); font-size: .88rem; margin-bottom: 12px; }
.card-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.price { font-weight: 800; color: var(--black); margin: 0; font-size: .98rem; }
.price small { font-weight: 500; color: var(--muted); }
.price-lg { font-size: 1.7rem; font-family: var(--serif); }
.chip { position: absolute; top: 12px; left: 12px; font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; padding: 5px 10px; border-radius: 999px; background: var(--black); color: var(--gold-2); }
.chip-vente { background: var(--grad-gold); color: var(--black); }
.chip-pieces { background: #fff; color: var(--black); border: 1px solid var(--line); }
.chip-cond { left: auto; right: 12px; background: rgba(255, 255, 255, .92); color: var(--ink); }
.chip-inline { position: static; display: inline-block; }
.admin-edit { position: absolute; top: 10px; right: 10px; background: #222; color: var(--gold-2); font-size: .75rem; padding: 4px 9px; border-radius: 6px; display: inline-flex; gap: 4px; align-items: center; z-index: 2; }
.admin-hint { text-align: center; color: var(--muted); border: 1px dashed var(--gold); padding: 16px; border-radius: var(--radius); margin-top: 30px; }

.news-card time { font-size: .8rem; color: var(--gold-3); font-weight: 600; margin-bottom: 4px; }
.news-card .card-media { aspect-ratio: 16 / 10; }

/* ---------- Pourquoi nous choisir ---------- */
.why { background: linear-gradient(180deg, var(--cream), var(--white)); }
.reason { display: flex; gap: 16px; padding: 22px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); }
.reason h3 { font-family: var(--font); font-size: 1.04rem; margin: 0 0 4px; }
.reason p { margin: 0; color: var(--ink-2); font-size: .92rem; }
.reason-ico { flex: none; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--gold-soft); color: var(--gold-3); }
.partners { margin-top: 60px; text-align: center; }
.partners-title { font-family: var(--font); font-size: .85rem; text-transform: uppercase; letter-spacing: 3px; color: var(--muted); margin-bottom: 22px; }
.partners-viewport { overflow: hidden; }
.partners-track { display: flex; transition: transform .6s ease; }
.partner { flex: 0 0 20%; padding: 0 10px; }
.partner > * { display: grid; place-items: center; height: 150px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 10px; transition: box-shadow .3s; }
.partner img { max-height: 126px; max-width: 100%; width: auto; object-fit: contain; transition: transform .3s; }
.partner:hover img { transform: scale(1.05); }
.partner:hover > * { box-shadow: 0 10px 24px -14px rgba(0, 0, 0, .35); }
.partner span { font-weight: 700; color: var(--ink-2); }
.partners-controls { display: flex; justify-content: center; gap: 10px; margin-top: 16px; }

/* ---------- Bandeaux ---------- */
.cta-band { background: var(--black); color: var(--white); padding: 56px 0; position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; inset: 0; background: radial-gradient(600px 300px at 90% 50%, rgba(201, 162, 74, .3), transparent 70%); }
.cta-in { position: relative; display: flex; justify-content: space-between; align-items: center; gap: 30px; flex-wrap: wrap; }
.cta-band h2 { color: var(--white); margin-bottom: .2em; }
.cta-band p { color: #cfc8b6; margin: 0; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.social-band { background: var(--white); border-top: 1px solid var(--line); padding: 46px 0; text-align: center; }
.social-band h2 { margin-bottom: .2em; }
.social-band p { color: var(--muted); }
.social-icons { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }
.social { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--black); color: var(--gold-2); transition: transform .25s, background .25s, color .25s; }
.social .ico { width: 22px; height: 22px; }
.social:hover { transform: translateY(-4px); background: var(--grad-gold); color: var(--black); }

/* ---------- Pied de page ---------- */
.site-footer { background: var(--black); color: #bdb6a4; font-size: .93rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.3fr 1fr; gap: 40px; padding: 60px 20px 40px; }
.site-footer h3 { color: var(--gold-2); font-family: var(--font); font-size: .82rem; text-transform: uppercase; letter-spacing: 2px; margin-bottom: 16px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.site-footer a { color: #bdb6a4; display: inline-flex; gap: 8px; align-items: center; }
.site-footer a:hover { color: var(--gold-2); }
.footer-contact li { display: flex; gap: 8px; align-items: flex-start; }
.footer-brand img { border-radius: 50%; box-shadow: 0 0 0 2px var(--gold); margin-bottom: 14px; }
.footer-name { font-family: var(--serif); font-size: 1.35rem; color: var(--white); margin-bottom: .3em; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .08); padding: 18px 0; font-size: .82rem; text-align: center; }
.wa-float { position: fixed; right: 18px; bottom: 18px; width: 58px; height: 58px; border-radius: 50%; background: #1fa855; color: #fff; display: grid; place-items: center; box-shadow: 0 10px 24px -6px rgba(31, 168, 85, .6); z-index: 60; transition: transform .2s; }
.wa-float:hover { transform: scale(1.08); color: #fff; }
.wa-float .ico { width: 28px; height: 28px; }
.to-top { position: fixed; right: 26px; bottom: 88px; width: 42px; height: 42px; border-radius: 50%; background: var(--black); color: var(--gold-2); display: grid; place-items: center; z-index: 60; opacity: 0; visibility: hidden; transition: .3s; }
.to-top .ico { transform: rotate(180deg); }
.to-top.show { opacity: 1; visibility: visible; }

/* Bandeau de consentement (Google Analytics) */
.cookie-banner { position: fixed; left: 18px; bottom: 18px; z-index: 70; max-width: 520px; background: var(--black); color: #e9e3d3; border: 1px solid rgba(201, 162, 74, .35); border-radius: var(--radius-sm); padding: 16px 18px; box-shadow: 0 18px 40px -16px rgba(0, 0, 0, .55); font-size: .9rem; }
.cookie-banner[hidden] { display: none; }
.cookie-banner p { margin: 0 0 12px; }
.cookie-banner a { color: var(--gold-2); text-decoration: underline; }
.cookie-actions { display: flex; gap: 10px; justify-content: flex-end; }
.btn-outline-light { background: transparent; color: #e9e3d3; border-color: rgba(255, 255, 255, .35); }
.btn-outline-light:hover { border-color: var(--gold-2); color: var(--gold-2); }
.link-btn { background: none; border: 0; padding: 0; font: inherit; color: #bdb6a4; cursor: pointer; text-align: left; }
.link-btn:hover { color: var(--gold-2); }
@media (max-width: 600px) {
  .cookie-banner { left: 10px; right: 10px; bottom: 10px; max-width: none; }
}

/* ---------- Pages intérieures ---------- */
.page-hero { background: linear-gradient(135deg, #0d0d0f, #231e15); color: var(--white); padding: 46px 0 50px; position: relative; overflow: hidden; }
.page-hero::after { content: ""; position: absolute; right: -120px; top: -120px; width: 380px; height: 380px; border-radius: 50%; background: radial-gradient(circle, rgba(201, 162, 74, .28), transparent 70%); }
.page-hero h1 { color: var(--white); font-size: clamp(1.9rem, 4vw, 2.9rem); margin: 0; position: relative; z-index: 1; }
.page-hero .lead { color: #d8d1bf; max-width: 760px; margin: 12px 0 0; position: relative; z-index: 1; }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0 0 14px; font-size: .84rem; }
.breadcrumbs li:not(:last-child)::after { content: "›"; margin-left: 6px; color: var(--gold); }
.breadcrumbs a { color: #cfc8b6; }
.breadcrumbs a:hover { color: var(--gold-2); }
.breadcrumbs span { color: var(--gold-2); }

.catalog-layout { display: grid; grid-template-columns: 280px 1fr; gap: 34px; align-items: start; }
.cat-side { position: sticky; top: calc(var(--header-h) + 16px); display: grid; gap: 18px; }
.offer-switch { display: grid; grid-template-columns: repeat(3, 1fr); background: var(--white); border: 1px solid var(--line); border-radius: 999px; padding: 4px; }
.offer-switch a { text-align: center; padding: 8px 4px; border-radius: 999px; font-size: .85rem; font-weight: 600; color: var(--ink); }
.offer-switch a[aria-current] { background: var(--black); color: var(--gold-2); }
.cat-details { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 8px; }
.cat-details summary { font-weight: 700; padding: 8px 10px; cursor: pointer; list-style: none; }
.cat-details summary::-webkit-details-marker { display: none; }
.cat-list { list-style: none; margin: 0; padding: 0; max-height: 60vh; overflow: auto; }
.cat-list a { display: flex; justify-content: space-between; gap: 8px; padding: 8px 10px; border-radius: 8px; color: var(--ink); font-size: .9rem; }
.cat-list a:hover { background: var(--cream); }
.cat-list a[aria-current] { background: var(--gold-soft); color: var(--black); font-weight: 700; }
.count { font-size: .76rem; color: var(--muted); background: var(--cream); border-radius: 999px; padding: 1px 8px; align-self: center; }
.side-cta { background: var(--black); color: #d8d1bf; padding: 20px; border-radius: var(--radius); }
.side-cta strong { color: var(--white); }
.toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-bottom: 24px; }
.toolbar-search { flex: 1; min-width: 220px; display: flex; align-items: center; gap: 8px; background: var(--white); border: 1px solid var(--line); border-radius: 999px; padding: 0 16px; }
.toolbar-search input { border: 0; outline: none; padding: 11px 0; width: 100%; background: transparent; }
.toolbar-search:focus-within { border-color: var(--gold); box-shadow: 0 0 0 3px var(--gold-soft); }
.toolbar-sort { display: flex; align-items: center; gap: 8px; font-size: .88rem; color: var(--muted); }
.toolbar-sort select, .search-big select { border: 1px solid var(--line); border-radius: 999px; padding: 10px 14px; background: var(--white); }
.toolbar-count { color: var(--muted); font-size: .88rem; margin: 0; }
.cat-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 14px; }
.cat-tile { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; display: flex; flex-direction: column; gap: 8px; color: var(--ink); transition: .25s; }
.cat-tile:hover { border-color: var(--gold); transform: translateY(-3px); box-shadow: var(--shadow); color: var(--black); }
.cat-tile img { border-radius: 8px; aspect-ratio: 16 / 10; object-fit: cover; }
.cat-tile-ico { width: 42px; height: 42px; border-radius: 12px; background: var(--gold-soft); color: var(--gold-3); display: grid; place-items: center; }
.cat-tile-name { font-weight: 700; font-size: .93rem; line-height: 1.3; }
.cat-tile .count { align-self: flex-start; }
.empty { text-align: center; background: var(--white); border: 1px dashed var(--gold); border-radius: var(--radius); padding: 44px 20px; color: var(--ink-2); }
.pagination { display: flex; justify-content: center; gap: 6px; margin-top: 34px; flex-wrap: wrap; }
.pagination a, .pagination span { min-width: 42px; height: 42px; display: grid; place-items: center; border-radius: 10px; border: 1px solid var(--line); background: var(--white); color: var(--ink); padding: 0 10px; }
.pagination a[aria-current] { background: var(--black); color: var(--gold-2); border-color: var(--black); }

.product-layout { display: grid; grid-template-columns: 1.1fr 1fr; gap: 50px; align-items: start; }
.gallery-main { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--white); border: 1px solid var(--line); aspect-ratio: 4 / 3; }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumbs { display: flex; gap: 10px; margin-top: 12px; overflow-x: auto; }
.gallery-thumbs button { border: 2px solid transparent; border-radius: 10px; padding: 0; overflow: hidden; cursor: pointer; flex: none; width: 92px; background: none; }
.gallery-thumbs button[aria-current="true"] { border-color: var(--gold); }
.product-info .card-cat a { color: var(--muted); }
.facts { list-style: none; padding: 0; margin: 18px 0; border-top: 1px solid var(--line); }
.facts li { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: .93rem; }
.facts span { color: var(--muted); }
.avail-disponible { color: var(--ok); }
.avail-indisponible { color: var(--danger); }
.lead-sm { font-size: 1.08rem; color: var(--ink-2); }
.add-form { display: flex; flex-wrap: wrap; gap: 10px; align-items: flex-end; margin: 20px 0 4px; }
.qty { display: grid; gap: 4px; font-size: .8rem; color: var(--muted); }
.qty input, .qty-input { width: 84px; padding: 10px; border: 1px solid var(--line); border-radius: 10px; background: var(--white); }
.twin { margin-top: 16px; display: flex; gap: 6px; align-items: center; }
.product-details { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; margin-top: 50px; }
.product-details h2 { font-size: 1.6rem; }
.specs table { width: 100%; border-collapse: collapse; background: var(--white); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.specs th, .specs td { text-align: left; padding: 11px 14px; border-bottom: 1px solid var(--line); font-size: .92rem; }
.specs th { width: 45%; background: var(--cream); font-weight: 600; color: var(--ink-2); }
.prose { color: var(--ink-2); font-size: 1.03rem; }
.prose h2, .prose h3 { margin-top: 1.4em; }
.prose img { border-radius: var(--radius); margin: 1em 0; }
.prose blockquote { border-left: 3px solid var(--gold); margin: 1em 0; padding: .4em 1.2em; background: var(--white); }
.prose table { width: 100%; border-collapse: collapse; }
.prose td, .prose th { border: 1px solid var(--line); padding: 8px; }
.article-img { border-radius: var(--radius); margin: 10px 0 24px; width: 100%; }
.share { display: flex; gap: 12px; align-items: center; margin-top: 30px; color: var(--muted); }
.link-list { padding-left: 18px; }
.link-list li { margin-bottom: 8px; }

/* ---------- Formulaires ---------- */
.card-pad { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(20px, 3vw, 34px); }
.form { display: grid; gap: 16px; align-content: start; }
.form label { display: grid; gap: 6px; font-weight: 600; font-size: .9rem; color: var(--ink); }
.form input, .form select, .form textarea { width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--cream); font-weight: 400; transition: border-color .2s, box-shadow .2s, background .2s; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--gold); background: var(--white); box-shadow: 0 0 0 3px var(--gold-soft); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-title { font-size: 1.45rem; margin-bottom: 4px; }
.alert { padding: 14px 18px; border-radius: 10px; margin: 16px 0; font-weight: 500; }
.alert-success { background: #e8f4ec; color: #1f5c38; border: 1px solid #bfe0cb; }
.alert-error { background: #fbeceb; color: #8a1f17; border: 1px solid #f1c4c0; }
.quote-layout, .contact-layout { display: grid; grid-template-columns: 1.6fr 1fr; gap: 30px; align-items: start; }
.contact-layout { grid-template-columns: 1fr 1.5fr; }
.contact-info, .quote-side { display: grid; gap: 20px; }
.quote-items { list-style: none; padding: 0; margin: 0 0 14px; display: grid; gap: 12px; }
.quote-items li { display: flex; gap: 12px; align-items: center; }
.quote-items img { border-radius: 8px; object-fit: cover; }
.quote-items small { display: block; color: var(--muted); }
.contact-mini { display: grid; gap: 10px; }
.contact-mini a, .contact-list a { display: inline-flex; gap: 8px; align-items: center; font-weight: 600; }
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.contact-list li { display: flex; gap: 12px; align-items: flex-start; }
.contact-list .ico { color: var(--gold-3); margin-top: 3px; }
.checks { list-style: none; padding: 0; display: grid; gap: 10px; }
.checks li { display: flex; gap: 10px; }
.checks .ico { color: var(--gold-3); margin-top: 3px; }
.map-wrap { margin-top: 40px; }
.map-wrap iframe { width: 100%; height: 420px; border: 0; border-radius: var(--radius); filter: grayscale(.25) contrast(1.05); }
.search-big { display: flex; gap: 10px; flex-wrap: wrap; margin: 0 0 24px; }
.done-ico { display: inline-grid; place-items: center; width: 96px; height: 96px; border-radius: 50%; background: var(--gold-soft); margin-bottom: 16px; }
.done-ico .ico-xl { margin: 0; }
.big-404 { font-family: var(--serif); font-size: 8rem; line-height: 1; margin: 0; background: var(--grad-gold); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hub-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 34px; display: flex; flex-direction: column; gap: 10px; align-items: flex-start; color: var(--ink); transition: .3s; }
.hub-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--gold); color: var(--ink); }
.hub-card p { color: var(--ink-2); flex: 1; }

/* ---------- Panier ---------- */
.table-wrap { overflow-x: auto; }
.cart-table { width: 100%; border-collapse: collapse; background: var(--white); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.cart-table th, .cart-table td { padding: 14px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: middle; }
.cart-table th { background: var(--black); color: var(--gold-2); font-size: .8rem; text-transform: uppercase; letter-spacing: 1px; font-weight: 600; }
.cart-prod { display: flex; gap: 12px; align-items: center; font-weight: 600; }
.cart-prod img { border-radius: 8px; object-fit: cover; }
.cart-summary { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; margin-top: 22px; }

/* ---------- Animations d'apparition ---------- */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s ease, transform .8s ease; }
.js .reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1200px) {
  .grid-5 { grid-template-columns: repeat(3, 1fr); }
  .main-nav { gap: 12px; }
  .main-nav > ul > li > a, .dd-toggle { padding: 10px 8px; }
}
@media (max-width: 1080px) {
  .nav-toggle { display: grid; place-items: center; }
  .main-nav { position: fixed; inset: 0 0 0 auto; width: min(360px, 88vw); background: var(--cream); flex-direction: column; align-items: stretch; padding: 90px 24px 24px; gap: 20px; transform: translateX(100%); visibility: hidden; transition: transform .35s ease, visibility .35s; box-shadow: var(--shadow-lg); overflow-y: auto; z-index: 70; }
  .main-nav.open { transform: none; visibility: visible; }
  .hero-nav { display: none; }
  .hero-content { padding: 0 20px; }
  .main-nav > ul { flex-direction: column; gap: 2px; }
  .main-nav > ul > li > a, .dd-toggle { width: 100%; justify-content: space-between; padding: 14px 6px; font-size: 1.05rem; border-bottom: 1px solid var(--line); border-radius: 0; }
  .main-nav > ul > li > a::after { display: none; }
  .dropdown { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; display: none; background: transparent; padding: 4px 0 8px 10px; }
  .has-dd.open .dropdown { display: block; }
  .has-dd:hover .dropdown { opacity: 1; }
  .nav-actions { flex-wrap: wrap; }
  .nav-toggle { position: relative; z-index: 80; }
  body.nav-open { overflow: hidden; }
  /* backdrop-filter créerait un bloc conteneur qui enfermerait le menu fixe dans l'en-tête */
  .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--cream); }
  body.nav-open::after { content: ""; position: fixed; inset: 0; background: rgba(0, 0, 0, .45); z-index: 40; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .catalog-layout { grid-template-columns: 1fr; }
  .cat-side { position: static; }
  .cat-details:not([open]) { padding-bottom: 8px; }
  .cat-list { max-height: 280px; }
}
@media (max-width: 860px) {
  :root { --header-h: 70px; }
  .intro-grid, .product-layout, .product-details, .quote-layout, .contact-layout { grid-template-columns: 1fr; gap: 30px; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .grid-5 { grid-template-columns: repeat(2, 1fr); }
  .partner { flex-basis: 33.333%; }
  .hide-md { display: none !important; }
  .hero-nav { display: none; }
  .brand img { width: 46px; height: 46px; }
  .brand-text strong { font-size: 1.3rem; }
}
@media (max-width: 600px) {
  body { font-size: 15px; }
  .container { padding: 0 16px; }
  .hide-sm { display: none !important; }
  .topbar-social { display: none; }
  .grid-3, .grid-4, .form-grid, .footer-grid { grid-template-columns: 1fr; }
  .grid-products, .grid-5 { grid-template-columns: 1fr 1fr; gap: 12px; }
  .card-body { padding: 12px; }
  .card-text { display: none; }
  .card-title { font-size: .92rem; }
  .price { font-size: .86rem; }
  .icon-btn { width: 38px; height: 38px; }
  .partner { flex-basis: 50%; }
  .hero { min-height: 560px; height: 88vh; }
  .hero-overlay { background: linear-gradient(180deg, rgba(8, 8, 9, .5) 0%, rgba(8, 8, 9, .85) 100%); }
  .hero-sound { right: 12px; bottom: 56px; }
  .stats dt { font-size: 2.2rem; }
  .section-head.with-link { align-items: flex-start; }
  .cart-table thead { display: none; }
  .cart-table, .cart-table tbody, .cart-table tr, .cart-table td { display: block; width: 100%; }
  .cart-table tr { border-bottom: 1px solid var(--line); padding: 8px 0; }
  .cart-table td { border: 0; padding: 6px 14px; }
  .cart-table td[data-label]::before { content: attr(data-label) " : "; color: var(--muted); font-size: .8rem; }
  .cart-table td:first-child::before { content: none; }
  .brand-text small { display: none; }
  .cat-tiles { grid-template-columns: 1fr 1fr; gap: 10px; }
  .cat-tile { padding: 12px; }
  .cat-tile-ico, .side-cta { display: none; }
  .cat-tile-name { font-size: .85rem; }
  .nav-actions .btn { width: 100%; }
}
@media print {
  .topbar, .site-header, .social-band, .site-footer, .wa-float, .to-top, .adminbar { display: none !important; }
}
