/* La page des chantiers : chargée sur cette page seulement. */
.tt-chs__f { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 8px; }
.tt-chs__f[hidden] { display: none; }
.tt-chs__f button { min-height: 44px; padding: 9px 18px; background: #161d28; border: 1px solid rgba(255, 255, 255, .16); border-radius: 22px; color: #dfe7f5; font: 600 14.5px/1.2 var(--tt-titre), sans-serif; cursor: pointer; transition: background .16s, border-color .16s; }
.tt-chs__f button:hover { background: #222c3b; border-color: rgba(157, 180, 224, .6); }
.tt-chs__f button[aria-pressed="true"] { background: linear-gradient(135deg, #4663a8, #2e4273); border-color: transparent; color: #fff; }
.tt-chs__f button:focus-visible { outline: 2px solid #9db4e0; outline-offset: 2px; }
.tt-chs__n { margin: 4px 0 0; color: #94a0b2; font-size: 14px; }
.tt-chs__n[hidden] { display: none; }
.tt-chs__l { display: grid; gap: 22px; margin-top: 24px; }
.tt-ch { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); align-items: center; gap: 24px; padding: 14px; background: var(--surface, #141a24); border: 1px solid var(--filet, rgba(255, 255, 255, .1)); border-radius: 14px; }
.tt-ch[hidden] { display: none; }
.tt-ch__ph { display: grid; gap: 8px; }
.tt-ch__ph--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.tt-ch__ph--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.tt-ch figure { position: relative; margin: 0; min-width: 0; }
.tt-ch .tt-cell { display: block; width: 100%; aspect-ratio: 3 / 2; padding: 0; background: #0b0f15; border: 0; border-radius: 9px; overflow: hidden; cursor: zoom-in; }
.tt-ch .tt-cell:focus-visible { outline: 2px solid #9db4e0; outline-offset: 2px; }
.tt-ch figcaption { position: absolute; left: 7px; top: 7px; padding: 3px 9px; background: rgba(10, 13, 18, .84); border-radius: 6px; color: #fff; font: 600 12.5px/1.3 var(--tt-titre), sans-serif; pointer-events: none; }
.tt-ch__txt { padding: 4px 10px 4px 2px; }
.tt-ch__m { margin: 0 0 6px; color: #9db4e0; font-size: 13.5px; font-weight: 600; }
.tt-ch h3 { margin: 0 0 8px; color: #fff; font: 700 clamp(17px, 1.5vw, 20px)/1.25 var(--tt-titre), sans-serif; letter-spacing: -.01em; }
.tt-ch__txt > p:not(.tt-ch__m) { margin: 0 0 8px; font-size: 15px; line-height: 1.55; }
.tt-ch .tt-suite { margin: 8px 0 0; }
.tt-ch .tt-suite a { display: inline-flex; align-items: center; padding: 4px 0; }
@media (max-width: 1000px) {
  .tt-ch { grid-template-columns: minmax(0, 1fr); gap: 14px; padding: 10px; }
  .tt-ch__txt { padding: 2px 6px 6px; }
}
@media (max-width: 640px) {
  .tt-ch__ph--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tt-ch__ph--3 figure:first-child { grid-column: 1 / -1; }
  .tt-chs__f button { flex: 1 1 40%; padding-inline: 12px; }
}
