/* dressing-sur-mesure.be | palette lin, noyer, laiton */
:root {
  --lin: #f8f5ef;
  --blanc: #fffdf9;
  --encre: #2c261f;
  --taupe: #6b6157;
  --noyer: #8a5a33;
  --noyer-fonce: #6d4526;
  --laiton: #c19a6b;
  --creme: #f3ece2;
  --filet: #e6ddd0;
  --ok: #4a6b4f;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font: 16px/1.65 "Segoe UI", system-ui, -apple-system, sans-serif;
  color: var(--encre);
  background: var(--lin);
}
h1, h2, h3, .wm-txt { font-family: Georgia, "Times New Roman", serif; font-weight: 700; }
h1 { font-size: 2.1rem; line-height: 1.22; margin: .3rem 0 1rem; letter-spacing: .2px; }
h2 { font-size: 1.45rem; margin: 2.2rem 0 .7rem; }
h3 { font-size: 1.12rem; margin: 1.3rem 0 .45rem; }
p { margin: .55rem 0; }
a { color: var(--noyer-fonce); text-decoration-color: var(--laiton); text-underline-offset: 3px; }
a:hover { color: var(--noyer); }
img { max-width: 100%; height: auto; display: block; }
figure { margin: 1.4rem 0; }
figcaption { font-size: .85rem; color: var(--taupe); margin-top: .4rem; font-style: italic; }

.shell { max-width: 1140px; margin: 0 auto; padding: 0 22px; }

.jump {
  position: absolute; left: -999px; top: 0; background: var(--encre); color: #fff;
  padding: 8px 14px; z-index: 99;
}
.jump:focus { left: 8px; }

