
/* Avatar (photo) */
.avatar-xl {
    width: 220px;          /* taille légèrement réduite */
    max-width: 70vw;
}
.object-fit-cover {
    object-fit: cover;
}

/* Utilitaires */
.shadow-soft {
    box-shadow: 0 6px 30px rgba(0,0,0,.08);
}

/* Cartes page accueil */
.feature-card {
    background: linear-gradient(180deg, #fff 0%, color-mix(in srgb, var(--brand-bg) 65%, #fff) 100%);
    border-radius: 1rem;
    transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease;
    position: relative;
    overflow: hidden;
}
.feature-card::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 4px;
    background: linear-gradient(180deg,
    color-mix(in srgb, var(--brand-primary) 75%, transparent),
    color-mix(in srgb, var(--brand-primary) 35%, transparent));
    border-radius: 0 4px 4px 0;
    opacity: .8;
}
.feature-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 34px rgba(0,0,0,.08);
}

.feature-icon {
    width: 44px; height: 44px;
    border-radius: .75rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--brand-primary) 25%, transparent);
}
.feature-icon i {
    font-size: 1.25rem;
}
