* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

body {
  min-height: 100vh;
  background: linear-gradient(135deg, #0f2027, #203a43, #2c5364);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

/* CARD */
.card {
  background: #ffffff;
  width: 100%;
  max-width: 380px;
  border-radius: 24px;
  padding: 40px 28px;
  text-align: center;
  box-shadow: 0 25px 50px rgba(0,0,0,0.25);
}

/* CARD ANIMATION */
.animate-card {
  opacity: 0;
  transform: translateY(20px);
  animation: cardEnter 0.6s ease-out forwards;
}

@keyframes cardEnter {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* AVATAR */
.avatar {
  width: 150px;
  height: 150px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 14px;
  border: 4px solid #ffffff;
  box-shadow:
    0 0 14px rgba(79, 70, 229, 0.22),
    0 0 26px rgba(14, 165, 233, 0.16);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

/* AVATAR ANIMATION */
.animate-avatar {
  opacity: 0;
  transform: scale(0.95);
  animation: avatarEnter 0.5s ease-out forwards;
  animation-delay: 0.3s;
}

@keyframes avatarEnter {
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.avatar:hover {
  transform: scale(1.04);
}

/* TEXT */
h1 {
  font-size: 24px;
  margin-bottom: 4px;
  color: #111;
}

.tagline {
  font-size: 14px;
  color: #666;
  margin-bottom: 20px;
}

/* BUTTONS */
.actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.btn {
  display: block;
  padding: 13px;
  border-radius: 12px;
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  color: #ffffff;
  transition: transform 0.15s ease, opacity 0.15s ease;
}

/* BUTTON ANIMATION */
.animate-btn {
  opacity: 0;
  transform: translateY(8px);
  animation: btnEnter 0.35s ease-out forwards;
}

.animate-btn:nth-child(1) { animation-delay: 0.55s; }
.animate-btn:nth-child(2) { animation-delay: 0.65s; }
.animate-btn:nth-child(3) { animation-delay: 0.75s; }
.animate-btn:nth-child(4) { animation-delay: 0.85s; }
.animate-btn:nth-child(5) { animation-delay: 0.95s; }

@keyframes btnEnter {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.btn:hover {
  transform: translateY(-2px);
  opacity: 0.95;
}

/* COLORS */
.whatsapp { background: #25D366; }
.phone { background: #111111; }
.email { background: #4f46e5; }
.website { background: #0ea5e9; }
.contact { background: linear-gradient(135deg, #10b981, #22c55e); }

/* MOBILE FIRST – OPTIMISATION RÉELLE */
@media (max-width: 430px) {

  body {
    padding: 12px;
  }

  .card {
    padding: 20px 18px;
    border-radius: 18px;
    box-shadow: 0 18px 35px rgba(0,0,0,0.18);
  }

  .avatar {
    width: 120px;
    height: 120px;
    margin-bottom: 12px;
    box-shadow:
      0 0 8px rgba(79, 70, 229, 0.16),
      0 0 14px rgba(14, 165, 233, 0.10);
  }

  h1 {
    font-size: 22px;
  }

  .tagline {
    font-size: 13px;
    margin-bottom: 16px;
  }

  .actions {
    gap: 10px;
  }

  .btn {
    padding: 11px;
    font-size: 14px;
    border-radius: 10px;
  }

}
