/**
 * HP Experts Showcase - Section Conseillers
 * Styles pour la section experts/conseillers de la homepage
 */

/* Section Experts Showcase */
.hp-experts-showcase {
    padding: 60px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e8f4f8 100%);
}

.experts-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-badge-expert {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #0066cc 0%, #0088ff 100%);
    color: white;
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 20px;
}

.section-badge-expert i {
    font-size: 1rem;
}

.experts-header h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 15px;
}

.section-subtitle-expert {
    font-size: 1.1rem;
    color: #666;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.7;
}

/* Bloc téléphone principal */
.experts-phone-block {
    margin-bottom: 50px;
}

.experts-phone-cta-wrapper {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border: 2px solid #0066cc;
    border-radius: 20px;
    padding: 30px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    box-shadow: 0 10px 40px rgba(0, 102, 204, 0.15);
    flex-wrap: wrap;
}

.experts-phone-icon-pulse {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #0066cc 0%, #0088ff 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: experts-pulse-ring 2s ease-out infinite;
    flex-shrink: 0;
}

@keyframes experts-pulse-ring {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 102, 204, 0.4);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(0, 102, 204, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(0, 102, 204, 0);
    }
}

.experts-phone-icon-pulse i {
    font-size: 1.8rem;
    color: white;
}

.experts-phone-content {
    flex: 1;
    min-width: 250px;
}

.experts-phone-label {
    display: block;
    font-size: 1rem;
    color: #666;
    margin-bottom: 5px;
}

.experts-phone-number {
    display: block;
    font-size: 2.2rem;
    font-weight: 800;
    color: #0066cc;
    text-decoration: none;
    letter-spacing: 1px;
    transition: color 0.3s ease;
}

.experts-phone-number:hover {
    color: #004499;
}

.experts-phone-horaires {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 10px;
}

.experts-horaire-item {
    font-size: 0.85rem;
    color: #666;
    background: #f0f7ff;
    padding: 4px 12px;
    border-radius: 15px;
}

.experts-horaire-item strong {
    color: #0066cc;
}

.experts-btn-call-now {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #FF6B35 0%, #FF8E53 100%);
    color: white;
    padding: 15px 30px;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}

.experts-btn-call-now:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.4);
    color: white;
}

/* Carrousel des experts */
.experts-carousel-wrapper {
    margin-bottom: 50px;
}

.experts-carousel-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.experts-carousel-title i {
    color: #0066cc;
}

.experts-carousel {
    position: relative;
    overflow: hidden;
    padding: 10px 0;
}

.experts-track {
    display: flex;
    gap: 20px;
    transition: transform 0.4s ease;
}