/* ---------- masthead ---------- */
.masthead {
  background: var(--blanc);
  border-bottom: 1px solid var(--filet);
  position: sticky; top: 0; z-index: 50;
}
.mast-row { display: flex; align-items: center; gap: 26px; min-height: 66px; }
.wordmark { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; color: var(--encre); }
.wm-txt { font-size: 1.06rem; letter-spacing: .2px; white-space: nowrap; }
.wm-txt b { color: var(--noyer); }
.wm-txt small { color: var(--laiton); font-size: .8em; }
.sitenav { flex: 1; }
.sitenav ul { list-style: none; display: flex; gap: 4px; margin: 0; padding: 0; flex-wrap: nowrap; }
.sitenav a {
  display: block; padding: 8px 11px; text-decoration: none; color: var(--encre);
  font-size: .95rem; border-bottom: 2px solid transparent; white-space: nowrap;
}
.sitenav a:hover, .sitenav a[aria-current="page"] { border-bottom-color: var(--laiton); color: var(--noyer-fonce); }
.mast-tools { display: flex; align-items: center; gap: 14px; }
.lang-link {
  font-size: .85rem; text-decoration: none; color: var(--taupe);
  border: 1px solid var(--filet); border-radius: 3px; padding: 4px 9px;
}
.lang-link:hover { border-color: var(--laiton); color: var(--noyer-fonce); }
.action-btn {
  display: inline-block; background: var(--noyer); color: #fff; text-decoration: none;
  padding: 9px 18px; border-radius: 3px; font-weight: 600; font-size: .95rem;
  border: 1px solid var(--noyer-fonce); white-space: nowrap;
}
.action-btn:hover { background: var(--noyer-fonce); color: #fff; }
.action-btn.big { padding: 13px 26px; font-size: 1.05rem; }
.menu-btn {
  display: none; background: none; border: 1px solid var(--filet); border-radius: 3px;
  padding: 7px 12px; font: inherit; font-size: .9rem; color: var(--encre); cursor: pointer;
}
.menu-btn::before { content: "\2630\00a0"; color: var(--noyer); }

/* ---------- bandeau d'intro ---------- */
.lead-band { background: linear-gradient(180deg, var(--blanc) 0%, var(--lin) 100%); border-bottom: 1px solid var(--filet); }
.lead-split { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 42px; align-items: center; padding: 34px 22px 40px; }
.lead-copy p { color: #443c33; }
.lead-act { margin-top: 1.2rem; }
.lead-visual { margin: 0; }
.lead-visual img { border-radius: 4px; box-shadow: 0 14px 34px rgba(44, 38, 31, .16); border: 1px solid var(--filet); }

.pathway ol { list-style: none; display: flex; flex-wrap: wrap; gap: 4px; margin: 0 0 6px; padding: 0; font-size: .82rem; color: var(--taupe); }
.pathway li + li::before { content: "\203A"; margin: 0 6px 0 2px; color: var(--laiton); }
.pathway a { color: var(--taupe); }

/* ---------- colonne + rail ---------- */
.duo { display: grid; grid-template-columns: minmax(0, 1fr) 344px; gap: 44px; padding-top: 30px; padding-bottom: 56px; }
.prose { grid-column: 1; grid-row: 1; max-width: 720px; }
.rail { grid-column: 2; grid-row: 1; align-self: start; position: sticky; top: 82px; }

.quote-card {
  background: var(--blanc); border: 1px solid var(--filet); border-top: 3px solid var(--noyer);
  border-radius: 4px; padding: 20px 20px 16px;
  box-shadow: 0 10px 26px rgba(44, 38, 31, .07);
}
.quote-card h2 { margin: 0 0 .4rem; font-size: 1.25rem; }
.quote-card > p { font-size: .92rem; color: var(--taupe); margin-top: 0; }
.assure { list-style: none; margin: 18px 0 0; padding: 0; font-size: .9rem; color: var(--taupe); }
.assure li { padding: 5px 0 5px 24px; position: relative; }
.assure li::before { content: "\2713"; position: absolute; left: 4px; color: var(--ok); font-weight: 700; }

/* ---------- contenu ---------- */
.prose section { margin-bottom: .6rem; }
.prose ul, .prose ol { padding-left: 1.35rem; }
.prose li { margin: .3rem 0; }

.grille { list-style: none; margin: 1.1rem 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.grille a {
  display: block; height: 100%; background: var(--blanc); border: 1px solid var(--filet);
  border-radius: 4px; padding: 15px 17px; text-decoration: none; color: var(--encre);
}
.grille a:hover { border-color: var(--laiton); box-shadow: 0 8px 20px rgba(44, 38, 31, .08); }
.grille h3 { margin: 0 0 .3rem; color: var(--noyer-fonce); }
.grille p { margin: 0; font-size: .9rem; color: var(--taupe); }

.etapes { counter-reset: pas; list-style: none; padding: 0; margin: 1.1rem 0; }
.etapes li {
  counter-increment: pas; position: relative; padding: 4px 0 14px 52px; margin: 0;
}
.etapes li::before {
  content: counter(pas); position: absolute; left: 0; top: 2px; width: 34px; height: 34px;
  background: var(--creme); border: 1px solid var(--laiton); border-radius: 3px;
  font-family: Georgia, serif; font-weight: 700; color: var(--noyer-fonce);
  display: flex; align-items: center; justify-content: center;
}

.t-scroll { overflow-x: auto; margin: 1.1rem 0; }
table { border-collapse: collapse; width: 100%; background: var(--blanc); font-size: .93rem; }
caption { text-align: left; font-size: .85rem; color: var(--taupe); padding: 6px 2px; caption-side: bottom; }
th, td { border: 1px solid var(--filet); padding: 9px 12px; text-align: left; vertical-align: top; }
thead th { background: var(--creme); font-family: Georgia, serif; color: var(--noyer-fonce); }
tbody tr:nth-child(even) { background: #fbf8f3; }

.astuce {
  background: var(--creme); border-left: 3px solid var(--laiton); border-radius: 0 4px 4px 0;
  padding: 14px 18px; margin: 1.3rem 0;
}
.astuce strong:first-child { color: var(--noyer-fonce); }

.faq-zone { border-top: 1px solid var(--filet); margin-top: 2.4rem; padding-top: .4rem; }
.qa { border-bottom: 1px solid var(--filet); padding: 2px 0 10px; }
.qa h3 { margin: .9rem 0 .3rem; }
.qa p { margin: 0 0 .5rem; color: #443c33; }

.also { background: var(--blanc); border: 1px solid var(--filet); border-radius: 4px; padding: 16px 20px; margin-top: 2rem; }
.also h2 { margin: 0 0 .5rem; font-size: 1.1rem; }
.also ul { list-style: none; margin: 0; padding: 0; }
.also li { padding: 4px 0; }

/* ---------- pied ---------- */
.base { background: #262019; color: #cfc6ba; margin-top: 30px; }
.base .shell { padding-top: 34px; padding-bottom: 8px; }
.base-cols { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr 1.2fr; gap: 28px; }
.base .wordmark { color: #f3ece2; }
.base .wm-txt b { color: var(--laiton); }
.base-brand p { font-size: .88rem; }
.base-col h2 { font-size: .95rem; color: #f3ece2; margin: .2rem 0 .6rem; }
.base-col ul { list-style: none; margin: 0; padding: 0; }
.base-col li { padding: 3px 0; }
.base-col a { color: #cfc6ba; text-decoration: none; }
.base-col a:hover { color: var(--laiton); }
.base-line {
  display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  border-top: 1px solid #3a3229; margin-top: 26px; padding-top: 14px; padding-bottom: 18px;
  font-size: .8rem; color: #a99e90;
}

/* ---------- compacte nav op smalle desktops ---------- */
@media (max-width: 1180px) and (min-width: 1021px) {
  .mast-row { gap: 12px; }
  .sitenav ul { gap: 0; }
  .sitenav a { padding: 8px 7px; font-size: .86rem; }
  .action-btn.mast-cta { padding: 8px 11px; font-size: .86rem; }
  .lang-link { padding: 4px 6px; }
  .wm-txt { font-size: .98rem; }
}

/* ---------- mobile ---------- */
@media (max-width: 1020px) {
  .sitenav {
    display: none; position: absolute; left: 0; right: 0; top: 66px;
    background: var(--blanc); border-bottom: 1px solid var(--filet);
    box-shadow: 0 16px 30px rgba(44, 38, 31, .12);
  }
  .sitenav.open { display: block; }
  .sitenav ul { flex-direction: column; padding: 8px 12px 14px; }
  .sitenav a { padding: 11px 10px; border-bottom: 1px solid var(--filet); }
  .menu-btn { display: inline-block; }
  .mast-cta { display: none; }
  .mast-row { justify-content: space-between; }

  .lead-split { grid-template-columns: minmax(0, 1fr); gap: 22px; padding-top: 22px; }
  .lead-visual { order: 2; }
  h1 { font-size: 1.6rem; }

  .duo { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .prose { grid-column: 1; grid-row: 2; }
  .rail { grid-column: 1; grid-row: 1; position: static; }

  .grille { grid-template-columns: 1fr; }
  .base-cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .base-cols { grid-template-columns: 1fr; }
  .mast-row { gap: 10px; }
  .mast-tools { gap: 8px; }
  .wm-txt { font-size: .95rem; }
  .wm-ico { width: 28px; height: 28px; }
  .shell { padding: 0 16px; }
}
