/* Identité Obalo : gris encre, vert profond, vert menthe.
   Typographie du système — aucune police à télécharger, donc un site rapide
   et lisible partout. */

:root {
  --ink: #232A3A;
  --ink-soft: #3A4557;
  --green: #0A7E58;
  --green-dark: #086345;
  --mint: #36D99A;
  --paper: #F1F4F3;
  --surface: #FFFFFF;
  --line: #DDE4E2;
  --text: #232A3A;
  --muted: #5D6A72;
  --round: ui-rounded, "SF Pro Rounded", "Segoe UI Variable Display", "Trebuchet MS", system-ui, sans-serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --ink: #E6EBEF;
    --ink-soft: #C3CDD6;
    --green: #36D99A;
    --green-dark: #5FE3B0;
    --paper: #12171F;
    --surface: #1A212B;
    --line: #2C3541;
    --text: #E6EBEF;
    --muted: #97A4B0;
  }
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--green); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--green-dark); }
a:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; border-radius: 3px; }

.wrap { max-width: 760px; margin: 0 auto; padding: 0 24px; }

/* ---------- en-tête commun ---------- */
.topbar { padding: 26px 0; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand svg { display: block; border-radius: 23%; }
.brand span {
  font-family: var(--round);
  font-weight: 800;
  font-size: 26px;
  letter-spacing: -0.035em;
  color: var(--ink);
}

/* ---------- accueil ---------- */
.hero { padding: 46px 0 56px; display: flex; flex-direction: column; gap: 22px; }
.hero h1 {
  font-family: var(--round);
  font-size: clamp(34px, 6.4vw, 52px);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.08;
  margin: 0;
  text-wrap: balance;
}
.hero .lead { font-size: clamp(18px, 2.4vw, 21px); color: var(--muted); margin: 0; max-width: 34em; }
.badge {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 15px 7px 11px;
  font-size: 14px;
  color: var(--muted);
}
.badge b { color: var(--text); font-weight: 600; }
.badge i { width: 8px; height: 8px; border-radius: 50%; background: var(--mint); display: block; }

section { padding: 8px 0 44px; }
h2 {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.015em;
  margin: 0 0 16px;
  text-wrap: balance;
}

.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.step {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.step b { font-size: 16px; font-weight: 600; }
.step span { color: var(--muted); font-size: 15px; line-height: 1.55; }
.step .num {
  font-family: var(--round);
  font-weight: 800;
  font-size: 13px;
  color: var(--green);
  letter-spacing: .02em;
}

.promise {
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 3px solid var(--green);
  border-radius: 14px;
  padding: 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.promise p { margin: 0; }
.promise p:first-of-type { font-weight: 600; }
.promise .fine { color: var(--muted); font-size: 15px; }

.facts { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.facts li { padding-left: 26px; position: relative; color: var(--muted); }
.facts li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 10px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--mint);
}
.facts b { color: var(--text); font-weight: 600; }

/* ---------- page longue (politique) ---------- */
.doc { padding: 20px 0 60px; }
.doc h1 { font-size: clamp(27px, 4.6vw, 36px); font-weight: 700; letter-spacing: -0.025em; margin: 0 0 10px; text-wrap: balance; }
.doc .updated { color: var(--muted); font-size: 15px; margin: 0 0 34px; }
.doc h2 { margin-top: 40px; font-size: 20px; }
.doc p { margin: 0 0 16px; }
.doc ul { margin: 0 0 16px; padding-left: 22px; color: var(--text); }
.doc li { margin-bottom: 8px; }
.doc strong { font-weight: 600; }
.table-scroll { overflow-x: auto; margin: 0 0 20px; border: 1px solid var(--line); border-radius: 14px; }
table { border-collapse: collapse; width: 100%; font-size: 15px; background: var(--surface); }
th, td { text-align: left; padding: 12px 15px; vertical-align: top; border-bottom: 1px solid var(--line); }
th { font-weight: 600; font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
tr:last-child td { border-bottom: none; }

.contact-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 20px 22px;
  margin: 0 0 20px;
}
.contact-card p { margin: 0 0 6px; }
.contact-card p:last-child { margin: 0; }

/* ---------- pied ---------- */
footer {
  border-top: 1px solid var(--line);
  padding: 26px 0 56px;
  color: var(--muted);
  font-size: 15px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  align-items: center;
}
footer .sep { opacity: .45; }
