/* ============================================
   SECTION PROFESSIONNELS - PALETTE CRÈME
   ============================================ */

.professionnels-section {
    /* padding: 4rem 0; */
}

/* En-tête de section */
.section-header-pro {
    text-align: center;
    margin-bottom: 3rem;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: rgba(10, 119, 52, 0.1);
    padding: 0.4rem 1.2rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--color-green-light);
    margin-bottom: 1rem;
}

.section-title {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 800;
    color: #1a2c3e;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1rem;
    color: #4a5568;
    max-width: 600px;
    margin: 0 auto 1.5rem;
}

.section-divider {
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--color-green-light), var(--color-gold-medium), var(--color-red-medium));
    border-radius: 3px;
    margin: 0 auto;
}

/* Filtres */
.filters-container {
    /* background: rgba(255, 253, 238, 0.8); */
    backdrop-filter: blur(12px);
    border-radius: 24px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    border: 1px solid rgba(10, 119, 52, 0.1);
    box-shadow: var(--shadow-sm);
}

.filters-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: flex-end;
}

.filter-group {
    flex: 1;
    min-width: 170px;
}

.filter-label {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--color-green-medium);
    margin-bottom: 0.4rem;
}

.filter-select {
    width: 100%;
    padding: 0.7rem 1rem;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    font-size: 0.9rem;
    color: #1a2c3e;
    cursor: pointer;
    transition: all 0.2s ease;
}

.filter-select:focus {
    outline: none;
    border-color: var(--color-green-light);
    box-shadow: 0 0 0 3px rgba(10, 119, 52, 0.1);
}

.filter-search {
    display: flex;
    flex: 1.5;
    min-width: 220px;
}

.search-input {
    flex: 1;
    padding: 0.7rem 1rem;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 12px 0 0 12px;
    font-size: 0.9rem;
}

.search-input:focus {
    outline: none;
    border-color: var(--color-green-light);
}

.search-btn {
    padding: 0.7rem 1.2rem;
    background: var(--color-green-light);
    border: none;
    border-radius: 0 12px 12px 0;
    color: white;
    cursor: pointer;
    transition: all 0.2s ease;
}

.search-btn:hover {
    background: var(--color-green-dark);
}

.reset-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.7rem 1.2rem;
    background: transparent;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    font-size: 0.85rem;
    color: #4a5568;
    cursor: pointer;
    transition: all 0.2s ease;
}

.reset-btn:hover {
    background: rgba(255, 0, 0, 0.05);
    border-color: var(--color-red-medium);
    color: var(--color-red-medium);
}

/* Résultats info */
.results-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.results-count {
    font-size: 0.85rem;
    color: #4a5568;
}

.results-view {
    display: flex;
    gap: 0.5rem;
}

.view-btn {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: transparent;
    border: 1px solid #e2e8f0;
    color: #94a3b8;
    cursor: pointer;
    transition: all 0.2s ease;
}

.view-btn.active {
    background: var(--color-green-light);
    border-color: var(--color-green-light);
    color: white;
}

.view-btn:hover:not(.active) {
    background: rgba(10, 119, 52, 0.1);
    border-color: var(--color-green-light);
    color: var(--color-green-light);
}

/* Grille des professionnels */
.professionnels-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

/* Version liste */
.professionnels-grid.list-view {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.professionnels-grid.list-view .pro-card {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1.5rem;
    text-align: left;
}

.professionnels-grid.list-view .pro-card .card-avatar {
    width: 80px;
    height: 80px;
    flex-shrink: 0;
}

/* ============================================
   CARTES PROFESSIONNELS AVEC PHOTOS
   ============================================ */

.pro-card {
    background: white;
    border-radius: 24px;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(10, 119, 52, 0.1);
    box-shadow: var(--shadow-sm);
    position: relative;
}

.pro-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: rgba(10, 119, 52, 0.2);
}

