/* ==========================================================================
   Galerie Photo — thème « papier » (2026-10)
   Surcouche de style.css : couleurs chaudes, titres serif (Newsreader),
   texte DM Sans, boutons sombres, cartes produits photo.
   Supprimer ce fichier (et sa ligne dans includes/header.php) = ancien design.
   ========================================================================== */
:root {
  --ink: #1f1c19;
  --text: #3a3631;
  --grey: #6f6860;
  --grey-light: #a59d93;
  --line: #e3ddd4;
  --wall: #ece6dd;
  --paper: #fbf9f6;
  --cream: #f6f2ec;
  --beige: #efe8de;
  --beige-mid: #d8cbb8;
  --beige-dark: #8c7457;
  --tan: #9a8163;
  --f-title: "Newsreader", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --f-text: "DM Sans", "Helvetica Neue", Arial, sans-serif;
  --radius: 2px;
}

body { background: var(--cream); color: var(--text); font-family: var(--f-text); font-size: 15px; line-height: 1.65; }

/* ---------- Typographie ---------- */
h1, h2, h3, h4, .t-title {
  font-family: var(--f-title);
  font-weight: 400;
  text-transform: none;
  letter-spacing: -.01em;
  line-height: 1.12;
  color: var(--ink);
}
h1 { font-size: clamp(38px, 5.6vw, 68px); letter-spacing: -.02em; }
h2 { font-size: clamp(28px, 3.2vw, 40px); }
h3 { font-size: clamp(19px, 1.7vw, 23px); }
h4 { font-family: var(--f-text); font-weight: 600; font-size: 13px; letter-spacing: .02em; }
.eyebrow { font-family: var(--f-text); font-weight: 600; font-size: 11px; letter-spacing: .16em; color: var(--tan); }
.caption { font-style: normal; font-size: 13px; color: var(--grey); }
.lead { font-size: 17px; color: var(--grey); }
.link-u { font-family: var(--f-text); font-weight: 500; font-size: 13.5px; }
.link-u:hover { color: var(--tan); }
.link-caps { font-family: var(--f-text); font-weight: 600; font-size: 12px; letter-spacing: .12em; }

