/* Blog styles */
.blog-container {
    min-height: 100vh;
    padding-top: 80px;
}

.blog-header {
    background: linear-gradient(135deg, #453B90 0%, #6c5ce7 100%);
    color: white;
    padding: 4rem 0 3rem;
    margin-bottom: 0;
}

.blog-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    font-family: 'Poppins', sans-serif;
}

.blog-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    font-weight: 400;
    max-width: 600px;
    margin: 0 auto;
}

/* Filtres */
.filter-tabs {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2rem;
}

.filter-btn {
    background: white;
    border: 2px solid #e2e8f0;
    color: #64748b;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    cursor: pointer;
    display: flex;
    align-items: center;
}

.filter-btn:hover {
    border-color: #453B90;
    color: #453B90;
    background: rgba(69, 59, 144, 0.05);
    transform: translateY(-1px);
}

.filter-btn.active {
    background: linear-gradient(135deg, #453B90, #6c5ce7);
    border-color: #453B90;
    color: white;
    box-shadow: 0 4px 15px rgba(69, 59, 144, 0.3);
}

/* Cartes d'articles */
.blog-card {
    background: white;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(69, 59, 144, 0.15);
    border-color: rgba(69, 59, 144, 0.2);
}

.blog-card-header {
    padding: 1rem 1.5rem 0.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.blog-badge {
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.blog-badge.success {
    background: linear-gradient(135deg, #22c55e, #16a34a);
    color: white;
}

.blog-badge.media {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: white;
}

.blog-badge.updates {
    background: linear-gradient(135deg, #453B90, #6c5ce7);
    color: white;
}

.blog-badge.tips {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: white;
}

.blog-date {
    font-size: 0.8rem;
    color: #64748b;
    font-weight: 500;
}

.blog-card-body {
    padding: 0.5rem 1.5rem 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.blog-card-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.blog-card-excerpt {
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 1rem;
    flex: 1;
}

.blog-card-rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.stars {
    font-size: 1rem;
}

.rating-text {
    font-size: 0.85rem;
    color: #64748b;
    font-weight: 500;
}

.blog-card-footer {
    display: flex;
    align-items: center;
    color: #453B90;
    font-weight: 600;
    font-size: 0.9rem;
}

/* Style Trustpilot authentique */
.trustpilot-review-card {
    background: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 0;
    overflow: hidden;
    transition: all 0.2s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.trustpilot-review-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

/* Header Trustpilot */
.trustpilot-header {
    background: #f7f8fc;
    padding: 0 20px 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.trustpilot-branding {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
}

.trustpilot-logo-main {
    height: 50px;
    width: auto;
    object-fit: contain;
    max-width: 180px;
}

.trustpilot-rating {
    display: flex;
    align-items: center;
    gap: 8px;
}

.trustpilot-stars {
    display: flex;
    gap: 2px;
}

.tp-star {
    color: #00b67a;
    font-size: 16px;
    line-height: 1;
}

.tp-star.filled {
    color: #00b67a;
}

.trustpilot-score {
    font-size: 14px;
    font-weight: 600;
    color: #00b67a;
}

.review-date {
    font-size: 12px;
    color: #666;
    font-weight: 400;
}

/* Corps de l'avis */
.trustpilot-body {
    padding: 20px;
    flex: 1;
}

.review-title {
    font-size: 16px;
    font-weight: 600;
    color: #191919;
    margin-bottom: 12px;
    line-height: 1.3;
}

.review-text {
    font-size: 14px;
    color: #191919;
    line-height: 1.5;
    margin: 0;
}

/* Footer utilisateur */
.trustpilot-user-footer {
    padding: 16px 20px;
    border-top: 1px solid #f0f0f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.user-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #00b67a;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 14px;
}

.user-avatar-img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
}

.user-details {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.user-name {
    font-size: 13px;
    font-weight: 600;
    color: #191919;
}

.review-verification {
    font-size: 11px;
    color: #666;
}

.view-review-btn {
    font-size: 12px;
    color: #00b67a;
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 4px;
    transition: all 0.2s ease;
}

.view-review-btn:hover {
    color: #009966;
    text-decoration: none;
}

.view-review-btn i {
    font-size: 12px;
}

/* Bouton voir plus d'avis Trustpilot */
.trustpilot-more-btn {
    background: white;
    border: 2px solid #00b67a;
    color: #00b67a;
    font-weight: 600;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    font-size: 16px;
}

.trustpilot-more-btn:hover {
    background: #00b67a;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 182, 122, 0.3);
    text-decoration: none;
}

.trustpilot-btn-logo {
    height: 20px;
    width: auto;
}

/* CTA Section */
.blog-cta {
    background: linear-gradient(135deg, #f8faff, #f0f4ff);
    border: 2px solid rgba(69, 59, 144, 0.1);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    text-align: center;
}

.blog-cta h3 {
    color: #453B90;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.blog-cta p {
    color: #64748b;
    margin-bottom: 1.5rem;
}

/* Button styles - using existing custom-btn-gradient */
.custom-btn-gradient {
    background: linear-gradient(135deg, #453B90, #6c5ce7);
    border: none;
    color: white;
    font-weight: 600;
    padding: 12px 24px;
    border-radius: 25px;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
}

.custom-btn-gradient:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(69, 59, 144, 0.3);
    color: white;
    text-decoration: none;
}

/* Responsive */
@media (max-width: 768px) {
    .blog-title {
        font-size: 2.2rem;
    }

    .blog-subtitle {
        font-size: 1rem;
        padding: 0 1rem;
    }

    .filter-tabs {
        gap: 0.5rem;
        padding: 0 1rem;
    }

    .filter-btn {
        padding: 0.6rem 1rem;
        font-size: 0.8rem;
    }

    .blog-card-title {
        font-size: 1.1rem;
    }

    .blog-card-excerpt {
        font-size: 0.9rem;
    }

    .blog-cta {
        margin: 1rem;
        padding: 2rem 1.5rem;
    }
}

@media (max-width: 576px) {
    .blog-header {
        padding: 2rem 0;
    }

    .blog-title {
        font-size: 1.8rem;
    }

    .filter-tabs {
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
    }

    .filter-btn {
        width: 200px;
        justify-content: center;
    }

    .blog-card-header {
        flex-direction: column;
        gap: 0.5rem;
        align-items: flex-start;
        padding: 1rem 1rem 0.5rem;
    }

    .blog-date {
        align-self: flex-end;
        margin-top: -1.5rem;
    }

    .blog-cta h3 {
        font-size: 1.5rem;
    }
}