/* Bien Posé — feuille de style unique */
:root {
  --bg: #fbfaf7;
  --text: #1f2421;
  --muted: #5d6661;
  --accent: #2f6f5e;
  --accent-light: #e6f0ec;
  --border: #e3e1da;
  --max: 720px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 18px;
  line-height: 1.7;
}

a { color: var(--accent); }
a:hover { text-decoration: none; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }

/* En-tête */
.site-header { border-bottom: 1px solid var(--border); background: #fff; }
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 8px; padding-top: 14px; padding-bottom: 14px;
}
.logo { font-weight: 800; font-size: 22px; color: var(--text); text-decoration: none; letter-spacing: -0.5px; }
.logo span { color: var(--accent); }
.site-nav a { margin-left: 18px; color: var(--muted); text-decoration: none; font-size: 16px; }
.site-nav a:first-child { margin-left: 0; }
.site-nav a:hover { color: var(--accent); }

/* Contenu */
main { padding: 40px 0 60px; }
h1 { font-size: 34px; line-height: 1.25; margin: 0 0 16px; letter-spacing: -0.5px; }
h2 { font-size: 25px; line-height: 1.3; margin: 40px 0 12px; }
h3 { font-size: 20px; margin: 28px 0 8px; }
.lead { font-size: 20px; color: var(--muted); }

.box {
  background: var(--accent-light);
  border-left: 4px solid var(--accent);
  padding: 16px 20px;
  border-radius: 6px;
  margin: 28px 0;
}

.byline { color: var(--muted); font-size: 15px; margin-bottom: 24px; }

ul.check { padding-left: 0; list-style: none; }
ul.check li { padding-left: 30px; position: relative; margin-bottom: 8px; }
ul.check li::before { content: "✓"; position: absolute; left: 4px; color: var(--accent); font-weight: 700; }

/* Pied de page */
.site-footer { border-top: 1px solid var(--border); background: #fff; font-size: 15px; color: var(--muted); }
.site-footer .wrap { padding-top: 24px; padding-bottom: 32px; }
.site-footer nav a { color: var(--muted); margin-right: 16px; }
.affiliate-note { margin-top: 12px; font-size: 14px; }

@media (max-width: 600px) {
  body { font-size: 17px; }
  h1 { font-size: 28px; }
  h2 { font-size: 22px; }
}

/* ---------- v2 : logo, accueil, cartes ---------- */
.logo { display: inline-flex; align-items: center; gap: 10px; }
.logo img { width: 34px; height: 34px; display: block; }

.wrap-wide { max-width: 1000px; margin: 0 auto; padding: 0 20px; }

.hero {
  background: linear-gradient(135deg, #e6f0ec 0%, #fbfaf7 70%);
  border-bottom: 1px solid var(--border);
  padding: 56px 0 48px;
}
.hero .wrap-wide { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: center; }
.hero h1 { font-size: 40px; }
.hero .eyebrow {
  display: inline-block; background: #fff; border: 1px solid var(--border);
  color: var(--accent); font-weight: 600; font-size: 14px;
  padding: 4px 12px; border-radius: 999px; margin-bottom: 16px;
}
.hero-visual { display: flex; justify-content: center; }
.hero-visual svg { width: 100%; max-width: 320px; height: auto; }

.btn {
  display: inline-block; background: var(--accent); color: #fff; text-decoration: none;
  font-weight: 600; padding: 12px 22px; border-radius: 10px; margin-top: 8px;
}
.btn:hover { background: #255a4c; }

.home-main { padding: 48px 0 64px; }
.section-title { font-size: 26px; margin: 0 0 6px; }
.section-sub { color: var(--muted); margin: 0 0 24px; }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 56px; }
.card {
  background: #fff; border: 1px solid var(--border); border-radius: 14px;
  padding: 22px; display: flex; flex-direction: column;
}
.card .tag { font-size: 13px; font-weight: 600; color: var(--accent); text-transform: uppercase; letter-spacing: .5px; }
.card h3 { margin: 8px 0 8px; font-size: 19px; line-height: 1.35; }
.card p { margin: 0; color: var(--muted); font-size: 16px; line-height: 1.6; }
.card .soon { margin-top: auto; padding-top: 14px; font-size: 14px; color: #9a8a4a; font-weight: 600; }

.method { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 56px; }
.method div { padding: 4px 0; }
.method .ico {
  width: 44px; height: 44px; border-radius: 12px; background: var(--accent-light);
  display: flex; align-items: center; justify-content: center; font-size: 22px; margin-bottom: 10px;
}
.method h3 { margin: 0 0 6px; font-size: 18px; }
.method p { margin: 0; color: var(--muted); font-size: 16px; line-height: 1.6; }

.author {
  display: flex; gap: 20px; align-items: flex-start; background: #fff;
  border: 1px solid var(--border); border-radius: 14px; padding: 24px;
}
.avatar {
  flex: 0 0 64px; width: 64px; height: 64px; border-radius: 50%;
  background: var(--accent); color: #fff; font-size: 28px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.author h3 { margin: 0 0 6px; }
.author p { margin: 0 0 8px; color: var(--muted); font-size: 16px; }

.disclosure { font-size: 15px; color: var(--muted); margin-top: 32px; }

@media (max-width: 800px) {
  .hero .wrap-wide { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .hero h1 { font-size: 30px; }
  .cards, .method { grid-template-columns: 1fr; }
}

/* ---- v2 : un peu plus de caractère ---- */
.logo { display: inline-flex; align-items: center; gap: 10px; }
.logo img { width: 30px; height: 30px; }

.hero {
  background: linear-gradient(135deg, #e6f0ec 0%, #fbfaf7 60%, #fdf3df 100%);
  border-bottom: 1px solid var(--border);
  padding: 56px 0 48px;
}
.hero h1 { font-size: 40px; }
.hero .lead { margin-bottom: 24px; }
.btn {
  display: inline-block; background: var(--accent); color: #fff; text-decoration: none;
  padding: 12px 22px; border-radius: 8px; font-weight: 600; font-size: 17px;
}
.btn:hover { background: #255a4c; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.tag { background: #fff; border: 1px solid var(--border); border-radius: 999px; padding: 4px 14px; font-size: 15px; color: var(--muted); }

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; margin: 20px 0 8px; }
.card { background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 20px; }
.card .emoji { font-size: 28px; }
.card h3 { margin: 10px 0 6px; font-size: 18px; }
.card p { margin: 0; font-size: 15px; color: var(--muted); line-height: 1.5; }
.badge { display: block; width: fit-content; margin-top: 12px; font-size: 13px; font-weight: 600; color: #8a6414; background: #fdf3df; padding: 2px 10px; border-radius: 999px; }

.author { display: flex; gap: 16px; align-items: center; background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 20px; margin: 32px 0; }
.avatar { flex: 0 0 56px; height: 56px; border-radius: 50%; background: var(--accent); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 24px; }
.author p { margin: 0; font-size: 16px; line-height: 1.55; color: var(--text); }

@media (max-width: 600px) {
  .hero { padding: 36px 0 32px; }
  .hero h1 { font-size: 30px; }
}
