/* Design minimal, rapide, accessible (CSS natif) */
:root {
  --bg: #0b1020;
  --fg: #e5e7eb;
  --muted: #94a3b8;
  --card: #111827;
  --primary: #22c55e;
  --stroke: #1f2937;
}
@media (prefers-color-scheme: light) {
  :root {
    --bg: #ffffff;
    --fg: #0b1020;
    --muted: #475569;
    --card: #f8fafc;
    --stroke: #e5e7eb;
  }
}
* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0; font: 16px/1.6 system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, Helvetica Neue, Arial;
  color: var(--fg); background: radial-gradient(1200px 800px at 20% -10%, rgba(34,197,94,.15), transparent 50%) , var(--bg);
}
.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }
.site-header { position: sticky; top: 0; backdrop-filter: saturate(180%) blur(8px); background: color-mix(in oklab, var(--bg), transparent 70%); border-bottom: 1px solid var(--stroke); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; min-height: 64px; }
.brand { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; color: var(--fg); font-weight: 700; letter-spacing: .2px; }
.brand svg { fill: none; stroke: var(--primary); stroke-width: 1.6; }
.brand-text .accent { color: var(--primary); }
.nav-toggle { display: none; background: none; border: 1px solid var(--stroke); color: var(--fg); padding: .4rem .6rem; border-radius: 8px; }
.menu { display: flex; gap: 1rem; list-style: none; padding: 0; margin: 0; }
.menu a { color: var(--fg); text-decoration: none; padding: .4rem .6rem; border-radius: 8px; }
.menu a:hover { background: var(--stroke); }
@media (max-width: 800px) {
  .nav-toggle { display: inline-block; }
  .menu { display: none; position: absolute; right: 20px; top: 58px; flex-direction: column; background: var(--card); border: 1px solid var(--stroke); padding: .6rem; border-radius: 10px; }
  .menu.open { display: flex; }
}

.hero { padding: 80px 0 40px; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 65ch; }
.cta-row { display: flex; gap: .8rem; margin-top: 1rem; }
.btn { display: inline-block; border: 1px solid var(--stroke); padding: .6rem 1rem; border-radius: 10px; text-decoration: none; color: var(--fg); }
.btn.primary { background: var(--primary); border-color: transparent; color: #0a0a0a; font-weight: 700; }

.section { padding: 48px 0; }
.section.alt { background: color-mix(in oklab, var(--card), transparent 40%); border-top: 1px solid var(--stroke); border-bottom: 1px solid var(--stroke); }
.grid.two { display: grid; grid-template-columns: 1.2fr .8fr; gap: 1.5rem; }
.grid.three { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
@media (max-width: 900px) { .grid.two, .grid.three { grid-template-columns: 1fr; } }

.card { background: var(--card); border: 1px solid var(--stroke); padding: 1rem; border-radius: 12px; }
.list { margin: .6rem 0 0; padding-left: 1rem; }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip { border: 1px solid var(--stroke); padding: .3rem .6rem; border-radius: 999px; }
.projects { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.project { border: 1px solid var(--stroke); padding: 1rem; border-radius: 12px; background: var(--card); }
.meta { display: flex; gap: 1rem; color: var(--muted); list-style: none; padding: 0; }
.posts { list-style: none; padding: 0; }
.posts li { margin-bottom: .4rem; }
.muted { color: var(--muted); }

.contact-form label { display: block; margin-bottom: .8rem; }
.contact-form input, .contact-form textarea { width: 100%; padding: .6rem .7rem; border-radius: 10px; border: 1px solid var(--stroke); background: var(--card); color: var(--fg); }
.contact-form button { margin-top: .4rem; }
.site-footer { padding: 24px 0; border-top: 1px solid var(--stroke); color: var(--muted); }
.skip-link { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.skip-link:focus { position: static; width: auto; height: auto; padding: .4rem .6rem; background: var(--primary); color: #0a0a0a; border-radius: 8px; }

a[aria-disabled="true"] { pointer-events: none; opacity: .6; }
