/* ==========================================================================
   Galerie Photo — feuille de style
   Typographie : Oswald (titres condensés) + Libre Baskerville (texte)
   ========================================================================== */

:root {
  --ink: #141414;
  --text: #2b2b2b;
  --grey: #74716c;
  --grey-light: #a8a49e;
  --line: #e4e2de;
  --wall: #eeedea;
  --paper: #ffffff;
  --beige: #efe8de;
  --beige-mid: #d9cbb6;
  --beige-dark: #a8865c;
  --error: #a3352b;
  --ok: #3d6b4a;
  --f-title: "Oswald", "Arial Narrow", "Helvetica Neue Condensed", Arial, sans-serif;
  --f-text: "Libre Baskerville", Georgia, "Times New Roman", serif;
  --wrap: 1240px;
  --gut: clamp(16px, 4vw, 40px);
  --shadow-frame: 0 10px 24px rgba(0, 0, 0, .18), 0 2px 5px rgba(0, 0, 0, .12);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--f-text);
  font-size: 15px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--beige-dark); outline-offset: 3px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }
.narrow { max-width: 820px; }
.center { text-align: center; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; z-index: 200; }
.skip:focus { left: 8px; }

/* ---------- Typographie ---------- */
h1, h2, h3, h4, .t-title {
  font-family: var(--f-title);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .01em;
  line-height: 1.08;
  color: var(--ink);
  margin: 0 0 .5em;
}
h1 { font-size: clamp(34px, 5.4vw, 64px); }
h2 { font-size: clamp(26px, 3.2vw, 36px); }
h3 { font-size: clamp(18px, 1.8vw, 22px); }
h4 { font-size: 14px; letter-spacing: .06em; }
p { margin: 0 0 1em; }
.eyebrow {
  font-family: var(--f-title);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--grey);
  margin: 0 0 10px;
}
.lead { font-size: 16px; color: var(--grey); max-width: 640px; }
.center .lead { margin-left: auto; margin-right: auto; }
.caption { font-style: italic; font-size: 13px; color: var(--grey); }
.link-u {
  font-family: var(--f-text);
  font-size: 13px;
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 1px;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}
.link-u:hover { color: var(--beige-dark); }
.link-caps {
  font-family: var(--f-title);
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  text-decoration: underline;
  text-underline-offset: 5px;
}

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 28px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: #fff;
  font-family: var(--f-title);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background .2s, color .2s, border-color .2s;
}
.btn:hover { background: #333; border-color: #333; }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: #fff; }
.btn-light { background: #fff; color: var(--ink); border-color: #fff; }
.btn-light:hover { background: transparent; color: #fff; }
.btn-block { width: 100%; }
.btn svg { width: 16px; height: 16px; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }

/* ---------- En-tête ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #fff;
  border-bottom: 1px solid transparent;
  transition: border-color .2s;
}
.site-header.scrolled { border-bottom-color: var(--line); }
.header-in {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 76px;
  gap: 20px;
}
.nav { display: flex; gap: 26px; align-items: center; }
.nav-right { justify-content: flex-end; }
.nav a {
  font-family: var(--f-title);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink);
  padding: 6px 0;
  border-bottom: 1px solid transparent;
  white-space: nowrap;
}
.nav a:hover, .nav a[aria-current="page"] { border-bottom-color: var(--ink); }
.logo {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  font-family: var(--f-title);
  font-size: 21px;
  font-weight: 500;
  letter-spacing: .34em;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
  padding-left: .34em;
}
.logo small {
  font-family: var(--f-text);
  font-style: italic;
  font-size: 13px;
  letter-spacing: .04em;
  text-transform: none;
  color: var(--grey);
}
.cart-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  color: var(--ink);
}
.cart-link svg { width: 20px; height: 20px; }
.cart-count {
  font-family: var(--f-text);
  font-size: 12px;
  color: var(--grey);
  min-width: 10px;
}
.cart-count.has { color: var(--ink); font-weight: 700; }
.burger {
  display: none;
  width: 42px; height: 42px;
  border: 0; background: none; padding: 0; cursor: pointer;
}
.burger span { display: block; width: 22px; height: 1.5px; background: var(--ink); margin: 5px auto; transition: transform .2s, opacity .2s; }
.nav-open .burger span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-open .burger span:nth-child(2) { opacity: 0; }
.nav-open .burger span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
.mobile-nav { display: none; }

@media (max-width: 1180px) {
  .nav { gap: 18px; }
  .nav a { letter-spacing: .08em; }
  .nav-right .nav-extra { display: none; }
}
@media (max-width: 900px) {
  .header-in { grid-template-columns: 42px 1fr auto; min-height: 64px; }
  .nav-left { display: none; }
  .nav-right a:not(.cart-link) { display: none; }
  .burger { display: block; }
  .logo { justify-self: center; font-size: 17px; letter-spacing: .26em; }
  .logo small { font-size: 12px; }
  .mobile-nav {
    display: block;
    position: fixed;
    inset: 64px 0 0 0;
    background: #fff;
    padding: 24px var(--gut) 40px;
    overflow-y: auto;
    transform: translateX(-100%);
    visibility: hidden;
    transition: transform .25s ease, visibility .25s;
    z-index: 49;
  }
  .nav-open .mobile-nav { transform: none; visibility: visible; }
  .nav-open { overflow: hidden; }
  .mobile-nav a {
    display: block;
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
    font-family: var(--f-title);
    font-size: 18px;
    letter-spacing: .08em;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--ink);
  }
  .mobile-nav .m-contact { margin-top: 24px; font-size: 14px; color: var(--grey); }
  .mobile-nav .m-contact a { font-family: var(--f-text); font-size: 14px; text-transform: none; letter-spacing: 0; border: 0; padding: 4px 0; }
}

/* ---------- Héros ---------- */
.hero { padding: 0 var(--gut); max-width: calc(var(--wrap) + 2 * var(--gut)); margin: 0 auto; }
.hero-in {
  position: relative;
  min-height: clamp(440px, 72vh, 660px);
  display: grid;
  place-items: center;
  text-align: center;
  overflow: hidden;
  background: #8d8a85;
}
.hero-in > img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 50% 25%;
  filter: grayscale(1) contrast(1.02);
}
.hero-in::after { content: ""; position: absolute; inset: 0; background: rgba(15, 15, 15, .32); }
.hero-text { position: relative; z-index: 1; color: #fff; padding: 40px 20px; max-width: 900px; }
.hero-text h1 { color: #fff; font-size: clamp(36px, 6vw, 72px); margin-bottom: 18px; }
.hero-text p { font-size: clamp(15px, 1.6vw, 18px); margin: 0 auto 28px; max-width: 560px; color: rgba(255,255,255,.92); }
.hero-text .hero-cta { display: flex; gap: 22px; justify-content: center; align-items: center; flex-wrap: wrap; }
.hero-text .link-caps { color: #fff; }

/* ---------- Sections ---------- */
.section { padding: clamp(64px, 8vw, 110px) 0; }
.section-tight { padding: clamp(40px, 5vw, 70px) 0; }
.section-head { text-align: center; margin-bottom: clamp(32px, 4vw, 54px); }
.section-head p { color: var(--grey); margin: 0 auto; max-width: 620px; }
.bg-beige { background: var(--beige); }
.bg-wall { background: var(--wall); }
.hr { border: 0; border-top: 1px solid var(--line); margin: 0; }

/* ---------- Œuvres encadrées (vignettes « coups de cœur ») ---------- */
.picks {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: clamp(18px, 2.4vw, 34px);
}
.pick { text-align: center; text-decoration: none; color: inherit; display: block; }
.pick-art { aspect-ratio: 1 / 1; display: grid; place-items: center; padding: 6% 4%; }
.pick-art .poster { width: 62%; }
.pick-art .canvas { width: 94%; }
.pick h3 { font-size: 13px; letter-spacing: .06em; margin: 18px 0 4px; }
.pick .cat { font-size: 13px; text-decoration: underline; text-underline-offset: 3px; display: block; color: var(--text); }
.pick .caption { display: block; margin-top: 2px; }
.pick:hover .frame { transform: translateY(-4px); box-shadow: 0 16px 30px rgba(0,0,0,.2), 0 3px 7px rgba(0,0,0,.12); }

/* cadre CSS : bordure = moulure, padding = passe-partout */
.frame {
  --frame: #161616;
  --mat: #fbfaf7;
  background: var(--mat);
  border: 7px solid var(--frame);
  padding: 9%;
  box-shadow: var(--shadow-frame);
  width: 100%;
  transition: transform .3s ease, box-shadow .3s ease, border-color .25s;
}
.frame.no-mat { padding: 0; }
.frame img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; box-shadow: inset 0 0 0 1px rgba(0,0,0,.05); }
.frame.portrait img { aspect-ratio: 3 / 4; }
.frame.wide { border-width: 9px; padding: 7%; }
.canvas {
  width: 100%;
  box-shadow: 6px 8px 0 -1px rgba(0,0,0,.08), 0 14px 26px rgba(0,0,0,.22);
  transition: transform .3s ease;
}
.canvas img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.canvas.thick { box-shadow: 10px 12px 0 -1px rgba(0,0,0,.1), 0 18px 30px rgba(0,0,0,.25); }
.poster {
  width: 100%;
  background: #fff;
  padding: 3%;
  box-shadow: 0 6px 16px rgba(0,0,0,.14);
  position: relative;
  transition: transform .3s ease;
}
.poster img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.poster::before {
  content: ""; position: absolute; left: 50%; top: -14px; width: 1px; height: 14px; background: rgba(0,0,0,.25);
}

/* ---------- Grands visuels « lifestyle » ---------- */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 2.4vw, 28px); }
.story { text-align: center; text-decoration: none; color: inherit; display: block; }
.story-img { overflow: hidden; aspect-ratio: 1 / 1.06; background: var(--wall); }
.story-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
.story:hover .story-img img { transform: scale(1.03); }
.story h3 { font-size: clamp(22px, 2.4vw, 30px); margin: 22px 0 6px; }
.story p { color: var(--grey); font-size: 14px; max-width: 420px; margin: 0 auto 8px; }

.trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2.4vw, 28px); }
.card { text-align: center; text-decoration: none; color: inherit; display: block; }
.card-img { overflow: hidden; aspect-ratio: 3 / 2; background: var(--wall); }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
.card:hover .card-img img { transform: scale(1.04); }
.card h3 { font-size: 17px; letter-spacing: .04em; margin: 20px 0 4px; }
.card p { font-size: 13.5px; color: var(--grey); margin: 0 auto 6px; max-width: 320px; }

