/* ==========================================================================
  DA
   Couleurs : #E0E0C2, #5F0707, #010000
   Polices  : Roboto, Nunito
   ========================================================================== */

:root {
  --font-primary: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-secondary: 'Nunito', sans-serif;

  /* Couleurs*/
  --c-cream: #E0E0C2;
  --c-cream-light: #F6F6EE;
  --c-red: #5F0707;
  --c-red-hover: #7E0D0D;
  --c-red-soft: rgba(95, 7, 7, 0.08);
  --c-black: #010000;

  --bg: #F7F7F2;
  --card-bg: #FFFFFF;
  --border: rgba(1, 0, 0, 0.08);
  --border-hover: rgba(95, 7, 7, 0.35);

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;
  --transition: 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  --shadow: 0 14px 40px -10px rgba(95, 7, 7, 0.09), 0 4px 15px rgba(0, 0, 0, 0.03);
}

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-secondary);
  background-color: var(--bg);
  color: var(--c-black);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  padding: 2rem 1.25rem 1.5rem;
}

/* Centrage Principal */
.center-wrapper {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 520px;
}

/* Carte de Profil */
.profile-card {
  background-color: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 3rem 2.25rem;
  width: 100%;
  text-align: center;
  box-shadow: var(--shadow);
  border-top: 4px solid var(--c-red);
}

/* Photo de Profil */
.avatar-container {
  width: 130px;
  height: 130px;
  margin: 0 auto 1.5rem;
  border-radius: 50%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  outline: none;
  background: var(--c-cream);
  box-shadow: 0 6px 20px rgba(95, 7, 7, 0.12);
}

.avatar-container img,
.avatar-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  border: none;
  outline: none;
}

/* Nom */
.profile-name {
  font-family: var(--font-primary);
  font-size: 2.3rem;
  font-weight: 900;
  color: var(--c-black);
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 0.75rem;
}

.text-red {
  color: var(--c-red);
}

/* Badge Statut */
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: var(--c-red-soft);
  color: var(--c-red);
  border: 1px solid rgba(95, 7, 7, 0.15);
  padding: 0.35rem 0.95rem;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 800;
  margin-bottom: 2rem;
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: var(--c-red);
  animation: pulseDot 2s infinite ease-in-out;
}

@keyframes pulseDot {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.35;
    transform: scale(0.75);
  }
}

/* Liste des Contacts */
.contact-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  text-align: left;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  padding: 0.95rem 1.15rem;
  background-color: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  color: inherit;
  text-decoration: none;
  transition: all var(--transition);
}

.contact-item:hover {
  transform: translateY(-2px);
  border-color: var(--c-red);
  background-color: var(--c-cream-light);
  box-shadow: 0 4px 14px rgba(95, 7, 7, 0.08);
}

.item-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background-color: var(--c-red);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  flex-shrink: 0;
  box-shadow: 0 3px 8px rgba(95, 7, 7, 0.2);
}

.item-icon.icon-insta {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  box-shadow: 0 3px 8px rgba(220, 39, 67, 0.25);
}

.item-details {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.item-label {
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: #777777;
  margin-bottom: 0.1rem;
}

.item-value {
  font-family: var(--font-primary);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--c-black);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color var(--transition);
}

.contact-item:hover .item-value {
  color: var(--c-red);
}

.item-arrow {
  color: var(--c-red);
  font-size: 0.9rem;
  transition: transform var(--transition);
  flex-shrink: 0;
}

.contact-item:hover .item-arrow {
  transform: translateX(3px);
}

/* Footer Minimal */
.minimal-footer {
  font-size: 0.8rem;
  color: #888888;
  text-align: center;
}

/* Responsive */
@media (max-width: 480px) {
  body {
    padding: 1.25rem 1rem;
  }

  .profile-card {
    padding: 2.25rem 1.25rem;
  }

  .profile-name {
    font-size: 1.95rem;
  }

  .item-value {
    font-size: 0.86rem;
  }
}