/* ---------- Boutons ---------- */
.btn {
  font-family: var(--f-text);
  font-weight: 600;
  font-size: 12.5px;
  letter-spacing: .12em;
  min-height: 50px;
  padding: 0 26px;
  border-radius: var(--radius);
  background: var(--ink);
  border-color: var(--ink);
}
.btn:not(.btn-block):not(.btn-ghost)::after { content: "→"; font-size: 15px; letter-spacing: 0; margin-left: 2px; transition: transform .2s; }
.btn:has(svg)::after, .buy .btn::after, .summary .btn::after { content: none; }
.btn:hover { background: #3a342e; border-color: #3a342e; }
.btn:hover::after { transform: translateX(3px); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: #fff; }
.btn-light { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn-light:hover { background: #3a342e; color: #fff; }

/* ---------- Barre supérieure ---------- */
.topbar { background: #24211e; color: #e9e3da; font-size: 12px; }
.topbar-in { display: flex; justify-content: space-between; align-items: center; gap: 20px; min-height: 36px; }
.topbar ul { list-style: none; display: flex; gap: 28px; margin: 0; padding: 0; }
.topbar li, .topbar-links a { display: inline-flex; align-items: center; gap: 7px; }
.topbar svg { width: 15px; height: 15px; flex: none; opacity: .9; }
.topbar-links { display: flex; gap: 24px; }
.topbar-links a { color: #e9e3da; text-decoration: none; }
.topbar-links a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.topbar .cart-count, .topbar [data-cart-count] { font: inherit; color: inherit; min-width: 0; }

/* ---------- En-tête ---------- */
.site-header { background: var(--cream); border-bottom: 1px solid var(--line); }
.site-header.scrolled { box-shadow: 0 6px 20px rgba(40, 30, 20, .06); }
.header-in { grid-template-columns: auto 1fr auto; min-height: 84px; gap: 36px; }
.logo { flex-direction: column; align-items: flex-start; gap: 3px; padding: 0; letter-spacing: 0; text-transform: none; font-family: var(--f-title); }
.logo-name { font-size: 31px; font-weight: 400; letter-spacing: -.01em; line-height: 1; color: var(--ink); }
.logo small { font-family: var(--f-text); font-style: normal; font-size: 10px; font-weight: 500; letter-spacing: .26em; text-transform: uppercase; color: var(--grey); }
.nav { gap: 30px; }
.nav-main { justify-content: center; }
.nav a {
  font-family: var(--f-title);
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  color: var(--ink);
  border-bottom: 1px solid transparent;
  padding: 4px 0;
}
.nav a:hover, .nav a[aria-current="page"] { border-bottom-color: var(--ink); }
.nav-right { gap: 22px; }
.cart-link { position: relative; padding: 6px; }
.cart-link svg { width: 23px; height: 23px; }
.cart-link .cart-count {
  position: absolute; top: -2px; right: -6px;
  min-width: 18px; height: 18px; border-radius: 9px; padding: 0 5px;
  background: var(--tan); color: #fff; font-family: var(--f-text); font-size: 10.5px; font-weight: 600;
  display: grid; place-items: center; line-height: 1;
}
.cart-link .cart-count.has { color: #fff; }
.mobile-nav { background: var(--cream); }
.mobile-nav a { font-family: var(--f-title); font-size: 21px; text-transform: none; letter-spacing: 0; }

@media (max-width: 1180px) {
  .nav { gap: 20px; }
  .nav a { font-size: 15px; }
  .nav-right .nav-contact { display: none; }
}
@media (max-width: 1020px) {
  .header-in { grid-template-columns: 42px 1fr auto; min-height: 68px; gap: 12px; }
  .nav-main { display: none; }
  .burger { display: block; }
  .logo { justify-self: center; align-items: center; }
  .logo-name { font-size: 25px; }
  .logo small { font-size: 9px; letter-spacing: .2em; }
  .mobile-nav {
    display: block; position: absolute; top: 100%; left: 0; right: 0; height: calc(100vh - 68px); height: calc(100dvh - 68px); background: var(--cream);
    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); 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; border: 0; padding: 4px 0; }
}
@media (max-width: 900px) {
  .nav-right a:not(.cart-link) { display: none; }
}
@media (max-width: 760px) {
  .topbar ul li:nth-child(n+2) { display: none; }
  .topbar-links a:first-child { display: none; }
}

/* ---------- Héros ---------- */
.hero { padding: 0; max-width: none; }
.hero-in {
  min-height: clamp(460px, 64vh, 620px);
  place-items: center start;
  text-align: left;
  background: #e9e1d6;
}
.hero-in > img { filter: none; object-position: 70% 50%; }
.hero-in::after { background: linear-gradient(90deg, rgba(246, 242, 236, .97) 0%, rgba(246, 242, 236, .9) 34%, rgba(246, 242, 236, .35) 62%, rgba(246, 242, 236, 0) 80%); }
.hero-text {
  color: var(--text);
  max-width: calc(var(--wrap) + 2 * var(--gut));
  width: 100%;
  margin: 0 auto;
  padding: 60px var(--gut);
}
.hero-text h1 { color: var(--ink); max-width: 640px; font-size: clamp(40px, 5.4vw, 70px); margin-bottom: 20px; }
.hero-text p { color: var(--text); margin: 0 0 30px; max-width: 470px; font-size: clamp(16px, 1.5vw, 19px); }
.hero-text .hero-cta { justify-content: flex-start; gap: 26px; }
.hero-text .link-caps { color: var(--ink); }
@media (max-width: 700px) {
  .hero-in::after { background: linear-gradient(180deg, rgba(246, 242, 236, .94) 0%, rgba(246, 242, 236, .86) 60%, rgba(246, 242, 236, .55) 100%); }
  .hero-in { min-height: 480px; }
}

/* ---------- Sections ---------- */
.section { padding: clamp(60px, 7vw, 100px) 0; }
.section-head h2 { margin-bottom: 10px; }
.section-head p { color: var(--grey); font-size: 15.5px; }
.bg-beige { background: #efe9e1; }
.bg-wall { background: var(--wall); }

/* ---------- Cartes produits (« coups de cœur ») ---------- */
.picks { gap: clamp(14px, 1.6vw, 20px); }
.pick { text-align: left; background: var(--paper); border: 1px solid var(--line); display: flex; flex-direction: column; transition: box-shadow .25s, transform .25s; }
.pick:hover { box-shadow: 0 14px 30px rgba(40, 30, 20, .10); transform: translateY(-2px); }
.pick-art { background: linear-gradient(160deg, #efe8de, #e2d8ca); padding: 16% 14%; aspect-ratio: 1 / 1.05; }
.pick h3 { font-family: var(--f-title); font-size: 19px; letter-spacing: -.005em; margin: 16px 16px 2px; padding-right: 26px; position: relative; }
.pick h3::after { content: "→"; position: absolute; right: 0; top: 0; font-family: var(--f-text); font-size: 16px; transition: transform .2s; }
.pick:hover h3::after { transform: translateX(3px); }
.pick .cat { margin: 0 16px; font-size: 12px; text-decoration: none; color: var(--tan); font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.pick .caption { margin: 4px 16px 18px; font-size: 13px; }
.pick:hover .frame { transform: none; }

/* ---------- Bannières (Tableaux / Cadres) ---------- */
.duo { gap: 16px; }
.story {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  text-align: left;
  background: #ece5db;
  min-height: 300px;
  overflow: hidden;
}
.story-img { order: 2; aspect-ratio: auto; height: 100%; min-height: 300px; }
.story h3, .story p, .story .link-u { grid-column: 1; }
.story > h3 { margin: 0; }
.story { grid-template-rows: 1fr auto auto auto 1fr; padding: 0; }
.story-img { grid-column: 2; grid-row: 1 / -1; }
.story h3 { grid-row: 2; padding: 0 28px; font-size: clamp(26px, 2.6vw, 34px); }
.story p { grid-row: 3; padding: 0 28px; margin: 12px 0 22px; font-size: 15px; color: var(--text); }
.story .link-u {
  grid-row: 4; justify-self: start; margin: 0 28px;
  background: var(--ink); color: #fff; text-decoration: none; text-transform: uppercase;
  font-size: 11.5px; font-weight: 600; letter-spacing: .12em; padding: 11px 16px; border-radius: var(--radius);
}
.story .link-u::after { content: " →"; }
.story:hover .link-u { background: #3a342e; }
@media (max-width: 600px) {
  .story { grid-template-columns: 1fr; grid-template-rows: auto; }
  .story-img { grid-column: 1; grid-row: 1; min-height: 220px; aspect-ratio: 4 / 3; }
  .story h3 { grid-row: 2; padding-top: 22px; }
  .story p { grid-row: 3; }
  .story .link-u { grid-row: 4; margin-bottom: 26px; }
}

/* ---------- Catégories ---------- */
.card { text-align: left; background: var(--paper); border: 1px solid var(--line); padding-bottom: 20px; transition: box-shadow .25s; }
.card:hover { box-shadow: 0 14px 30px rgba(40, 30, 20, .10); }
.card h3, .card p, .card .link-u { margin-left: 20px; margin-right: 20px; }
.card h3 { font-size: 22px; letter-spacing: -.005em; margin-top: 18px; }
.card p { margin-left: 20px; max-width: none; }
.more .card { padding-bottom: 14px; }
.more .card h3 { font-size: 18px; text-align: left; }

/* ---------- Engagements : pictos ronds ---------- */
.perks { gap: 24px; }
.perk { text-align: left; border: 0 !important; padding: 0 !important; display: grid; grid-template-columns: 76px 1fr; column-gap: 18px; align-items: start; }
.perk svg { grid-row: 1 / span 2; width: 76px; height: 76px; padding: 18px; margin: 0; border: 1px solid var(--beige-mid); border-radius: 50%; background: var(--paper); color: var(--ink); }
.perk h4 { font-family: var(--f-title); font-weight: 400; font-size: 19px; letter-spacing: 0; margin: 10px 0 4px; }
.perk p { font-size: 13.5px; }
@media (max-width: 1080px) { .perks { grid-template-columns: 1fr 1fr; row-gap: 30px; } }
@media (max-width: 600px) { .perks { grid-template-columns: 1fr; } .perk { padding-top: 0 !important; } }

/* ---------- Intérieurs / citation ---------- */
.interiors .ph, .idea-strip .ph { border-radius: var(--radius); }
.statement blockquote { font-family: var(--f-title); font-style: italic; font-size: clamp(24px, 2.8vw, 34px); }

/* ---------- Bandeau final (photo sombre) ---------- */
.cta {
  position: relative;
  text-align: left;
  color: #fff;
  background: #2a2520 url("https://images.unsplash.com/photo-1774578342245-a9d9574a75f7?auto=format&fit=crop&w=2000&q=80") center 60% / cover no-repeat;
  overflow: hidden;
}
.cta::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(25, 21, 18, .82) 0%, rgba(25, 21, 18, .6) 45%, rgba(25, 21, 18, .25) 100%); }
.cta .wrap { position: relative; }
.cta h2 { color: #fff; max-width: 560px; }
.cta p { color: rgba(255, 255, 255, .88); margin: 0 0 26px; }
.cta-actions { justify-content: flex-start; }
.cta .btn { background: #fff; color: var(--ink); border-color: #fff; }
.cta .btn:hover { background: #ece5db; border-color: #ece5db; }
.cta .btn-ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .8); }
.cta .btn-ghost:hover { background: #fff; color: var(--ink); }

/* ---------- Pages intérieures ---------- */
.crumbs { color: var(--grey-light); }
.page-head { text-align: left; padding-top: clamp(20px, 3vw, 36px); }
.page-head .lead { margin: 0; }
.anchor-nav { justify-content: flex-start; }
.product { border-top-color: var(--line); }
.p-visual { background: #ebe4da; border-radius: var(--radius); }
.p-visual::after { background: linear-gradient(#ddd3c5, #d4c9ba); border-top-color: #cfc3b3; }
.p-visual .tag { font-family: var(--f-text); font-weight: 600; background: var(--tan); color: #fff; }
.p-info h2 { font-size: clamp(30px, 3vw, 40px); }
.p-price strong { font-family: var(--f-title); font-weight: 400; font-size: 30px; }
.opt legend { font-family: var(--f-text); font-weight: 600; font-size: 12px; }
.row { background: var(--paper); border-radius: var(--radius); }
.row .r-name { font-family: var(--f-text); font-weight: 600; font-size: 12px; }
.row .r-price { font-family: var(--f-text); font-weight: 600; }
.chip { font-family: var(--f-text); font-weight: 500; background: var(--paper); border-radius: var(--radius); }
.qty, .qty button, .qty input { background: var(--paper); }
.qty input { font-family: var(--f-text); }
.tab { font-family: var(--f-text); font-weight: 600; }
.step::before { font-family: var(--f-title); font-size: 22px; color: var(--tan); }
.step { border-top-color: var(--beige-mid); }
.step h3 { font-size: 21px; }
.price-group-head { border-bottom-color: var(--ink); }
.ptable thead th { font-family: var(--f-text); font-weight: 600; }
.ptable .prod { font-family: var(--f-title); text-transform: none; letter-spacing: 0; font-size: 17px; font-weight: 400; }
.ptable td.num { font-family: var(--f-text); font-weight: 600; }
.summary { background: #ece5db; border-radius: var(--radius); }
.sum-row.total { font-family: var(--f-title); text-transform: none; font-size: 22px; letter-spacing: 0; }
.cline .ltotal, .mini-lines .p { font-family: var(--f-text); font-weight: 600; }
.cline h3 { font-family: var(--f-title); font-size: 18px; letter-spacing: 0; }
.mini-lines strong { font-family: var(--f-title); text-transform: none; font-weight: 400; font-size: 16px; letter-spacing: 0; }
.field label, .field .lbl { font-family: var(--f-text); font-weight: 600; font-size: 11.5px; }
.field input, .field select, .field textarea { background: var(--paper); border-color: #d9d1c5; border-radius: var(--radius); }
.form-msg strong { font-family: var(--f-text); font-weight: 600; }
.info-block { border-top-color: var(--beige-mid); }
.info-block h3 { font-size: 20px; letter-spacing: 0; }
.legal h2 { font-size: 25px; }
.legal dt { font-family: var(--f-text); font-weight: 600; font-size: 11.5px; }
.edit-note strong { font-family: var(--f-text); }
.toast a { font-family: var(--f-text); font-weight: 600; }

/* ---------- Pied de page ---------- */
.site-footer { background: #24211e; color: #d9d2c7; border-top: 0; }
.site-footer .logo-name, .site-footer .logo { color: #fff; }
.site-footer .logo { font-family: var(--f-title); font-size: 28px; letter-spacing: 0; text-transform: none; padding: 0; }
.site-footer .logo small { color: #b6ad9f; }
.site-footer h4 { color: #fff; font-family: var(--f-text); font-weight: 600; letter-spacing: .14em; text-transform: uppercase; font-size: 11.5px; }
.site-footer a, .site-footer li { color: #d9d2c7; }
.site-footer a:hover { color: #fff; }
.site-footer .about, .site-footer .caption { color: #b6ad9f; }
.foot-bottom { border-top-color: rgba(255, 255, 255, .12); color: #a79e91; }
.foot-bottom a { color: #a79e91; }

/* ---------- Avis clients ---------- */
.review { background: var(--paper); border-radius: var(--radius); }
.review blockquote { font-family: var(--f-title); font-size: 18px; color: var(--ink); }
.review .stars { color: var(--tan); }
.review-demo { display: inline-block; margin-bottom: 10px; background: #f3e7d2; color: #6b5233; font-size: 10.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; padding: 4px 8px; }
.reviews-demo-note { margin: 0 0 22px; padding: 12px 16px; border: 1px dashed var(--beige-mid); background: var(--paper); font-size: 13px; color: var(--grey); max-width: 860px; }
.reviews-demo-note[hidden] { display: none; }
.idea-wall figure { background: var(--paper); border-radius: var(--radius); }
