/* ==========================================
   KOUSPO Finance - Contrast & Readability Fixes
   Fix pour améliorer la lisibilité des textes
   ========================================== */

/* Amélioration des sections avec fond bleu */
.benefits-section .section-header,
.why-choose .section-header {
    margin-bottom: 3rem;
}

.benefits-section .section-tag,
.why-choose .section-tag {
    color: var(--secondary-color) !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.benefits-section .section-title,
.why-choose .section-title {
    color: var(--bg-white) !important;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.benefits-section .title-underline,
.why-choose .title-underline {
    background: var(--secondary-color) !important;
}

.benefits-section .section-description {
    color: rgba(255, 255, 255, 0.95) !important;
}

/* Amélioration des cartes de bénéfices */
.benefit-card h3 {
    color: var(--bg-white) !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    font-weight: 700;
}

.benefit-card p {
    color: rgba(255, 255, 255, 0.95) !important;
    font-size: 1.05rem;
    line-height: 1.7;
}

/* Amélioration des cartes de fonctionnalités */
.feature-card h3 {
    color: var(--bg-white) !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.feature-card p {
    color: rgba(255, 255, 255, 0.95) !important;
}

/* Amélioration du numéro de fonctionnalité */
.feature-number {
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

/* Amélioration de l'icon des bénéfices */
.benefit-icon {
    box-shadow: 0 4px 12px rgba(255, 140, 0, 0.4);
}

/* LinkedIn Posts sur fond clair - améliorer le contraste */
.linkedin-posts {
    background: var(--bg-light);
}

.post-header {
    background: var(--gradient-primary) !important;
}

.post-info h4 {
    color: var(--bg-white) !important;
}

/* Amélioration générale des textes sur fond bleu */
[style*="background: var(--gradient-primary)"] .section-title,
[class*="gradient-primary"] .section-title {
    color: var(--bg-white) !important;
}

/* Service Hero - améliorer la lisibilité */
.service-hero h1 {
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
}

.service-hero .lead {
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

/* Page Hero Realisations */
.page-hero h1 {
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
}

.page-hero .lead {
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

/* Hero Carousel - améliorer tous les textes */
.hero-title {
    text-shadow: 0 4px 16px rgba(0, 0, 0, 0.5) !important;
}

.hero-subtitle {
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.4) !important;
}

.hero-description {
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3) !important;
}

/* Amélioration des boutons sur fond bleu */
.benefits-section .btn,
.why-choose .btn {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

/* Amélioration des meta infos dans les modales */
.modal-meta {
    color: var(--text-light) !important;
}

.modal-meta-item i {
    color: var(--secondary-color) !important;
}

/* Correction pour les breadcrumbs */
.breadcrumb {
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

/* Amélioration du contraste pour les process steps */
.process-step h4 {
    font-weight: 700;
    color: var(--primary-color) !important;
}

.process-step p {
    color: var(--text-dark) !important;
    font-size: 1rem;
}

/* Theme cards headers */
.theme-header h3 {
    font-weight: 700;
}

/* Amélioration des feature boxes */
.feature-box h3 {
    font-weight: 700;
}

.feature-box ul li {
    color: var(--text-dark) !important;
}

/* Column content amélioration */
.column-content h3 {
    font-weight: 700;
}

.column-content p,
.column-content ul li {
    color: var(--text-dark) !important;
}

/* Responsive - maintenir les améliorations */
@media (max-width: 768px) {
    .benefit-card h3,
    .feature-card h3,
    .benefits-section .section-title,
    .why-choose .section-title {
        font-size: 1.5rem;
    }
    
    .benefit-card p,
    .feature-card p {
        font-size: 1rem;
    }
}