:root {
  --petrol: #0b3948;
  --petrol-dark: #072631;
  --cyan: #009fb7;
  --cyan-soft: #e0f7fa;
  --emerald: #109648;
  --emerald-dark: #0b6e34;
  --emerald-soft: #e6f6ec;
  --bg: #f6f9fa;
  --surface: #ffffff;
  --text: #16262e;
  --muted: #526770;
  --border: #dce6ea;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(11, 57, 72, 0.08);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
}

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

/* Navigation */
.navbar {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 76px; gap: 16px;
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--petrol); }
.brand img { height: 50px; width: auto; border-radius: 8px; object-fit: contain; }
.brand-text strong { display: block; font-size: 1.25rem; font-weight: 800; letter-spacing: -0.02em; }
.brand-text span { display: block; font-size: 0.75rem; color: var(--emerald); font-weight: 600; }

.nav-links { display: flex; align-items: center; gap: 24px; }
.nav-links a { text-decoration: none; color: var(--text); font-weight: 600; font-size: 0.92rem; transition: color 0.2s; }
.nav-links a:hover { color: var(--cyan); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px; border-radius: 10px; font-weight: 700; font-size: 0.95rem;
  text-decoration: none; border: none; cursor: pointer; transition: all 0.2s;
}
.btn-primary { background: var(--emerald); color: #fff; }
.btn-primary:hover { background: var(--emerald-dark); transform: translateY(-1px); }
.btn-outline { background: transparent; color: var(--petrol); border: 2px solid var(--petrol); }
.btn-outline:hover { background: var(--petrol); color: #fff; }

/* Hero */
.hero {
  background: linear-gradient(135deg, #ffffff 0%, #ebf6f8 55%, #e8f7ee 100%);
  padding: 64px 0 48px;
  border-bottom: 1px solid var(--border);
}
.badge-status {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--petrol); color: #fff;
  padding: 6px 14px; border-radius: 999px; font-size: 0.8rem; font-weight: 700;
  margin-bottom: 20px;
}
.badge-dot { width: 8px; height: 8px; border-radius: 50%; background: #2ee57c; }
.hero-grid { display: grid; grid-template-columns: 1.25fr 0.75fr; gap: 36px; align-items: center; }
.hero h1 {
  font-size: clamp(2rem, 3.6vw, 2.9rem); line-height: 1.15;
  color: var(--petrol); font-weight: 800; letter-spacing: -0.03em; margin-bottom: 18px;
}
.hero h1 span { color: var(--emerald); }
.hero p.lead { font-size: 1.08rem; color: var(--muted); margin-bottom: 28px; max-width: 650px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

.hero-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow);
}
.hero-card h3 { color: var(--petrol); font-size: 1.05rem; margin-bottom: 14px; }
.pillar-mini { display: flex; flex-direction: column; gap: 12px; }
.pillar-item {
  padding: 12px 14px; border-radius: 10px; background: var(--bg);
  border-left: 4px solid var(--cyan);
}
.pillar-item.green { border-left-color: var(--emerald); }
.pillar-item strong { display: block; font-size: 0.92rem; color: var(--petrol); }
.pillar-item span { font-size: 0.84rem; color: var(--muted); }

/* KPI Strip */
.kpi-strip {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px;
  margin-top: 42px;
}
.kpi-box {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 12px; padding: 18px 20px;
}
.kpi-val {
  font-family: 'JetBrains Mono', monospace; font-size: 1.55rem; font-weight: 800;
  color: var(--petrol); display: block;
}
.kpi-val.green { color: var(--emerald); }
.kpi-label { font-size: 0.84rem; color: var(--muted); font-weight: 600; }

/* Sections */
section { padding: 72px 0; }
section.alt { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-head { max-width: 740px; margin-bottom: 42px; }
.eyebrow {
  text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.78rem;
  font-weight: 800; color: var(--cyan); display: block; margin-bottom: 8px;
}
.section-head h2 {
  font-size: clamp(1.65rem, 2.8vw, 2.2rem); color: var(--petrol);
  line-height: 1.2; margin-bottom: 12px; font-weight: 800;
}
.section-head p { color: var(--muted); font-size: 1.02rem; }

/* Cards & Grids */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 26px; box-shadow: 0 4px 16px rgba(11, 57, 72, 0.04);
}
section.alt .card { background: var(--bg); }
.card-tag {
  display: inline-block; font-size: 0.75rem; font-weight: 700;
  padding: 4px 10px; border-radius: 6px; margin-bottom: 12px;
  background: var(--cyan-soft); color: var(--petrol);
}
.card-tag.green { background: var(--emerald-soft); color: var(--emerald-dark); }
.card h3 { color: var(--petrol); font-size: 1.18rem; margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 0.94rem; }
.check-list { list-style: none; margin-top: 14px; display: flex; flex-direction: column; gap: 8px; }
.check-list li { font-size: 0.9rem; color: var(--text); padding-left: 22px; position: relative; }
.check-list li::before {
  content: "✓"; position: absolute; left: 0; color: var(--emerald); font-weight: 800;
}

/* Simulateur de projection */
.sim-box {
  background: var(--petrol); color: #fff; border-radius: 18px;
  padding: 34px; box-shadow: var(--shadow);
}
.sim-controls { display: flex; flex-wrap: wrap; gap: 10px; margin: 20px 0 28px; }
.sim-btn {
  background: rgba(255, 255, 255, 0.12); color: #fff; border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 10px 18px; border-radius: 10px; font-weight: 700; cursor: pointer; font-family: inherit;
}
.sim-btn.active { background: var(--emerald); border-color: var(--emerald); }
.sim-results { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.sim-metric {
  background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px; padding: 18px;
}
.sim-metric strong {
  display: block; font-family: 'JetBrains Mono', monospace;
  font-size: 1.45rem; color: #4ff099; margin-bottom: 4px;
}
.sim-metric span { font-size: 0.83rem; color: #d6e7ed; }
.sim-note { margin-top: 16px; font-size: 0.82rem; color: #b7d0d9; }

/* Carbon Banner */
.carbon-banner {
  background: linear-gradient(135deg, var(--emerald-dark) 0%, var(--petrol) 100%);
  color: #fff; border-radius: 18px; padding: 36px;
  display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 28px; align-items: center;
}
.carbon-banner h3 { font-size: 1.55rem; margin-bottom: 12px; }
.carbon-banner p { color: #e2f1f5; font-size: 0.96rem; }
.carbon-stats { display: flex; flex-direction: column; gap: 12px; }
.carbon-pill {
  background: rgba(255, 255, 255, 0.12); padding: 14px 18px;
  border-radius: 12px; font-size: 0.9rem;
}

/* Formulaire Contact */
.form-wrap {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 18px; padding: 34px; box-shadow: var(--shadow);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group.full { grid-column: 1 / -1; }
label { font-size: 0.88rem; font-weight: 700; color: var(--petrol); }
input, select, textarea {
  width: 100%; padding: 12px 14px; border-radius: 10px;
  border: 1px solid var(--border); font-family: inherit; font-size: 0.95rem;
  background: var(--bg); color: var(--text);
}
input:focus, select:focus, textarea:focus {
  outline: none; border-color: var(--cyan); background: #fff;
}
.hp-field { display: none !important; }

.alert {
  padding: 16px 20px; border-radius: 12px; margin-bottom: 24px; font-weight: 600; font-size: 0.95rem;
}
.alert-success { background: var(--emerald-soft); color: var(--emerald-dark); border: 1px solid #9adcb5; }
.alert-error { background: #fdecea; color: #9c2b23; border: 1px solid #f5c2be; }

/* Footer */
footer {
  background: var(--petrol-dark); color: #cde0e6; padding: 42px 0; font-size: 0.9rem;
}
.footer-grid { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; align-items: center; }
footer strong { color: #fff; }

@media (max-width: 920px) {
  .hero-grid, .grid-3, .grid-2, .kpi-strip, .sim-results, .carbon-banner, .form-grid {
    grid-template-columns: 1fr;
  }
  .nav-links { display: none; }
}