/* BEAUBOIS – charte : brun foncé, acajou, or chaud, crème ivoire, bois naturel. Mobile first. */
:root {
  --brun: #3A180D;
  --brun-2: #4a2416;
  --acajou: #A75A16;
  --or: #D99525;
  --or-clair: #E9B45A;
  --creme: #F5E4C7;
  --ivoire: #FBF5EA;
  --bois: #C47A32;
  --blanc: #FFFFFF;
  --encre: #2B140A;
  --texte: #4A3328;
  --muted: #7A5A45;
  --ligne: #E8D5B5;
  --ok: #2E7D4F;
  --warn: #B26A00;
  --danger: #A63A2A;
  --wa: #25D366;
  --wa-fonce: #128C4B;
  --radius: 6px;
  --shadow: 0 10px 30px -12px rgba(58, 24, 13, .28);
  --shadow-sm: 0 4px 14px -6px rgba(58, 24, 13, .22);
  --f-titre: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --f-texte: 'Montserrat', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --f-action: 'Poppins', 'Montserrat', system-ui, sans-serif;
  --w: 1240px;
  --gutter: 16px;
  --header-h: 64px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body { margin: 0; font-family: var(--f-texte); font-size: 15px; line-height: 1.65; color: var(--texte); background: var(--ivoire); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--acajou); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--brun); }
h1, h2, h3, h4 { font-family: var(--f-titre); color: var(--brun); line-height: 1.2; margin: 0 0 .5em; font-weight: 600; }
h1 { font-size: clamp(30px, 6vw, 52px); }
h2 { font-size: clamp(26px, 4.4vw, 40px); }
h3 { font-size: 20px; }
p { margin: 0 0 1em; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--or); outline-offset: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 8px; top: -60px; z-index: 200; background: var(--or); color: var(--brun); padding: 8px 14px; border-radius: var(--radius); }
.skip:focus { top: 8px; }
.wrap { width: 100%; max-width: var(--w); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 860px; }
.center { text-align: center; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.hidden { display: none !important; }

/* ---------- Boutons ---------- */
.btn { --bg: var(--or); --fg: var(--brun); display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 12px 24px; border: 1px solid var(--bg); border-radius: var(--radius); background: var(--bg); color: var(--fg); font-family: var(--f-action); font-weight: 600; font-size: 14px; letter-spacing: .06em; text-transform: uppercase; text-decoration: none; cursor: pointer; transition: transform .2s ease, background-color .2s ease, box-shadow .2s ease, color .2s ease; -webkit-tap-highlight-color: transparent; }
.btn:hover { background: var(--or-clair); border-color: var(--or-clair); color: var(--brun); box-shadow: var(--shadow-sm); }
.btn:active { transform: translateY(1px); }
.btn-outline { --bg: transparent; --fg: var(--brun); border-color: var(--brun); }
.btn-outline:hover { background: var(--brun); color: var(--creme); border-color: var(--brun); }
.btn-light { --bg: transparent; --fg: var(--creme); border-color: rgba(245, 228, 199, .55); }
.btn-light:hover { background: var(--creme); color: var(--brun); border-color: var(--creme); }
.btn-dark { --bg: var(--brun); --fg: var(--creme); }
.btn-dark:hover { background: var(--brun-2); color: var(--or); border-color: var(--brun-2); }
.btn-sm { min-height: 38px; padding: 8px 14px; font-size: 12px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
.btn-wa { --bg: var(--wa); --fg: #fff; letter-spacing: .04em; }
.btn-wa:hover { background: var(--wa-fonce); border-color: var(--wa-fonce); color: #fff; }
.btn-wa svg { width: 22px; height: 22px; flex: none; }
.link-btn { background: none; border: 0; padding: 0; color: var(--acajou); text-decoration: underline; cursor: pointer; font-size: inherit; }

/* ---------- Bandeau démonstration ---------- */
.demo-bar { background: var(--acajou); color: var(--creme); font-size: 12.5px; text-align: center; padding: 6px var(--gutter); }

/* ---------- En-tête ---------- */
.site-header { position: sticky; top: 0; z-index: 90; background: var(--brun); color: var(--creme); border-bottom: 1px solid rgba(217, 149, 37, .35); }
.site-header .bar { display: flex; align-items: center; gap: 12px; height: var(--header-h); }
.logo { display: flex; align-items: center; flex: none; }
.logo img { height: 44px; width: auto; }
.nav { display: none; }
.nav a { color: var(--creme); text-decoration: none; font-size: 13px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; padding: 8px 2px; position: relative; }
.nav a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px; background: var(--or); transform: scaleX(0); transform-origin: left; transition: transform .25s ease; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--or); }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.tools { margin-left: auto; display: flex; align-items: center; gap: 2px; }
.icon-btn { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; color: var(--creme); background: none; border: 0; border-radius: 50%; cursor: pointer; text-decoration: none; }
.icon-btn:hover { color: var(--or); background: rgba(245, 228, 199, .08); }
.icon-btn svg { width: 22px; height: 22px; }
.cart-count { position: absolute; top: 4px; right: 2px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--or); color: var(--brun); font: 700 11px/18px var(--f-action); text-align: center; }
.header-cta { display: none; }
.search-panel { background: var(--brun-2); border-top: 1px solid rgba(217, 149, 37, .25); padding: 12px 0; }
.search-panel form { display: flex; gap: 8px; }
.search-panel input { flex: 1; min-width: 0; height: 46px; padding: 0 14px; border: 1px solid rgba(245, 228, 199, .3); border-radius: var(--radius); background: rgba(255, 255, 255, .06); color: var(--creme); font-size: 16px; }
.search-panel input::placeholder { color: rgba(245, 228, 199, .6); }

/* Menu mobile */
.mobile-nav { position: fixed; inset: 0; z-index: 120; background: var(--brun); color: var(--creme); padding: 20px var(--gutter) 40px; overflow-y: auto; transform: translateX(100%); transition: transform .32s cubic-bezier(.2, .8, .2, 1); visibility: hidden; }
.mobile-nav.open { transform: none; visibility: visible; }
.mobile-nav .top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; }
.mobile-nav .top img { height: 42px; width: auto; }
.mobile-nav nav a { display: block; padding: 14px 0; border-bottom: 1px solid rgba(245, 228, 199, .12); color: var(--creme); text-decoration: none; font-family: var(--f-titre); font-size: 22px; }
.mobile-nav nav a small { display: block; font-family: var(--f-texte); font-size: 12px; color: rgba(245, 228, 199, .6); letter-spacing: .06em; text-transform: uppercase; }
.mobile-nav .btn { margin-top: 24px; width: 100%; }
body.menu-open { overflow: hidden; }

