/* --- DESIGN ANNUAIRE ASSOCIATIONS INSTITUTIONNEL --- */
.paef-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    padding: 20px 0;
}

.asso-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 4px; /* Coins moins arrondis pour plus de sérieux */
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: flex;
    flex-direction: column;
    position: relative;
}

.asso-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    border-color: #10b981;
}

.asso-header {
    height: 120px;
    background: #f9fafb;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid #f3f4f6;
    position: relative;
}

.asso-logo {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    object-fit: cover;
    background: #fff;
    border: 1px solid #e5e7eb;
    padding: 5px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.asso-body {
    padding: 24px;
    text-align: center;
    flex-grow: 1;
}

.asso-body h3 {
    margin: 0 0 8px 0;
    font-size: 19px;
    color: #111827;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.asso-location {
    display: inline-flex;
    align-items: center;
    color: #6b7280;
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.asso-location::before {
    content: "";
    display: inline-block;
    width: 8px;
    height: 8px;
    background: #10b981;
    border-radius: 50%;
    margin-right: 8px;
}

.asso-description {
    font-size: 14px;
    color: #4b5563;
    line-height: 1.6;
    margin-bottom: 20px;
}

.asso-btn {
    margin-top: auto;
    background: #111827;
    color: #ffffff !important;
    text-decoration: none !important;
    padding: 12px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: background 0.3s;
}

.asso-btn:hover {
    background: #10b981;
}

/* Réutilisation des icônes réseaux avec style sobre */
.asso-card .yt-social-links {
    justify-content: center;
    border-top: 1px solid #f3f4f6;
    padding-top: 15px;
    margin-top: 15px !important;
}

.asso-card .yt-social-icon {
    background: transparent;
    border: 1px solid #e5e7eb;
}

.asso-card .yt-social-icon:hover {
    border-color: #10b981;
    background: #f0fdf4;
}