/**
 * =============================================================================
 * STYLES-DREPANOCYTOSE.CSS — Styles propres à la page Drépanocytose (drepanocytose.html)
 * =============================================================================
 *
 * Même logique que Sepsis : fond blanc, sections alternées. En plus : mise en page
 * carte + People (Page 2), coûts + témoignages (Page 4), comparaison fTT (HbAA/HbSS, tableau).
 *
 * MODIFIER EN TANT QUE NON-DEVELOPPEUR :
 * - Couleurs : --project-primary, --page-accent (début du fichier).
 * - Carte + People : .carte-people-row, .tag-item-carte, .tag-item-people, .carte-image, .people-image.
 * - Coûts / témoignages : .costs-testimonials-row, .testimonials-column, .costs-column.
 * - fTT (HbAA/HbSS, tableau) : .ftt-comparison-row.
 * - Liseré unique au-dessus des 2 images : .carte-people-row::before.
 * =============================================================================
 */

.page-drepanocytose {
    --project-primary: #2c5f8d;
    --project-primary-dark: #1e4263;
    --project-primary-light: #3d7bb3;
    --project-accent: #2c5f8d;
    --project-secondary: #4a90a4;
    --text-dark: #1a1a1a;
    --text-light: #666666;
    --page-accent: #2c5f8d;
    --page-border: rgba(44, 95, 141, 0.2);
}

.page-drepanocytose {
    background: #ffffff;
    min-height: 100vh;
}

.page-drepanocytose .main-content {
    position: relative;
    z-index: 1;
}

.page-drepanocytose .container {
    position: relative;
    z-index: 1;
}

/* Section Title */
.page-drepanocytose .section-title {
    color: var(--project-primary);
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 2.5rem;
    text-align: center;
    position: relative;
    padding-bottom: 1rem;
}

.page-drepanocytose .section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, transparent 0%, var(--project-primary) 50%, transparent 100%);
    border-radius: 2px;
}

.page-drepanocytose .solution-title {
    color: var(--project-primary);
}

/* Stat cards (renforcent l’inline) */
.page-drepanocytose .stat-card {
    border-top: 4px solid var(--project-primary);
    background: linear-gradient(135deg, rgba(44, 95, 141, 0.05) 0%, rgba(255, 255, 255, 1) 100%);
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(44, 95, 141, 0.1);
}

.page-drepanocytose .stat-value {
    color: var(--project-primary);
}

.page-drepanocytose .stat-label {
    color: var(--text-dark);
}

/* Supprimer le liseré bleu ::before sur le tag-item de l'image People */
.page-drepanocytose .tag-item-people::before {
    display: none !important;
}

/* Supprimer les liserés individuels sur les images */
.page-drepanocytose .tag-item-carte,
.page-drepanocytose .tag-item-people {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    display: flex;
    align-items: center;
    position: relative;
}

