/* ========== Tokens ========== */
:root {
  --noir: #0F0F0F;
  --ivoire: #F5F0E8;
  --rouge: #E63329;
  --pierre: #57534E;
  --gris-clair: #DEDBD4;
  --blanc: #FFFFFF;
}

/* ========== Reset ========== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.7;
  color: var(--noir);
  background: var(--ivoire);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: inherit; text-decoration: none; }

/* ========== Typography ========== */
h1 {
  font-size: 42px;
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.1;
  color: var(--noir);
  margin-bottom: 24px;
}

h2 {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--noir);
  margin-bottom: 40px;
}

h3 {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--noir);
  margin-bottom: 10px;
}

.eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--pierre);
  margin-bottom: 20px;
}

.eyebrow-tight { margin-bottom: 16px; }

.dot-red { color: var(--rouge); }

/* ========== Layout ========== */
.container {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 40px;
}

.section {
  padding: 100px 0;
  background: var(--ivoire);
}

.section-white { background: var(--blanc); }

.section-dark {
  background: var(--noir);
  padding: 80px 40px;
}

.section-dark h2 { color: var(--blanc); }

.center { text-align: center; }

/* ========== Buttons ========== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.01em;
  padding: 14px 28px;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  transition: all 0.18s ease;
  text-decoration: none;
  white-space: nowrap;
}

.btn-red {
  background: var(--rouge);
  color: var(--blanc);
}

.btn-red:hover {
  background: #c92820;
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  border: 1.5px solid var(--noir);
  color: var(--noir);
}

.btn-outline:hover {
  background: var(--noir);
  color: var(--blanc);
}

.btn-sm {
  padding: 10px 18px;
  font-size: 12px;
}

.btn-lg {
  padding: 16px 32px;
  font-size: 14px;
}

/* ========== Navbar ========== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--ivoire);
  border-bottom: 1px solid var(--gris-clair);
  height: 64px;
}

.navbar-inner {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 40px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo { display: flex; align-items: center; }

.nav-right {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--noir);
  transition: color 0.15s ease;
}

.nav-link:hover { color: var(--rouge); }

/* ========== Hero ========== */
.hero { padding: 100px 0; }

.hero-sub {
  font-size: 16px;
  color: var(--pierre);
  max-width: 520px;
  line-height: 1.7;
  margin-bottom: 36px;
}

.cta-group {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.trust-line {
  font-size: 12px;
  color: var(--pierre);
  letter-spacing: 0.01em;
}

/* ========== Grid 3 ========== */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

/* ========== Blocks ========== */
.block {
  background: var(--blanc);
  border: 1px solid var(--gris-clair);
  border-radius: 8px;
  padding: 28px;
}

.block-dark { border-top: 3px solid var(--noir); }
.block-red { border-top: 3px solid var(--rouge); }

.block p {
  font-size: 16px;
  line-height: 1.6;
  color: var(--noir);
}

.section-white .block { background: var(--ivoire); }

/* ========== Quotes ========== */
.quote {
  background: var(--ivoire);
  border-radius: 8px;
  padding: 24px;
  border-left: 3px solid var(--rouge);
}

.quote p {
  font-style: italic;
  font-size: 16px;
  line-height: 1.65;
  color: var(--noir);
  margin-bottom: 16px;
}

.quote cite {
  display: block;
  font-size: 12px;
  font-style: normal;
  color: var(--pierre);
  font-weight: 500;
}

/* ========== Checklist ========== */
.checklist {
  list-style: none;
  margin-bottom: 32px;
}

.checklist li {
  position: relative;
  padding: 14px 0 14px 24px;
  border-bottom: 1px solid var(--gris-clair);
  font-size: 16px;
  color: var(--noir);
  line-height: 1.5;
}

.checklist li:last-child { border-bottom: none; }

.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 22px;
  width: 8px;
  height: 8px;
  background: var(--rouge);
}

.callout {
  background: var(--blanc);
  border: 1px solid var(--gris-clair);
  border-radius: 8px;
  padding: 20px;
  font-size: 14px;
  font-style: italic;
  color: var(--pierre);
  line-height: 1.6;
}

/* ========== Steps ========== */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-bottom: 48px;
}

.step-num {
  font-size: 48px;
  font-weight: 700;
  color: var(--rouge);
  line-height: 1;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.step h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--noir);
  margin-bottom: 8px;
}

.step p {
  font-size: 14px;
  color: var(--pierre);
  line-height: 1.6;
}

.steps-cta { text-align: center; }

/* ========== Matthieu ========== */
.matthieu {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 48px;
  align-items: start;
}

.photo-placeholder {
  width: 280px;
  height: 320px;
  background: var(--gris-clair);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  color: var(--pierre);
}

.matthieu-text h2 { margin-bottom: 12px; }

.matthieu-text p {
  font-size: 16px;
  color: var(--pierre);
  line-height: 1.7;
  margin-bottom: 16px;
}

.linkedin-link {
  display: inline-block;
  margin-top: 8px;
  color: var(--rouge);
  font-weight: 500;
  font-size: 15px;
}

.linkedin-link:hover { text-decoration: underline; }

/* ========== Section dark (CTA final) ========== */
.section-dark h2 {
  font-size: 28px;
  max-width: 620px;
  margin: 0 auto 20px;
}

.dark-sub {
  font-size: 16px;
  color: var(--gris-clair);
  line-height: 1.6;
  margin: 0 auto 32px;
  max-width: 520px;
}

.dark-logo {
  margin-top: 48px;
  display: flex;
  justify-content: center;
}

/* ========== Footer ========== */
.footer {
  background: var(--noir);
  padding: 28px 0;
  border-top: 1px solid #1f1f1f;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer p {
  font-size: 12px;
  color: var(--pierre);
}

.footer-links a {
  color: var(--pierre);
  transition: color 0.15s ease;
}

.footer-links a:hover { color: var(--ivoire); }

/* ========== Responsive ========== */
@media (max-width: 768px) {
  .container { padding: 0 20px; }

  .section { padding: 64px 0; }
  .section-dark { padding: 64px 20px; }

  .navbar-inner { padding: 0 20px; }
  .nav-right { gap: 14px; }
  .nav-link { display: none; }

  h1 { font-size: 28px; }
  h2 { font-size: 22px; margin-bottom: 28px; }
  h3 { font-size: 17px; }

  .hero { padding: 64px 0; }
  .hero-sub { font-size: 15px; }

  .cta-group { flex-direction: column; }
  .cta-group .btn { width: 100%; }

  .grid-3,
  .steps {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .matthieu {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .photo-placeholder {
    width: 100%;
    max-width: 280px;
    margin: 0 auto;
  }

  .section-dark h2 { font-size: 22px; }

  .steps-cta .btn,
  .section-dark .btn {
    width: 100%;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }
}