/* ---------- Avantages / garanties ---------- */
.perks { display: grid; grid-template-columns: repeat(4, 1fr); }
.perk { text-align: center; padding: 10px 26px; border-left: 1px solid var(--line); }
.perk:first-child { border-left: 0; }
.perk svg { width: 48px; height: 48px; margin: 0 auto 16px; color: var(--ink); }
.perk h4 { margin-bottom: 6px; }
.perk p { font-size: 13px; color: var(--grey); margin: 0; line-height: 1.6; }

/* ---------- Intérieurs ---------- */
.interiors { display: grid; grid-template-columns: 1.25fr 1fr 1fr; grid-template-rows: auto auto; gap: clamp(12px, 1.6vw, 20px); }
.interiors figure { margin: 0; }
.interiors figure:first-child { grid-row: span 2; }
.interiors .ph { overflow: hidden; background: var(--wall); height: 100%; min-height: 240px; }
.interiors figure:first-child .ph { min-height: 520px; }
.interiors img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
.interiors figure:hover img { transform: scale(1.03); }
.interiors figure { display: flex; flex-direction: column; }
.interiors figcaption { margin-top: 8px; }
.interiors figure .ph { flex: 1; }

.statement { text-align: center; }
.statement blockquote {
  margin: 0 auto;
  max-width: 760px;
  font-family: var(--f-text);
  font-size: clamp(20px, 2.4vw, 27px);
  line-height: 1.5;
  color: var(--ink);
}