.card-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 10;
    background: linear-gradient(135deg, var(--color-green-light), var(--color-green-dark));
    color: white;
    padding: 0.3rem 1rem;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Photo professionnel */
.card-photo {
    position: relative;
    width: 100%;
    height: 250px;
    overflow: hidden;
    background: linear-gradient(135deg, #1a2c3e, #2d4a6e);
}

.card-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.default-person-icon {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f7fafc, #e8f5ee);
    color: var(--color-green-dark);
}

.default-person-icon i {
    font-size: 5rem;
    opacity: 0.9;
}

.pro-card:hover .card-photo img {
    transform: scale(1.05);
}

/* Overlay au survol */
.photo-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 119, 52, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.card-photo:hover .photo-overlay {
    opacity: 1;
}

.photo-overlay i {
    font-size: 2rem;
    color: white;
    transform: scale(0.8);
    transition: transform 0.3s ease;
}

.card-photo:hover .photo-overlay i {
    transform: scale(1);
}

/* Statut en ligne */
.online-status {
    position: absolute;
    bottom: 12px;
    right: 12px;
    width: 14px;
    height: 14px;
    background: var(--color-green-light);
    border: 2px solid white;
    border-radius: 50%;
    z-index: 10;
}

.online-status.online {
    animation: pulseOnline 2s infinite;
}

@keyframes pulseOnline {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.2);
        opacity: 0.7;
    }
}

/* Informations */
.pro-card .card-info {
    padding: 1.2rem;
}

.card-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1a2c3e;
    margin: 1rem 1rem 0.5rem 1rem;
    line-height: 1.3;
}

.card-description {
    font-size: 0.85rem;
    color: #4a5568;
    line-height: 1.5;
    margin: 0 1rem 0.75rem 1rem;
}

.card-location {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    color: #64748b;
    margin: 0 1rem 0.75rem 1rem;
}

.card-location i {
    color: var(--color-red-medium);
    width: 16px;
}

.card-specialty {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    color: var(--color-gold-medium);
    margin: 0 1rem 0.75rem 1rem;
    flex-wrap: wrap;
}

.card-specialty i {
    width: 16px;
}

.card-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    padding: 0.75rem 1rem;
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
    margin: 0 1rem 1rem 1rem;
}

.stat {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.75rem;
    color: #64748b;
}

.stat i {
    color: var(--color-gold-medium);
}

.btn-detail {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.2rem;
    margin: 0 1rem 1rem 1rem;
    background: transparent;
    border: 1px solid var(--color-green-light);
    border-radius: 12px;
    color: var(--color-green-light);
    font-weight: 600;
    font-size: 0.8rem;
    text-decoration: none;
    transition: all 0.2s ease;
}

.btn-detail:hover {
    background: var(--color-green-light);
    color: white;
    transform: translateX(3px);
}

