@import url('https://fonts.googleapis.com/css2?family=Lexend:wght@400;600&display=swap');

:root {
  --accent: #84503C;           /* brun principal → boutons */
  --accent-tertiary: #BF7B70;  /* ocre → bordure logo + hover */
  --text: #4A2E25;             /* brun doux pour le texte */
  --bg: #E7D0C8;               /* rose clair pour fond */
  --shadow: rgba(0, 0, 0, 0.1);
}

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

/* --- Body --- */
body {
  font-family: 'Lexend', 'Segoe UI Emoji', 'Apple Color Emoji', 'Noto Color Emoji', sans-serif;
  background-color: var(--bg);
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--text);
  padding: 2rem;
  overflow-x: hidden;
}

/* --- Container --- */
.container {
  text-align: center;
  max-width: 550px;
  width: 100%;
  padding: 2rem;
  border-radius: 18px;
  box-shadow: 0 4px 20px 20px var(--shadow);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  opacity: 0;
  animation: fadeIn 1s ease-out forwards;
}

/* --- Animations --- */
@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.97); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes slideUp {
  from { opacity: 0; transform: translateY(25px); }
  to { opacity: 1; transform: translateY(0); }
}

.slide-up {
  animation: slideUp 0.9s ease-out forwards;
  animation-delay: 0.3s;
  opacity: 0;
}

/* --- Logo --- */
.logo {
  width: 220px;
  height: 220px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--accent-tertiary);
  margin-bottom: 1rem;
  transition: transform 0.4s ease;
}

.logo:hover {
  transform: rotate(5deg) scale(1.05);
}

/* --- Titres et texte --- */
h1 {
  font-family: 'Lexend', sans-serif;
  font-size: 2.4rem;
  color: var(--accent);
  margin-bottom: 0.4rem;
}

.bio {
  font-size: 1rem;
  margin-bottom: 1.6rem;
  color: var(--text);
  opacity: 0.9;
  line-height: 1.6;
}

/* --- Liens / boutons --- */
.links {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.links a {
  font-family: 'Lexend', sans-serif;
  text-decoration: none;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  background: var(--accent);
  color: var(--bg);
  padding: 0.9rem;
  border-radius: 12px;
  transition: all 0.3s ease;
  box-shadow: 0 3px 10px rgba(0,0,0,0.15);
}

.links a:hover {
  transform: translateY(-3px) scale(1.03);
  background: var(--accent-tertiary);
  box-shadow: 0 5px 15px rgba(0,0,0,0.25);
}

.links i {
  font-size: 1.2rem;
}

/* --- Footer --- */
footer {
  margin-top: 2rem;
  font-size: 0.8rem;
  opacity: 0.7;
  color: var(--text);
}

/* --- Responsive --- */
@media (max-width: 600px) {
  .container {
    max-width: 90%;
    padding: 1.5rem;
  }

  .logo {
    width: 160px;
    height: 160px;
  }

  h1 { font-size: 2rem; }
  .bio { font-size: 0.9rem; }
  .links a { font-size: 0.9rem; padding: 0.7rem; }
}
