:root {
  --navy: #1F3A5F;
  --accent: #1E7F74;
  --bg: #F7F9FC;
  --text: #1B2433;
  --muted: #3A4A63;
  --line: #E3E8EF;
  --serif: Georgia, "Times New Roman", serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
h1, h2, h3, p { margin: 0; }
h1, h2, .brand, .big, .step-num { font-family: var(--serif); }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.eyebrow {
  font-size: 13px; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase; color: var(--accent);
}

/* En-tête */
header { background: #fff; border-bottom: 1px solid var(--line); }
.header-in {
  display: flex; flex-wrap: wrap; align-items: center;
  justify-content: space-between; gap: 16px; padding-top: 18px; padding-bottom: 18px;
}
.brand { font-weight: 700; font-size: 22px; color: var(--navy); }
nav { display: flex; flex-wrap: wrap; align-items: center; gap: 28px; font-size: 15px; font-weight: 600; }
nav a { color: var(--muted); }
nav a.btn-nav { background: var(--navy); color: #fff; padding: 11px 20px; border-radius: 8px; }

/* Boutons */
.btn {
  display: inline-block; font-weight: 700; font-size: 16px;
  padding: 15px 28px; border-radius: 8px; text-align: center;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-secondary { background: #fff; color: var(--navy); border: 1.5px solid var(--navy); }

/* Accueil */
.hero { display: flex; flex-wrap: wrap; align-items: center; gap: 56px; padding-top: 88px; padding-bottom: 80px; }
.hero-text { flex: 1 1 440px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.hero h1 { font-size: 52px; line-height: 1.12; color: var(--navy); }
.hero p.lead { font-size: 19px; color: var(--muted); max-width: 540px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 8px; }
.hero-card-wrap { flex: 1 1 340px; min-width: 0; }
.hero-card {
  background: var(--navy); border-radius: 16px; padding: 36px; color: #fff;
  display: flex; flex-direction: column; gap: 22px;
}
.hero-card .card-title { font-family: var(--serif); font-size: 24px; font-weight: 600; line-height: 1.3; }
.hero-card ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; font-size: 16px; color: #D6DEEA; }

/* Sections */
.band { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
section.pad { padding-top: 80px; padding-bottom: 80px; }
h2 { font-size: 38px; line-height: 1.2; color: var(--navy); }
.section-head { display: flex; flex-direction: column; gap: 12px; max-width: 640px; margin-bottom: 44px; }
.section-head p { color: var(--muted); }

.cards { display: flex; flex-wrap: wrap; gap: 24px; }
.card {
  flex: 1 1 240px; min-width: 0; background: var(--bg); border: 1px solid var(--line);
  border-radius: 12px; padding: 28px; display: flex; flex-direction: column; gap: 14px;
}
.card svg { stroke: var(--accent); }
.card h3 { font-size: 19px; color: var(--navy); }
.card p { font-size: 15.5px; color: var(--muted); }

.steps { display: flex; flex-wrap: wrap; gap: 32px; }
.step { flex: 1 1 260px; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.step-num { font-size: 44px; font-weight: 700; color: var(--accent); line-height: 1; }
.step h3 { font-size: 19px; color: var(--navy); }
.step p { font-size: 15.5px; color: var(--muted); }

/* Tarif */
.dark { background: var(--navy); color: #fff; }
.dark-in { display: flex; flex-wrap: wrap; gap: 56px; align-items: center; padding-top: 80px; padding-bottom: 80px; }
.dark-col { flex: 1 1 340px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.dark .eyebrow { color: #7FD8CB; }
.dark p { color: #D6DEEA; max-width: 440px; }
.big { font-size: 64px; font-weight: 700; line-height: 1; }
.big small { font-size: 24px; font-weight: 600; color: #D6DEEA; }

/* Contact */
.contact { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; }
.contact-text { flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.contact-text p { color: var(--muted); }
.contact-card {
  flex: 1 1 340px; min-width: 0; background: #fff; border: 1px solid var(--line);
  border-radius: 12px; padding: 32px; display: flex; flex-direction: column; gap: 14px;
}
.contact-card strong { color: var(--navy); }
.contact-card a.btn { margin-top: 6px; }
.contact-card a.link { color: var(--accent); font-weight: 600; text-decoration: underline; }

/* Pied de page */
footer { background: #fff; border-top: 1px solid var(--line); font-size: 14px; color: #4A5A73; }
.footer-in { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 28px; padding-bottom: 28px; }
footer a { text-decoration: underline; }

/* Page texte (mentions légales) */
.legal { max-width: 760px; margin: 0 auto; padding: 64px 24px 80px; }
.legal h1 { font-size: 40px; color: var(--navy); margin-bottom: 32px; }
.legal h2 { font-size: 24px; margin: 36px 0 10px; }
.legal p, .legal li { color: var(--muted); }
.legal ul { padding-left: 20px; margin: 8px 0; }

@media (max-width: 640px) {
  .hero { padding-top: 56px; padding-bottom: 56px; gap: 40px; }
  .hero h1 { font-size: 38px; }
  h2 { font-size: 30px; }
  section.pad, .dark-in { padding-top: 56px; padding-bottom: 56px; }
  .big { font-size: 52px; }
  nav { gap: 18px; }
}
