/**
 * ===============================================
 * Onglets pour sections avec contenu détaillé
 * ===============================================
 */

.tabs-container {
    margin: 40px 0;
}

.tabs-navigation {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
    flex-wrap: wrap;
    justify-content: center;
}

.tab-button {
    background: linear-gradient(135deg, rgba(139, 122, 184, 0.2), rgba(185, 157, 213, 0.2));
    border: 2px solid rgba(139, 122, 184, 0.4);
    color: var(--text-primary);
    padding: 15px 30px;
    border-radius: 12px;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    min-width: 200px;
    text-align: center;
}

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

.tab-button:hover {
    transform: translateY(-2px);
    border-color: var(--primary-color);
    box-shadow: 0 8px 25px rgba(139, 122, 184, 0.3);
}

.tab-button:hover::before {
    left: 100%;
}

.tab-button.active {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-color: var(--primary-color);
    color: white;
    box-shadow: 0 10px 30px rgba(139, 122, 184, 0.4);
}

.tab-button i {
    margin-right: 8px;
    font-size: 1.2rem;
}

.tab-content {
    display: none;
    opacity: 0;
    animation: fadeIn 0.5s ease forwards;
}

.tab-content.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.tab-content-inner {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(139, 122, 184, 0.2);
    border-radius: 15px;
    padding: 40px;
    line-height: 1.8;
}

.tab-content-inner h3 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.tab-content-inner h3 i {
    font-size: 1.5rem;
}

.tab-content-inner h4 {
    color: var(--accent-color);
    font-size: 1.4rem;
    margin: 30px 0 15px;
}

.tab-content-inner p {
    margin-bottom: 20px;
    color: var(--text-secondary);
    font-size: 1.05rem;
}

.tab-content-inner ul {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.tab-content-inner ul li {
    padding: 15px 0;
    padding-left: 30px;
    position: relative;
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.7;
}

.tab-content-inner ul li::before {
    content: '✦';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-size: 1.2rem;
}

.highlight-box {
    background: linear-gradient(135deg, rgba(139, 122, 184, 0.15), rgba(185, 157, 213, 0.15));
    border-left: 4px solid var(--primary-color);
    padding: 20px 25px;
    margin: 25px 0;
    border-radius: 8px;
}

.highlight-box p {
    margin: 0;
    font-style: italic;
    color: var(--text-primary);
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.info-card {
    background: rgba(139, 122, 184, 0.1);
    border: 1px solid rgba(139, 122, 184, 0.3);
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    transition: all 0.3s ease;
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(139, 122, 184, 0.3);
    border-color: var(--primary-color);
}

.info-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    display: block;
}

.info-card h5 {
    color: var(--text-primary);
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.info-card p {
    color: var(--text-secondary);
    font-size: 1rem;
    margin: 0;
}

/* Mode sombre */
body.dark-theme .tab-content-inner {
    background: rgba(0, 0, 0, 0.3);
}

body.dark-theme .tab-button {
    background: linear-gradient(135deg, rgba(139, 122, 184, 0.15), rgba(185, 157, 213, 0.15));
}

body.dark-theme .info-card {
    background: rgba(139, 122, 184, 0.08);
}

/* Responsive */
@media (max-width: 768px) {
    .tab-button {
        min-width: 150px;
        padding: 12px 20px;
        font-size: 1rem;
    }
    
    .tab-content-inner {
        padding: 25px 20px;
    }
    
    .tab-content-inner h3 {
        font-size: 1.5rem;
    }
    
    .tab-content-inner h4 {
        font-size: 1.2rem;
    }
    
    .info-grid {
        grid-template-columns: 1fr;
    }
}

