/* base.css - Thème global et styles communs */

:root {
  /* Personnalisation légère des nuances Bulma v1 */
  --famille-primary: #2e7d32;
  --famille-primary-light: #e8f5e9;
  --famille-radius: 12px;
}

body {
  background-color: #f8f9fa;
  color: #363636;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* En-tête */
.page-header {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  background-color: #ffffff;
}

/* Ajustement des cartes et boîtes */
.box, .card {
  border-radius: var(--famille-radius);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.box:hover, .card:hover {
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
}

/* Arrondis sur les images de la galerie */
.image-rounded img {
  border-radius: 8px;
  object-fit: cover;
  transition: opacity 0.2s ease-in-out;
}

.image-rounded img:hover {
  opacity: 0.9;
}

/* Customisation des titres de sections */
.section-title {
  position: relative;
  padding-bottom: 0.5rem;
  margin-bottom: 1.5rem !important;
  border-bottom: 2px solid #e0e0e0;
  color: #2b2b2b;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 50px;
  height: 2px;
  background-color: var(--famille-primary);
}

/* Avatar de membre */
.avatar-thumb {
  width: 48px;
  height: 48px;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid #ffffff;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* Effet interactif sur les cartes membres */
.member-card {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  border: 1px solid #f0f0f0;
}

.member-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.08);
  border-color: var(--famille-primary);
}

.member-card .member-link {
  color: #2b2b2b;
  font-weight: 600;
  text-decoration: none;
}

.member-card .member-link:hover {
  color: var(--famille-primary);
}

/* base.css - Styles additionnels pour les profils */

/* Profil & Fiche membre */
.profile-card {
  max-width: 800px;
  margin: 0 auto;
  border-radius: var(--famille-radius);
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
  background-color: #ffffff;
}

.profile-avatar {
  width: 140px;
  height: 140px;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid #ffffff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
  transition: transform 0.2s ease;
}

.profile-avatar:hover {
  transform: scale(1.03);
}

/* Grille d'informations de profil */
.profile-info-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.profile-info-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 0.75rem 1rem;
  background-color: #fcfcfc;
  border: 1px solid #f0f0f0;
  border-radius: 8px;
}

.profile-info-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background-color: var(--famille-primary-light);
  color: var(--famille-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.profile-info-content .label-title {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #888;
  font-weight: 600;
  margin-bottom: 2px;
}

.profile-info-content .label-value {
  color: #363636;
  font-weight: 600;
  font-size: 0.95rem;
  word-break: break-word;
}