:root { --ink:#10202e; --muted:#5f6f80; --line:#e3e7ec; --sand:#f8f4ec; --coral:#ff5a36; --coral-dark:#d63d1c; --sea:#0b7a8f; color-scheme: light; }
* { box-sizing: border-box; }
body { margin: 0; font-family: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif; color: var(--ink); background: var(--sand); line-height: 1.6; }
a { color: var(--sea); }
.wrap { max-width: 960px; margin: 0 auto; padding: 0 20px; }
header.top { display: flex; align-items: center; justify-content: space-between; padding: 20px 0; }
.brand { display: flex; align-items: center; gap: 10px; font-family: 'Bricolage Grotesque', 'Manrope', sans-serif; font-weight: 800; font-size: 22px; text-decoration: none; color: var(--ink); }
.brand .wm b { color: var(--coral); font-weight: 800; }
.brand img { width: 30px; height: 30px; }
.lang a { font-weight: 700; font-size: 14px; text-decoration: none; margin-left: 10px; color: var(--muted); }
.lang a[aria-current='true'] { color: var(--ink); }
.hero { padding: 56px 0 40px; }
.hero h1 { font-family: 'Bricolage Grotesque', 'Manrope', sans-serif; font-size: clamp(34px, 6vw, 60px); line-height: 1.05; margin: 0 0 18px; letter-spacing: -0.02em; }
.hero h1 em { font-style: normal; color: var(--coral); }
.hero p { font-size: 19px; color: var(--muted); max-width: 640px; margin: 0 0 26px; }
.soon { display: inline-flex; align-items: center; gap: 10px; background: var(--ink); color: #fff; border-radius: 14px; padding: 12px 18px; font-weight: 800; }
.soon small { color: #ffb29f; font-weight: 700; }
.modes { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; padding: 10px 0 50px; }
.mode { background: #fff; border-radius: 18px; padding: 20px; box-shadow: 0 6px 20px rgba(16,32,46,.07); }
.mode b { display: block; font-size: 18px; margin: 6px 0 4px; }
.mode span { font-size: 26px; }
.mode p { margin: 0; color: var(--muted); font-size: 15px; }
.motto { background: var(--ink); color: #fff; border-radius: 22px; padding: 34px 28px; margin-bottom: 50px; }
.motto q { font-family: 'Bricolage Grotesque', 'Manrope', sans-serif; font-size: clamp(22px, 3.4vw, 32px); font-weight: 800; quotes: none; line-height: 1.25; }
.motto p { color: #c9d3dc; margin: 14px 0 0; }
footer { border-top: 1px solid var(--line); padding: 26px 0 40px; font-size: 14px; color: var(--muted); }
footer a { margin-right: 16px; }
.legal { background: #fff; border-radius: 18px; padding: 28px; margin: 10px 0 50px; }
.legal h1 { font-family: 'Bricolage Grotesque', 'Manrope', sans-serif; margin-top: 0; }
.legal h2 { font-size: 18px; margin-top: 26px; }
.todo { background: #fff4d6; border-radius: 6px; padding: 0 6px; font-weight: 700; }
/* Blog */
.lang a + a { margin-left: 14px; }
.post-head { padding: 36px 0 18px; }
.post-head h1, .post h1 { font-family: 'Bricolage Grotesque', 'Manrope', sans-serif; font-size: clamp(30px, 5vw, 46px); line-height: 1.1; letter-spacing: -0.02em; margin: 0 0 12px; }
.post-head p { color: var(--muted); font-size: 18px; margin: 0; max-width: 640px; }
.post-list { display: grid; gap: 14px; padding: 18px 0 50px; }
.post-card { display: block; background: #fff; border-radius: 18px; padding: 22px; text-decoration: none; color: var(--ink); box-shadow: 0 6px 20px rgba(16,32,46,.07); }
.post-card b { font-size: 20px; line-height: 1.3; }
.post-card p { color: var(--muted); margin: 6px 0 10px; }
.post-card span { color: var(--coral-dark); font-weight: 800; font-size: 14px; }
.post-card:hover b { color: var(--coral-dark); }
.post { background: #fff; border-radius: 22px; padding: 30px clamp(20px, 5vw, 44px) 36px; margin: 10px 0 40px; max-width: 760px; }
.post .back { font-weight: 700; font-size: 14px; text-decoration: none; }
.post h1 { margin-top: 14px; }
.post .meta { color: var(--muted); font-size: 14px; margin: 0 0 24px; }
.post h2 { font-family: 'Bricolage Grotesque', 'Manrope', sans-serif; font-size: 26px; line-height: 1.2; margin: 34px 0 10px; }
.post h3 { font-size: 19px; margin: 24px 0 6px; }
.post p, .post li { font-size: 17px; }
.post li { margin-bottom: 6px; }
.post .note { background: #fff1ec; border: 1px solid #ffd3c6; border-radius: 12px; padding: 14px 16px; margin: 20px 0; font-size: 15px; color: var(--ink); }
.post .table { overflow-x: auto; margin: 18px 0; }
.post table { border-collapse: collapse; width: 100%; font-size: 15px; }
.post th, .post td { text-align: left; padding: 9px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.post th { font-size: 13px; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); }
footer .affiliate { margin: 0 0 12px; }
@media (max-width: 560px) {
  .post { padding: 24px 16px 30px; border-radius: 18px; }
  /* Tableaux en cartes : une carte par ligne, nom de la colonne à gauche */
  .post table, .post tbody, .post tr, .post td { display: block; width: 100%; }
  .post thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .post tr { background: var(--sand); border-radius: 12px; padding: 6px 12px; margin-bottom: 10px; }
  .post td { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; border-bottom: 1px solid var(--line); text-align: right; }
  .post td:last-child { border-bottom: 0; }
  .post td::before { content: attr(data-label); flex: none; max-width: 45%; text-align: left; font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .03em; color: var(--muted); }
  .post td:first-child { font-weight: 800; }
}
