/* Nzo’s Maker — feuille de style */
:root {
  --yellow: #FFD400;
  --yellow-dark: #8A6F00;
  --black: #0E0E0E;
  --ink-2: #1A1A19;
  --line-dark: #2B2B29;
  --paper: #FAFAF7;
  --white: #FFFFFF;
  --line: #E8E8E2;
  --muted: #55554F;
  --muted-dark: #BDBDB6;
  --radius: 22px;
  --font-title: 'Space Grotesk', system-ui, sans-serif;
  --font: 'Inter', system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); color: var(--black); background: var(--paper); line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-title); letter-spacing: -0.03em; line-height: 1.08; margin: 0; }
p { margin: 0; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.muted { color: var(--muted); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--yellow); padding: 10px 16px; z-index: 100; border-radius: 8px; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; }

/* Boutons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 26px; border-radius: 999px; font-weight: 600; font-size: 16px; text-decoration: none; border: 1px solid transparent; cursor: pointer; font-family: var(--font); transition: transform .15s, background .15s; }
.btn:hover { transform: translateY(-1px); }
.btn-yellow { background: var(--yellow); color: var(--black); }
.btn-yellow:hover { background: #FFE033; }
.btn-black { background: var(--black); color: var(--paper); }
.btn-ghost { border-color: #4A4A46; color: var(--paper); background: transparent; }
.btn-outline { border-color: var(--black); color: var(--black); background: transparent; }
.btn-sm { min-height: 44px; padding: 0 20px; font-size: 15px; }
.btn[disabled], .btn.is-disabled { opacity: .5; pointer-events: none; }

/* Header */
.site-header { background: var(--black); color: var(--paper); position: sticky; top: 0; z-index: 50; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; font-family: var(--font-title); font-weight: 700; font-size: 22px; letter-spacing: -0.02em; color: var(--paper); }
.brand b { color: var(--yellow); font-weight: 700; }
.brand-logo { height: 50px; width: auto; display: block; }
@media (max-width: 600px) { .brand-logo { height: 38px; } }
.nav { display: flex; align-items: center; gap: 22px; font-size: 15px; }
.nav a:not(.btn) { color: #D9D9D4; text-decoration: none; padding: 6px 0; border-bottom: 2px solid transparent; }
.nav a:not(.btn):hover, .nav a[aria-current="page"]:not(.btn) { color: var(--white); border-bottom-color: var(--yellow); }
.menu-toggle { display: none; background: none; border: 0; color: var(--paper); width: 48px; height: 48px; cursor: pointer; }
@media (max-width: 1100px) {
  .menu-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .nav { display: none; position: absolute; top: 76px; left: 0; right: 0; background: var(--black); flex-direction: column; align-items: stretch; padding: 12px 24px 24px; gap: 4px; border-top: 1px solid var(--line-dark); }
  .nav.open { display: flex; }
  .nav a:not(.btn) { padding: 12px 0; }
  .nav .btn { margin-top: 10px; }
}

/* Sections */
.section { padding: 96px 0; }
.section-dark { background: var(--black); color: var(--paper); }
.section-yellow { background: var(--yellow); }
.eyebrow { display: inline-block; font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--yellow-dark); margin-bottom: 14px; }
.section-dark .eyebrow { color: var(--yellow); }
.section-yellow .eyebrow { color: var(--black); }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 48px; }
.section-head h2 { font-size: clamp(32px, 4.5vw, 46px); max-width: 660px; }
.section-head p { max-width: 400px; color: var(--muted); }
.section-dark .section-head p { color: var(--muted-dark); }

