/* Pages chantiers : la galerie et les quatre chantiers */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.block-tight { padding: 56px 0; }
.sec-title { font-size: clamp(1.9rem, 3.4vw, 2.6rem); margin-bottom: 26px; }
.table-note { font-size: 15px; color: var(--ink-2); margin-top: 18px; max-width: 760px; }
.table-note a { color: var(--accent); font-weight: 700; }

/* Galerie */
.block-tight .case:first-of-type { border-top: 0; padding-top: 0; }
.case-link { margin-top: 20px; }
.case-link .btn { min-height: 46px; font-size: 16px; }

/* Tête d'un chantier */
.ch-head { padding: 40px 0 28px; background: linear-gradient(var(--paper) 0 55%, var(--warm) 55% 100%); }
.ch-head h1 { font-size: clamp(2.5rem, 5vw, 4.2rem); max-width: 20ch; }
.ch-head .lede { margin: 16px 0 28px; max-width: 62ch; }
.ch-head .ba-cap { padding-top: 12px; }

/* Les chiffres */
.facts-wide { grid-template-columns: repeat(6, auto); gap: 10px 40px; margin: 0; }
.facts-wide dd { font-size: 34px; }

/* Avant / après en deux colonnes */
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border: 1px solid var(--line); background: #fff; }
.two .col { padding: 28px 32px 22px; }
.two .col + .col { border-left: 1px solid var(--line); }
.two h3 { font-size: 26px; display: inline-block; padding: 4px 12px; border-radius: 3px; text-transform: uppercase; letter-spacing: .04em; margin-bottom: 18px; color: #fff; }
.col-before h3 { background: rgba(20,33,61,.86); }
.col-after h3 { background: var(--accent); }
.two ul { margin: 0; padding-left: 20px; }
.two li { margin-bottom: 10px; }

/* Jour par jour */
.log-wrap { display: grid; grid-template-columns: 1.7fr 1fr; gap: 48px; align-items: start; }
.log { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ink); }
.log li { display: grid; grid-template-columns: 96px 1fr; column-gap: 20px; padding: 16px 0; border-bottom: 1px solid var(--line); color: var(--ink-2); }
.log .d { grid-row: span 2; font-family: var(--head); font-stretch: 85%; font-weight: 700; font-size: 20px; color: var(--accent); text-transform: uppercase; letter-spacing: .04em; padding-top: 2px; }
.log b { font-family: var(--head); font-stretch: 85%; font-size: 23px; color: var(--ink); line-height: 1.1; margin-bottom: 4px; }
.surprise { position: sticky; top: 96px; background: var(--ink); color: #E4E8F0; padding: 26px 26px 20px; border-radius: 4px; }
.surprise h3 { color: #fff; font-size: 26px; margin-bottom: 12px; }
.surprise h3::before { content: ""; display: block; width: 40px; height: 4px; background: var(--accent-soft); margin-bottom: 14px; }

/* Le prix ligne par ligne */
.quote-wrap { max-width: 860px; }
.quote { width: 100%; border-collapse: collapse; font-size: 16px; background: #fff; border: 1px solid var(--line); }
.quote th, .quote td { text-align: left; padding: 12px 18px; border-bottom: 1px solid var(--line); vertical-align: top; }
.quote thead th { font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-2); border-bottom: 2px solid var(--ink); }
.quote td:last-child, .quote th:last-child { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.quote tbody td:last-child { font-weight: 700; }
.quote .q-sub th, .quote .q-sub td { color: var(--ink-2); font-weight: 600; border-bottom: 0; padding-top: 8px; padding-bottom: 4px; }
.quote .q-sub:first-child th, .quote .q-sub:first-child td { padding-top: 16px; }
.quote .q-total th, .quote .q-total td { font-family: var(--head); font-stretch: 85%; font-weight: 700; font-size: 28px; color: var(--accent); border-top: 2px solid var(--ink); border-bottom: 0; padding-top: 14px; padding-bottom: 16px; }

/* Matériaux */
.mats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin: 0; border-top: 2px solid var(--ink); }
.mats div { padding: 18px 20px 18px 0; border-bottom: 1px solid var(--line); }
.mats dt { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; color: var(--accent); margin-bottom: 4px; }
.mats dd { margin: 0; font-size: 17px; }

/* Les autres chantiers */
.others { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.other { display: grid; grid-template-columns: 200px 1fr; grid-template-rows: auto auto 1fr; column-gap: 20px; align-items: start; text-decoration: none; background: #fff; border: 1px solid var(--line); border-radius: 6px; overflow: hidden; }
.other img { grid-row: 1 / 4; width: 200px; height: 120px; object-fit: cover; align-self: stretch; min-height: 100%; background: var(--warm); }
.other-dir { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; color: var(--ink-2); padding-top: 18px; }
.other b { font-family: var(--head); font-stretch: 85%; font-size: 28px; line-height: 1.1; margin: 4px 0; }
.other span:last-child { font-size: 15px; color: var(--ink-2); padding-bottom: 16px; padding-right: 16px; }
.other:hover b { color: var(--accent); text-decoration: underline; }

/* Appel à la fin */
.cta { display: grid; grid-template-columns: 1.5fr 1fr; gap: 40px; align-items: center; }
.cta h2 { font-size: clamp(2rem, 3.8vw, 3rem); margin-bottom: 14px; }
.cta .actions { justify-content: flex-end; }

@media (max-width: 1080px) {
  .facts-wide { grid-template-columns: repeat(3, auto); }
}
@media (max-width: 900px) {
  .log-wrap, .cta, .others { grid-template-columns: 1fr; }
  .surprise { position: static; }
  .cta .actions { justify-content: flex-start; }
  .mats { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .block-tight { padding: 40px 0; }
  .ch-head { padding-top: 28px; }
  .ch-head .wrap-wide { width: 100%; }
  .two { grid-template-columns: 1fr; }
  .two .col + .col { border-left: 0; border-top: 1px solid var(--line); }
  .two .col { padding: 22px 20px 14px; }
  .facts-wide { grid-template-columns: 1fr 1fr; gap: 14px 20px; }
  .facts-wide dd { font-size: 26px; }
  .log li { grid-template-columns: 1fr; }
  .log .d { grid-row: auto; font-size: 16px; }
  .log b { font-size: 21px; }
  .quote th, .quote td { padding: 10px 12px; font-size: 15px; }
  .quote .q-total th, .quote .q-total td { font-size: 23px; }
  .mats { grid-template-columns: 1fr; }
  .other { grid-template-columns: 120px 1fr; column-gap: 14px; }
  .other img { width: 120px; height: 100%; min-height: 96px; }
  .other b { font-size: 23px; }
  .other-dir { padding-top: 12px; }
  .other span:last-child { padding-bottom: 12px; }
  .actions .btn { width: 100%; }
}