.expert-card {
    flex: 0 0 calc(25% - 15px);
    min-width: 220px;
    background: white;
    border-radius: 16px;
    padding: 25px 20px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.expert-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.expert-photo-wrapper {
    position: relative;
    margin-bottom: 15px;
}

.expert-photo-wrapper img {
    width: 100%;
    max-width: 180px;
    height: auto;
    border-radius: 12px;
    object-fit: cover;
}

.expert-badge-online {
    position: absolute;
    bottom: 5px;
    left: 50%;
    transform: translateX(-50%);
    background: #28a745;
    color: white;
    font-size: 0.7rem;
    padding: 3px 10px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.expert-badge-offline {
    position: absolute;
    bottom: 5px;
    left: 50%;
    transform: translateX(-50%);
    background: #6c757d;
    color: white;
    font-size: 0.7rem;
    padding: 3px 10px;
    border-radius: 10px;
}

.pulse-dot {
    width: 6px;
    height: 6px;
    background: white;
    border-radius: 50%;
    animation: experts-pulse-dot 1.5s ease-in-out infinite;
}

@keyframes experts-pulse-dot {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

.expert-info {
    margin-bottom: 15px;
}

.expert-name {
    font-size: 1.2rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 8px;
}

.expert-specialite {
    font-size: 0.85rem;
    color: #0066cc;
    margin-bottom: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.expert-experience {
    font-size: 0.8rem;
    color: #888;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.expert-experience i {
    color: #FFD700;
}

.expert-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.btn-expert-call,
.btn-expert-devis {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 15px;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-expert-call {
    background: #0066cc;
    color: white;
}

.btn-expert-call:hover {
    background: #0055aa;
    color: white;
}

.btn-expert-devis {
    background: linear-gradient(135deg, #FF6B35 0%, #FF8E53 100%);
    color: white;
    border: none;
}

.btn-expert-devis:hover {
    background: linear-gradient(135deg, #e55a2b 0%, #e57d47 100%);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
}

/* Navigation carrousel */
.experts-carousel .carousel-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 45px;
    height: 45px;
    background: white;
    border: 2px solid #0066cc;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    color: #0066cc;
}

.experts-carousel .carousel-nav-btn:hover {
    background: #0066cc;
    color: white;
}

.experts-carousel .carousel-nav-btn.prev {
    left: -10px;
}

.experts-carousel .carousel-nav-btn.next {
    right: -10px;
}

.experts-carousel-wrapper .carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
}

.experts-carousel-wrapper .carousel-indicators .indicator {
    width: 10px;
    height: 10px;
    background: #ccc;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.experts-carousel-wrapper .carousel-indicators .indicator.active {
    background: #0066cc;
    transform: scale(1.2);
}

/* Avantages */
.experts-advantages {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-bottom: 40px;
}

.experts-advantages .advantage-item {
    background: white;
    padding: 25px;
    border-radius: 12px;
    display: flex;
    align-items: flex-start;
    gap: 15px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease;
}

.experts-advantages .advantage-item:hover {
    transform: translateY(-3px);
}

.experts-advantages .advantage-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #0066cc 0%, #0088ff 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.experts-advantages .advantage-icon i {
    font-size: 1.3rem;
    color: white;
}

.experts-advantages .advantage-content h4 {
    font-size: 1rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 8px;
}

.experts-advantages .advantage-content p {
    font-size: 0.85rem;
    color: #666;
    line-height: 1.5;
    margin: 0;
}

/* Bloc de confiance */
.experts-trust-block {
    background: linear-gradient(135deg, #0066cc 0%, #0088ff 100%);
    padding: 25px 40px;
    border-radius: 12px;
    text-align: center;
}

.experts-trust-block .trust-text {
    color: white;
    font-size: 1.1rem;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.experts-trust-block .trust-text i {
    font-size: 1.5rem;
}

.experts-trust-block .trust-text strong {
    font-weight: 700;
}

.experts-trust-block .trust-text em {
    font-style: normal;
    text-decoration: underline;
    text-decoration-style: dotted;
}

/* Responsive */
@media (max-width: 1200px) {
    .expert-card {
        flex: 0 0 calc(33.333% - 14px);
    }

    .experts-advantages {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .experts-phone-cta-wrapper {
        flex-direction: column;
        text-align: center;
        padding: 25px;
    }

    .experts-phone-content {
        text-align: center;
    }

    .experts-phone-horaires {
        justify-content: center;
    }

    .experts-carousel .carousel-nav-btn.prev {
        left: 5px;
    }

    .experts-carousel .carousel-nav-btn.next {
        right: 5px;
    }
}

@media (max-width: 768px) {
    .hp-experts-showcase {
        padding: 40px 0;
    }

    .experts-header h2 {
        font-size: 1.6rem;
    }

    .experts-phone-number {
        font-size: 1.8rem;
    }

    .expert-card {
        flex: 0 0 calc(50% - 10px);
        min-width: 180px;
    }

    .experts-advantages {
        grid-template-columns: 1fr;
    }

    .experts-trust-block .trust-text {
        font-size: 1rem;
        flex-direction: column;
        gap: 8px;
    }
}

@media (max-width: 480px) {
    .expert-card {
        flex: 0 0 100%;
    }

    .experts-phone-number {
        font-size: 1.5rem;
    }

    .experts-btn-call-now {
        width: 100%;
        justify-content: center;
    }
}
