/* katec1 — « Nuit de chantier » : noir, jaune sécurité, Archivo Black */
:root {
  --noir: #000;
  --jaune: #ffd400;
  --blanc: #fff;
  --gris: #9a9a9a;
  --ligne: #2a2a2a;
  --display: "Archivo Black", Impact, sans-serif;
  --body: "Archivo", system-ui, sans-serif;
  --pad: clamp(1rem, 3.5vw, 3rem);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--noir); color: var(--blanc); font-family: var(--body); font-size: 1.05rem; line-height: 1.5; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; margin: 0; line-height: .95; }
h2 { font-size: clamp(2rem, 4vw, 3.5rem); color: var(--jaune); }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--jaune); outline-offset: 3px; }

.top { display: flex; justify-content: space-between; align-items: center; padding: 1rem var(--pad); border-bottom: 1px solid var(--ligne); position: sticky; top: 0; background: var(--noir); z-index: 10; }
.brand { font-family: var(--display); text-decoration: none; display: flex; align-items: center; gap: .6rem; font-size: 1.1rem; }
.sq { width: 16px; height: 16px; background: var(--jaune); }
.top nav { display: flex; gap: 1.5rem; }
.top nav a { text-decoration: none; font-weight: 600; }
.top nav a:hover { color: var(--jaune); }

/* Héro : le mot occupe toute la largeur */
.hero { padding-top: 1.5rem; }
.word { font-size: 18.4vw; color: var(--jaune); text-align: center; letter-spacing: -.01em; line-height: .85; padding: 0 .5vw; }
.hero-row { display: grid; grid-template-columns: 1.4fr 1fr; gap: 2rem; padding: 2rem var(--pad) 2.5rem; border-top: 1px solid var(--ligne); margin-top: 1.5rem; }
.tag { font-size: clamp(1.25rem, 2.2vw, 1.9rem); line-height: 1.25; font-weight: 600; max-width: 30ch; }
.facts { list-style: none; margin: 0; padding: 0; color: var(--gris); }
.facts li { padding: .35rem 0; border-bottom: 1px solid var(--ligne); }
.facts a { color: var(--jaune); text-decoration: none; font-weight: 600; }
.bleed { margin: 0; position: relative; }
.bleed img { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; }
.bleed figcaption { position: absolute; left: 0; bottom: 0; background: var(--jaune); color: var(--noir); font-weight: 600; padding: .5rem 1rem; }

/* Travaux : lignes */
.works { padding: 5rem var(--pad) 4rem; }
.work-list { list-style: none; margin: 2rem 0 0; padding: 0; border-top: 2px solid var(--jaune); }
.work-list li { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr) 160px; gap: 2rem; align-items: center; padding: 1.5rem 0; border-bottom: 1px solid var(--ligne); }
.work-list h3 { font-size: clamp(1.4rem, 2.4vw, 2.2rem); }
.work-list p { color: #d6d6d6; }
.work-list img { width: 160px; aspect-ratio: 1; object-fit: cover; filter: grayscale(1) contrast(1.1); }

.strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; }
.strip img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

/* Fiche : points de conduite */
.sheet { padding: 5rem var(--pad); max-width: 900px; }
.leaders { margin: 2rem 0 0; }
.leaders div { display: flex; align-items: baseline; gap: .5rem; padding: .6rem 0; }
.leaders dt { color: var(--gris); white-space: nowrap; }
.leaders div::after { content: ""; flex: 1; border-bottom: 2px dotted var(--ligne); order: 1; transform: translateY(-.35em); }
.leaders dd { margin: 0; order: 2; text-align: right; font-weight: 600; }

/* Contact : bloc jaune */
.contact { background: var(--jaune); color: var(--noir); padding: 5rem var(--pad); }
.contact h2 { color: var(--noir); }
.big-tel { display: block; font-family: var(--display); font-size: clamp(2.4rem, 9vw, 8rem); line-height: 1; text-decoration: none; margin: 1rem 0; letter-spacing: -.02em; }
.big-tel:hover { text-decoration: underline; text-decoration-thickness: .08em; }
.alt { font-weight: 600; margin-bottom: .5rem; }
.contact p a { font-weight: 600; }

footer { padding: 2rem var(--pad) 3rem; color: var(--gris); font-size: .85rem; line-height: 1.6; }

@media (max-width: 800px) {
  .hero-row { grid-template-columns: 1fr; }
  .work-list li { grid-template-columns: 1fr; gap: .75rem; }
  .work-list img { width: 100%; aspect-ratio: 16 / 9; order: -1; }
  .strip { grid-template-columns: 1fr; }
  .top nav { gap: 1rem; }
}
