/* MaigaTech - aucune ressource externe (pas de Google Fonts, pas de CDN) */
:root {
  --bg: #F5F6F8;
  --surface: #FFFFFF;
  --line: #E1E5EB;
  --text: #0E1B2C;
  --muted: #4A5668;
  --accent: #FFB23F;
  --on-accent: #0E1B2C;
  --avatar-bg: #E6EAF0;
  --font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0C111A;
    --surface: #161C26;
    --line: #262E3B;
    --text: #F2F4F7;
    --muted: #A3ADBC;
    --avatar-bg: #1E2633;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 40px;
  padding: 48px 16px 32px;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  line-height: 1.5;
}

.card { width: 100%; max-width: 420px; text-align: center; }

.avatar {
  position: relative;
  width: 112px; height: 112px;
  margin: 0 auto 24px;
  border-radius: 50%;
  background: var(--avatar-bg);
  overflow: hidden;
  display: grid; place-items: center;
}
.avatar span { font-weight: 700; font-size: 34px; letter-spacing: .5px; }
.avatar .photo {
  position: absolute; inset: 0;
  background: url("/assets/youssouf-maiga.jpg") center / cover no-repeat;
  /* si la photo est absente, rien ne s'affiche et "YM" reste visible */
}

h1 { margin: 0 0 8px; font-size: 32px; line-height: 1.15; letter-spacing: -.5px; }
.title { margin: 0 0 6px; color: var(--muted); font-size: 16px; }
.pitch { margin: 0 auto 32px; color: var(--muted); font-size: 15px; max-width: 360px; }

.links { display: flex; flex-direction: column; gap: 12px; }
.btn {
  display: flex; align-items: center; gap: 14px;
  min-height: 60px; padding: 0 20px;
  border: 1px solid var(--line); border-radius: 14px;
  background: var(--surface); color: var(--text);
  font-size: 17px; font-weight: 600; text-decoration: none;
  transition: transform .1s ease, border-color .15s ease;
}
.btn:hover { border-color: var(--muted); }
.btn:active { transform: scale(.99); }
.btn:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.btn span { flex: 1; text-align: left; }
.btn svg {
  width: 22px; height: 22px; flex-shrink: 0;
  fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
}
.btn .arrow { width: 18px; height: 18px; opacity: .55; }
.btn-primary { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.btn-primary:hover { border-color: var(--accent); filter: brightness(1.04); }

footer { display: flex; gap: 8px; color: var(--muted); font-size: 13px; }
footer a { color: inherit; }

/* Mentions légales */
.legal { width: 100%; max-width: 640px; text-align: left; }
.legal h1 { font-size: 28px; margin-bottom: 24px; }
.legal h2 { font-size: 17px; margin: 28px 0 8px; }
.legal p { margin: 0 0 6px; color: var(--muted); }
.legal a { color: var(--text); }
.back { display: inline-block; margin-bottom: 24px; color: var(--muted); text-decoration: none; }
.back:hover { color: var(--text); }

@media (prefers-reduced-motion: reduce) { .btn { transition: none; } }