/* Page 4 : Layout Image à gauche, Prix à droite */
.page-drepanocytose .costs-testimonials-row {
    display: flex;
    align-items: center;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.page-drepanocytose .testimonials-column {
    flex: 1.2;
}

.page-drepanocytose .costs-column {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

/* Section fTT : Comparaison côte à côte */
.page-drepanocytose .ftt-comparison-row {
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: stretch; /* Aligne la hauteur */
    justify-content: center;
    gap: 2rem;
    min-height: 300px;
}

.page-drepanocytose .ftt-comparison-row img {
    height: 100%;
    width: auto;
    object-fit: contain;
}

@media (max-width: 992px) {
    .page-drepanocytose .costs-testimonials-row {
        flex-direction: column;
        gap: 2rem;
    }
    .page-drepanocytose .ftt-comparison-row {
        flex-direction: column;
        gap: 2rem;
    }
    .page-drepanocytose .ftt-comparison-row img:first-child,
    .page-drepanocytose .ftt-comparison-row img:last-child {
        max-width: 100% !important;
    }
}

.page-drepanocytose .tag-item-carte::before,
.page-drepanocytose .tag-item-people::before {
    display: none !important;
}

.page-drepanocytose .tag-item-carte .tag-content,
.page-drepanocytose .tag-item-people .tag-content {
    width: 100%;
    height: 100%;
}

/* Nouveau layout pour carte + people côte à côte */
.page-drepanocytose .carte-people-row {
    display: grid;
    grid-template-columns: 2fr 1fr;
    align-items: stretch;
    gap: 3rem;
    height: 750px;
    margin: 4rem auto !important;
    position: relative;
}

/* Liseré bleu unique au-dessus des deux images */
.page-drepanocytose .carte-people-row::before {
    content: '';
    position: absolute;
    top: -1.5rem;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-blue);
    border-radius: 2px;
}

@media (max-width: 992px) {
    .page-drepanocytose .carte-people-row {
        height: 350px;
        grid-template-columns: 1.5fr 1fr;
    }
}

@media (max-width: 768px) {
    .page-drepanocytose .carte-people-row {
        grid-template-columns: 1fr;
        height: auto;
        gap: 2rem;
    }
}

/* Styles pour les images synchronisées en hauteur */
.page-drepanocytose .carte-image,
.page-drepanocytose .people-image {
    height: 100% !important;
    width: auto !important;
    max-width: 100% !important;
    object-fit: contain !important;
    border: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;
}

.page-drepanocytose .tag-item-carte,
.page-drepanocytose .tag-item-people {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    display: flex;
    align-items: center;
}

.page-drepanocytose .tag-item-carte .tag-content,
.page-drepanocytose .tag-item-people .tag-content {
    width: 100%;
    height: 100%;
}

.page-drepanocytose .tag-item-carte .carte-image {
    object-position: left center;
}

.page-drepanocytose .tag-item-people .people-image {
    object-position: center;
}

/* CTA Section — comme sepsis */
.page-drepanocytose .cta-section {
    background: linear-gradient(135deg, var(--project-primary) 0%, var(--project-primary-dark) 100%);
    color: white;
    text-align: center;
    border-radius: 20px;
    padding: 4rem 3rem;
    margin: 2rem auto;
    max-width: 95%;
    width: 100%;
    box-shadow: 0 8px 30px rgba(44, 95, 141, 0.4);
    position: relative;
    overflow: hidden;
    border: none;
}

.page-drepanocytose .cta-section h2 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: #e8f4f8;
    text-shadow: none;
    font-weight: 800;
    letter-spacing: -1px;
}

.page-drepanocytose .cta-section p {
    font-size: 1.5rem;
    color: #e8f4f8;
    opacity: 1;
    font-weight: 400;
    margin-bottom: 2rem;
}

.page-drepanocytose .cta-btn {
    background: linear-gradient(135deg, var(--project-primary) 0%, var(--project-primary-dark) 100%);
    color: white;
    padding: 1.2rem 3rem;
    border-radius: 20px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(44, 95, 141, 0.3), 0 2px 8px rgba(44, 95, 141, 0.2), inset 0 1px 0 rgba(255,255,255,0.2);
    border: none;
    position: relative;
    overflow: hidden;
}

.page-drepanocytose .cta-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s ease;
}

.page-drepanocytose .cta-btn:hover::before {
    left: 100%;
}

.page-drepanocytose .cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 28px rgba(44, 95, 141, 0.4), 0 4px 12px rgba(44, 95, 141, 0.3), inset 0 1px 0 rgba(255,255,255,0.3);
    background: linear-gradient(135deg, var(--project-primary-dark) 0%, var(--project-primary) 100%);
    color: white;
    text-decoration: none;
}

/* Responsive */
@media (max-width: 992px) {
    .page-drepanocytose .section-title {
        font-size: 2.2rem;
    }
}

@media (max-width: 768px) {
    .page-drepanocytose .cta-section h2 {
        font-size: 2.5rem;
        line-height: 1.3;
    }
    .page-drepanocytose .cta-section p {
        font-size: 1.3rem;
        line-height: 1.6;
    }
    .page-drepanocytose .section-title {
        font-size: 2rem;
        line-height: 1.3;
    }
    .page-drepanocytose .projects-cards-grid[style*="repeat(2, 1fr)"] {
        grid-template-columns: 1fr !important;
    }
    .page-drepanocytose .cta-btn {
        padding: 0.9rem 2rem;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .page-drepanocytose .cta-section h2 {
        font-size: 2rem;
    }
    .page-drepanocytose .cta-section p {
        font-size: 1.1rem;
    }
    .page-drepanocytose .section-title {
        font-size: 1.75rem;
        margin-bottom: 1.5rem;
    }
    .page-drepanocytose .stat-card {
        padding: 1.5rem 1rem;
    }
    .page-drepanocytose .stat-value {
        font-size: 2rem;
    }
    .page-drepanocytose .cta-section {
        padding: 3rem 1rem;
    }
    .page-drepanocytose .cta-btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.95rem;
        width: 100%;
        max-width: 100%;
    }
}
