:root { color-scheme: dark; font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; background: #06140d; color: #f3f1e7; }
* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; background: radial-gradient(ellipse at 50% -15%, #173c25 0%, transparent 52%), radial-gradient(ellipse at 100% 100%, #0b2919 0%, transparent 38%), #06140d; }
body::before, body::after { content: ""; position: fixed; pointer-events: none; width: 165px; height: 165px; opacity: .25; background: linear-gradient(135deg, transparent 45%, #168c70 45.4%, transparent 46%), linear-gradient(135deg, transparent 55%, #168c70 55.4%, transparent 56%); }
body::before { top: 0; left: 0; } body::after { bottom: 0; right: 0; transform: rotate(180deg); }
.background-mark { position: fixed; pointer-events: none; z-index: 0; width: clamp(360px, 65vw, 780px); aspect-ratio: 1; right: max(-140px, calc(50% - 560px)); top: 36%; background: url('assets/projet-420.png') center / contain no-repeat; opacity: .1; filter: saturate(.75); transform: rotate(-14deg); }
.page { position: relative; width: min(100% - 40px, 520px); margin: 0 auto; padding: 38px 0 36px; }
.topline { height: 1px; background: #476249; } .topline span { display: block; width: 72px; height: 4px; background: #b8e849; }
.profile { text-align: center; padding: 36px 0 29px; }
.brand { display: block; width: 120px; height: auto; max-height: 64px; object-fit: contain; margin: 0 auto 27px; }
.avatar { width: 90px; height: 90px; border-radius: 50%; object-fit: cover; object-position: center 36%; border: 1px solid #a6cc52; background: #10271a; }
.eyebrow { margin: 20px 0 10px; color: #afd76c; letter-spacing: .18em; font-size: .62rem; font-weight: 700; }
h1 { font-family: Georgia, 'Times New Roman', serif; font-weight: 400; font-size: clamp(2.9rem, 9vw, 4rem); line-height: 1; margin: 0; letter-spacing: -.045em; }
.handle { margin: 9px 0 0; color: #aebbb0; font-size: .9rem; }
.divider { width: 32px; height: 3px; margin: 23px auto 0; background: #b7e74a; border-radius: 4px; }
section + section { margin-top: 30px; }
h2 { color: #96a79a; font-size: .65rem; letter-spacing: .16em; margin: 0 0 12px 3px; }
.links { display: grid; gap: 9px; }
.link { position: relative; overflow: hidden; min-height: 76px; display: flex; align-items: center; gap: 15px; padding: 12px 15px; border: 1px solid #39543c; border-radius: 13px; color: inherit; text-decoration: none; background: rgba(17, 37, 23, .68); animation: rise-in .6s both; animation-delay: calc(160ms + var(--order, 0) * 110ms); transition: border-color .25s, background .25s, transform .25s, box-shadow .25s; }
.link::before { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(110deg, transparent 20%, rgba(190,232,85,.075) 48%, transparent 72%); transform: translateX(-130%); transition: transform .65s ease; }
.link:hover, .link:focus-visible { background: #173720; border-color: #a8d55f; transform: translateY(-3px); box-shadow: 0 10px 28px #0005, 0 0 24px #a9e54b12; }
.link:hover::before, .link:focus-visible::before { transform: translateX(130%); }
a.link:focus-visible { outline: 2px solid #d4f886; outline-offset: 3px; }
a.link:active { transform: translateY(0) scale(.99); }
.link { width: 100%; font: inherit; text-align: left; cursor: pointer; }
.link:focus-visible { outline: 2px solid #d4f886; outline-offset: 3px; }
.link:active { transform: translateY(0) scale(.99); }
.preview-status { min-height: 1.2em; margin: 10px 3px 0; color: #c6d6bf; font-size: .85rem; }
.icon { display: grid; place-items: center; flex: 0 0 40px; width: 40px; height: 40px; color: #bee855; background: #1b3420; border-radius: 10px; overflow: hidden; transition: transform .25s, background .25s, box-shadow .25s; }
.link:hover .icon, .link:focus-visible .icon { transform: scale(1.08) rotate(-3deg); background: #284a27; box-shadow: 0 0 18px #b7e74a22; }
.icon svg { width: 23px; height: 23px; } .icon img { width: 29px; height: 29px; object-fit: contain; } .icon-projet img { width: 34px; height: 34px; } .icon-carnet img { width: 34px; height: 34px; border-radius: 50%; }
.social-logo { filter: brightness(0) saturate(100%) invert(87%) sepia(42%) saturate(862%) hue-rotate(27deg) brightness(104%); }
.link-text { flex: 1; min-width: 0; } .link-text strong, .link-text small { display: block; } .link-text strong { font-size: .99rem; font-weight: 600; } .link-text small { font-size: .76rem; margin-top: 4px; color: #a8b6a9; }
.arrow { color: #acd46d; font-size: 1.2rem; } .is-pending .arrow { opacity: .45; }
footer { text-align: center; margin-top: 39px; font-size: .6rem; letter-spacing: .18em; color: #708875; } footer span { color: #b7e74a; margin: 0 5px; }
@media (max-width: 380px) { .page { width: min(100% - 28px, 520px); padding-top: 24px; } .profile { padding-top: 28px; } .link { min-height: 67px; } }
@media (max-width: 600px) { .background-mark { width: 115vw; right: -47vw; top: 38%; opacity: .075; } }
@keyframes rise-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
@keyframes profile-in { from { opacity: 0; transform: translateY(9px); } to { opacity: 1; transform: translateY(0); } }
.profile { animation: profile-in .7s ease-out both; }
@media (prefers-reduced-motion: reduce) { .link, .profile { animation: none; } .link, .link::before, .icon { transition: none; } .link:hover, a.link:focus-visible, a.link:active, .link:hover .icon, a.link:focus-visible .icon { transform: none; } }
