/* Gallery Berkemeyer — polices et accent repris du site WordPress d'origine (Woodmart : Urbanist / Work Sans / Lato, accent #f59a57).
   Refonte « plus vendeur » du 15/10/2026 : tons sable et laine, encre pour les appels à l'action, orange en accent. */
:root {
  --accent: #f59a57;
  --accent-ink: #b8612a;
  --ink: #1d1d1b;
  --ink-2: #3b3833;
  --muted: #7a746c;
  --line: #e9e3da;
  --sand: #f6f1ea;
  --wool: #fbf8f4;
  --white: #fff;
  --title: "Urbanist", "Work Sans", system-ui, sans-serif;
  --text: "Work Sans", "Lato", system-ui, sans-serif;
  --r: 14px;
  --shadow: 0 1px 2px rgba(29,29,27,.05), 0 8px 24px rgba(29,29,27,.06);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 400 16px/1.65 var(--text); color: var(--ink); background: var(--wool); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
p a, .lead a { color: var(--accent-ink); text-decoration: underline; text-underline-offset: 3px; }
h1, h2, h3 { font-family: var(--title); font-weight: 700; line-height: 1.1; margin: 0 0 .5em; letter-spacing: -.02em; }
h1 { font-size: clamp(32px, 4.6vw, 56px); }
h2 { font-size: clamp(24px, 3vw, 36px); }
h3 { font-size: 17px; }
p { margin: 0 0 1em; }
svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 8px; z-index: 99; background: var(--ink); color: #fff; padding: 8px 12px; }
.kicker { font: 600 13px var(--title); letter-spacing: .14em; text-transform: uppercase; color: var(--accent-ink); margin-bottom: 10px; }
.center { text-align: center; }
.gap { margin-top: 56px; }

/* barre du haut + en-tête */
.topbar { background: var(--ink); color: #f3ede5; text-align: center; padding: 9px 16px; font: 500 13px var(--title); letter-spacing: .02em; }
.topbar p { margin: 0; }
.hdr { position: sticky; top: 0; z-index: 30; display: flex; align-items: center; gap: 28px; padding: 14px max(16px, 4vw); background: rgba(251,248,244,.92); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 10px; font: 700 20px var(--title); letter-spacing: -.02em; white-space: nowrap; }
.brand img { width: 40px; height: 40px; object-fit: contain; border-radius: 50%; background: #fff; }
.brand.light { color: #fff; }
.hdr nav { display: flex; gap: 26px; margin-left: auto; font: 600 15px var(--title); }
.hdr nav a { position: relative; padding: 6px 0; color: var(--ink-2); }
.hdr nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--accent); transform: scaleX(0); transition: transform .25s; }
.hdr nav a:hover::after, .hdr nav a.on::after { transform: scaleX(1); }
.burger { display: none; margin-left: auto; width: 40px; height: 40px; cursor: pointer; position: relative; }
.burger span, .burger span::before, .burger span::after { position: absolute; left: 9px; width: 22px; height: 2px; background: var(--ink); content: ""; transition: .2s; }
.burger span { top: 19px; } .burger span::before { top: -7px; left: 0; } .burger span::after { top: 7px; left: 0; }

/* boutons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 15px 28px; border-radius: 999px; background: var(--ink); color: #fff; font: 700 15px var(--title); letter-spacing: .01em; border: 1.5px solid var(--ink); transition: background .2s, color .2s, transform .15s; cursor: pointer; }
.btn:hover { background: var(--accent-ink); border-color: var(--accent-ink); }
.btn:active { transform: translateY(1px); }
.btn-sm { padding: 10px 18px; font-size: 14px; }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn-ghost.light { color: #fff; border-color: rgba(255,255,255,.8); }
.btn-ghost.light:hover { background: #fff; color: var(--ink); border-color: #fff; }
.btn-block { display: flex; width: 100%; padding: 17px; font-size: 16px; }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; }

/* hero (mise en page « bandeau » : photo pleine + voile dégradé) */
.hero { position: relative; min-height: min(86vh, 760px); display: flex; align-items: flex-end; overflow: hidden; background: var(--sand); }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(20,15,10,.72) 0%, rgba(20,15,10,.35) 48%, rgba(20,15,10,0) 75%), linear-gradient(0deg, rgba(20,15,10,.45), transparent 45%); }
.hero-txt { position: relative; z-index: 2; color: #fff; padding: 0 5.5% 7%; max-width: 760px; }
.hero .kicker { color: #ffd2ad; }
.hero h1 { font-size: clamp(38px, 5.6vw, 72px); margin-bottom: 18px; }
.lede { font-size: clamp(17px, 1.5vw, 20px); color: #f3ede5; max-width: 560px; margin-bottom: 28px; }
.hero .btn:not(.btn-ghost) { background: var(--accent); border-color: var(--accent); color: var(--ink); }
.hero .btn:not(.btn-ghost):hover { background: #fff; border-color: #fff; }
.proof { display: flex; align-items: center; gap: 10px; margin: 22px 0 0; font-size: 14px; color: #e9e1d6; }
.stars { display: inline-flex; gap: 2px; color: var(--accent); }
.stars svg { width: 17px; height: 17px; fill: currentColor; stroke: none; }

/* sections */
.wrap { max-width: 1320px; margin: 0 auto; padding: 88px max(16px, 3vw) 0; }
.wrap.narrow { max-width: 820px; }
.head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 28px; }
.head h2 { margin: 0; }
.more { font: 600 15px var(--title); color: var(--accent-ink); }
.tabs { display: inline-flex; gap: 4px; padding: 4px; background: var(--sand); border-radius: 999px; }
.tabs.left { margin-bottom: 28px; }
.tabs button { border: 0; background: none; font: 600 14px var(--title); padding: 9px 18px; border-radius: 999px; cursor: pointer; color: var(--muted); }
.tabs button.on { background: #fff; color: var(--ink); box-shadow: var(--shadow); }

/* catégories */
.cats { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 20px; padding-top: 56px; }
.cat { position: relative; border-radius: var(--r); overflow: hidden; min-height: 300px; display: flex; align-items: flex-end; background: var(--sand); }
.cat img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .7s; }
.cat::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(0deg, rgba(20,15,10,.7), transparent 60%); }
.cat div { position: relative; z-index: 2; color: #fff; padding: 24px; }
.cat h2 { font-size: 26px; margin-bottom: 4px; }
.cat p { margin: 0 0 8px; color: #eee5da; font-size: 15px; }
.cat .link { font: 700 15px var(--title); color: #ffd2ad; }
.cat:hover img { transform: scale(1.05); }

/* cartes produits */
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 36px 24px; }
.card { display: block; }
.card .ph { position: relative; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--r); background: var(--sand); margin-bottom: 14px; }
.card .ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .45s, transform .7s; }
.card .ph .alt { opacity: 0; }
.card:hover .ph .alt { opacity: 1; }
.card:hover .ph img { transform: scale(1.04); }
.peek { position: absolute; z-index: 3; left: 50%; bottom: 14px; transform: translate(-50%, 8px); opacity: 0; background: #fff; color: var(--ink); font: 700 13px var(--title); padding: 8px 16px; border-radius: 999px; transition: .25s; box-shadow: var(--shadow); white-space: nowrap; }
.card:hover .peek { opacity: 1; transform: translate(-50%, 0); }
.card h3 { font: 600 17px/1.3 var(--title); margin: 0 0 4px; }
.card .meta { margin: 0; color: var(--muted); font-size: 14px; }
.card .dot { margin: 0 6px; }
.price { font: 700 16px var(--title); color: var(--ink); }
.price del { color: var(--muted); font-weight: 400; margin-right: 4px; }
.badge { position: absolute; z-index: 2; top: 12px; left: 12px; background: var(--accent); color: var(--ink); font: 700 12px var(--title); padding: 5px 10px; border-radius: 999px; }
.badge.soft { background: rgba(255,255,255,.92); color: var(--ink-2); font-weight: 600; }
.badge.inline { position: static; margin-left: 8px; vertical-align: middle; }
.card.hide { display: none; }
.center .btn { margin-top: 44px; }

/* comment ça marche */
.split { display: grid; grid-template-columns: 1.1fr 1fr; gap: 64px; align-items: center; }
.split img { border-radius: var(--r); width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.split.flush { margin-bottom: 72px; }
.steps { list-style: none; counter-reset: s; padding: 0; margin: 8px 0 32px; }
.steps li { counter-increment: s; position: relative; padding: 0 0 22px 60px; color: var(--ink-2); }
.steps li::before { content: counter(s); position: absolute; left: 0; top: -2px; width: 40px; height: 40px; border-radius: 50%; background: var(--sand); color: var(--accent-ink); font: 800 17px/40px var(--title); text-align: center; }
.steps strong { display: block; font: 700 18px var(--title); color: var(--ink); margin-bottom: 2px; }

/* histoire */
.story { position: relative; margin-top: 96px; min-height: 520px; display: flex; align-items: center; justify-content: center; text-align: center; overflow: hidden; }
.story img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.story::before { content: ""; position: absolute; inset: 0; z-index: 1; background: rgba(24,17,10,.62); }
.story-txt { position: relative; z-index: 2; color: #fff; max-width: 720px; padding: 72px 20px; }
.story .kicker { color: #ffd2ad; }
.story p { color: #eee5da; font-size: 18px; }

/* avis */
.reviews { max-width: 860px; text-align: center; }
.review { margin: 0; }
.review .stars svg { width: 22px; height: 22px; }
.review blockquote { margin: 18px 0; font: 500 clamp(19px, 2vw, 24px)/1.5 var(--title); color: var(--ink); }
.review figcaption { color: var(--muted); font-size: 14px; }

/* instagram */
.insta { text-align: center; }
.strip { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; margin-top: 8px; }
.strip img { aspect-ratio: 1; object-fit: cover; width: 100%; border-radius: 10px; }

/* bande de réassurance */
.trust { margin-top: 100px; background: var(--sand); border-top: 1px solid var(--line); }
.trust ul { list-style: none; margin: 0 auto; max-width: 1320px; padding: 30px max(16px, 3vw); display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.trust li { display: flex; align-items: center; gap: 12px; font: 600 14px/1.35 var(--title); color: var(--ink-2); }
.trust svg { width: 28px; height: 28px; color: var(--accent-ink); }

/* catégorie */
.crumbs { font-size: 13px; color: var(--muted); margin-bottom: 22px; }
.crumbs a:hover { color: var(--accent-ink); }
.crumbs span { color: var(--ink-2); }
.cat-head { max-width: 760px; margin-bottom: 36px; }
.cat-head p { color: var(--ink-2); font-size: 17px; }
.count { font: 600 14px var(--title); color: var(--muted); margin-bottom: 18px; }
.cat-faq { max-width: 820px; margin-top: 88px; }

/* fiche produit */
.wrap.product { padding-top: 32px; }
.pgrid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 56px; align-items: start; }
.pgrid > *, .detail > *, .split > * { min-width: 0; }
.gallery .main { position: relative; aspect-ratio: 4 / 3; background: var(--sand); border-radius: var(--r); overflow: hidden; }
.gallery .main img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .35s; }
.gallery .main img.on { opacity: 1; }
.thumbs { display: flex; gap: 10px; margin-top: 12px; overflow-x: auto; scrollbar-width: thin; padding-bottom: 4px; }
.thumbs button { flex: 0 0 78px; height: 78px; padding: 0; border: 2px solid transparent; border-radius: 10px; background: none; cursor: pointer; overflow: hidden; }
.thumbs button.on { border-color: var(--ink); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.info { position: sticky; top: 96px; }
.info h1 { font-size: clamp(28px, 3vw, 40px); }
.price.big { font-size: 26px; margin-bottom: 16px; }
.lead { color: var(--ink-2); font-size: 17px; }
.pick { margin: 22px 0 20px; }
.pick-l { font: 600 15px var(--title); margin-bottom: 10px; }
.pick-v { color: var(--accent-ink); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { border: 1.5px solid var(--line); background: #fff; border-radius: 999px; padding: 8px 14px; font: 500 14px var(--text); cursor: pointer; transition: border-color .15s; }
.chip:hover { border-color: var(--ink-2); }
.chip.on { border-color: var(--ink); background: var(--ink); color: #fff; }
.note { color: var(--muted); font-size: 15px; margin: 18px 0 22px; }
.secure { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 12px 0 0; font-size: 13px; color: var(--muted); }
.secure svg { width: 16px; height: 16px; }
.facts { list-style: none; padding: 0; margin: 26px 0 18px; border-top: 1px solid var(--line); }
.facts li { display: flex; gap: 14px; align-items: flex-start; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 15px; color: var(--ink-2); }
.facts svg { color: var(--accent-ink); margin-top: 1px; }
.facts strong { color: var(--ink); font-family: var(--title); }
.ask { font: 600 15px var(--title); color: var(--accent-ink); }
.detail { display: grid; grid-template-columns: 1.3fr 1fr; gap: 64px; margin: 88px 0 88px; }
.desc p { color: var(--ink-2); }
.pfaq h2, .desc h2 { font-size: 26px; }
.buybar { display: none; }

details { border-bottom: 1px solid var(--line); padding: 18px 0; }
summary { font: 600 17px var(--title); cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-size: 22px; line-height: 1; color: var(--accent-ink); transition: transform .2s; }
details[open] summary::after { transform: rotate(45deg); }
details p { margin: 10px 0 0; color: var(--ink-2); }

.contact { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 30px 0 64px; }
.tile { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 24px; display: flex; flex-direction: column; gap: 4px; transition: border-color .2s, box-shadow .2s; }
.tile:hover { border-color: var(--accent); box-shadow: var(--shadow); }
.tile strong { font-family: var(--title); font-size: 17px; }
.tile span { color: var(--muted); font-size: 14px; word-break: break-all; }
.wide { width: 100%; border-radius: var(--r); margin: 18px 0 36px; }
.prose h2 { font-size: 22px; margin-top: 28px; }

/* pied de page */
.ftr { background: var(--ink); color: #cfc8be; padding: 64px max(16px, 4vw) 28px; }
.ftr .cols { max-width: 1320px; margin: 0 auto; display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.ftr h2 { color: #fff; font-size: 15px; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 14px; }
.ftr a { display: block; padding: 4px 0; }
.ftr a:hover { color: var(--accent); }
.ftr .about p { max-width: 340px; margin-top: 14px; }
.copy { max-width: 1320px; margin: 44px auto 0; padding-top: 20px; border-top: 1px solid #3a3733; font-size: 13px; }

@media (max-width: 1100px) {
  .grid { grid-template-columns: repeat(3, 1fr); }
  .trust ul { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
  .hdr { flex-wrap: wrap; gap: 8px; padding: 10px 16px; }
  .burger { display: block; }
  .hdr nav { display: none; width: 100%; flex-direction: column; gap: 2px; margin: 0; order: 5; padding: 8px 0 12px; }
  .hdr nav a { padding: 10px 0; font-size: 17px; }
  #menu:checked ~ nav { display: flex; }
  .hdr .btn-sm { display: none; }
  .wrap { padding-top: 64px; }
  .cats { grid-template-columns: 1fr; padding-top: 32px; }
  .cat { min-height: 220px; }
  .grid { grid-template-columns: repeat(2, 1fr); gap: 28px 14px; }
  .split, .pgrid, .detail, .contact { grid-template-columns: 1fr; gap: 32px; }
  .info { position: static; }
  .trust ul { grid-template-columns: 1fr 1fr; }
  .ftr .cols { grid-template-columns: 1fr 1fr; }
  .strip { grid-template-columns: repeat(3, 1fr); }
  .hero { min-height: 640px; }
  .hero::before { background: linear-gradient(0deg, rgba(20,15,10,.82) 0%, rgba(20,15,10,.45) 55%, rgba(20,15,10,.1) 100%); }
  .hero-txt { padding: 0 20px 36px; }
  .peek { display: none; }
  .buybar { display: flex; position: fixed; z-index: 40; left: 0; right: 0; bottom: 0; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: rgba(251,248,244,.97); border-top: 1px solid var(--line); box-shadow: 0 -6px 20px rgba(0,0,0,.06); }
  .buybar div { display: flex; flex-direction: column; min-width: 0; font-size: 13px; }
  .buybar strong { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-family: var(--title); }
  .buybar .pval { font: 700 15px var(--title); }
  .buybar .btn { padding: 12px 20px; flex: none; }
  body:has(.buybar) .ftr { padding-bottom: 96px; }
}
@media (max-width: 520px) {
  .card h3 { font-size: 15px; }
  .card .meta { font-size: 13px; }
  .card .dot, .card .meta > :not(.price) { }
  .ftr .cols { grid-template-columns: 1fr; }
  .trust ul { grid-template-columns: 1fr; gap: 14px; }
  .ctas .btn { flex: 1 1 100%; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }

/* bandeau de consentement Analytics */
.consent { position: fixed; z-index: 50; left: 16px; right: 16px; bottom: 16px; max-width: 560px; margin-left: auto; display: flex; align-items: center; gap: 16px; padding: 16px 18px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); box-shadow: 0 10px 30px rgba(0,0,0,.12); font-size: 14px; }
.consent[hidden] { display: none; }
.consent p { margin: 0; color: var(--ink-2); }
.consent div { display: flex; gap: 8px; flex: none; }
@media (max-width: 900px) { .consent { bottom: 84px; flex-direction: column; align-items: stretch; } .consent div .btn { flex: 1; } }
.duty { font-size: 13px; color: var(--muted); margin: -6px 0 16px; }
