:root {
  --navy: #1c2119;
  --navy-2: #252b21;
  --navy-line: #363e2f;
  --orange: #a4af8c;
  --orange-dark: #6b7653;
  --bg: #f0f1ec;
  --white: #ffffff;
  --ink: #1c2119;
  --muted: #5e6658;
  --muted-dark: #a9b0a2;
  --line: #dcdfd5;
  --radius: 14px;
  --font-display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --font-body: "IBM Plex Sans", "Helvetica Neue", Arial, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
img { max-width: 100%; }

.container { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 24px; }

/* ---------- Header ---------- */
.site-header { background: var(--navy); color: var(--white); position: sticky; top: 0; z-index: 10; }
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 24px; }
.logo { font-family: var(--font-display); font-weight: 800; font-size: 20px; text-decoration: none; letter-spacing: -0.02em; color: var(--white); }
.logo span { color: var(--orange); }
.nav { display: flex; gap: 28px; }
.nav a { text-decoration: none; font-size: 14px; color: #c9cec2; padding: 4px 0; border-bottom: 2px solid transparent; }
.nav a:hover, .nav a.active { color: var(--white); border-bottom-color: var(--orange); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; font-family: var(--font-body); font-weight: 600; font-size: 14px;
  padding: 12px 22px; border-radius: 999px; text-decoration: none; border: 1px solid transparent;
  cursor: pointer; transition: background .15s ease;
}
.btn-primary { background: var(--orange); color: var(--navy); }
.btn-primary:hover { background: #b6c09f; }
.btn-ghost { border-color: #4d5545; color: var(--white); background: transparent; }
.btn-ghost:hover { border-color: var(--white); }
.btn-sm { padding: 9px 18px; font-size: 13px; }

/* ---------- Typography ---------- */
h1, h2, h3 { font-family: var(--font-display); letter-spacing: -0.025em; line-height: 1.1; }
h1 { font-size: clamp(36px, 6vw, 64px); font-weight: 800; }
h2 { font-size: clamp(28px, 4vw, 42px); font-weight: 800; }
h3 { font-size: 18px; font-weight: 700; letter-spacing: -0.01em; line-height: 1.25; }
.eyebrow { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--orange-dark); margin-bottom: 14px; display: block; }
.lead { font-size: 17px; color: #b9bfb1; max-width: 520px; }
p + p { margin-top: 14px; }

/* ---------- Sections ---------- */
section { padding: 96px 0; }
.dark { background: var(--navy); color: var(--white); }
.light { background: var(--bg); }
.white { background: var(--white); }

/* Hero */
.hero { padding: 88px 0 96px; }
.hero h1 { max-width: 820px; }
.hero-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; margin-top: 36px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.stats { display: grid; grid-template-columns: 1fr 1fr; background: var(--navy-2); border: 1px solid var(--navy-line); border-radius: var(--radius); padding: 28px; gap: 24px; }
.stat-value { font-family: var(--font-display); font-weight: 800; font-size: 34px; letter-spacing: -0.02em; }
.stat-value.accent { color: var(--orange); }
.stat-label { font-size: 13px; color: var(--muted-dark); }

/* Intro */
.intro-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: start; }
.intro-grid p { color: var(--muted); margin-top: 22px; }
.intro-grid h2 + p { margin-top: 28px; }
.card { background: var(--white); border-radius: var(--radius); padding: 28px; }
.card-accent { border-top: 3px solid var(--orange); }
.card-accent strong { display: block; font-size: 17px; line-height: 1.4; margin-bottom: 10px; }
.card-accent p { color: var(--muted); font-size: 15px; }

/* Approche */
.section-title { margin-bottom: 40px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.pillar { background: var(--white); border-radius: var(--radius); padding: 30px 26px; }
.pillar .num { font-family: var(--font-display); font-weight: 800; font-size: 44px; letter-spacing: -0.03em; display: block; margin-bottom: 26px; color: var(--orange-dark); }
.pillar p { color: var(--muted); font-size: 14px; margin-top: 10px; }
.audience { background: var(--white); border-radius: var(--radius); padding: 18px 26px; margin-top: 16px; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.audience strong { margin-right: 10px; }
.chip { background: var(--bg); border-radius: 999px; padding: 6px 14px; font-size: 13px; font-weight: 500; }

/* Cockpit */
.cockpit-box { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--navy-line); border-radius: var(--radius); background: var(--navy-2); }
.cockpit-item { padding: 30px 26px; }
.cockpit-item + .cockpit-item { border-left: 1px solid var(--navy-line); }
.cockpit-item .num { font-family: var(--font-mono); font-size: 12px; color: var(--orange); display: block; margin-bottom: 14px; }
.cockpit-item p { font-size: 14px; color: var(--muted-dark); margin-top: 10px; }
.cockpit-intro { color: var(--muted-dark); max-width: 640px; margin: -20px 0 36px; }

/* Partners */
.partners h2 { max-width: 640px; }
.partners p { color: var(--muted); max-width: 640px; margin-top: 24px; }
.partners .btn { margin-top: 28px; }

/* CTA */
.cta h2 { margin-bottom: 14px; }
.cta p { color: var(--muted-dark); margin-bottom: 28px; }
.cta-inline .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cta-inline h2 { margin: 0; }

/* Footer */
.site-footer { background: #141812; color: #c9cec2; padding: 26px 0; font-size: 13px; }
.site-footer .container { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.site-footer .logo { font-size: 15px; }
.footer-links { display: flex; gap: 22px; align-items: center; flex-wrap: wrap; }
.footer-links a { color: #c9cec2; }
.footer-links span { color: #737a6b; }
.footer-tag { color: #8b9283; margin-left: 6px; }

/* Page hero (sub pages) */
.page-hero { padding: 72px 0 80px; }
.page-hero .lead { margin-top: 20px; }

/* Constat cards */
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.grid-4 .problem p { margin-top: 10px; }
.problem { background: var(--white); border-radius: var(--radius); padding: 24px 22px; }
.problem .num { font-family: var(--font-mono); font-size: 12px; color: var(--muted); display: block; margin-bottom: 14px; }
.problem p { color: var(--muted); font-size: 14px; margin-top: 8px; }

/* Comparison table */
.compare { width: 100%; border-collapse: collapse; margin-top: 8px; }
.compare th { font-family: var(--font-mono); font-weight: 500; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); text-align: left; padding: 14px 16px 14px 0; border-bottom: 2px solid var(--ink); }
.compare th.jard { color: var(--orange-dark); }
.compare td { padding: 20px 16px 20px 0; border-bottom: 1px solid var(--line); vertical-align: top; font-size: 14px; }
.compare td:first-child { font-weight: 700; font-size: 15px; width: 20%; }
.compare td:nth-child(2) { color: var(--muted); width: 38%; }
.compare td:nth-child(3) { font-weight: 600; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 64px; align-items: start; }
.contact-grid h2 { font-size: 24px; line-height: 1.3; letter-spacing: -0.015em; }
.contact-grid > div > p { color: var(--muted); margin-top: 16px; }
.note { display: flex; gap: 12px; align-items: flex-start; background: var(--white); border-radius: 12px; padding: 16px 18px; margin-top: 28px; font-size: 14px; }
.note svg { flex-shrink: 0; color: var(--orange-dark); margin-top: 2px; }
.form-card { background: var(--white); border-radius: 18px; padding: 32px; }
.form-card .eyebrow { color: var(--muted); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 15px; padding: 11px 14px; border: 1px solid #c9cdc1; border-radius: 10px; background: var(--white); color: var(--ink);
}
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--orange); outline-offset: 1px; border-color: transparent; }
.field textarea { min-height: 120px; resize: vertical; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 12px; color: var(--muted); margin: 6px 0 20px; }
.consent input { margin-top: 3px; width: 16px; height: 16px; accent-color: var(--orange); }
.form-card .btn { width: 100%; font-size: 15px; padding: 14px; }
.hidden { display: none; }

/* Legal */
.legal { max-width: 760px; }
.legal h2 { font-size: 22px; margin: 36px 0 10px; letter-spacing: -0.01em; }
.legal p { color: var(--muted); }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .cockpit-box { grid-template-columns: 1fr 1fr; }
  .cockpit-item:nth-child(3) { border-left: none; }
  .cockpit-item:nth-child(n+3) { border-top: 1px solid var(--navy-line); }
  .hero-grid, .intro-grid, .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .nav { display: none; }
  section { padding: 64px 0; }
  .hero { padding: 56px 0 64px; }
  .grid-4, .cockpit-box, .form-row { grid-template-columns: 1fr; }
  .cockpit-item + .cockpit-item { border-left: none; border-top: 1px solid var(--navy-line); }
  .stats { grid-template-columns: 1fr; }
  .form-card { padding: 22px; }
  .compare thead { display: none; }
  .compare, .compare tbody, .compare tr, .compare td { display: block; width: 100% !important; }
  .compare tr { border-bottom: 1px solid var(--line); padding: 14px 0; }
  .compare td { border: none; padding: 4px 0; }
  .compare td:nth-child(2)::before { content: "Cabinets traditionnels : "; font-weight: 600; }
  .compare td:nth-child(3)::before { content: "JAR&D : "; color: var(--orange-dark); }
}