/* ---------- Héros ---------- */
.hero { position: relative; background: var(--brun); color: var(--creme); overflow: hidden; }
.hero-media { position: relative; height: 62vh; min-height: 380px; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.hero-media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(58, 24, 13, 0) 45%, rgba(58, 24, 13, .92) 100%); }
.hero-text { position: relative; padding: 0 var(--gutter) 48px; margin-top: -120px; z-index: 2; }
.hero .kicker { display: inline-flex; align-items: center; gap: 10px; font: 600 12px var(--f-action); letter-spacing: .24em; text-transform: uppercase; color: var(--or); }
.hero .kicker::before { content: ''; width: 34px; height: 1px; background: var(--or); }
.hero h1 { color: var(--or); font-size: clamp(36px, 8.4vw, 72px); letter-spacing: .02em; margin: 14px 0 10px; font-weight: 700; }
.hero .sub { font-family: var(--f-titre); font-style: italic; font-size: clamp(19px, 3vw, 26px); color: var(--creme); margin-bottom: 14px; }
.hero .desc { max-width: 520px; color: rgba(245, 228, 199, .86); margin-bottom: 26px; }
.hero .ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.hero .ctas .btn { flex: 1 1 220px; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 30px; padding-top: 22px; border-top: 1px solid rgba(217, 149, 37, .25); font-size: 13px; color: rgba(245, 228, 199, .8); }
.hero-badges span { display: inline-flex; align-items: center; gap: 8px; }
.hero-badges svg { width: 16px; height: 16px; color: var(--or); }

/* ---------- Sections ---------- */
.section { padding: 64px 0; }
.section-sm { padding: 40px 0; }
.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 30px; }
.section-head p { max-width: 560px; margin: 0; color: var(--muted); }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font: 600 12px var(--f-action); letter-spacing: .22em; text-transform: uppercase; color: var(--acajou); margin-bottom: 10px; }
.eyebrow::before { content: ''; width: 28px; height: 1px; background: var(--or); }
.ornament { display: block; width: 64px; height: 10px; margin: 6px 0 18px; background: radial-gradient(circle, var(--or) 2.5px, transparent 3px) center / 10px 10px no-repeat, linear-gradient(var(--or), var(--or)) left center / 26px 1px no-repeat, linear-gradient(var(--or), var(--or)) right center / 26px 1px no-repeat; }
.center .ornament { margin-left: auto; margin-right: auto; }
.bg-creme { background: var(--creme); }
.bg-blanc { background: var(--blanc); }
.bg-bois { position: relative; background: var(--brun); color: var(--creme); isolation: isolate; }
.bg-bois::before { content: ''; position: absolute; inset: 0; z-index: -1; background: url('/img/produits/texture-noyer-poignees.jpg') center / cover; opacity: .22; }
.bg-bois h2, .bg-bois h3 { color: var(--creme); }
.bg-bois .eyebrow { color: var(--or); }
.bg-bois .section-head p, .bg-bois .muted { color: rgba(245, 228, 199, .75); }

