/* ===== Variables globales ===== */
:root {
  --bg-dark: #070b1a;
  --bg-light: #151a33;
  --card-bg: rgba(15, 20, 48, 0.85);
  --text-main: #f4f6ff;
  --text-muted: #c9cceb;
  --accent: #ffd166;
}

/* ===== Reset minimal ===== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  height: 100%;
}

/* ===== Corps de page ===== */
body {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--text-main);
  background:
    radial-gradient(800px 500px at 20% 15%, rgba(255, 209, 102, 0.18), transparent 60%),
    radial-gradient(700px 500px at 85% 85%, rgba(124, 92, 255, 0.22), transparent 55%),
    linear-gradient(135deg, var(--bg-dark), var(--bg-light));
}

/* ===== Mise en page générale ===== */
.page {
  min-height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.card {
  width: 100%;
  max-width: 900px;
  background: var(--card-bg);
  border-radius: 28px;
  padding: clamp(1.5rem, 4vw, 3rem);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* ===== En-tête ===== */
.header {
  text-align: center;
  margin-bottom: 2rem;
}

.kicker {
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 0.6rem;
}

h1 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  line-height: 1.1;
}

.subtitle {
  margin-top: 1rem;
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  color: var(--text-muted);
  max-width: 55ch;
  margin-left: auto;
  margin-right: auto;
}

/* ===== Photo centrale ===== */
.photo-container {
  display: flex;
  justify-content: center;
  margin: 2rem 0;
}

.photo {
  width: clamp(180px, 35vw, 320px);
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow:
    0 18px 50px rgba(0, 0, 0, 0.55),
    0 0 0 10px rgba(255, 209, 102, 0.25);
}

/* ===== Pied de page ===== */
.footer {
  text-align: center;
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-top: 1.5rem;
}

/* ===== Adaptations mobiles ===== */
@media (max-width: 480px) {
  .subtitle {
    font-size: 0.95rem;
  }
}