/* ---------- Bandeau CTA ---------- */
.cta { text-align: center; }
.cta h2 { margin-bottom: 12px; }
.cta p { color: var(--grey); max-width: 560px; margin: 0 auto 26px; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------- En-tête de page ---------- */
.crumbs { font-size: 12px; color: var(--grey-light); padding: 22px 0 0; }
.crumbs a { color: var(--text); text-underline-offset: 3px; }
.crumbs span { margin: 0 8px; }
.page-head { padding: clamp(28px, 4vw, 50px) 0 clamp(30px, 4vw, 50px); text-align: center; }
.page-head h1 { margin-bottom: 14px; }
.page-head .lead { margin: 0 auto; }
.anchor-nav { display: flex; gap: 10px 26px; justify-content: center; flex-wrap: wrap; margin-top: 26px; }
.anchor-nav a { font-size: 13px; text-underline-offset: 4px; }

/* ---------- Bloc produit (style fiche produit) ---------- */
.product {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 80px);
  align-items: start;
  padding: clamp(40px, 5vw, 70px) 0;
  border-top: 1px solid var(--line);
  scroll-margin-top: 90px;
}
.product:first-of-type { border-top: 0; }
.product.flip .p-visual { order: 2; }
.p-visual {
  position: relative;
  background: var(--wall);
  aspect-ratio: 1 / 1.02;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.p-visual::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 9%;
  background: linear-gradient(#dcdad5, #d3d1cc); border-top: 1px solid #cfcdc8;
}
.p-visual .stage { position: relative; z-index: 1; width: 46%; margin-bottom: 6%; transition: width .35s ease; }
.p-visual .stage.s-1 { width: 34%; }
.p-visual .stage.s-2 { width: 42%; }
.p-visual .stage.s-3 { width: 52%; }
.p-visual .stage.s-4 { width: 62%; }
.p-visual.photo::after { display: none; }
.p-visual.photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.p-visual .tag {
  position: absolute; z-index: 2; left: 14px; top: 14px;
  background: #fff; padding: 5px 10px;
  font-family: var(--f-title); font-size: 11px; letter-spacing: .12em; text-transform: uppercase;
}
.p-info h2 { font-size: clamp(26px, 2.8vw, 34px); margin-bottom: 8px; }
.p-info .desc { color: var(--grey); font-size: 14px; }
.p-price { display: flex; align-items: baseline; gap: 10px; margin: 18px 0 22px; }
.p-price strong { font-family: var(--f-title); font-weight: 500; font-size: 26px; color: var(--ink); letter-spacing: .02em; }
.p-price span { font-size: 13px; font-style: italic; color: var(--grey); }
.opt { border: 0; padding: 0; margin: 0 0 24px; min-width: 0; }
.opt legend {
  font-family: var(--f-title); font-size: 12.5px; font-weight: 600; letter-spacing: .1em;
  text-transform: uppercase; color: var(--ink); padding: 0; margin-bottom: 10px; width: 100%;
  display: flex; justify-content: space-between; gap: 10px;
}
.opt legend em { font-family: var(--f-text); font-weight: 400; text-transform: none; letter-spacing: 0; font-size: 12.5px; color: var(--grey); }
.rows { display: grid; gap: 8px; }
.row {
  display: grid;
  grid-template-columns: 1.1fr 1fr auto;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 46px;
  padding: 10px 16px;
  border: 1px solid var(--line);
  background: #fff;
  text-align: left;
  cursor: pointer;
  transition: border-color .15s, box-shadow .15s;
}
.row:hover { border-color: #b9b6b0; }
.row[aria-checked="true"] { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.row .r-name { font-family: var(--f-title); font-size: 12.5px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--ink); }
.row .r-detail { font-size: 12.5px; color: var(--grey); }
.row .r-price { font-family: var(--f-title); font-size: 14px; font-weight: 500; color: var(--ink); text-align: right; white-space: nowrap; }
.swatches { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.swatch {
  width: 32px; height: 32px; border-radius: 50%;
  border: 1px solid #cfccc6; padding: 0; cursor: pointer;
  background: var(--sw, #fff);
  box-shadow: inset 0 0 0 3px #fff;
  transition: box-shadow .15s, border-color .15s;
}
.swatch[aria-checked="true"] { border-color: var(--ink); box-shadow: inset 0 0 0 3px #fff, 0 0 0 1px var(--ink); }
.swatch-label { font-size: 13px; color: var(--grey); font-style: italic; margin-left: 4px; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip {
  border: 1px solid var(--line); background: #fff; padding: 9px 16px; cursor: pointer;
  font-family: var(--f-title); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink);
}
.chip small { font-family: var(--f-text); text-transform: none; letter-spacing: 0; color: var(--grey); margin-left: 4px; }
.chip[aria-checked="true"] { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.buy { display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: stretch; }
.qty { display: inline-flex; border: 1px solid var(--line); height: 48px; }
.qty button { width: 40px; border: 0; background: #fff; cursor: pointer; font-size: 18px; color: var(--ink); }
.qty button:hover { background: var(--wall); }
.qty input {
  width: 52px; border: 0; text-align: center; font-family: var(--f-title); font-size: 15px;
  -moz-appearance: textfield; appearance: textfield; background: #fff;
}
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.p-note { font-size: 12.5px; color: var(--grey); font-style: italic; margin: 14px 0 0; }

/* ---------- Onglets ---------- */
.tabs { border-bottom: 1px solid var(--line); display: flex; justify-content: center; gap: clamp(18px, 4vw, 46px); flex-wrap: wrap; }
.tab {
  border: 0; background: none; cursor: pointer; padding: 14px 0;
  font-family: var(--f-title); font-size: 12px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase;
  color: var(--grey-light); border-bottom: 2px solid transparent; margin-bottom: -1px;
}
.tab[aria-selected="true"] { color: var(--ink); border-bottom-color: var(--ink); }
.tab-panel { padding: 40px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 30px 70px; max-width: 980px; margin: 0 auto; }
.tab-panel[hidden] { display: none; }
.tab-panel h3 { font-size: 16px; }
.tab-panel h4 { font-size: 12px; margin-top: 4px; }
.tab-panel p, .tab-panel li { font-size: 13.5px; color: var(--grey); }
.tab-panel ul { padding-left: 18px; margin: 0; }

.wide-photo { margin: 0; padding: 0 var(--gut); max-width: calc(var(--wrap) + 2 * var(--gut)); margin-left: auto; margin-right: auto; }
.wide-photo .ph { aspect-ratio: 21 / 9; overflow: hidden; background: var(--wall); }
.wide-photo img { width: 100%; height: 100%; object-fit: cover; }
.wide-photo figcaption { margin-top: 8px; }

.more-head { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; margin-bottom: 28px; }
.more-head h2 { margin: 0; font-size: clamp(22px, 2.4vw, 28px); }
.more { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(14px, 2vw, 24px); }

/* ---------- Étapes ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 40px); counter-reset: s; }
.step { border-top: 1px solid var(--ink); padding-top: 18px; }
.step::before { counter-increment: s; content: "0" counter(s); font-family: var(--f-title); font-size: 13px; letter-spacing: .1em; color: var(--beige-dark); display: block; margin-bottom: 8px; }
.step h3 { font-size: 17px; }
.step p { font-size: 13.5px; color: var(--grey); margin: 0; }

/* ---------- Tarifs ---------- */
.price-group { margin-bottom: clamp(40px, 5vw, 64px); scroll-margin-top: 90px; }
.price-group-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; border-bottom: 1px solid var(--ink); padding-bottom: 12px; margin-bottom: 4px; flex-wrap: wrap; }
.price-group-head h2 { margin: 0; font-size: clamp(22px, 2.4vw, 28px); }
.ptable { width: 100%; border-collapse: collapse; }
.ptable caption { text-align: left; }
.ptable th, .ptable td { padding: 13px 10px 13px 0; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; font-size: 14px; }
.ptable thead th { font-family: var(--f-title); font-weight: 500; font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--grey); }
.ptable .prod { font-family: var(--f-title); font-weight: 500; font-size: 14px; letter-spacing: .05em; text-transform: uppercase; color: var(--ink); }
.ptable .prod a { text-decoration: none; }
.ptable .prod a:hover { text-decoration: underline; }
.ptable td.num { text-align: right; white-space: nowrap; font-family: var(--f-title); font-size: 15px; color: var(--ink); padding-right: 0; }
.ptable .muted { color: var(--grey); font-size: 13px; }

/* ---------- Panier ---------- */
.cart-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: clamp(28px, 4vw, 60px); align-items: start; }
.cart-lines { border-top: 1px solid var(--ink); }
.cline {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr) auto auto;
  gap: 18px;
  align-items: center;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}
.cline-img { width: 96px; height: 96px; background: var(--wall); overflow: hidden; display: grid; place-items: center; }
.cline-img img { width: 100%; height: 100%; object-fit: cover; }
.cline-img .frame { border-width: 4px; padding: 8%; width: 70%; box-shadow: 0 4px 10px rgba(0,0,0,.18); }
.cline-img .frame img, .cline-img .canvas img { aspect-ratio: 4 / 3; height: auto; }
.cline-img .canvas, .cline-img .poster { width: 66%; }
.cline-img .poster img { aspect-ratio: 3/4; height: auto; }
.cline h3 { font-size: 15px; letter-spacing: .04em; margin: 0 0 4px; }
.cline h3 a { text-decoration: none; }
.cline .variant { font-size: 12.5px; color: var(--grey); margin: 0; }
.cline .unit { font-size: 12.5px; color: var(--grey); font-style: italic; margin: 2px 0 0; }
.cline .ltotal { font-family: var(--f-title); font-size: 16px; color: var(--ink); min-width: 84px; text-align: right; }
.cline .remove { margin-top: 6px; font-size: 12px; color: var(--grey); }
.cline .qty { height: 40px; }
.cline .qty button { width: 34px; }
.cline .qty input { width: 44px; }
.summary { background: var(--wall); padding: 28px; position: sticky; top: 96px; }
.summary h2 { font-size: 20px; margin-bottom: 18px; }
.sum-row { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; font-size: 14px; }
.sum-row.total { border-top: 1px solid #cfcdc8; margin-top: 8px; padding-top: 16px; font-family: var(--f-title); font-size: 19px; color: var(--ink); text-transform: uppercase; letter-spacing: .04em; }
.summary .btn { margin-top: 18px; }
.summary .link-u { display: inline-block; margin-top: 16px; }
.summary .note { font-size: 12px; color: var(--grey); margin: 14px 0 0; font-style: italic; }
.free-hint { font-size: 12.5px; color: var(--beige-dark); margin: 4px 0 0; font-style: italic; }
.empty { text-align: center; padding: clamp(40px, 6vw, 90px) 0; max-width: 520px; margin: 0 auto; }
.empty svg { width: 54px; height: 54px; margin: 0 auto 20px; color: var(--grey-light); }
.empty p { color: var(--grey); }
.empty .cta-actions { margin-top: 24px; }

/* ---------- Formulaires ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 20px; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field.full { grid-column: 1 / -1; }
.field label, .field .lbl {
  font-family: var(--f-title); font-size: 11.5px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--ink);
}
.field label .req { color: var(--beige-dark); }
.field input, .field select, .field textarea {
  width: 100%;
  border: 1px solid #d6d3ce;
  background: #fff;
  padding: 12px 14px;
  font-size: 15px;
  border-radius: 0;
  min-height: 48px;
  transition: border-color .15s;
}
.field textarea { min-height: 130px; resize: vertical; line-height: 1.6; }
.field select {
  appearance: none; -webkit-appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%);
  background-position: calc(100% - 20px) 21px, calc(100% - 15px) 21px;
  background-size: 5px 5px; background-repeat: no-repeat; padding-right: 40px;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: var(--error); }
.field .err { font-size: 12px; line-height: 18px; color: var(--error); min-height: 18px; }
.consent { display: grid; grid-template-columns: 20px 1fr; gap: 12px; align-items: start; font-size: 13.5px; color: var(--text); }
.consent input { width: 18px; height: 18px; margin: 3px 0 0; accent-color: var(--ink); }
.consent.invalid { color: var(--error); }
.form-note { font-size: 12.5px; color: var(--grey); font-style: italic; }
.form-msg { padding: 18px 20px; border: 1px solid; font-size: 14px; margin-top: 18px; }
.form-msg[hidden] { display: none; }
.form-msg.warn { border-color: var(--beige-mid); background: var(--beige); color: var(--ink); }
.form-msg.ok { border-color: #b8cfbf; background: #eef5f0; color: #22462e; }
.form-msg.error { border-color: #e2b9b4; background: #fbefed; color: #7c2a22; }
.form-msg strong { display: block; font-family: var(--f-title); font-weight: 500; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 6px; }
.form-msg p:last-child { margin-bottom: 0; }

.checkout { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: clamp(28px, 4vw, 60px); align-items: start; }
.checkout h2 { font-size: 20px; margin-bottom: 20px; }
.mini-lines { list-style: none; padding: 0; margin: 0 0 6px; }
.mini-lines li { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 12px; padding: 10px 0; border-bottom: 1px solid #dddbd6; font-size: 13.5px; }
.mini-lines strong { font-family: var(--f-title); font-weight: 500; font-size: 13.5px; letter-spacing: .04em; text-transform: uppercase; color: var(--ink); display: block; }
.mini-lines span { color: var(--grey); font-size: 12.5px; }
.mini-lines .p { font-family: var(--f-title); color: var(--ink); white-space: nowrap; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: clamp(30px, 5vw, 80px); align-items: start; }
.info-block { border-top: 1px solid var(--ink); padding: 20px 0 26px; }
.info-block h3 { font-size: 15px; letter-spacing: .06em; margin-bottom: 10px; }
.info-block p, .info-block li { font-size: 14px; color: var(--text); margin: 0 0 4px; }
.info-block a { text-underline-offset: 3px; }
.hours { list-style: none; padding: 0; margin: 0; }
.hours li { display: flex; justify-content: space-between; gap: 16px; border-bottom: 1px dotted var(--line); padding: 6px 0; }
.hours li span:last-child { color: var(--grey); }

/* ---------- Pages légales ---------- */
.legal { max-width: 820px; margin: 0 auto; }
.legal h2 { font-size: 21px; margin: 44px 0 14px; }
.legal h2:first-child { margin-top: 0; }
.legal p, .legal li { font-size: 14.5px; }
.legal ul { padding-left: 20px; }
.legal dl { display: grid; grid-template-columns: 240px 1fr; gap: 0; margin: 0 0 10px; border-top: 1px solid var(--line); }
.legal dt, .legal dd { margin: 0; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.legal dt { font-family: var(--f-title); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--grey); padding-right: 16px; }
.todo {
  background: #fbf0d9;
  border-bottom: 1px dashed var(--beige-dark);
  color: #6b4f24;
  font-style: italic;
  padding: 0 4px;
}
.edit-note {
  border: 1px dashed var(--beige-dark);
  background: #fbf7f0;
  padding: 16px 20px;
  font-size: 13.5px;
  margin-bottom: 36px;
}
.edit-note strong { font-family: var(--f-title); font-weight: 500; letter-spacing: .08em; text-transform: uppercase; display: block; margin-bottom: 4px; }

/* ---------- Pied de page ---------- */
.site-footer { border-top: 1px solid var(--line); padding: clamp(50px, 6vw, 80px) 0 30px; margin-top: 0; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 36px; }
.site-footer h4 { font-size: 12px; letter-spacing: .14em; margin-bottom: 16px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 8px; font-size: 13.5px; }
.site-footer a { text-decoration: none; color: var(--text); }
.site-footer a:hover { text-decoration: underline; text-underline-offset: 3px; }
.site-footer .about { font-size: 13.5px; color: var(--grey); max-width: 320px; margin-top: 16px; }
.foot-bottom {
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  border-top: 1px solid var(--line); margin-top: 44px; padding-top: 22px;
  font-size: 12px; color: var(--grey);
}
.foot-bottom a { color: var(--grey); }
.demo-note { font-style: italic; }
[data-demo-note][hidden] { display: none; }

/* ---------- Toast ---------- */
.toast {
  position: fixed; z-index: 120; right: 20px; bottom: 20px;
  background: var(--ink); color: #fff;
  padding: 14px 18px; max-width: min(380px, calc(100vw - 40px));
  font-size: 14px; display: flex; gap: 16px; align-items: center;
  box-shadow: 0 10px 30px rgba(0,0,0,.25);
  transform: translateY(20px); opacity: 0; pointer-events: none;
  transition: transform .25s, opacity .25s;
}
.toast.show { transform: none; opacity: 1; pointer-events: auto; }
.toast a { color: #fff; white-space: nowrap; font-family: var(--f-title); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; text-underline-offset: 4px; }

/* image indisponible : fond neutre plutôt qu’une icône cassée */
img.img-failed { visibility: hidden; }
.img-fallback { background: linear-gradient(135deg, #ece8e1, #ddd6cb) !important; }

/* apparition douce */
.gp-anim .reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s ease, transform .7s ease; }
.gp-anim .reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .picks { grid-template-columns: repeat(3, 1fr); }
  .picks .pick:nth-child(n+4) { display: none; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .cart-layout, .checkout { grid-template-columns: 1fr; }
  .summary { position: static; }
}
@media (max-width: 860px) {
  .product { grid-template-columns: minmax(0, 1fr); }
  .product.flip .p-visual { order: 0; }
  .duo { grid-template-columns: 1fr; }
  .trio { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }
  .perks { grid-template-columns: 1fr 1fr; row-gap: 34px; }
  .perk:nth-child(3) { border-left: 0; }
  .interiors { grid-template-columns: 1fr 1fr; }
  .interiors figure:first-child { grid-column: span 2; grid-row: auto; }
  .interiors figure:first-child .ph { min-height: 340px; }
  .tab-panel { grid-template-columns: 1fr; }
  .more { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .wide-photo .ph { aspect-ratio: 4 / 3; }
}
@media (max-width: 600px) {
  body { font-size: 14.5px; }
  .picks { grid-template-columns: repeat(2, 1fr); }
  .picks .pick:nth-child(n+4) { display: block; }
  .picks .pick:nth-child(5) { display: none; }
  .perks { grid-template-columns: 1fr; }
  .perk { border-left: 0; border-top: 1px solid var(--line); padding-top: 26px; }
  .perk:first-child { border-top: 0; padding-top: 10px; }
  .form-grid { grid-template-columns: 1fr; }
  .row { grid-template-columns: 1fr auto; }
  .row .r-detail { grid-column: 1; grid-row: 2; margin-top: -4px; }
  .row .r-price { grid-row: 1 / span 2; grid-column: 2; }
  .cline { grid-template-columns: 72px minmax(0, 1fr) auto; gap: 12px; }
  .cline-img { width: 72px; height: 72px; }
  .cline .cl-qty { grid-column: 2; }
  .cline .ltotal { grid-column: 3; grid-row: 2; align-self: center; min-width: 0; }
  .foot-grid { grid-template-columns: 1fr; }
  .legal dl { grid-template-columns: 1fr; }
  .buy { grid-template-columns: auto minmax(0, 1fr); }
  .buy .btn { padding: 0 14px; letter-spacing: .08em; min-width: 0; }
  .legal dt { border-bottom: 0; padding-bottom: 0; }
  .more-head { flex-direction: column; gap: 6px; }
  .toast { left: 16px; right: 16px; bottom: 16px; max-width: none; }
  .interiors { grid-template-columns: 1fr; }
  .interiors figure:first-child { grid-column: auto; }
  .interiors .ph { min-height: 260px; }
}
@media (max-width: 400px) {
  .buy { grid-template-columns: 1fr; }
  .buy .qty { justify-self: start; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Idées de murs photo (galerie d’inspiration) ---------- */
.idea-wall { columns: 3 280px; column-gap: clamp(12px, 1.6vw, 20px); }
.idea-wall figure { break-inside: avoid; margin: 0 0 clamp(12px, 1.6vw, 20px); background: var(--paper); padding: 8px 8px 10px; box-shadow: 0 1px 0 var(--line); }
.idea-wall img { display: block; width: 100%; height: auto; }
.idea-wall figcaption { margin-top: 8px; padding: 0 2px; }
.idea-note { margin-top: 18px; max-width: 760px; }
.idea-lead { margin: -8px 0 22px; color: var(--grey); max-width: 640px; }
.idea-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(12px, 1.6vw, 20px); }
.idea-strip figure { margin: 0; }
.idea-strip .ph { aspect-ratio: 4 / 3.4; overflow: hidden; background: var(--wall); }
.idea-strip img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
.idea-strip figure:hover img { transform: scale(1.03); }
.idea-strip figcaption { margin-top: 8px; }
@media (max-width: 900px) { .idea-strip { grid-template-columns: 1fr 1fr; } }

/* ---------- Avis clients ---------- */
.reviews { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: clamp(14px, 2vw, 24px); }
.reviews[hidden] { display: none; }
.review { background: var(--paper); border: 1px solid var(--line); display: flex; flex-direction: column; }
.review-photo { aspect-ratio: 4 / 3; overflow: hidden; background: var(--wall); }
.review-photo img { width: 100%; height: 100%; object-fit: cover; }
.review-body { padding: 20px 22px 22px; }
.review .stars { color: var(--ink); letter-spacing: .12em; font-size: 15px; }
.review .stars span { color: var(--line); }
.review blockquote { margin: 10px 0 14px; font-style: italic; line-height: 1.65; }
.review-who { margin: 0; }
.review-cta { margin-top: 26px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; }
.review-cta p { margin: 0; max-width: 640px; }
.review-cta p[hidden] { display: none; }
.review-empty { padding: 26px; border: 1px dashed var(--beige-mid, var(--line)); background: var(--paper); max-width: 760px; margin: 0; }
.review-empty[hidden] { display: none; }
.rating { display: inline-flex; flex-direction: row-reverse; justify-content: flex-end; gap: 4px; }
.rating input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.rating label { font-size: 30px; line-height: 1; color: var(--line); cursor: pointer; transition: color .15s; padding: 2px; }
.rating label:hover, .rating label:hover ~ label, .rating input:checked ~ label { color: var(--ink); }
.rating input:focus-visible + label { outline: 2px solid var(--ink); outline-offset: 2px; }
.field.invalid .rating label { color: #e2b9b4; }
.photo-preview { margin-top: 10px; }
.photo-preview img { max-width: 220px; max-height: 180px; object-fit: cover; border: 1px solid var(--line); }
.photo-preview[hidden] { display: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
#avis-success:focus { outline: none; }