/* Version liste */
.decors-grid.list-view .pro-card {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.decors-grid.list-view .pro-card .card-photo {
    width: 180px;
    height: 180px;
    flex-shrink: 0;
    border-radius: 16px;
    margin: 1rem;
}

.decors-grid.list-view .pro-card .card-title {
    margin-top: 0;
}

/* Responsive */
@media (max-width: 768px) {
    .card-photo {
        height: 200px;
    }
    
    .card-title {
        font-size: 1rem;
    }
    
    .card-description {
        font-size: 0.8rem;
    }
    
    .card-stats {
        flex-wrap: wrap;
        gap: 0.5rem;
    }
}

@media (max-width: 480px) {
    .card-photo {
        height: 180px;
    }
    
    .card-badge {
        font-size: 0.6rem;
        padding: 0.2rem 0.6rem;
    }
    
    .card-stats {
        flex-direction: column;
        gap: 0.3rem;
    }
}

/* Carte professionnel
.pro-card {
    background: white;
    border-radius: 24px;
    padding: 1.5rem;
    position: relative;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(10, 119, 52, 0.1);
    box-shadow: var(--shadow-sm);
}

.pro-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: rgba(10, 119, 52, 0.2);
}

.card-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: linear-gradient(135deg, var(--color-green-light), var(--color-green-dark));
    color: white;
    padding: 0.2rem 0.8rem;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 600;
}

.card-avatar {
    position: relative;
    width: 80px;
    height: 80px;
    margin-bottom: 1rem;
}

.avatar-initials {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--color-green-light), var(--color-gold-medium));
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
}

.card-photo {
    width: 130px;
    height: 130px;
    background: var(--color-cream-light);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    overflow: hidden;
}

.card-photo img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    border-radius: 50%;
}

.avatar-status {
    position: absolute;
    bottom: 4px;
    right: 4px;
    width: 14px;
    height: 14px;
    background: var(--color-green-light);
    border: 2px solid white;
    border-radius: 50%;
}

.avatar-status.online {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.2); opacity: 0.7; }
}

.card-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #1a2c3e;
    margin-bottom: 0.5rem;
}

.card-description {
    font-size: 0.85rem;
    color: #4a5568;
    line-height: 1.5;
    margin-bottom: 1rem;
}

.card-location {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    color: #64748b;
    margin-bottom: 0.75rem;
}

.card-location i {
    color: var(--color-red-medium);
    width: 16px;
}

.card-specialty {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    color: var(--color-gold-medium);
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.card-specialty i {
    width: 16px;
}

.card-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    padding: 0.75rem 0;
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
    margin-bottom: 1rem;
}

.stat {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.75rem;
    color: #64748b;
}

.stat i {
    color: var(--color-gold-medium);
}

.btn-detail {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.2rem;
    background: transparent;
    border: 1px solid var(--color-green-light);
    border-radius: 12px;
    color: var(--color-green-light);
    font-weight: 600;
    font-size: 0.8rem;
    text-decoration: none;
    transition: all 0.2s ease;
}

.btn-detail:hover {
    background: var(--color-green-light);
    color: white;
} */

/* Pagination */
.pagination-container {
    display: flex;
    justify-content: center;
    margin-bottom: 4rem;
}

.pagination {
    display: flex;
    gap: 0.5rem;
    list-style: none;
    padding: 0;
}

.page-item {
    display: inline-block;
}

.page-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: white;
    border: 1px solid #e2e8f0;
    color: #4a5568;
    text-decoration: none;
    transition: all 0.2s ease;
}

.page-link:hover {
    background: var(--color-green-light);
    border-color: var(--color-green-light);
    color: white;
}

.page-item.active .page-link {
    background: var(--color-green-light);
    border-color: var(--color-green-light);
    color: white;
}

.page-item.disabled .page-link {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Call to Action */
.cta-section {
    background: linear-gradient(135deg, var(--color-green-light), var(--color-green-dark));
    border-radius: 32px;
    padding: 3rem;
    text-align: center;
    color: white;
}

.cta-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.cta-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.cta-content p {
    opacity: 0.9;
    margin-bottom: 1.5rem;
}

.btn-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.9rem 2rem;
    background: white;
    border-radius: 50px;
    color: var(--color-green-light);
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    color: var(--color-green-dark);
}

/* Responsive */
@media (max-width: 768px) {
    .professionnels-section {
        /* padding: 2rem 0; */
    }
    
    .filters-wrapper {
        flex-direction: column;
    }
    
    .filter-group, .filter-search {
        width: 100%;
    }
    
    .professionnels-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-section {
        padding: 2rem;
    }
    
    .cta-content h3 {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .pro-card {
        padding: 1.2rem;
    }
    
    .card-avatar {
        width: 60px;
        height: 60px;
    }
    
    .avatar-initials {
        font-size: 1rem;
        border-radius: 18px;
    }
    
    .card-title {
        font-size: 1rem;
    }
    
    .pagination {
        flex-wrap: wrap;
        justify-content: center;
    }
}