/* Page header */
.page-head { background: var(--brun); color: var(--creme); padding: 40px 0 34px; position: relative; isolation: isolate; }
.page-head::before { content: ''; position: absolute; inset: 0; z-index: -1; background: url('/img/produits/texture-noyer-poignees.jpg') center 30% / cover; opacity: .16; }
.page-head h1 { color: var(--creme); font-size: clamp(28px, 5.4vw, 46px); margin-bottom: 8px; }
.page-head p { color: rgba(245, 228, 199, .8); max-width: 680px; margin: 0; }
.crumbs { font-size: 12px; letter-spacing: .06em; margin-bottom: 12px; color: rgba(245, 228, 199, .65); }
.crumbs a { color: var(--or); text-decoration: none; }
.crumbs span { margin: 0 6px; }

/* ---------- Grilles produits ---------- */
.grid { display: grid; gap: 18px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.card { position: relative; display: flex; flex-direction: column; background: var(--blanc); border-radius: var(--radius); overflow: hidden; box-shadow: 0 1px 0 var(--ligne); transition: box-shadow .3s ease, transform .3s ease; }
.card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.card .media { position: relative; aspect-ratio: 4 / 5; background: var(--creme); overflow: hidden; }
.card .media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.2, .8, .2, 1); }
.card:hover .media img { transform: scale(1.04); }
.card .body { display: flex; flex-direction: column; gap: 4px; padding: 12px 12px 14px; flex: 1; }
.card .cat { font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.card h3 { font-size: 16px; margin: 0; }
.card h3 a { color: var(--brun); text-decoration: none; }
.card h3 a::after { content: ''; position: absolute; inset: 0; }
.card .meta { font-size: 12px; color: var(--muted); }
.price { font-family: var(--f-action); font-weight: 600; color: var(--acajou); font-size: 15px; margin-top: auto; padding-top: 6px; }
.price .old { color: var(--muted); text-decoration: line-through; font-weight: 400; font-size: 13px; margin-left: 6px; }
.price.devis { color: var(--brun); font-weight: 500; font-size: 13.5px; }
.badges { position: absolute; top: 10px; left: 10px; display: flex; flex-direction: column; gap: 6px; z-index: 2; align-items: flex-start; }
.badge { display: inline-block; padding: 3px 8px; border-radius: 3px; font: 600 10.5px var(--f-action); letter-spacing: .06em; text-transform: uppercase; background: var(--brun); color: var(--or); }
.badge-gold { background: var(--or); color: var(--brun); }
.badge-demo { background: rgba(255, 255, 255, .92); color: var(--acajou); border: 1px solid var(--ligne); }
.badge-out { background: var(--danger); color: #fff; }

/* Catégories */
.cats { display: grid; gap: 14px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cat-tile { position: relative; display: block; aspect-ratio: 3 / 4; border-radius: var(--radius); overflow: hidden; color: var(--creme); text-decoration: none; background: var(--brun); }
.cat-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2, .8, .2, 1); }
.cat-tile::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(58, 24, 13, 0) 40%, rgba(58, 24, 13, .88)); }
.cat-tile .label { position: absolute; left: 14px; right: 14px; bottom: 14px; z-index: 2; }
.cat-tile .label strong { display: block; font-family: var(--f-titre); font-size: 19px; font-weight: 600; line-height: 1.2; color: var(--creme); }
.cat-tile .label span { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--or); }
.cat-tile:hover img { transform: scale(1.05); }
.cat-tile:hover { color: var(--creme); }

/* Bloc split (photo + texte) */
.split { display: grid; gap: 28px; align-items: center; }
.split .photo { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.split .photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }

