@font-face{font-family:"Qaligo";src:url("fonts/Qaligo-Demo.ttf") format("truetype");font-display:swap}
:root{--bg:#1d2b3a;--panel:#16222e;--ink:#dfe7e4;--muted:#9fb0ab;--line:#34465a;--ice:#cfe0dc;
--serif:"Iowan Old Style","Palatino Linotype",Georgia,serif;--sans:system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;--brand:"Qaligo",var(--serif)}
*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
body{margin:0;background:var(--bg);color:var(--ink);font:1.0625rem/1.65 var(--sans)}
/* Logo en filigrane : réglez « opacity » (0.05 très discret, 0.12 visible) */
body::before{content:"";position:fixed;inset:0;z-index:0;pointer-events:none;background:url("images/fond-logo.png") center 45%/min(100vw,64rem) auto no-repeat;opacity:.07}
header,main,footer{position:relative;z-index:1}
a{color:var(--ice)}
:focus-visible{outline:2px solid var(--ice);outline-offset:3px}
.wrap{width:100%;max-width:46rem;margin:0 auto;padding:0 1.25rem}
header{position:sticky;top:0;z-index:10;background:rgba(29,43,58,.94);border-bottom:1px solid var(--line);-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px)}
header .wrap{display:flex;align-items:center;justify-content:space-between;gap:1rem;min-height:3.5rem}
nav{display:flex;flex-wrap:wrap;gap:.1rem 1rem;justify-content:flex-end}
nav a{color:var(--ink);text-decoration:none;font-size:.95rem;padding:.6rem 0}
nav a:hover,nav a[aria-current]{color:var(--ice);text-decoration:underline;text-underline-offset:6px}
.mini{display:flex;align-items:center;gap:.6rem;text-decoration:none}
.mini img{width:2.4rem;height:auto}
.mini span{font-family:var(--brand);font-size:.6rem;color:var(--ink);line-height:1}
@media (max-width:44rem){.mini span{display:none}}
@media (max-width:30rem){.mini{display:none}header nav{width:100%;justify-content:center;gap:.1rem .85rem}nav a{font-size:.85rem}}
main.wrap{padding-top:2.5rem;padding-bottom:3rem}
h1{font-family:var(--serif);font-weight:600;font-size:clamp(1.8rem,7vw,2.5rem);line-height:1.2;margin:0 0 1rem;color:var(--ice)}
h2{font-family:var(--serif);font-weight:600;font-size:clamp(1.35rem,5vw,1.7rem);line-height:1.25;margin:2.4rem 0 .7rem;color:var(--ice)}
h3{font-family:var(--serif);font-size:1.15rem;margin:0 0 .3rem;color:var(--ice)}
p,ul,ol{max-width:38rem;margin:0 0 1rem}
li{margin-bottom:.4rem}
.lead{font-size:1.15rem;color:var(--muted)}
.btn{display:inline-block;background:var(--ice);color:#1d2b3a;text-decoration:none;font-weight:600;padding:.9rem 1.6rem;border-radius:.3rem;min-height:2.75rem}
.btn:hover{background:#fff}
.todo{color:var(--muted);font-style:italic;border-left:2px dashed var(--line);padding-left:.8rem}
.grid{display:grid;gap:1.25rem;grid-template-columns:1fr;margin:1.2rem 0}
@media (min-width:36rem){.grid{grid-template-columns:1fr 1fr}}
.card{background:var(--panel);border:1px solid var(--line);border-radius:.4rem;overflow:hidden}
.card .txt{padding:1rem 1.1rem}
.card p{margin:0;font-size:.98rem}
.photo{aspect-ratio:4/3;background:#0f1922;display:grid;place-items:center;color:var(--muted);font-size:.9rem;text-align:center;padding:1rem}
.card img{display:block;width:100%;height:auto;aspect-ratio:4/3;object-fit:cover}
details{border-bottom:1px solid var(--line);max-width:38rem}
summary{cursor:pointer;padding:.9rem 0;font-weight:600;min-height:2.75rem}
details>p{margin:0 0 1rem}
dl{margin:1.2rem 0 0;display:grid;grid-template-columns:1fr;gap:.2rem 1.5rem;max-width:38rem}
dt{color:var(--muted);font-size:.9rem;margin-top:.7rem}
dd{margin:0;font-size:1.15rem;overflow-wrap:anywhere}
dd a{display:inline-block;padding:.25rem 0}
@media (min-width:36rem){dl{grid-template-columns:11rem 1fr}dt{margin-top:0;padding-top:.3rem}dd{margin-bottom:.6rem}}
.reveal{font:inherit;font-size:1rem;color:var(--ice);background:none;border:1px solid var(--ice);border-radius:.3rem;padding:.6rem 1.1rem;min-height:2.75rem;cursor:pointer}
.reveal:hover{background:var(--ice);color:#1d2b3a}
footer{border-top:1px solid var(--line);padding:2rem 0 2.5rem;color:var(--muted);font-size:.9rem;text-align:center}
footer a{display:inline-block;padding:.6rem .3rem}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