/* Hero */
.hero { background: var(--black); color: var(--paper); overflow: hidden; }
.hero-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 56px; padding-top: 72px; padding-bottom: 96px; }
.hero-text { flex: 1 1 480px; display: flex; flex-direction: column; gap: 26px; }
.badge { align-self: flex-start; border: 1px solid var(--yellow); color: var(--yellow); font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; padding: 8px 14px; border-radius: 999px; }
.hero h1 { font-size: clamp(42px, 6.4vw, 68px); line-height: 1.02; letter-spacing: -0.035em; }
.hero h1 span { color: var(--yellow); }
.hero p.lead { font-size: 19px; color: var(--muted-dark); max-width: 540px; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; }
.checks { display: flex; flex-wrap: wrap; gap: 24px; font-size: 14px; color: var(--muted-dark); }
.checks span { display: flex; align-items: center; gap: 8px; }
.checks svg { stroke: var(--yellow); }
.hero-visual { flex: 1 1 360px; display: flex; justify-content: center; }
.printer { width: 100%; max-width: 420px; aspect-ratio: 1; background: var(--ink-2); border: 1px solid var(--line-dark); border-radius: 28px; position: relative; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; padding: 40px; gap: 4px; }
.printer .rail { position: absolute; top: 40px; left: 40px; right: 40px; height: 10px; background: var(--line-dark); border-radius: 6px; }
.printer .head { position: absolute; top: 28px; left: 56%; width: 48px; height: 56px; background: var(--yellow); border-radius: 8px; animation: slide 4s ease-in-out infinite alternate; }
.printer .head::after { content: ""; position: absolute; left: 18px; bottom: -20px; width: 12px; height: 20px; background: var(--yellow); border-radius: 0 0 6px 6px; }
.printer .layer { height: 14px; border-radius: 4px; background: var(--yellow); }
.printer .bed { width: 92%; height: 18px; background: var(--line-dark); border-radius: 6px; margin-top: 8px; }
@keyframes slide { from { left: 22%; } to { left: 64%; } }
@media (prefers-reduced-motion: reduce) { .printer .head { animation: none; } html { scroll-behavior: auto; } }