/* Arguments */
.features { display: grid; gap: 16px; grid-template-columns: 1fr; }
.feature { padding: 22px; border: 1px solid rgba(217, 149, 37, .3); border-radius: var(--radius); background: rgba(255, 255, 255, .03); }
.feature .ico { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--or); color: var(--or); margin-bottom: 14px; }
.feature .ico svg { width: 22px; height: 22px; }
.feature h3 { font-size: 19px; margin-bottom: 6px; }
.feature p { margin: 0; font-size: 14px; }
.bg-creme .feature, .bg-blanc .feature, .section:not(.bg-bois) .feature { background: var(--blanc); border-color: var(--ligne); }
.bg-creme .feature .ico, .section:not(.bg-bois) .feature .ico { color: var(--acajou); border-color: var(--or); }

/* Engagements */
.commit-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.commit-list li { display: flex; gap: 12px; align-items: flex-start; }
.commit-list svg { flex: none; width: 22px; height: 22px; color: var(--or); margin-top: 2px; }

/* Réalisations */
.gallery { display: grid; gap: 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.gallery figure { margin: 0; position: relative; border-radius: var(--radius); overflow: hidden; background: var(--brun); }
.gallery img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; transition: transform .8s ease; }
.gallery figure:hover img { transform: scale(1.04); }
.gallery figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 12px 12px; background: linear-gradient(180deg, transparent, rgba(58, 24, 13, .9)); color: var(--creme); font-size: 13px; }
.gallery figcaption strong { display: block; font-family: var(--f-titre); font-size: 16px; font-weight: 600; }

/* Témoignages */
.reviews { display: grid; gap: 16px; }
.review { background: var(--blanc); padding: 22px; border-radius: var(--radius); border-left: 3px solid var(--or); }
.stars { color: var(--or); letter-spacing: 2px; }
.empty-note { padding: 26px; border: 1px dashed var(--ligne); border-radius: var(--radius); text-align: center; color: var(--muted); background: var(--blanc); }

/* Bloc devis CTA */
.quote-cta { display: grid; gap: 22px; align-items: center; padding: 34px 22px; border-radius: var(--radius); background: var(--brun); color: var(--creme); position: relative; overflow: hidden; isolation: isolate; }
.quote-cta::before { content: ''; position: absolute; inset: 0; z-index: -1; background: url('/img/produits/placard-luxe-noyer-or.jpg') center / cover; opacity: .2; }
.quote-cta h2 { color: var(--or); }
.quote-cta .steps { display: grid; gap: 10px; counter-reset: s; list-style: none; padding: 0; margin: 0 0 6px; }
.quote-cta .steps li { counter-increment: s; display: flex; gap: 12px; align-items: center; font-size: 14px; }
.quote-cta .steps li::before { content: counter(s); flex: none; width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--or); color: var(--or); display: grid; place-items: center; font: 600 13px var(--f-action); }

/* Newsletter */
.newsletter { display: grid; gap: 14px; }
.inline-form { display: flex; gap: 8px; flex-wrap: wrap; }
.inline-form input { flex: 1 1 220px; min-width: 0; height: 48px; padding: 0 14px; border: 1px solid var(--ligne); border-radius: var(--radius); background: var(--blanc); font-size: 16px; }

/* ---------- Catalogue ---------- */
.catalog { display: grid; gap: 22px; }
.filters { background: var(--blanc); border-radius: var(--radius); padding: 16px; border: 1px solid var(--ligne); }
.filters summary { cursor: pointer; font: 600 14px var(--f-action); color: var(--brun); list-style: none; display: flex; align-items: center; justify-content: space-between; }
.filters summary::-webkit-details-marker { display: none; }
.filters summary::after { content: '+'; font-size: 20px; color: var(--or); }
.filters[open] summary::after { content: '–'; }
.filters .group { margin-top: 16px; }
.filters .group > strong { display: block; font: 600 11.5px var(--f-action); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.filters .chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { display: inline-flex; align-items: center; min-height: 34px; padding: 4px 12px; border: 1px solid var(--ligne); border-radius: 20px; background: var(--ivoire); color: var(--texte); font-size: 13px; text-decoration: none; }
.chip:hover { border-color: var(--or); color: var(--brun); }
.chip.on { background: var(--brun); border-color: var(--brun); color: var(--or); }
.chip small { margin-left: 6px; opacity: .65; }
.filters .row2 { display: flex; gap: 8px; }
.filters .row2 input { width: 100%; }
.toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 16px; font-size: 13.5px; }
.toolbar select { height: 40px; padding: 0 10px; border: 1px solid var(--ligne); border-radius: var(--radius); background: var(--blanc); }
.pagination { display: flex; justify-content: center; gap: 6px; margin-top: 28px; }

