/* =========================================================
   SMB Structures — feuille de style
   ========================================================= */
:root {
  --bg: #F6F3EE;
  --bg-soft: #EDE8E0;
  --surface: #FFFFFF;
  --ink: #1E2326;
  --ink-2: #4A5258;
  --muted: #7C848A;
  --line: #E1DBD1;
  --dark: #1E2326;
  --dark-2: #2A3135;
  --accent: #C8873A;
  --accent-ink: #9E6526;
  --sky: #cfe3ee;
  --ok: #2F7A55;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 1px 2px rgba(30,35,38,.06), 0 8px 24px rgba(30,35,38,.08);
  --shadow-lg: 0 24px 60px rgba(30,35,38,.18);
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --ease: cubic-bezier(.2,.7,.2,1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; line-height: 1.12; letter-spacing: -.02em; }
h1, h2 { font-family: var(--serif); font-weight: 600; }
h1 { font-size: clamp(2.6rem, 5.6vw, 4.6rem); }
h2 { font-size: clamp(2rem, 3.6vw, 3rem); }
h3 { font-size: 1.15rem; font-weight: 600; }
p { margin: 0; }
code { font-family: ui-monospace, Consolas, monospace; background: rgba(255,255,255,.15); padding: 1px 6px; border-radius: 4px; }

.container { width: min(1200px, 100% - 40px); margin-inline: auto; }
.serif-accent { font-style: italic; color: var(--accent-ink); font-weight: 400; }
.eyebrow {
  font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--accent-ink); margin-bottom: 14px;
}
.eyebrow--light { color: var(--accent); }
.muted-light { color: rgba(255,255,255,.6); }
[hidden] { display: none !important; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 24px; border-radius: 999px; font-weight: 600; font-size: .95rem;
  transition: transform .2s var(--ease), background .2s, box-shadow .2s, color .2s;
  white-space: nowrap;
}
.btn:active { transform: scale(.97); }
.btn--primary { background: var(--ink); color: #fff; }
.btn--primary:hover { background: #000; box-shadow: 0 8px 20px rgba(0,0,0,.18); }
.btn--accent { background: var(--accent); color: #fff; }
.btn--accent:hover { background: var(--accent-ink); }
.btn--ghost { border: 1.5px solid currentColor; }
.btn--ghost:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn--sm { padding: 9px 16px; font-size: .85rem; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .45; pointer-events: none; }
.icon-btn {
  width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center;
  font-size: 1rem; transition: background .2s;
}
.icon-btn:hover { background: var(--bg-soft); }

/* ---------- Promo + header ---------- */
.promo-bar {
  background: var(--dark); color: #E9E4DB; text-align: center; font-size: .82rem; padding: 8px 16px;
}
.promo-bar strong { color: var(--accent); }
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(246,243,238,.85); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s;
}
.header.is-scrolled { border-color: var(--line); box-shadow: 0 4px 20px rgba(0,0,0,.04); }
.header__inner { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 24px; }
.logo { display: flex; align-items: center; gap: 10px; color: var(--ink); }
.logo__mark { width: 34px; height: 34px; }
.logo__text { font-family: var(--serif); font-size: 1.3rem; font-weight: 600; letter-spacing: -.01em; }
.logo__text em { font-style: italic; font-weight: 400; color: var(--accent-ink); }
.logo--light { color: #fff; }
.logo--light .logo__text em { color: var(--accent); }
.nav { display: flex; gap: 30px; font-size: .93rem; font-weight: 500; }
.nav a { position: relative; color: var(--ink-2); transition: color .2s; }
.nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 1.5px; background: var(--accent);
  transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.nav a:hover { color: var(--ink); }
.nav a:hover::after { transform: scaleX(1); }
.nav__cta-mobile { display: none; }
.header__actions { display: flex; align-items: center; gap: 10px; }
.cart-btn {
  position: relative; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  background: var(--surface); box-shadow: var(--shadow); transition: transform .2s;
}
.cart-btn:hover { transform: translateY(-1px); }
.cart-btn__count {
  position: absolute; top: -3px; right: -3px; min-width: 20px; height: 20px; padding: 0 5px;
  border-radius: 10px; background: var(--accent); color: #fff; font-size: .72rem; font-weight: 700;
  display: grid; place-items: center; transition: transform .3s var(--ease);
}
.cart-btn__count.bump { animation: bump .45s var(--ease); }
@keyframes bump { 40% { transform: scale(1.45); } }
.burger { display: none; width: 44px; height: 44px; position: relative; }
.burger span { position: absolute; left: 11px; right: 11px; height: 2px; background: var(--ink); transition: transform .3s, top .3s; }
.burger span:first-child { top: 17px; } .burger span:last-child { top: 25px; }
.burger[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { padding: 56px 0 72px; position: relative; overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.hero__lead { font-size: 1.12rem; color: var(--ink-2); max-width: 520px; margin: 22px 0 32px; }
.hero__ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.hero__proof { list-style: none; padding: 0; margin: 42px 0 0; display: flex; gap: 36px; flex-wrap: wrap; }
.hero__proof li { display: flex; flex-direction: column; }
.hero__proof strong { font-family: var(--serif); font-size: 1.6rem; font-weight: 600; }
.hero__proof span { font-size: .82rem; color: var(--muted); }
.hero__scene {
  position: relative; aspect-ratio: 1 / 1.02; border-radius: 28px;
  background: linear-gradient(170deg, #E9DFD1 0%, #D9CBB8 100%);
  display: grid; place-items: center; overflow: hidden;
}
.hero__scene::after { /* sol */
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 18%;
  background: linear-gradient(180deg, #C6B39B, #B9A48A);
}
.hero__sun {
  position: absolute; width: 60%; aspect-ratio: 1; border-radius: 50%; top: -12%; right: -14%;
  background: radial-gradient(circle, rgba(255,230,180,.9), rgba(255,230,180,0) 65%);
  animation: glow 7s ease-in-out infinite alternate;
}
@keyframes glow { to { transform: translate(-6%, 4%) scale(1.08); } }
.hero__window { position: relative; z-index: 1; width: 72%; margin-bottom: 9%; filter: drop-shadow(0 30px 40px rgba(60,40,20,.25)); }
.hero__window svg { width: 100%; height: auto; }
.float-card {
  position: absolute; z-index: 2; display: flex; align-items: center; gap: 12px;
  background: rgba(255,255,255,.92); backdrop-filter: blur(8px); padding: 12px 16px; border-radius: 14px;
  box-shadow: var(--shadow-lg); font-size: .85rem; line-height: 1.3;
  animation: floaty 6s ease-in-out infinite;
}
.float-card small { display: block; color: var(--muted); }
.float-card__icon { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--bg-soft); color: var(--accent-ink); font-weight: 700; }
.float-card--a { top: 9%; left: -2%; }
.float-card--b { bottom: 7%; right: 4%; animation-delay: -3s; }
@keyframes floaty { 50% { transform: translateY(-10px); } }

/* ---------- Trust ---------- */
.trust { border-block: 1px solid var(--line); background: var(--surface); }
.trust__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust__item { display: flex; gap: 14px; align-items: center; padding: 22px 18px; font-size: .88rem; line-height: 1.35; }
.trust__item + .trust__item { border-left: 1px solid var(--line); }
.trust__item > span { font-size: 1.5rem; }
.trust__item small { color: var(--muted); display: block; }

/* ---------- Sections ---------- */
.section { padding: 104px 0; }
.section--dark { background: var(--dark); color: #F1EDE6; }
.section--soft { background: var(--bg-soft); }
.section--accent { background: linear-gradient(135deg, #22292D, #1A1F22); color: #F1EDE6; }
.section__head { text-align: center; max-width: 680px; margin: 0 auto 52px; }
.section__head--left { text-align: left; margin: 0; }
.section__sub { margin-top: 14px; color: var(--muted); font-size: 1.05rem; }
.section--dark .section__sub, .section--accent .section__sub { color: rgba(241,237,230,.65); }

/* ---------- Catalogue ---------- */
.toolbar { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 30px; }
.tabs { display: flex; gap: 6px; flex-wrap: wrap; }
.tab {
  padding: 9px 16px; border-radius: 999px; font-size: .87rem; font-weight: 500; color: var(--ink-2);
  background: transparent; border: 1px solid var(--line); transition: all .2s;
}
.tab:hover { border-color: var(--ink-2); }
.tab.is-active { background: var(--ink); color: #fff; border-color: var(--ink); }
.toolbar__right { display: flex; gap: 8px; flex-wrap: wrap; }
.search {
  display: flex; align-items: center; gap: 8px; padding: 0 14px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--line); color: var(--muted);
}
.search input { border: 0; outline: 0; background: transparent; padding: 9px 0; width: 180px; color: var(--ink); }
.select {
  appearance: none; -webkit-appearance: none; padding: 9px 34px 9px 14px; border-radius: 999px; border: 1px solid var(--line);
  background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%237C848A' fill='none' stroke-width='1.5'/%3E%3C/svg%3E") no-repeat right 14px center;
  font-size: .87rem; cursor: pointer;
}
.products { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 22px; }
.product {
  background: var(--surface); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column;
  border: 1px solid var(--line); transition: transform .35s var(--ease), box-shadow .35s var(--ease);
  animation: fadeUp .5s var(--ease) both;
}
.product:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.product__media {
  position: relative; aspect-ratio: 4/3.4; display: grid; place-items: center; cursor: pointer;
  background: linear-gradient(180deg, #F2EDE5, #E6DED2);
}
.product__media svg { width: 78%; height: 82%; transition: transform .5s var(--ease); }
.product:hover .product__media svg { transform: scale(1.04); }
.badge {
  position: absolute; top: 12px; left: 12px; font-size: .7rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  background: var(--ink); color: #fff; padding: 4px 10px; border-radius: 999px;
}
.badge--accent { background: var(--accent); }
.product__body { padding: 18px 18px 20px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.product__meta { display: flex; justify-content: space-between; font-size: .76rem; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; font-weight: 600; }
.product__name { font-family: var(--serif); font-size: 1.3rem; font-weight: 600; cursor: pointer; }
.product__rating { font-size: .82rem; color: var(--muted); }
.product__rating b { color: var(--accent); letter-spacing: 1px; }
.product__dots { display: flex; gap: 5px; margin: 4px 0; }
.dot { width: 14px; height: 14px; border-radius: 50%; border: 1px solid rgba(0,0,0,.15); }
.product__foot { margin-top: auto; padding-top: 12px; display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; }
.price small { display: block; font-size: .72rem; color: var(--muted); }
.price strong { font-size: 1.35rem; font-weight: 700; letter-spacing: -.02em; }
.add-btn {
  width: 42px; height: 42px; border-radius: 50%; background: var(--ink); color: #fff; font-size: 1.3rem;
  display: grid; place-items: center; transition: background .2s, transform .2s;
}
.add-btn:hover { background: var(--accent); transform: rotate(90deg); }
.empty { text-align: center; color: var(--muted); padding: 40px; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } }

/* ---------- Configurateur ---------- */
.config { display: grid; grid-template-columns: 1fr 1.05fr; gap: 36px; align-items: start; }
.config__preview { position: sticky; top: 96px; }
.config__stage {
  position: relative; aspect-ratio: 1; border-radius: 22px; padding: 48px 48px 56px 64px;
  background:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px) 0 0 / 24px 24px,
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px) 0 0 / 24px 24px,
    var(--dark-2);
  display: grid; place-items: center;
}
.config__svg { width: 100%; height: 100%; display: grid; place-items: center; }
.config__svg svg { max-width: 100%; max-height: 100%; width: auto; height: 100%; transition: all .3s var(--ease); }
.dim { position: absolute; font-size: .78rem; font-weight: 600; color: var(--accent); }
.dim span { background: var(--dark-2); padding: 2px 8px; border-radius: 4px; }
.dim--w { bottom: 18px; left: 64px; right: 48px; text-align: center; border-top: 1px dashed rgba(200,135,58,.5); padding-top: 4px; }
.dim--h { left: 18px; top: 48px; bottom: 56px; display: flex; align-items: center; border-right: 1px dashed rgba(200,135,58,.5); padding-right: 4px; }
.dim--h span { transform: rotate(-90deg); white-space: nowrap; }
.config__specs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 14px; }
.config__specs > div { background: var(--dark-2); border-radius: 12px; padding: 12px 14px; }
.config__specs small { display: block; font-size: .72rem; color: rgba(255,255,255,.5); text-transform: uppercase; letter-spacing: .08em; }
.config__specs strong { font-size: 1.05rem; }
.config__panel { background: var(--dark-2); border-radius: 22px; padding: 28px; display: flex; flex-direction: column; gap: 26px; }
.step h3 { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; font-size: 1rem; }
.step h3 > span {
  width: 24px; height: 24px; border-radius: 50%; background: var(--accent); color: #fff; font-size: .75rem;
  display: grid; place-items: center; flex: none;
}
.step h3 small { font-weight: 400; color: rgba(255,255,255,.5); font-size: .85rem; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip {
  padding: 9px 14px; border-radius: 999px; border: 1px solid rgba(255,255,255,.16); font-size: .86rem;
  color: rgba(255,255,255,.85); transition: all .2s;
}
.chip:hover { border-color: rgba(255,255,255,.4); }
.chip.is-active { background: #fff; color: var(--ink); border-color: #fff; font-weight: 600; }
.dims { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; font-size: .85rem; color: rgba(255,255,255,.7); }
.range-row { display: flex; align-items: center; gap: 10px; margin-top: 6px; }
input[type=range] { flex: 1; accent-color: var(--accent); min-width: 0; }
.num {
  width: 74px; padding: 7px 8px; border-radius: 8px; border: 1px solid rgba(255,255,255,.16); background: transparent; color: #fff; text-align: center;
}
.cards4 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.opt-card {
  text-align: left; padding: 12px 14px; border-radius: 12px; border: 1px solid rgba(255,255,255,.14);
  transition: all .2s; display: flex; flex-direction: column; gap: 2px;
}
.opt-card strong { font-size: .92rem; color: #fff; }
.opt-card small { font-size: .76rem; color: rgba(255,255,255,.55); line-height: 1.35; }
.opt-card:hover { border-color: rgba(255,255,255,.35); }
.opt-card.is-active { border-color: var(--accent); background: rgba(200,135,58,.12); box-shadow: inset 0 0 0 1px var(--accent); }
.swatches { display: flex; gap: 10px; flex-wrap: wrap; }
.swatch {
  width: 40px; height: 40px; border-radius: 50%; border: 2px solid rgba(255,255,255,.15); position: relative;
  transition: transform .2s;
}
.swatch:hover { transform: scale(1.08); }
.swatch.is-active { outline: 2px solid var(--accent); outline-offset: 3px; }
.options { display: flex; flex-direction: column; gap: 8px; }
.option {
  display: flex; align-items: center; gap: 12px; padding: 11px 14px; border-radius: 12px;
  border: 1px solid rgba(255,255,255,.12); cursor: pointer; font-size: .9rem; transition: border-color .2s;
}
.option:hover { border-color: rgba(255,255,255,.3); }
.option input { accent-color: var(--accent); width: 18px; height: 18px; }
.option span { flex: 1; }
.option small { color: rgba(255,255,255,.55); display: block; font-size: .76rem; }
.option em { font-style: normal; font-weight: 600; color: var(--accent); white-space: nowrap; }
.config__total {
  display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap;
  border-top: 1px solid rgba(255,255,255,.1); padding-top: 22px;
}
.config__total small { font-size: .8rem; color: rgba(255,255,255,.55); }
.config__price { font-family: var(--serif); font-size: 2.4rem; font-weight: 600; line-height: 1.1; }
.config__buy { display: flex; gap: 10px; align-items: center; }

/* ---------- Quantité ---------- */
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; }
.qty button { width: 34px; height: 34px; font-size: 1.1rem; border-radius: 50%; }
.qty button:hover { background: var(--bg-soft); }
.qty span { min-width: 26px; text-align: center; font-weight: 600; font-size: .92rem; }
.qty--light { border-color: rgba(255,255,255,.2); }
.qty--light button { height: 44px; width: 40px; }
.qty--light button:hover { background: rgba(255,255,255,.08); }

/* ---------- Engagements ---------- */
.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 96px; }
.feature { background: var(--surface); border-radius: var(--radius); padding: 28px 24px; border: 1px solid var(--line); }
.feature__num { font-family: var(--serif); font-size: 2.4rem; color: var(--accent); font-weight: 400; display: block; margin-bottom: 18px; }
.feature h3 { margin-bottom: 8px; }
.feature p { color: var(--ink-2); font-size: .93rem; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split__visual {
  aspect-ratio: 1.05; border-radius: 26px; display: grid; place-items: center; padding: 10%;
  background: radial-gradient(circle at 70% 25%, #F7E2C0, transparent 55%), linear-gradient(160deg, #3A4A55, #22292D);
}
.split__visual svg { width: 100%; height: 100%; filter: drop-shadow(0 30px 40px rgba(0,0,0,.35)); }
.split__text p { color: var(--ink-2); margin: 18px 0; }
.checklist { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 10px; }
.checklist li { display: flex; gap: 10px; align-items: center; font-weight: 500; }
.checklist li::before {
  content: "✓"; width: 22px; height: 22px; border-radius: 50%; background: var(--ok); color: #fff; font-size: .75rem;
  display: grid; place-items: center; flex: none;
}
.footnote { font-size: .78rem; color: var(--muted) !important; margin-top: 16px !important; }

/* ---------- Avis ---------- */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.review { margin: 0; background: var(--surface); padding: 30px; border-radius: var(--radius); box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 16px; }
.stars { color: var(--accent); letter-spacing: 2px; }
.review blockquote { margin: 0; font-family: var(--serif); font-size: 1.15rem; line-height: 1.45; flex: 1; }
.review figcaption { font-size: .85rem; color: var(--muted); }
.review figcaption strong { color: var(--ink); }

/* ---------- FAQ ---------- */
.faq { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: start; }
.faq .section__head .btn { margin-top: 26px; }
.faq__list details { border-bottom: 1px solid var(--line); }
.faq__list summary {
  list-style: none; cursor: pointer; padding: 22px 40px 22px 0; font-weight: 600; font-size: 1.05rem; position: relative;
}
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary::after {
  content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-size: 1.5rem; font-weight: 300;
  color: var(--accent-ink); transition: transform .3s;
}
.faq__list details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq__list details p { padding: 0 0 22px; color: var(--ink-2); animation: fadeUp .35s var(--ease); }

/* ---------- Devis ---------- */
.devis { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.devis__text p { color: rgba(241,237,230,.7); margin: 20px 0 28px; font-size: 1.05rem; }
.devis__contact { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; font-weight: 500; }
.devis__form { background: var(--surface); color: var(--ink); border-radius: 22px; padding: 32px; display: grid; gap: 16px; box-shadow: var(--shadow-lg); }
.field { display: flex; flex-direction: column; gap: 6px; font-size: .84rem; font-weight: 600; color: var(--ink-2); }
.field input, .field select, .field textarea {
  padding: 12px 14px; border-radius: 10px; border: 1px solid var(--line); background: var(--bg); font-weight: 400; color: var(--ink);
  transition: border-color .2s, box-shadow .2s; resize: vertical;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(200,135,58,.18); }
.field.is-invalid input { border-color: #C0392B; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-note { font-size: .76rem; color: var(--muted); text-align: center; }

/* ---------- Footer ---------- */
.footer { background: #15191B; color: rgba(255,255,255,.7); padding: 72px 0 28px; font-size: .9rem; }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; }
.footer h4 { color: #fff; font-size: .82rem; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 16px; }
.footer__grid a:not(.logo) { display: block; padding: 4px 0; transition: color .2s; }
.footer__grid a:not(.logo):hover { color: var(--accent); }
.footer__about { margin-top: 16px; max-width: 300px; }
.footer__bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; border-top: 1px solid rgba(255,255,255,.08); margin-top: 56px; padding-top: 24px; font-size: .8rem; }

/* ---------- Drawer panier ---------- */
.overlay {
  position: fixed; inset: 0; background: rgba(15,18,20,.5); backdrop-filter: blur(3px); z-index: 90;
  opacity: 0; pointer-events: none; transition: opacity .3s;
}
.overlay.is-open { opacity: 1; pointer-events: auto; }
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; width: min(440px, 100%); background: var(--bg); z-index: 100;
  display: flex; flex-direction: column; transform: translateX(100%); transition: transform .4s var(--ease); box-shadow: var(--shadow-lg);
}
.drawer.is-open { transform: none; }
.drawer__head { display: flex; justify-content: space-between; align-items: center; padding: 20px 22px; border-bottom: 1px solid var(--line); }
.drawer__head h3 { font-family: var(--serif); font-size: 1.4rem; }
.ship-progress { padding: 14px 22px; font-size: .84rem; border-bottom: 1px solid var(--line); }
.ship-progress .bar { height: 6px; background: var(--line); border-radius: 3px; margin-top: 8px; overflow: hidden; }
.ship-progress .bar i { display: block; height: 100%; background: var(--accent); border-radius: 3px; transition: width .5s var(--ease); }
.drawer__body { flex: 1; overflow-y: auto; padding: 8px 22px; }
.cart-item { display: grid; grid-template-columns: 76px 1fr auto; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); animation: fadeUp .35s var(--ease); }
.cart-item__img { width: 76px; height: 76px; border-radius: 10px; background: var(--bg-soft); display: grid; place-items: center; padding: 8px; }
.cart-item__img svg { width: 100%; height: 100%; }
.cart-item h4 { font-size: .95rem; margin-bottom: 2px; }
.cart-item ul { list-style: none; margin: 0 0 8px; padding: 0; font-size: .76rem; color: var(--muted); line-height: 1.45; }
.cart-item__right { display: flex; flex-direction: column; align-items: flex-end; justify-content: space-between; }
.cart-item__price { font-weight: 700; }
.link-btn { font-size: .78rem; color: var(--muted); text-decoration: underline; }
.link-btn:hover { color: #C0392B; }
.cart-empty { text-align: center; padding: 60px 10px; color: var(--muted); }
.cart-empty svg { width: 90px; margin: 0 auto 18px; opacity: .6; }
.drawer__foot { padding: 18px 22px 22px; border-top: 1px solid var(--line); background: var(--surface); display: grid; gap: 14px; }
.promo { display: flex; gap: 8px; }
.promo input { flex: 1; padding: 9px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--bg); min-width: 0; }
.totals { display: grid; gap: 6px; font-size: .9rem; }
.totals > div { display: flex; justify-content: space-between; }
.totals .total { font-size: 1.2rem; font-weight: 700; padding-top: 8px; border-top: 1px dashed var(--line); margin-top: 4px; }
.totals .discount { color: var(--ok); }

/* ---------- Modals ---------- */
.modal {
  position: fixed; inset: 0; z-index: 110; display: grid; place-items: center; padding: 20px;
  background: rgba(15,18,20,.55); backdrop-filter: blur(4px); opacity: 0; pointer-events: none; transition: opacity .3s;
}
.modal.is-open { opacity: 1; pointer-events: auto; }
.modal__box {
  position: relative; width: min(560px, 100%); max-height: calc(100vh - 40px); overflow-y: auto;
  background: var(--bg); border-radius: 22px; padding: 32px; box-shadow: var(--shadow-lg);
  transform: translateY(20px) scale(.98); transition: transform .35s var(--ease);
}
.modal.is-open .modal__box { transform: none; }
.modal__box--wide { width: min(980px, 100%); padding: 0; overflow: hidden auto; }
.modal__close { position: absolute; top: 14px; right: 14px; z-index: 2; background: var(--surface); box-shadow: var(--shadow); }
.pm { display: grid; grid-template-columns: 1fr 1fr; }
.pm__media { background: linear-gradient(180deg, #F2EDE5, #E2D8CA); display: grid; place-items: center; padding: 40px; min-height: 460px; }
.pm__media svg { width: 100%; max-height: 420px; }
.pm__info { padding: 40px 36px; display: flex; flex-direction: column; gap: 14px; }
.pm__info h2 { font-size: 2.1rem; }
.pm__info p { color: var(--ink-2); }
.specs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 4px 0; }
.specs div { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 8px 12px; font-size: .82rem; }
.specs small { display: block; color: var(--muted); font-size: .7rem; text-transform: uppercase; letter-spacing: .06em; }
.pm__swatches { display: flex; gap: 8px; flex-wrap: wrap; }
.pm__swatches .swatch { width: 32px; height: 32px; border-color: var(--line); }
.pm__buy { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-top: 6px; }
.pm__price { font-size: 1.9rem; font-weight: 700; letter-spacing: -.02em; }
.pm__price small { font-size: .8rem; color: var(--muted); font-weight: 500; }

/* Checkout */
.co h3 { font-family: var(--serif); font-size: 1.7rem; margin-bottom: 6px; }
.co__steps { display: flex; gap: 6px; margin: 18px 0 24px; }
.co__steps span { flex: 1; height: 4px; border-radius: 2px; background: var(--line); }
.co__steps span.on { background: var(--accent); }
.co form { display: grid; gap: 14px; }
.co__actions { display: flex; justify-content: space-between; gap: 10px; margin-top: 8px; }
.pay-option {
  display: flex; gap: 12px; align-items: center; padding: 14px 16px; border-radius: 12px; border: 1px solid var(--line);
  background: var(--surface); cursor: pointer; font-size: .92rem;
}
.pay-option:has(input:checked) { border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); }
.pay-option input { accent-color: var(--accent); }
.pay-option small { display: block; color: var(--muted); font-size: .78rem; }
.pay-option.is-disabled { opacity: .5; cursor: not-allowed; }
.recap { background: var(--surface); border-radius: 12px; padding: 16px; font-size: .88rem; display: grid; gap: 6px; border: 1px solid var(--line); }
.recap > div { display: flex; justify-content: space-between; gap: 10px; }
.success { text-align: center; padding: 10px 0; }
.success__icon {
  width: 76px; height: 76px; border-radius: 50%; background: var(--ok); color: #fff; font-size: 2.2rem;
  display: grid; place-items: center; margin: 0 auto 20px; animation: pop .6s var(--ease);
}
@keyframes pop { 0% { transform: scale(0); } 70% { transform: scale(1.15); } }
.success p { color: var(--ink-2); margin: 10px 0 22px; }
.order-no { display: inline-block; font-family: ui-monospace, Consolas, monospace; background: var(--bg-soft); padding: 6px 14px; border-radius: 8px; font-weight: 700; }

/* ---------- Toasts ---------- */
.toasts { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%); z-index: 200; display: grid; gap: 8px; pointer-events: none; }
.toast {
  background: var(--ink); color: #fff; padding: 12px 20px; border-radius: 999px; font-size: .9rem; box-shadow: var(--shadow-lg);
  display: flex; align-items: center; gap: 10px; animation: toastIn .4s var(--ease); white-space: nowrap;
}
.toast::before { content: "✓"; color: var(--accent); font-weight: 700; }
.toast.out { animation: toastOut .3s forwards; }
@keyframes toastIn { from { opacity: 0; transform: translateY(16px); } }
@keyframes toastOut { to { opacity: 0; transform: translateY(10px); } }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .hero__grid, .config, .split, .faq, .devis { grid-template-columns: 1fr; }
  .hero__visual { max-width: 560px; margin: 0 auto; width: 100%; }
  .config__preview { position: static; max-width: 560px; margin: 0 auto; width: 100%; }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .reviews { grid-template-columns: 1fr; max-width: 640px; margin: 0 auto; }
  .trust__grid { grid-template-columns: repeat(2, 1fr); }
  .trust__item:nth-child(3) { border-left: 0; }
  .trust__item:nth-child(n+3) { border-top: 1px solid var(--line); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .pm { grid-template-columns: 1fr; }
  .pm__media { min-height: 300px; }
}
@media (max-width: 860px) {
  .nav {
    position: absolute; top: 100%; left: 0; right: 0; padding: 12px 24px 28px; flex-direction: column; gap: 6px;
    background: var(--bg); font-size: 1.4rem; font-family: var(--serif);
    max-height: calc(100vh - 72px); overflow-y: auto;
    opacity: 0; visibility: hidden; transform: translateY(-10px);
    transition: opacity .3s, transform .35s var(--ease), visibility .3s; box-shadow: var(--shadow-lg);
  }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav a { padding: 10px 0; border-bottom: 1px solid var(--line); }
  .nav a::after { display: none; }
  .nav__cta-mobile { display: block; color: var(--accent-ink) !important; }
  .burger { display: block; }
  .hide-mobile { display: none; }
}
@media (max-width: 640px) {
  .container { width: calc(100% - 32px); }
  .section { padding: 72px 0; }
  .hero { padding-top: 32px; }
  .hero__proof { gap: 22px; }
  .float-card { font-size: .75rem; padding: 9px 12px; }
  .float-card--a { left: 3%; }
  .trust__grid { grid-template-columns: 1fr; }
  .trust__item + .trust__item { border-left: 0; border-top: 1px solid var(--line); }
  .toolbar__right { width: 100%; }
  .search { flex: 1 1 100%; }
  .search input { width: 100%; }
  .select { flex: 1; }
  .tabs { overflow-x: auto; flex-wrap: nowrap; width: 100%; padding-bottom: 4px; scrollbar-width: none; }
  .tab { white-space: nowrap; }
  .steps-grid { grid-template-columns: 1fr; margin-bottom: 64px; }
  .dims { grid-template-columns: 1fr; }
  .config__panel { padding: 20px; }
  .config__stage { padding: 36px 28px 46px 48px; }
  .dim--w { left: 48px; right: 28px; bottom: 12px; }
  .dim--h { left: 10px; top: 36px; bottom: 46px; }
  .config__buy { width: 100%; }
  .config__buy .btn { flex: 1; }
  .field-row { grid-template-columns: 1fr; }
  .devis__form { padding: 22px; }
  .footer__grid { grid-template-columns: 1fr; }
  .modal { padding: 0; align-items: end; }
  .modal__box { border-radius: 22px 22px 0 0; max-height: 92vh; padding: 24px 20px; }
  .modal__box--wide { padding: 0; }
  .pm__info { padding: 24px 20px 28px; }
  .toast { white-space: normal; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
