*, *::before, *::after { box-sizing: border-box; }

:root {
  --ink: #0E0E0E;
  --text: #333333;
  --muted: #5A5A5A;
  --rule: #D4D4D4;
  --grey: #F2F2F0;
  --head: 'Montserrat', sans-serif;
  --body: 'IBM Plex Sans', system-ui, sans-serif;
}

html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--body); color: var(--ink); background: #FFFFFF; -webkit-font-smoothing: antialiased; }
a { color: var(--ink); }
a:hover { color: var(--muted); }
h1, h2, h3 { font-family: var(--head); margin: 0; }
p { margin: 0; }

.wrap { max-width: 1240px; margin: 0 auto; padding: 0 40px; }
.label, .section-head, .num, .nav, .specs dt, .site-footer {
  font-family: var(--head); font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
}
.muted { color: var(--muted); }

/* Header */
.site-header { background: #000000; position: sticky; top: 0; z-index: 10; }
.header-inner { display: flex; flex-wrap: wrap; gap: 20px; align-items: center; justify-content: space-between; padding-top: 12px; padding-bottom: 12px; }
.logo img { display: block; height: 72px; width: auto; }
.nav { display: flex; flex-wrap: wrap; gap: 36px; font-size: 13px; }
.nav a { color: #FFFFFF; text-decoration: none; padding: 12px 0; }
.nav a:hover { color: #BDBDBD; }
.nav-cta { border-bottom: 2px solid #FFFFFF; }

/* Hero */
.hero { padding-top: 120px; padding-bottom: 96px; display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 48px; align-items: end; }
.hero h1 { grid-column: 1 / -1; max-width: 1000px; font-weight: 600; font-size: clamp(34px, 5.6vw, 72px); line-height: 1.08; letter-spacing: -0.025em; }
.label { font-size: 13px; line-height: 1.7; color: var(--muted); }
.lead { font-size: 18px; line-height: 1.6; color: var(--text); }

/* Sections */
.section { border-top: 1px solid var(--ink); }
.section-grey { background: var(--grey); }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; padding: 28px 0; font-size: 13px; }

/* Projets */
#projets .section-head { border-bottom: 1px solid var(--rule); }
.project { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 48px; padding: 64px 0; }
.project + .project { border-top: 1px solid var(--rule); }
.project-body { display: flex; flex-direction: column; gap: 28px; }
.project-title { display: flex; align-items: baseline; gap: 20px; }
.project-title h2 { font-weight: 700; font-size: 40px; letter-spacing: -0.02em; }
.num { font-size: 14px; color: var(--muted); }
.project-body > p { font-size: 17px; line-height: 1.65; color: var(--text); }
.specs { margin: 0; display: grid; grid-template-columns: 120px 1fr; font-size: 14px; line-height: 1.5; border-top: 1px solid var(--rule); }
.specs dt, .specs dd { margin: 0; padding: 12px 0; border-bottom: 1px solid var(--rule); }
.specs dt { font-size: 12px; color: var(--muted); }
.project-visual { width: 100%; min-height: 360px; background: var(--grey); object-fit: cover; display: flex; align-items: flex-end; padding: 24px; }
.project-visual span { font-family: var(--head); font-weight: 700; font-size: clamp(32px, 4vw, 56px); letter-spacing: -0.02em; color: #DADAD6; }

/* Expertise */
.cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); border-top: 1px solid var(--rule); margin-bottom: 96px; }
.col { padding: 32px; display: flex; flex-direction: column; gap: 14px; border-left: 1px solid var(--rule); }
.col:first-child { padding-left: 0; border-left: 0; }
.col h3 { font-weight: 600; font-size: 20px; }
.col p { font-size: 15px; line-height: 1.65; color: var(--text); }

/* Méthode */
.steps { margin: 0 0 96px; padding: 0; list-style: none; border-top: 1px solid #C4C4C0; }
.steps li { display: flex; flex-wrap: wrap; gap: 12px 24px; padding: 28px 0; border-bottom: 1px solid #C4C4C0; align-items: baseline; }
.steps .num { flex: 0 0 64px; }
.steps strong { flex: 1 1 300px; font-family: var(--head); font-size: 20px; font-weight: 600; }
.steps li > span:last-child { flex: 1.4 1 340px; font-size: 15px; line-height: 1.6; color: var(--text); }

/* Contact */
.contact { padding-top: 120px; padding-bottom: 120px; display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 48px; align-items: end; }
.contact h2 { font-weight: 600; font-size: clamp(30px, 4.6vw, 60px); line-height: 1.1; letter-spacing: -0.025em; }
.contact-links { border-top: 1px solid var(--ink); }
.contact-links a { display: flex; justify-content: space-between; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--ink); text-decoration: none; font-size: 20px; overflow-wrap: anywhere; }

/* Footer */
.site-footer { background: #000000; color: #BDBDBD; font-size: 12px; }
.site-footer a { color: #BDBDBD; text-decoration: none; }
.site-footer a:hover { color: #FFFFFF; }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 24px; padding-bottom: 24px; }

/* Mobile */
@media (max-width: 720px) {
  .wrap { padding: 0 20px; }
  .logo img { height: 56px; }
  .nav { gap: 20px; font-size: 12px; }
  .hero { padding-top: 64px; padding-bottom: 56px; gap: 24px; }
  .project { padding: 48px 0; gap: 32px; }
  .project-visual { min-height: 220px; }
  .col { padding: 24px 0; border-left: 0; border-top: 1px solid var(--rule); }
  .col:first-child { border-top: 0; }
  .contact { padding-top: 72px; padding-bottom: 72px; }
  .contact-links a { font-size: 17px; }
}