/* ---------- Fiche produit ---------- */
.product { display: grid; gap: 28px; padding: 26px 0 50px; }
.pgallery .main { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--creme); aspect-ratio: 4 / 5; }
.pgallery .main img { width: 100%; height: 100%; object-fit: cover; cursor: zoom-in; }
.pgallery .thumbs { display: flex; gap: 8px; margin-top: 10px; overflow-x: auto; }
.pgallery .thumbs button { flex: none; width: 70px; height: 86px; padding: 0; border: 2px solid transparent; border-radius: 4px; overflow: hidden; background: none; cursor: pointer; }
.pgallery .thumbs button[aria-current="true"] { border-color: var(--or); }
.pgallery .thumbs img { width: 100%; height: 100%; object-fit: cover; }
.pinfo .ref { font-size: 12px; letter-spacing: .1em; color: var(--muted); text-transform: uppercase; }
.pinfo h1 { font-size: clamp(28px, 5vw, 40px); margin: 6px 0 10px; }
.pinfo .price { font-size: 24px; padding: 0; }
.avail { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; margin: 10px 0 18px; }
.avail::before { content: ''; width: 9px; height: 9px; border-radius: 50%; background: var(--ok); }
.avail.rupture::before { background: var(--danger); }
.avail.faible::before, .avail.sur_demande::before { background: var(--warn); }
.avail.commande::before { background: var(--or); }
.specs { width: 100%; border-collapse: collapse; margin: 18px 0; font-size: 14px; }
.specs th, .specs td { text-align: left; padding: 9px 0; border-bottom: 1px solid var(--ligne); vertical-align: top; }
.specs th { width: 42%; font-weight: 500; color: var(--muted); }
.buybox { background: var(--blanc); border: 1px solid var(--ligne); border-radius: var(--radius); padding: 18px; display: grid; gap: 14px; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--ligne); border-radius: var(--radius); background: var(--blanc); }
.qty button { width: 44px; height: 46px; background: none; border: 0; font-size: 20px; cursor: pointer; color: var(--brun); }
.qty input { width: 52px; height: 46px; text-align: center; border: 0; font-size: 16px; -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
.actions { display: grid; gap: 10px; }
.notice { padding: 12px 14px; border-radius: var(--radius); background: var(--creme); font-size: 13.5px; border-left: 3px solid var(--or); }
.notice.demo { background: #FFF6E5; border-left-color: var(--acajou); }
.notice.ok { background: #EAF5EE; border-left-color: var(--ok); }
.notice.error { background: #FBECE9; border-left-color: var(--danger); }
.notice.info { background: var(--ivoire); border-left-color: var(--bois); }
.notice ul { margin: 6px 0 0; padding-left: 18px; }
.lightbox { position: fixed; inset: 0; z-index: 150; background: rgba(20, 8, 3, .94); display: grid; place-items: center; padding: 20px; }
.lightbox img { max-height: 92vh; width: auto; border-radius: 4px; }
.lightbox button { position: absolute; top: 14px; right: 14px; }

/* ---------- Formulaires ---------- */
.form { display: grid; gap: 16px; }
.field { display: grid; gap: 6px; }
.field > span, .field > label, fieldset > legend { font: 500 13.5px var(--f-texte); color: var(--brun); }
.field .hint { font-size: 12.5px; color: var(--muted); }
.req { color: var(--acajou); }
input[type=text], input[type=email], input[type=tel], input[type=password], input[type=number], input[type=date], input[type=search], select, textarea {
  width: 100%; min-height: 48px; padding: 11px 14px; border: 1px solid #DCC6A2; border-radius: var(--radius); background: var(--blanc); font-size: 16px; color: var(--encre); transition: border-color .2s, box-shadow .2s; }
textarea { min-height: 110px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--or); box-shadow: 0 0 0 3px rgba(217, 149, 37, .22); }
select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23A75A16' stroke-width='1.6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 38px; }
.cols-2 { display: grid; gap: 16px; }
fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.choices { display: grid; gap: 8px; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.choice span { display: flex; align-items: center; gap: 8px; min-height: 48px; padding: 10px 12px; border: 1px solid #DCC6A2; border-radius: var(--radius); background: var(--blanc); font-size: 14px; line-height: 1.3; transition: border-color .2s, background .2s; }
.choice span::before { content: ''; flex: none; width: 18px; height: 18px; border: 1.5px solid var(--bois); border-radius: 4px; background: var(--blanc); }
.choice input[type=radio] + span::before { border-radius: 50%; }
.choice input:checked + span { border-color: var(--or); background: #FFF8EC; color: var(--brun); font-weight: 500; }
.choice input:checked + span::before { background: var(--or) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='10'%3E%3Cpath d='M1 5l3.5 3.5L11 1' fill='none' stroke='%233A180D' stroke-width='2'/%3E%3C/svg%3E") center no-repeat; border-color: var(--or); }
.choice input:focus-visible + span { outline: 2px solid var(--or); outline-offset: 2px; }
.choices.big { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; }
.check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--acajou); flex: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Formulaire de devis multi-étapes */
.stepper { display: flex; gap: 4px; list-style: none; padding: 0; margin: 0 0 22px; counter-reset: st; }
.stepper li { flex: 1; counter-increment: st; font-size: 0; }
.stepper li::before { content: counter(st); display: grid; place-items: center; width: 30px; height: 30px; margin: 0 auto 6px; border-radius: 50%; border: 1px solid var(--ligne); background: var(--blanc); color: var(--muted); font: 600 13px var(--f-action); }
.stepper li::after { content: ''; display: block; height: 3px; border-radius: 2px; background: var(--ligne); }
.stepper li.done::before { background: var(--brun); border-color: var(--brun); color: var(--or); }
.stepper li.done::after, .stepper li.on::after { background: var(--or); }
.stepper li.on::before { background: var(--or); border-color: var(--or); color: var(--brun); }
.step { background: var(--blanc); border-radius: var(--radius); padding: 22px 18px; border: 1px solid var(--ligne); }
.js .step:not(.active) { display: none; }
.step h2 { font-size: 24px; display: flex; align-items: baseline; gap: 10px; }
.step h2 small { font: 600 12px var(--f-action); letter-spacing: .14em; color: var(--acajou); text-transform: uppercase; }
.step-nav { display: flex; gap: 10px; justify-content: space-between; margin-top: 22px; }
.step-nav .btn { flex: 1; }
.no-js-only { }
.js .no-js-only { display: none; }
.recap dl { display: grid; grid-template-columns: minmax(120px, 38%) 1fr; gap: 6px 14px; margin: 0; font-size: 14px; }
.recap dt { color: var(--muted); }
.recap dd { margin: 0; color: var(--encre); word-break: break-word; }
.recap h3 { font-size: 16px; margin: 18px 0 8px; padding-bottom: 6px; border-bottom: 1px solid var(--ligne); }
.dropzone { display: grid; place-items: center; gap: 6px; padding: 26px 16px; border: 2px dashed #DCC6A2; border-radius: var(--radius); background: var(--ivoire); text-align: center; cursor: pointer; }
.dropzone.drag { border-color: var(--or); background: #FFF8EC; }
.dropzone input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.file-list { list-style: none; padding: 0; margin: 10px 0 0; display: grid; gap: 6px; font-size: 13.5px; }
.file-list li { display: flex; justify-content: space-between; gap: 10px; padding: 8px 12px; background: var(--ivoire); border-radius: 4px; }

/* ---------- Panier / commande ---------- */
.cart-layout { display: grid; gap: 24px; padding: 28px 0 60px; }
.cart-line { display: grid; grid-template-columns: 84px 1fr; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--ligne); }
.cart-line img { width: 84px; height: 104px; object-fit: cover; border-radius: 4px; }
.cart-line h3 { font-size: 17px; margin: 0 0 2px; }
.cart-line h3 a { color: var(--brun); text-decoration: none; }
.cart-line .line-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-top: 8px; }
.summary { background: var(--blanc); border: 1px solid var(--ligne); border-radius: var(--radius); padding: 20px; align-self: start; }
.summary .row { display: flex; justify-content: space-between; gap: 10px; padding: 7px 0; font-size: 14px; }
.summary .total { border-top: 1px solid var(--ligne); margin-top: 6px; padding-top: 12px; font: 600 18px var(--f-action); color: var(--brun); }
.summary .btn { margin-top: 10px; }
.pay-logos { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.pay-logos span { padding: 4px 8px; border: 1px solid var(--ligne); border-radius: 4px; font: 600 11px var(--f-action); color: var(--muted); background: var(--ivoire); }

/* Statuts & suivi */
.status { display: inline-block; padding: 3px 10px; border-radius: 20px; font: 600 11.5px var(--f-action); letter-spacing: .03em; background: var(--creme); color: var(--brun); white-space: nowrap; }
.status.ok { background: #DDF0E4; color: #1E5C38; }
.status.warn { background: #FFEBC7; color: #7A4A00; }
.status.danger { background: #F6D9D4; color: #7E2A1E; }
.status.gold { background: #F8E3B8; color: #6E4410; }
.status.info { background: #EFE3D2; color: var(--brun); }
.track { list-style: none; padding: 0; margin: 18px 0; display: grid; gap: 0; }
.track li { position: relative; padding: 0 0 18px 32px; font-size: 14px; color: var(--muted); }
.track li::before { content: ''; position: absolute; left: 6px; top: 4px; width: 12px; height: 12px; border-radius: 50%; border: 2px solid var(--ligne); background: var(--blanc); }
.track li::after { content: ''; position: absolute; left: 11px; top: 18px; bottom: 0; width: 2px; background: var(--ligne); }
.track li:last-child::after { display: none; }
.track li.done { color: var(--encre); }
.track li.done::before { background: var(--or); border-color: var(--or); }
.track li.current { color: var(--brun); font-weight: 600; }
.track li.current::before { background: var(--brun); border-color: var(--or); box-shadow: 0 0 0 4px rgba(217, 149, 37, .25); }
.panel { background: var(--blanc); border: 1px solid var(--ligne); border-radius: var(--radius); padding: 20px; }
.panel + .panel { margin-top: 18px; }
.panel h2 { font-size: 22px; }
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
table.list { width: 100%; border-collapse: collapse; font-size: 14px; }
table.list th, table.list td { padding: 10px 8px; text-align: left; border-bottom: 1px solid var(--ligne); vertical-align: top; }
table.list th { font: 600 11.5px var(--f-action); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
table.list td.num, table.list th.num { text-align: right; white-space: nowrap; }
.wa-box { display: grid; gap: 10px; padding: 18px; border-radius: var(--radius); background: #EFFAF3; border: 1px solid #BFE8CF; }
.wa-box p { margin: 0; font-size: 13.5px; color: #24563A; }
.big-ref { font: 600 clamp(22px, 5vw, 30px) var(--f-action); color: var(--brun); letter-spacing: .04em; }
.thread { display: grid; gap: 10px; margin: 12px 0; }
.msg { padding: 10px 14px; border-radius: var(--radius); background: var(--ivoire); font-size: 14px; max-width: 92%; }
.msg.beaubois { background: var(--creme); justify-self: end; }
.msg small { display: block; color: var(--muted); font-size: 11.5px; margin-bottom: 2px; }

/* Compte */
.account-nav { display: flex; gap: 6px; overflow-x: auto; margin: 0 0 22px; padding-bottom: 4px; }
.account-nav a { flex: none; padding: 9px 16px; border-radius: 20px; border: 1px solid var(--ligne); background: var(--blanc); color: var(--brun); text-decoration: none; font-size: 14px; }
.account-nav a.on { background: var(--brun); color: var(--or); border-color: var(--brun); }
.auth-box { max-width: 460px; margin: 40px auto 70px; }

/* ---------- Pied de page ---------- */
.site-footer { background: var(--brun); color: rgba(245, 228, 199, .82); padding: 56px 0 26px; font-size: 14px; border-top: 3px solid var(--or); }
.site-footer a { color: rgba(245, 228, 199, .82); text-decoration: none; }
.site-footer a:hover { color: var(--or); }
.footer-grid { display: grid; gap: 34px; }
.site-footer h3 { color: var(--or); font-family: var(--f-action); font-size: 12.5px; letter-spacing: .2em; text-transform: uppercase; margin-bottom: 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer .brand img { height: 74px; width: auto; margin-bottom: 14px; }
.site-footer .sign { font-family: var(--f-titre); font-style: italic; color: var(--or); font-size: 17px; }
.socials { display: flex; gap: 8px; margin-top: 14px; }
.socials a { width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid rgba(217, 149, 37, .45); border-radius: 50%; }
.socials svg { width: 18px; height: 18px; }
.footer-bottom { margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(217, 149, 37, .25); display: flex; flex-wrap: wrap; gap: 10px 20px; justify-content: space-between; font-size: 12.5px; }
.site-footer .inline-form input { background: rgba(255, 255, 255, .06); border-color: rgba(245, 228, 199, .3); color: var(--creme); }

/* Bouton WhatsApp flottant */
.wa-float { position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 80; width: 58px; height: 58px; border-radius: 50%; background: var(--wa); color: #fff; display: grid; place-items: center; box-shadow: 0 8px 22px -6px rgba(0, 0, 0, .45); transition: transform .2s ease; }
.wa-float:hover { transform: scale(1.06); color: #fff; }
.wa-float svg { width: 30px; height: 30px; }

/* Flash */
.flash { position: relative; z-index: 5; }
.flash .notice { margin: 14px 0 0; }

/* Contenu légal */
.prose { max-width: 820px; }
.prose h2 { font-size: 24px; margin-top: 34px; }
.prose ul { padding-left: 20px; }

/* Animations d'apparition */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s cubic-bezier(.2, .8, .2, 1), transform .8s cubic-bezier(.2, .8, .2, 1); }
.js .reveal.in { opacity: 1; transform: none; }
.hero .anim { animation: rise 1s cubic-bezier(.2, .8, .2, 1) both; }
.hero .anim:nth-child(2) { animation-delay: .12s; }
.hero .anim:nth-child(3) { animation-delay: .24s; }
.hero .anim:nth-child(4) { animation-delay: .36s; }
.hero .anim:nth-child(5) { animation-delay: .48s; }
.hero-media img { animation: zoom 9s ease-out both; }
@keyframes rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@keyframes zoom { from { transform: scale(1.08); } to { transform: scale(1); } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ---------- Tablette ---------- */
@media (min-width: 640px) {
  :root { --gutter: 24px; }
  .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
  .cats { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .features { grid-template-columns: repeat(2, 1fr); }
  .reviews { grid-template-columns: repeat(2, 1fr); }
  .cols-2 { grid-template-columns: 1fr 1fr; }
  .card .body { padding: 16px; }
  .card h3 { font-size: 18px; }
  .step { padding: 30px; }
  .quote-cta { padding: 46px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .cart-line { grid-template-columns: 110px 1fr; }
  .cart-line img { width: 110px; height: 136px; }
}

/* ---------- Ordinateur ---------- */
@media (min-width: 1024px) {
  :root { --header-h: 84px; }
  body { font-size: 15.5px; }
  .logo img { height: 58px; }
  .nav { display: flex; gap: 26px; margin-left: 34px; }
  .menu-toggle { display: none !important; }
  .header-cta { display: inline-flex; margin-left: 10px; }
  .hero { display: grid; grid-template-columns: 1.02fr 1fr; min-height: calc(100vh - var(--header-h)); max-height: 900px; }
  .hero-media { order: 2; height: auto; min-height: 0; }
  .hero-media::after { background: linear-gradient(90deg, rgba(58, 24, 13, .85) 0%, rgba(58, 24, 13, 0) 30%); }
  .hero-text { order: 1; margin: 0; padding: 0 56px 0 max(var(--gutter), calc((100vw - var(--w)) / 2 + var(--gutter))); display: flex; flex-direction: column; justify-content: center; }
  .hero-text::before { content: ''; position: absolute; inset: 0; z-index: -1; background: url('/img/produits/texture-noyer-poignees.jpg') center / cover; opacity: .12; }
  .hero .ctas .btn { flex: 0 1 auto; }
  .section { padding: 96px 0; }
  .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 26px; }
  .grid.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cats.portes { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .cats.placards { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
  .split { grid-template-columns: 1fr 1fr; gap: 64px; }
  .split.rev .photo { order: 2; }
  .features { grid-template-columns: repeat(4, 1fr); }
  .reviews { grid-template-columns: repeat(3, 1fr); }
  .quote-cta { grid-template-columns: 1.2fr 1fr; padding: 60px; gap: 50px; }
  .newsletter { grid-template-columns: 1fr 1fr; align-items: center; }
  .catalog { grid-template-columns: 270px 1fr; gap: 34px; align-items: start; }
  .filters { position: sticky; top: calc(var(--header-h) + 16px); }
  .filters summary { pointer-events: none; }
  .filters summary::after { display: none; }
  .product { grid-template-columns: 1.05fr 1fr; gap: 56px; padding: 40px 0 80px; }
  .pgallery { position: sticky; top: calc(var(--header-h) + 20px); align-self: start; }
  .cart-layout { grid-template-columns: 1fr 380px; gap: 40px; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 40px; }
  .page-head { padding: 64px 0 52px; }
  .two-col { display: grid; grid-template-columns: 1fr 360px; gap: 30px; align-items: start; }
}
@media (min-width: 1024px) and (max-width: 1180px) {
  .nav { gap: 18px; margin-left: 20px; }
  .nav a { font-size: 12px; }
}

/* Impression (devis, commandes) */
@media print {
  .site-header, .site-footer, .wa-float, .no-print, .demo-bar { display: none !important; }
  body { background: #fff; }
}
[tabindex="-1"]:focus { outline: none; }
@media (max-width: 639px) { .step h2 { font-size: 21px; flex-wrap: wrap; gap: 4px 10px; } }
