/* --- nav back --- */
.bubble-back a {
    text-decoration: none;
    color: var(--primary-color);
    font-size: 1.4rem;
    font-weight: bold;
    display: flex;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
  }
  
  /* --- contact-list --- */
  
  .contact-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
  }
  
  .contact-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
  }
  
  .contact-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 22px;
    padding: 20px 24px;
    display: flex;
    align-items: center;
    gap: 22px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.03);
    transition:
      transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
      border-color 0.3s,
      box-shadow 0.35s,
      background 0.3s;
    cursor: pointer;
  }
  
  .contact-card:hover {
    transform: translateX(8px);
    border-color: var(--primary-color);
    box-shadow: 0 14px 36px rgba(74, 104, 124, 0.13);
  }
  
  /* photo */
  .contact-photo-wrapper {
    width: 72px;
    height: 72px;
    flex-shrink: 0;
    border-radius: 50%;
    border: 2px solid var(--primary-color);
    padding: 2px;
    overflow: hidden;
    box-shadow: 0 4px 14px rgba(74, 104, 124, 0.15);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s;
  }
  
  .contact-card:hover .contact-photo-wrapper {
    transform: scale(1.06);
    box-shadow: 0 8px 22px rgba(74, 104, 124, 0.25);
  }
  
  .contact-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    display: block;
  }
  
  /* placeholder si pas de photo */
  .contact-photo-placeholder {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), rgba(74, 104, 124, 0.4));
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    color: #fff;
    font-weight: 700;
  }
  
  /* infos */
  .contact-info {
    flex: 1;
    min-width: 0;
  }
  
  .contact-name {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  
  .contact-role {
    font-size: 0.85rem;
    opacity: 0.72;
    line-height: 1.5;
    font-style: italic;
  }
  
  .contact-tag {
    display: inline-block;
    margin-top: 7px;
    background: rgba(74, 104, 124, 0.08);
    border: 1px solid var(--border-color);
    color: var(--primary-color);
    border-radius: 30px;
    padding: 3px 12px;
    font-size: 0.75rem;
    font-weight: 600;
  }
  
  /* flèche */
  .contact-arrow {
    font-size: 1.3rem;
    color: var(--primary-color);
    opacity: 0.35;
    flex-shrink: 0;
    transition: opacity 0.2s, transform 0.25s cubic-bezier(0.22, 1, 0.36, 1);
  }
  
  .contact-card:hover .contact-arrow {
    opacity: 1;
    transform: translateX(5px);
  }
  
  /* section title */
  .section-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    color: var(--accent-color);
    font-weight: 700;
    margin-bottom: 16px;
    padding-left: 4px;
  }
  
  /* séparateur groupe */
  .contact-group {
    margin-bottom: 36px;
  }
  
  /* responsive */
  @media (max-width: 600px) {
    .contact-photo-wrapper { width: 58px; height: 58px; }
    .contact-name { font-size: 1.05rem; }
    .contact-card:hover { transform: translateY(-4px); }
  }
  
  @media (max-width: 768px) {
    .bubble-back {
      display: flex !important;
    }
  }