:root {
  --navy: #0f2b46;
  --navy-deep: #0b2036;
  --blue: #0786ad;
  --teal: #1bb5c6;
  --paper: #f3f5f7;
  --line: #d8dfe5;
  --text: #3b4b5c;
  --head: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --body: "Source Sans 3", "Segoe UI", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0;
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--head); color: var(--navy); margin: 0; letter-spacing: -0.01em; }
.wrap { width: min(1160px, 90%); margin-inline: auto; }

/* Barre du haut */
.topbar { background: var(--navy-deep); color: #a9bccd; font-size: 13px; }
.topbar-inner { display: flex; justify-content: space-between; gap: 20px; padding: 8px 0; }
.topbar-contact { display: flex; gap: 28px; }
.topbar a:hover { color: #fff; }

/* En-tête */
.header { position: sticky; top: 0; z-index: 20; background: #fff; border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 84px; }
.brand img { height: 64px; width: auto; }
.nav { display: flex; align-items: center; gap: 34px; font-family: var(--head); font-weight: 600; font-size: 14px; text-transform: uppercase; letter-spacing: .06em; color: var(--navy); }
.nav a { padding: 6px 0; border-bottom: 2px solid transparent; transition: border-color .2s; }
.nav a:hover { border-color: var(--teal); }
.nav .nav-cta { background: var(--navy); color: #fff; padding: 12px 22px; border: 0; transition: background .2s; }
.nav .nav-cta:hover { background: var(--blue); }

/* Boutons */
.btn {
  display: inline-block; font-family: var(--head); font-weight: 600; font-size: 14px;
  text-transform: uppercase; letter-spacing: .06em;
  padding: 16px 30px; border: 2px solid transparent; cursor: pointer; transition: background .2s, color .2s, border-color .2s;
}
.btn-primary { background: var(--teal); color: var(--navy-deep); }
.btn-primary:hover { background: #fff; }
.btn-ghost { border-color: rgba(255,255,255,.4); color: #fff; }
.btn-ghost:hover { border-color: #fff; }

/* Hero */
.hero {
  background-color: var(--navy);
  background-image:
    linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 48px 48px;
  color: #fff;
}
.hero-inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: 60px; align-items: center; padding: 96px 0 88px; }
.kicker { font-family: var(--head); font-weight: 600; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--teal); margin: 0 0 22px; }
.hero h1 { color: #fff; font-size: clamp(2.3rem, 4.6vw, 3.7rem); line-height: 1.08; font-weight: 800; margin-bottom: 26px; }
.hero-lead { font-size: 1.15rem; color: #c3d1de; max-width: 520px; margin: 0 0 38px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-drawing svg { width: 100%; height: auto; display: block; }

/* Chiffres */
.figures { background: #fff; border-bottom: 1px solid var(--line); }
.figures-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.figure { padding: 34px 28px; border-left: 1px solid var(--line); }
.figure:last-child { border-right: 1px solid var(--line); }
.figure strong { display: block; font-family: var(--head); font-weight: 800; font-size: 2.6rem; line-height: 1; color: var(--navy); }
.figure span { display: block; margin-top: 8px; font-size: .95rem; }

/* Sections */
.section { padding: 110px 0; }
.section-paper { background: var(--paper); }
.label { font-family: var(--head); font-weight: 700; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--blue); margin: 0 0 16px; display: flex; align-items: center; gap: 12px; }
.label::before { content: ""; width: 28px; height: 2px; background: var(--teal); }
.label-light { color: var(--teal); }
h2 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); line-height: 1.15; font-weight: 700; }
.section-head { margin-bottom: 56px; }

.split { display: grid; grid-template-columns: 1fr 1.1fr; gap: 80px; align-items: start; }
.split-body p { margin: 0 0 18px; }
.facts { margin: 36px 0 0; border-top: 1px solid var(--line); }
.facts div { display: grid; grid-template-columns: 160px 1fr; padding: 16px 0; border-bottom: 1px solid var(--line); }
.facts dt { font-family: var(--head); font-weight: 600; font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--navy); }
.facts dd { margin: 0; }

/* Expertises */
.services { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--navy); }
.services li {
  display: grid; grid-template-columns: 90px 1fr 1.3fr; gap: 24px; align-items: baseline;
  padding: 30px 12px; border-bottom: 1px solid var(--line); transition: background .2s, padding-left .2s;
}
.services li:hover { background: #fff; padding-left: 22px; }
.services .num { font-family: var(--head); font-weight: 700; font-size: 14px; color: var(--teal); letter-spacing: .08em; }
.services h3 { font-size: 1.3rem; font-weight: 700; }
.services p { margin: 0; }

/* Méthode */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.steps li { padding: 34px 30px 10px 0; position: relative; }
.steps li + li { padding-left: 30px; border-left: 1px solid var(--line); }
.step-n { display: block; font-family: var(--head); font-weight: 800; font-size: 3.2rem; line-height: 1; color: var(--teal); margin-bottom: 18px; }
.steps h3 { font-size: 1.2rem; margin-bottom: 8px; }
.steps p { margin: 0; font-size: .98rem; }

/* Contact */
.contact { background: var(--navy); color: #c3d1de; padding: 110px 0; }
.contact h2 { color: #fff; margin-bottom: 18px; }
.contact-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.contact-text > p { max-width: 440px; margin: 0 0 40px; }
.contact-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid rgba(255,255,255,.18); }
.contact-list li { display: grid; grid-template-columns: 110px 1fr; padding: 15px 0; border-bottom: 1px solid rgba(255,255,255,.18); }
.contact-list span { font-family: var(--head); font-weight: 600; font-size: 12px; text-transform: uppercase; letter-spacing: .1em; color: var(--teal); padding-top: 3px; }
.contact-list a:hover { color: #fff; }

.form { background: #fff; padding: 40px; display: grid; gap: 18px; color: var(--text); }
.form label { display: grid; gap: 6px; font-family: var(--head); font-weight: 600; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--navy); }
.form input, .form select, .form textarea {
  font: 400 16px var(--body); color: var(--text); text-transform: none; letter-spacing: 0;
  padding: 12px 14px; border: 1px solid var(--line); border-radius: 0; background: #fff; width: 100%;
}
.form input:focus, .form select:focus, .form textarea:focus { outline: 2px solid var(--teal); outline-offset: -1px; }
.form .btn-primary { background: var(--navy); color: #fff; justify-self: start; }
.form .btn-primary:hover { background: var(--blue); }

/* Pied de page */
.footer { background: var(--navy-deep); color: #8ea3b7; font-size: 14px; }
.footer-inner { display: flex; justify-content: space-between; gap: 16px; padding: 22px 0; }
.footer a:hover { color: #fff; }

/* Responsive */
@media (max-width: 980px) {
  .hero-inner, .split, .contact-inner { grid-template-columns: 1fr; gap: 44px; }
  .hero-inner { padding: 64px 0; }
  .hero-drawing { max-width: 460px; }
  .figures-grid { grid-template-columns: repeat(2, 1fr); }
  .figure:nth-child(3) { border-left: 1px solid var(--line); }
  .figure:nth-child(n+3) { border-top: 1px solid var(--line); }
  .figure:nth-child(2) { border-right: 1px solid var(--line); }
  .services li { grid-template-columns: 50px 1fr; }
  .services li p { grid-column: 2; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .steps li:nth-child(3) { border-left: 0; padding-left: 0; }
  .steps li:nth-child(n+3) { border-top: 1px solid var(--line); margin-top: 20px; }
  .section, .contact { padding: 72px 0; }
}
@media (max-width: 640px) {
  .topbar-inner > span:first-child { display: none; }
  .topbar-contact { gap: 16px; flex-wrap: wrap; }
  .nav a:not(.nav-cta) { display: none; }
  .brand img { height: 52px; }
  .header-inner { height: 72px; }
  .steps { grid-template-columns: 1fr; }
  .steps li, .steps li + li { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
  .form { padding: 26px; }
  .facts div, .contact-list li { grid-template-columns: 1fr; gap: 2px; }
}
