/* Styles additionnels pour corriger les problèmes d'affichage et ajouter les nouvelles sections */

/* Correction pour les animations qui cachent le contenu */
.fade-in {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

/* Styles pour les logos clients */
.client-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 3rem;
    margin-top: 2rem;
}

.client-logo {
    flex: 0 0 auto;
    max-width: 150px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.client-logo:hover {
    transform: scale(1.05);
}

.client-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* Styles pour la section Histoires de Réussite */
.success-stories {
    padding: 5rem 0;
    background-color: #f9f9f9;
}

.stories-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    margin-top: 3rem;
}

.story-card {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 2rem;
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: all 0.3s ease;
}

.story-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.story-image {
    padding: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f5f7fa;
}

.story-image img {
    max-width: 100%;
    max-height: 150px;
    object-fit: contain;
}

.story-content {
    padding: 2rem;
}

.story-content h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.story-content h4 {
    color: var(--gray-color);
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.story-content p {
    margin-bottom: 1rem;
}

.story-content .btn-secondary {
    margin-top: 1.5rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

/* Styles pour le CTA amélioré */
.cta {
    padding: 5rem 0;
    text-align: center;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
}

.cta h2, .cta p {
    color: white;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 2rem;
}

/* Améliorations des témoignages */
.testimonials-slider {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.testimonial {
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.testimonial:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.testimonial-content {
    padding: 2rem;
    flex: 1;
    position: relative;
}

.testimonial-content:before {
    content: '\\201C';
    font-family: Georgia, serif;
    font-size: 5rem;
    position: absolute;
    top: -1rem;
    left: 1rem;
    color: #f0f0f0;
    z-index: 0;
}

.testimonial-content p {
    position: relative;
    z-index: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem 2rem;
    background-color: #f5f7fa;
}

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: contain;
    background-color: white;
    padding: 5px;
}

/* Page Hero pour les pages internes comme le blog */
.page-hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 4rem 0;
    text-align: center;
    margin-bottom: 2rem;
}

.page-hero h2 {
    color: white;
    margin-bottom: 1rem;
}

.page-hero p {
    font-size: 1.8rem;
    max-width: 700px;
    margin: 0 auto;
}

/* Layout du blog */
.blog-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
}

.blog-post {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 2rem;
    margin-bottom: 3rem;
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.blog-post .post-image {
    height: 100%;
}

.blog-post .post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.post-content {
    padding: 2rem;
}

.post-meta {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.post-category {
    color: var(--primary-color);
    font-weight: 600;
}

.post-date {
    color: var(--gray-color);
}

.post-title {
    margin-bottom: 1rem;
}

.post-title a {
    color: var(--dark-color);
}

.post-title a:hover {
    color: var(--primary-color);
}

.post-excerpt {
    margin-bottom: 1.5rem;
    color: var(--gray-color);
}

.read-more {
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

/* Sidebar */
.blog-sidebar {
    align-self: start;
}

.sidebar-widget {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    margin-bottom: 3rem;
}

.sidebar-widget h3 {
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #eee;
}

.search-form {
    display: flex;
    gap: 1rem;
}

.search-form input {
    flex: 1;
    padding: 1rem;
    border: 1px solid #eee;
    border-radius: var(--border-radius);
}

.search-form button {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 0 1.5rem;
    border-radius: var(--border-radius);
    cursor: pointer;
}

.categories-widget ul {
    display: grid;
    gap: 1rem;
}

.categories-widget a {
    display: flex;
    justify-content: space-between;
    color: var(--dark-color);
}

.categories-widget a:hover {
    color: var(--primary-color);
}

.categories-widget span {
    color: var(--gray-color);
}

.popular-posts {
    display: grid;
    gap: 1.5rem;
}

.popular-post {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 1.5rem;
}

.popular-post .post-image img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: var(--border-radius);
}

.post-info h4 {
    font-size: 1.6rem;
    margin-bottom: 0.5rem;
}

.post-info .post-date {
    font-size: 1.2rem;
}

.newsletter-form {
    display: grid;
    gap: 1rem;
}

.newsletter-form input {
    padding: 1rem;
    border: 1px solid #eee;
    border-radius: var(--border-radius);
}

.newsletter-form button {
    width: 100%;
}

/* Article Content */
.article-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 3rem 2rem;
}

.article-header {
    text-align: center;
    margin-bottom: 3rem;
}

.article-title {
    font-size: 3.6rem;
    margin-bottom: 2rem;
}

.article-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
}

.article-author img {
    width: 6rem;
    height: 6rem;
    border-radius: 50%;
    object-fit: cover;
}

.article-featured-image {
    margin-bottom: 3rem;
}

.article-featured-image img {
    width: 100%;
    height: auto;
    border-radius: var(--border-radius);
}

.article-body {
    font-size: 1.8rem;
    line-height: 1.8;
}

.article-body h2, 
.article-body h3, 
.article-body h4 {
    margin-top: 3rem;
    margin-bottom: 2rem;
}

.article-body ul, 
.article-body ol {
    margin-left: 2rem;
    margin-bottom: 2rem;
}

.article-body ul li, 
.article-body ol li {
    margin-bottom: 1rem;
}

.article-body blockquote {
    margin: 3rem 0;
    padding: 2rem;
    background: #f9f9f9;
    border-left: 4px solid var(--primary-color);
    font-style: italic;
}

.article-body figure {
    margin: 3rem 0;
}

.article-body figure img {
    width: 100%;
    border-radius: var(--border-radius);
}

.article-body figcaption {
    text-align: center;
    color: var(--gray-color);
    font-style: italic;
    margin-top: 1rem;
}

.article-share {
    margin-top: 4rem;
    text-align: center;
}

.social-share-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.btn-social {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-radius: var(--border-radius);
    color: white;
}

.btn-social.facebook {
    background-color: #3b5998;
}

.btn-social.twitter {
    background-color: #1da1f2;
}

.btn-social.linkedin {
    background-color: #0077b5;
}

.related-posts {
    margin-top: 4rem;
}

.related-posts h3 {
    text-align: center;
    margin-bottom: 2rem;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.related-post {
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.related-post img {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

.related-post h4 {
    padding: 1.5rem;
    margin-bottom: 0;
}

.related-post .post-date {
    padding: 0 1.5rem 1.5rem;
    display: block;
    color: var(--gray-color);
}

.article-comments {
    margin-top: 4rem;
}

.article-comments h3 {
    text-align: center;
    margin-bottom: 2rem;
}

.comments-container {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    text-align: center;
}

.newsletter-section {
    background: #f5f7fa;
    text-align: center;
    padding: 4rem 0;
    margin-top: 4rem;
}

.newsletter-form {
    max-width: 500px;
    margin: 2rem auto 0;
    display: flex;
}

.newsletter-form input {
    flex: 1;
    padding: 1.2rem;
    border: none;
    border-radius: var(--border-radius) 0 0 var(--border-radius);
}

.newsletter-form button {
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
}

/* Responsive */
@media (max-width: 991px) {
    .blog-layout {
        grid-template-columns: 1fr;
    }
    
    .blog-sidebar {
        order: -1;
    }
    
    .related-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .blog-post {
        grid-template-columns: 1fr;
    }
    
    .blog-post .post-image {
        height: 200px;
    }
    
    .article-title {
        font-size: 2.8rem;
    }
}

@media (max-width: 576px) {
    .social-share-buttons {
        flex-direction: column;
    }
    
    .btn-social {
        width: 100%;
    }
    
    .story-card {
        grid-template-columns: 1fr;
    }
    
    .story-image {
        padding: 3rem;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .client-logo {
        max-width: 120px;
        height: 60px;
    }
}