/* Tokens repris de app/globals.css (palette de travail TRAKADO). */
:root {
  --brand: #16324f;
  --brand-strong: #0d2236;
  --accent: #e07b39;
  --surface: #f7f8fa;
  --white: #ffffff;
  --ink: #16202b;
  --ink-muted: #5b6b7b;
  --line: #dde2e8;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--surface);
  color: var(--ink);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
}

.wrap { max-width: 920px; margin: 0 auto; padding: 0 16px; }

a { color: var(--brand); }

.top { background: var(--white); border-bottom: 1px solid var(--line); }
.top .wrap { padding-top: 14px; padding-bottom: 14px; }
.logo {
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--brand);
  text-decoration: none;
}

section { padding: 56px 0; }
.band { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

h1, h2, h3 { color: var(--brand-strong); line-height: 1.2; margin: 0 0 16px; }
h1 { font-size: clamp(30px, 6vw, 48px); letter-spacing: -0.01em; }
h2 { font-size: clamp(22px, 4vw, 30px); }
h3 { font-size: 19px; margin-bottom: 6px; }

.hero { padding: 72px 0 64px; }
.lead { font-size: clamp(18px, 2.6vw, 21px); color: var(--ink-muted); max-width: 640px; margin: 0 0 28px; }

.cta, button {
  display: inline-block;
  background: var(--accent);
  color: var(--white);
  border: 0;
  border-radius: 8px;
  padding: 14px 22px;
  font: inherit;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}
.cta:hover, button:hover { filter: brightness(0.94); }
.cta:focus-visible, button:focus-visible, input:focus-visible, summary:focus-visible {
  outline: 3px solid var(--brand);
  outline-offset: 2px;
}

.pains { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.pains li { padding-left: 28px; position: relative; }
.pains li::before { content: "✕"; position: absolute; left: 0; color: var(--accent); font-weight: 700; }

.grid { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.grid p { margin: 0; color: var(--ink-muted); }

details { background: var(--white); border: 1px solid var(--line); border-radius: 8px; padding: 14px 18px; margin-bottom: 10px; }
summary { cursor: pointer; font-weight: 600; color: var(--brand-strong); }
details p { margin: 10px 0 0; color: var(--ink-muted); }

.signup { background: var(--brand); color: var(--white); }
.signup h2 { color: var(--white); }
.signup label { display: block; font-weight: 600; margin-bottom: 8px; }
.signup .row { display: flex; flex-wrap: wrap; gap: 10px; }
.signup input[type="email"] {
  flex: 1 1 240px;
  min-width: 0;
  padding: 14px;
  border-radius: 8px;
  border: 0;
  font: inherit;
}
.signup .fine { font-size: 14px; opacity: 0.85; margin-top: 18px; }
.signup a { color: var(--white); }
.hp { position: absolute; left: -5000px; width: 1px; height: 1px; overflow: hidden; }

.legal h2 { margin-top: 32px; font-size: 21px; }
.legal p { margin: 0 0 12px; }

footer { padding: 32px 0 48px; color: var(--ink-muted); font-size: 15px; }
footer p { margin: 4px 0; }
footer a { color: var(--ink-muted); }

/* Pages de contenu (SEO) */
.article { padding: 48px 0 24px; }
.article .wrap { max-width: 720px; }
.article h1 { font-size: clamp(28px, 5vw, 40px); margin-bottom: 12px; }
.article .lead { margin-bottom: 32px; }
.article h2 { margin-top: 40px; font-size: clamp(21px, 3.4vw, 26px); }
.article p, .article li { margin: 0 0 14px; }
.article ul { padding-left: 22px; }
.article .note { background: var(--white); border-left: 4px solid var(--accent); padding: 14px 18px; border-radius: 4px; }
.article .sources { font-size: 15px; color: var(--ink-muted); border-top: 1px solid var(--line); margin-top: 40px; padding-top: 20px; }
.article .sources a { color: var(--ink-muted); }
.cta-box { background: var(--brand); color: var(--white); border-radius: 10px; padding: 28px; margin: 40px 0; }
.cta-box h2 { color: var(--white); margin-top: 0; }
.cta-box p { color: var(--white); }
.related { list-style: none; padding: 0; }
