/* Une page, aucune dépendance externe, aucun build. */
:root{color-scheme:light dark;--bg:#2f6feb;--text:#fff;--dim:rgba(255,255,255,.72);--card:rgba(255,255,255,.08);--card-hover:rgba(255,255,255,.14);--line:rgba(255,255,255,.18);--pad:clamp(1.5rem,5vw,4rem)}
@media (prefers-color-scheme:dark){:root{--bg:#10204a}}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
body{margin:0;background:var(--bg);color:var(--text);font-family:system-ui,-apple-system,"Segoe UI",sans-serif;line-height:1.55}
a{color:var(--text);font-weight:600;text-underline-offset:4px}

/* ── Accroche : un écran plein ─────────────────────────────────────── */
.hero{min-height:100vh;min-height:100svh;display:flex;flex-direction:column;justify-content:space-between;padding:var(--pad)}
header{font-weight:650;letter-spacing:.02em}
h1{font-size:clamp(2.3rem,7.5vw,5.6rem);line-height:1.02;letter-spacing:-.045em;margin:3rem 0;max-width:17ch;font-weight:750}
h1 span{color:var(--dim)}
.hero-foot{display:flex;flex-wrap:wrap;gap:1rem 2rem;justify-content:space-between;align-items:flex-end;font-size:1rem}
.hero-foot p{margin:0;color:var(--dim);max-width:28rem}
.hero-links{display:flex;gap:1.5rem;flex-wrap:wrap}

/* ── Réalisations ──────────────────────────────────────────────────── */
.work{padding:0 var(--pad) var(--pad);max-width:80rem}
.work h2{font-size:clamp(1.8rem,5vw,2.8rem);letter-spacing:-.035em;line-height:1.1;margin:0 0 .4rem;font-weight:750}
.work .intro{color:var(--dim);margin:0 0 2rem;max-width:36rem}
.projects{list-style:none;margin:0;padding:0;display:grid;gap:1rem;grid-template-columns:repeat(auto-fill,minmax(min(100%,19rem),1fr))}
.project{position:relative;display:flex;flex-direction:column;gap:.5rem;height:100%;padding:1.35rem 1.4rem;border-radius:14px;background:var(--card);border:1px solid var(--line);transition:background .15s,transform .15s}
.project:hover{background:var(--card-hover);transform:translateY(-2px)}
@media (prefers-reduced-motion:reduce){.project:hover{transform:none}}
.project h3{margin:0;font-size:1.2rem;letter-spacing:-.015em}
.project h3 a{text-decoration:none}
/* Toute la carte est cliquable, le lien reste le seul élément focalisable. */
.project h3 a::after{content:"";position:absolute;inset:0;border-radius:14px}
.project h3 a:focus-visible{outline:none}
.project:has(a:focus-visible){outline:2px solid var(--text);outline-offset:3px}
.project p{margin:0;color:var(--dim);flex:1}
.project .meta{display:flex;flex-wrap:wrap;gap:.4rem;align-items:center;margin-top:.4rem}
.project .domain{font-size:.88rem;font-weight:600;flex-basis:100%;margin-bottom:.15rem}
.tag{font-size:.75rem;font-weight:600;padding:.15rem .55rem;border-radius:999px;background:var(--line);color:var(--text)}

footer.site{padding:1.5rem var(--pad) 2.5rem;border-top:1px solid var(--line);color:var(--dim);font-size:.9rem;display:flex;flex-wrap:wrap;gap:.5rem 2rem;justify-content:space-between}
footer.site p{margin:0}

/* ── À propos ──────────────────────────────────────────────────────── */
.about{padding:0 var(--pad) var(--pad);max-width:80rem}
.about h2{font-size:clamp(1.8rem,5vw,2.8rem);letter-spacing:-.035em;line-height:1.1;margin:0 0 1.5rem;font-weight:750}
.about-grid{display:grid;gap:1.5rem 2.5rem;grid-template-columns:repeat(auto-fit,minmax(min(100%,16rem),1fr))}
.about-item{border-top:2px solid var(--line);padding-top:1rem}
.about-item h3{margin:0 0 .35rem;font-size:1.15rem;letter-spacing:-.015em}
.about-item p{margin:0;color:var(--dim)}