/* Grilles & cartes */
.grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; display: flex; flex-direction: column; gap: 14px; }
.card h3 { font-size: 22px; font-weight: 600; letter-spacing: -0.02em; }
.card p { color: var(--muted); font-size: 15px; }
.icon { width: 52px; height: 52px; border-radius: 14px; background: var(--yellow); display: flex; align-items: center; justify-content: center; }
.icon svg { width: 26px; height: 26px; stroke: var(--black); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.card-link { margin-top: auto; font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.card-link:hover { text-decoration: underline; }

/* Étapes */
.steps { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.step { border-top: 3px solid currentColor; padding-top: 22px; display: flex; flex-direction: column; gap: 10px; }
.step .num { font-family: var(--font-title); font-size: 42px; font-weight: 700; color: #C9A600; }
.step h3 { font-size: 20px; font-weight: 600; }
.step p { color: var(--muted); font-size: 15px; }

/* Matériaux */
.dark-tiles { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.dark-tile { background: var(--black); color: var(--paper); border-radius: 18px; padding: 24px; display: flex; flex-direction: column; gap: 6px; }
.dark-tile strong { font-family: var(--font-title); font-size: 22px; color: var(--yellow); }
.dark-tile span { font-size: 14px; color: #D9D9D4; }

/* Page header */
.page-hero { background: var(--black); color: var(--paper); padding: 72px 0 64px; }
.page-hero h1 { font-size: clamp(38px, 5.5vw, 58px); margin-bottom: 16px; }
.page-hero p { color: var(--muted-dark); font-size: 18px; max-width: 640px; }

/* Boutique */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 32px; }
.chip { min-height: 44px; display: inline-flex; align-items: center; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line); background: var(--white); text-decoration: none; font-size: 15px; font-weight: 500; }
.chip[aria-current="true"] { background: var(--black); color: var(--paper); border-color: var(--black); }
.product { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.product-img { aspect-ratio: 1; background: #EFEFEA; position: relative; display: flex; align-items: center; justify-content: center; color: #9A9A92; }
.product-img img { width: 100%; height: 100%; object-fit: cover; }
.product-body { padding: 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.product-body h3 { font-size: 20px; font-weight: 600; letter-spacing: -0.02em; }
.product-body h3 a { text-decoration: none; }
.product-price { font-family: var(--font-title); font-size: 22px; font-weight: 700; }
.product-cat { font-size: 13px; color: var(--muted); }
.product-body .btn { margin-top: auto; }
.tag-sold { position: absolute; top: 14px; left: 14px; background: var(--black); color: var(--paper); font-size: 13px; font-weight: 600; padding: 6px 12px; border-radius: 999px; }
.product-detail { display: grid; gap: 48px; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); align-items: start; }
.product-detail .product-img { border-radius: var(--radius); overflow: hidden; }
.product-detail h1 { font-size: clamp(32px, 4vw, 44px); }
.desc { white-space: pre-line; color: var(--muted); }
.note-ext { font-size: 14px; color: var(--muted); }
.empty { text-align: center; padding: 64px 24px; background: var(--white); border: 1px dashed #D5D5CE; border-radius: var(--radius); color: var(--muted); }

/* Galerie */
.gallery { columns: 3 300px; column-gap: 20px; }
.gallery figure { break-inside: avoid; margin: 0 0 20px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.gallery figure button { all: unset; cursor: zoom-in; display: block; width: 100%; }
.gallery figcaption { padding: 16px 20px; }
.gallery figcaption strong { font-family: var(--font-title); font-size: 18px; display: block; }
.gallery figcaption span { color: var(--muted); font-size: 14px; }
.lightbox { position: fixed; inset: 0; background: rgba(14,14,14,.92); display: none; align-items: center; justify-content: center; z-index: 100; padding: 24px; }
.lightbox.open { display: flex; }
.lightbox img { max-height: 88vh; border-radius: 12px; }
.lightbox button { position: absolute; top: 16px; right: 16px; width: 48px; height: 48px; border-radius: 50%; border: 0; background: var(--yellow); font-size: 24px; cursor: pointer; }

/* Avis */
.stars { display: inline-flex; gap: 2px; }
.stars svg { width: 20px; height: 20px; }
.stars .on { fill: #F2B800; }
.stars .off { fill: #D8D8D0; }
.rating-summary { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; }
.rating-summary .big { font-family: var(--font-title); font-size: 56px; font-weight: 700; line-height: 1; }
.reviews { display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); }
.review { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; display: flex; flex-direction: column; gap: 12px; }
.review-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.review-name { font-weight: 600; }
.review-date { font-size: 13px; color: var(--muted); }
.review-text { white-space: pre-line; }
.review-photos { display: flex; gap: 8px; flex-wrap: wrap; }
.review-photos img { width: 84px; height: 84px; object-fit: cover; border-radius: 10px; cursor: zoom-in; }
.review-reply { background: #FFF8D1; border-radius: 14px; padding: 14px 16px; font-size: 14px; }
.review-reply strong { display: block; margin-bottom: 4px; }
.star-input { display: inline-flex; flex-direction: row-reverse; gap: 4px; border: 0; padding: 0; margin: 0; }
.star-input input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.star-input label { cursor: pointer; width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; }
.star-input label svg { width: 34px; height: 34px; fill: #D8D8D0; transition: fill .1s; }
.star-input input:checked ~ label svg, .star-input label:hover svg, .star-input label:hover ~ label svg { fill: #F2B800; }
.star-input input:focus-visible + label { outline: 3px solid var(--yellow); border-radius: 8px; }

/* Formulaires */
.form { display: flex; flex-direction: column; gap: 18px; }
.form-row { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.field { display: flex; flex-direction: column; gap: 8px; font-size: 14px; font-weight: 500; }
.field input, .field textarea, .field select { font: inherit; font-size: 16px; padding: 13px 15px; border-radius: 12px; border: 1px solid #CFCFC8; background: var(--white); color: var(--black); }
.field textarea { resize: vertical; min-height: 130px; }
.field small { color: var(--muted); font-weight: 400; }
.form-dark .field { color: #D9D9D4; }
.form-dark .field input, .form-dark .field textarea, .form-dark .field select { background: var(--black); border-color: #3A3A37; color: var(--paper); }
.panel { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; }
.panel-dark { background: var(--ink-2); border: 1px solid var(--line-dark); border-radius: 24px; padding: 34px; }
.hp { position: absolute; left: -9999px; }
.flash { padding: 14px 18px; border-radius: 12px; margin-bottom: 20px; font-weight: 500; }
.flash-ok { background: #E7F6E9; color: #1D5B28; }
.flash-err { background: #FDE8E6; color: #8A1F14; }

/* Contact */
.contact-grid { display: flex; flex-wrap: wrap; gap: 56px; }
.contact-grid > * { flex: 1 1 380px; min-width: 0; }
.contact-list { list-style: none; padding: 0; margin: 24px 0 0; display: flex; flex-direction: column; gap: 14px; }
.contact-list li { display: flex; align-items: center; gap: 12px; }
.contact-list svg { stroke: var(--yellow); flex-shrink: 0; }

/* Texte légal */
.prose { max-width: 780px; }
.prose h2 { font-size: 26px; margin: 40px 0 12px; }
.prose p, .prose li { color: #33332F; margin-bottom: 10px; }
.prose .todo { background: #FFF3B0; padding: 0 4px; border-radius: 4px; }

/* CTA */
.cta { background: var(--yellow); border-radius: 28px; padding: 56px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.cta h2 { font-size: clamp(28px, 4vw, 40px); max-width: 640px; }

/* Footer */
.site-footer { background: var(--black); color: var(--muted-dark); padding-top: 64px; }
.footer-grid { display: grid; gap: 40px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); padding-bottom: 48px; }
.footer-grid .muted { color: #8C8C86; margin-top: 12px; }
.footer-title { font-family: var(--font); font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--yellow); margin-bottom: 14px; }
.footer-links { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { color: var(--white); }
.footer-bottom { border-top: 1px solid var(--line-dark); padding: 22px 24px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 14px; color: #8C8C86; }
.footer-bottom a { text-decoration: none; }
.footer-bottom a:hover { color: var(--white); }

@media (max-width: 600px) {
  .section { padding: 64px 0; }
  .cta { padding: 36px 26px; }
  .panel, .panel-dark { padding: 22px; }
}

/* Zone d'intervention */
.towns { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.towns li { background: var(--black); color: var(--paper); border-radius: 999px; padding: 10px 18px; font-size: 15px; font-weight: 500; }

/* Matériel */
.gear { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.gear-img { aspect-ratio: 4 / 3; background: #EFEFEA; display: flex; align-items: center; justify-content: center; color: #9A9A92; }
.gear-img img { width: 100%; height: 100%; object-fit: cover; }
.gear-body { padding: 24px; display: flex; flex-direction: column; gap: 12px; }
.gear-type { align-self: flex-start; background: var(--yellow); font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; }
.gear-body h3 { font-size: 22px; font-weight: 600; letter-spacing: -0.02em; }
.specs { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; font-size: 14px; }
.specs dt { color: var(--muted); }
.specs dd { margin: 0; font-weight: 500; }

/* Stock filament */
.status { display: inline-block; align-self: flex-start; font-size: 13px; font-weight: 600; padding: 4px 10px; border-radius: 999px; white-space: nowrap; }
.st-ok { background: #E7F6E9; color: #1D5B28; }
.st-low { background: #FFF3B0; color: #6B5600; }
.st-out { background: #FBE4E1; color: #A3261A; }
.fil-note { background: #FFF8CC; border: 1px solid #F2DC66; border-radius: var(--radius); padding: 22px 26px; }
.fil-note p { margin: 6px 0 0; color: #3D3A22; }
.fil-grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
.fil-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: flex; flex-direction: column; gap: 14px; }
.fil-card.is-out { background: #F6F6F2; }
.fil-card.is-out .fil-swatch { opacity: .55; }
.fil-head { display: flex; align-items: center; gap: 14px; }
.fil-head h3 { font-size: 20px; font-weight: 600; letter-spacing: -0.02em; }
.fil-swatch { width: 48px; height: 48px; border-radius: 50%; flex: none; border: 1px solid rgba(0,0,0,.15); box-shadow: inset 0 0 0 7px rgba(255,255,255,.35); }
.fil-bar { height: 10px; background: #EDEDE8; border-radius: 999px; overflow: hidden; margin-bottom: 6px; border: 1px solid #E0E0DA; }
.fil-bar span { display: block; height: 100%; border-radius: 999px; min-width: 2px; }
.fil-card .btn { margin-top: auto; }

/* À propos */
.about { display: grid; gap: 32px; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); align-items: center; }
.about-facts { display: grid; gap: 14px; grid-template-columns: repeat(3, 1fr); }
.about-facts div { background: var(--black); color: var(--paper); border-radius: var(--radius); padding: 22px 18px; text-align: center; }
.about-facts b { display: block; font-family: var(--font-title); font-size: 38px; color: var(--yellow); line-height: 1.1; }
.about-facts span { font-size: 14px; color: var(--muted-dark); }