@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Playfair+Display:wght@500;600&display=swap');

:root {
  --ink: #161614;
  --muted: #77746e;
  --paper: #fff;
  --warm: #f5f3ef;
  --line: #e5e1d9;
  --accent: #8b6948;
  --serif: 'Playfair Display', Georgia, serif;
  --sans: 'DM Sans', Arial, sans-serif;
  --content: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--sans); font-size: 16px; line-height: 1.7; }
a { color: inherit; }
button, input, textarea { font: inherit; }
.skip-link { position: fixed; z-index: 30; top: 8px; left: 8px; transform: translateY(-150%); padding: 10px 14px; background: #fff; }
.skip-link:focus { transform: none; }

.site-header { position: relative; z-index: 10; display: flex; align-items: center; justify-content: flex-end; min-height: 94px; padding: 0 clamp(24px, 5vw, 80px); background: #fff; }
.brand { position: absolute; top: 23px; left: clamp(24px, 5vw, 80px); z-index: 12; display: flex; width: 270px; min-height: 170px; flex-direction: column; align-items: flex-start; text-decoration: none; }
.brand-logo {  display: block;  width: 150px;  max-width: 100%;  height: auto;  object-fit: contain;}
.brand-mark { display: block; font-family: var(--serif); font-size: 34px; font-weight: 600; line-height: .94; letter-spacing: -.06em; color: var(--ink); }
.brand-mark span { padding-left: 27px; font-size: 28px; }
.brand-tagline { display: block; margin-top: 13px; max-width: 270px; color: #25231f; font-size: 12px; font-weight: 600; line-height: 1.45; letter-spacing: .02em; text-shadow: 0 1px 8px rgba(255,255,255,.7); }
.main-nav { display: flex; align-items: center; gap: clamp(16px, 2.4vw, 38px); }
.main-nav a { position: relative; padding: 9px 0; text-decoration: none; color: #22211f; font-size: 12px; font-weight: 600; letter-spacing: .045em; }
.main-nav a::after { position: absolute; right: 0; bottom: 2px; left: 0; height: 1px; background: var(--accent); content: ''; transform: scaleX(0); transform-origin: right; transition: transform .25s ease; }
.main-nav a:hover::after, .main-nav a:focus-visible::after { transform: scaleX(1); transform-origin: left; }
.menu-toggle { display: none; }

.hero { position: relative; display: flex; min-height: min(760px, 82vh); align-items: center; overflow: hidden; background-image: url('images/meuble_tv_melamine-1920x1200.jpg'); background-position: center 53%; background-size: cover; background-attachment: fixed; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(18,17,15,.48), rgba(18,17,15,.08) 68%, rgba(18,17,15,.04)); }
.hero-copy { position: relative; z-index: 1; width: min(650px, 88%); margin: 145px auto 70px; color: #fff; }
.eyebrow { margin: 0 0 16px; color: var(--accent); font-size: 11px; font-weight: 700; letter-spacing: .14em; line-height: 1.5; text-transform: uppercase; }
.hero .eyebrow { color: rgba(255,255,255,.88); }
.hero h1 { margin: 0 0 27px; font-family: var(--serif); font-size: clamp(52px, 8vw, 102px); font-weight: 500; letter-spacing: -.055em; line-height: .99; }
.button { display: inline-flex; min-height: 50px; align-items: center; justify-content: center; gap: 23px; border: 1px solid transparent; padding: 13px 19px; cursor: pointer; font-size: 12px; font-weight: 700; letter-spacing: .07em; text-decoration: none; text-transform: uppercase; transition: background .2s ease, color .2s ease, border .2s ease; }
.button-light { border-color: rgba(255,255,255,.8); color: #fff; background: rgba(255,255,255,.08); }
.button-light:hover { color: var(--ink); background: #fff; }
.button-dark { color: #fff; background: var(--ink); }
.button-dark:hover { background: var(--accent); }
.hero-caption, .photo-caption { position: absolute; right: clamp(22px, 5vw, 80px); bottom: 22px; color: rgba(255,255,255,.9); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; }

.content-section { display: grid; grid-template-columns: minmax(150px, 1fr) minmax(0, 2.2fr); gap: clamp(42px, 9vw, 150px); max-width: var(--content); margin: 0 auto; padding: clamp(85px, 12vw, 160px) clamp(26px, 5vw, 60px); background: #fff; scroll-margin-top: 20px; }
.section-intro { min-height: 520px; }
.section-index { padding-top: 7px; color: var(--accent); font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.section-index span { color: #9b9892; font-weight: 500; }
.section-copy { max-width: 740px; }
.section-copy h2, .legal-dialog h2 { margin: 0 0 30px; font-family: var(--serif); font-size: clamp(42px, 6vw, 72px); font-weight: 500; letter-spacing: -.055em; line-height: 1.06; }
.section-copy p:not(.eyebrow), .legal-copy p { max-width: 670px; color: #4d4a45; }
.section-copy .lead { margin: 0 0 22px; color: #1c1b18; font-family: var(--serif); font-size: clamp(21px, 2.6vw, 29px); line-height: 1.45; }
.photo-band { position: relative; min-height: 58vh; background-color: #b8a68d; background-position: center; background-size: cover; background-attachment: fixed; }
.photo-band::before { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,0,0,.3), transparent 36%); content: ''; }
.photo-band .photo-caption { z-index: 1; }
.band-atelier { background-image: url('images/echantillon_bois-1920x1200.jpg'); background-position: center 58%; }
.band-agencement { background-image: url('images/meuble_tv_chene-1920x1200.jpg'); }
.band-mobilier { background-image: url('images/meuble_buffe_bas-1920x1200.jpg'); background-position: center 54%; }
.band-lieu { background-image: url('images/atelier_de_travers-1920x1200.jpg'); background-position: center 48%; }

.steps { margin-top: 45px; border-top: 1px solid var(--line); }
.step { display: grid; grid-template-columns: 55px 1fr; gap: 18px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.step > span { padding-top: 4px; color: var(--accent); font-size: 11px; font-weight: 700; letter-spacing: .1em; }
.step h3 { margin: 0 0 5px; font-family: var(--serif); font-size: 22px; font-weight: 500; }
.step p { margin: 0; font-size: 14px; }
.location-section { grid-template-columns: minmax(140px, .7fr) minmax(280px, 1.1fr) minmax(300px, 1.2fr); gap: clamp(30px, 5vw, 70px); align-items: center; }
.address { margin-top: 32px; font-size: 14px; }
.address strong { display: inline-block; margin-bottom: 8px; color: var(--ink); }
.text-link { display: inline-block; margin-top: 24px; border-bottom: 1px solid var(--accent); padding-bottom: 4px; color: var(--ink); font-size: 12px; font-weight: 700; letter-spacing: .06em; text-decoration: none; text-transform: uppercase; }
.map-frame { min-height: 350px; background: var(--warm); }
.map-placeholder { display: flex; min-height: 350px; flex-direction: column; align-items: center; justify-content: center; padding: 28px; color: var(--muted); text-align: center; }
.map-pin { color: var(--accent); font-size: 35px; }
.map-placeholder p { max-width: 300px; font-size: 13px; }
.contact-section { grid-template-columns: minmax(150px, 1fr) minmax(0, 1.05fr) minmax(320px, 1.3fr); gap: clamp(35px, 7vw, 110px); align-items: start; }
.contact-form { display: grid; gap: 10px; }
.contact-form > label:not(.consent):not(.honeypot) { margin-top: 10px; color: #37342f; font-size: 12px; font-weight: 600; }
.contact-form label span { color: var(--muted); font-weight: 400; }
.contact-form input:not([type="checkbox"]), .contact-form textarea { width: 100%; border: 1px solid #d6d2ca; border-radius: 0; padding: 13px 14px; background: #fff; color: var(--ink); outline: none; }
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 2px rgba(139,105,72,.13); }
.contact-form textarea { resize: vertical; }
.contact-form .consent { display: flex; align-items: flex-start; gap: 10px; margin: 12px 0; color: #625e57; font-size: 11px; line-height: 1.5; }
.consent input { accent-color: var(--accent); }
.form-note { margin: 5px 0 0; color: var(--muted); font-size: 11px; }
.honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.site-footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; min-height: 115px; padding: 28px clamp(26px, 5vw, 80px); color: #fff; background: #151513; font-size: 11px; }
.footer-brand { font-family: var(--serif); font-size: 20px; text-decoration: none; }
.legal-link { border: 0; border-bottom: 1px solid #8c8880; padding: 3px 0; color: #fff; background: transparent; cursor: pointer; font-size: 11px; }
.legal-link:hover { border-color: #fff; }
.legal-dialog { width: min(680px, calc(100% - 32px)); max-height: min(82vh, 760px); border: 0; padding: clamp(28px, 6vw, 58px); color: var(--ink); box-shadow: 0 18px 90px rgba(0,0,0,.25); }
.legal-dialog::backdrop { background: rgba(18,17,15,.68); backdrop-filter: blur(3px); }
.dialog-close { position: absolute; top: 15px; right: 18px; border: 0; color: var(--ink); background: transparent; cursor: pointer; font-size: 30px; line-height: 1; }
.legal-dialog h2 { font-size: 44px; }
.legal-copy { max-height: 52vh; overflow: auto; }
.legal-copy p { font-size: 13px; }

@media (max-width: 980px) {
  .site-header { min-height: 86px; padding-right: 26px; }
  .brand { left: 26px; width: 225px; }
  .brand-mark { font-size: 29px; }
  .brand-mark span { font-size: 24px; }
  .brand-tagline { font-size: 10px; }
  .main-nav { gap: 15px; }
  .main-nav a { font-size: 10px; }
  .content-section { grid-template-columns: 120px minmax(0, 1fr); gap: 45px; }
  .location-section, .contact-section { grid-template-columns: 120px minmax(0, 1fr); }
  .location-section .map-frame, .contact-section .contact-form { grid-column: 2; }
}
@media (max-width: 700px) {
  html { scroll-padding-top: 12px; }
  .site-header { min-height: 78px; padding: 0 20px; }
  .brand { top: 14px; left: 20px; width: 195px; min-height: 150px; }
  .brand-logo {  width: 120px; }
  .brand-mark { font-size: 25px; }
  .brand-mark span { font-size: 21px; }
  .brand-tagline { margin-top: 9px; max-width: 210px; font-size: 9px; }
  .menu-toggle { display: inline-flex; align-items: center; gap: 10px; border: 0; padding: 12px 0; color: var(--ink); background: transparent; cursor: pointer; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
  .menu-icon { font-size: 17px; }
  .main-nav { position: absolute; top: 78px; right: 0; left: 0; display: none; align-items: stretch; gap: 0; padding: 12px 20px 20px; background: #fff; box-shadow: 0 12px 16px rgba(0,0,0,.08); }
  .main-nav.is-open { display: flex; flex-direction: column; }
  .main-nav a { border-top: 1px solid var(--line); padding: 12px 0; font-size: 12px; }
  .main-nav a::after { display: none; }
  .hero { min-height: 72vh; background-position: 55% center; background-attachment: scroll; }
  .hero-copy { width: auto; margin: 155px 24px 60px; }
  .hero h1 { font-size: clamp(49px, 15vw, 78px); }
  .hero .eyebrow { max-width: 250px; font-size: 9px; }
  .hero-caption { right: 20px; bottom: 14px; font-size: 8px; }
  .content-section, .location-section, .contact-section { display: block; padding: 76px 24px; }
  .section-index { margin-bottom: 34px; }
  .section-copy h2 { font-size: clamp(43px, 13vw, 64px); }
  .section-intro { min-height: auto; }
  .photo-band { min-height: 42vh; background-attachment: scroll; }
  .photo-band .photo-caption { right: 20px; bottom: 14px; font-size: 8px; }
  .location-section .map-frame { margin-top: 36px; min-height: 270px; }
  .map-placeholder { min-height: 270px; }
  .contact-section .contact-form { margin-top: 45px; }
  .site-footer { align-items: flex-start; flex-direction: column; gap: 13px; padding: 30px 24px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
  .hero, .photo-band { background-attachment: scroll; }
}

