/* =========================================================
   ÉVÉNEMENTIEL PAGE — STYLES SPÉCIFIQUES
   ========================================================= */

/* Split Section: Problème / Solution */
.event-split-section {
    width: 100%;
    margin-top: -100px;
}

.event-split-header {
    text-align: center;
    margin-bottom: 100px;
    padding-top: 100px;
}

.event-split-header h2 {
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}


/* Problems Row - Horizontal Display */
.event-problems-row {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 24px;
    justify-items: center;
    align-items: center;
    margin-bottom: 100px;
}

/* Animation for Problem Cards Active State */
@keyframes problem-card-active {
    0% {
        background-color: rgba(255, 107, 107, 0.15);
        color: #FF6B6B;
    }
    29% {
        background-color: rgba(255, 107, 107, 0.15);
        color: #FF6B6B;
    }
    35% {
        background-color: rgba(255, 255, 255, 0.90);
        color: var(--text-primary);
    }
    100% {
        background-color: rgba(255, 255, 255, 0.90);
        color: var(--text-primary);
    }
}

/* Problem Cards (left side) */
.event-split-card--problem {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 16px;
    border-radius: 12px;
    background-color: rgba(255, 255, 255, 0.90);
    font-size: 15px;
    font-weight: 500;
    color: var(--text-primary);
    transition: all 0.3s ease;
    flex: 0 1 auto;
    white-space: normal;
    min-width: fit-content;
    max-width: 350px;
    animation: problem-card-active 9s infinite;
}

.event-split-card--problem:nth-child(1) {
    animation-delay: 0s;
}

.event-split-card--problem:nth-child(2) {
    animation-delay: 2.7s;
}

.event-split-card--problem:nth-child(3) {
    animation-delay: 5.4s;
}

.event-split-problem-icon {
    flex-shrink: 0;
    font-size: 24px;
    color: #FF6B6B;
    min-width: 24px;
}

/* Solution Title */
.event-solution-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 32px 0;
    text-align: center;
    line-height: 1.4;
}

/* Event Industry Tags */
.event-industry-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    margin-bottom: 70px;
}

.event-industry-tag {
    display: inline-block;
    font-size: 12px;
    font-weight: 500;
    color: var(--text-muted);
    background: var(--bg-soft);
    border: 1px solid #e0e0e0;
    padding: 6px 12px;
    border-radius: 6px;
    white-space: nowrap;
    transition: all 0.2s ease;
}

.event-industry-tag:hover {
    border-color: #2563eb;
    color: #2563eb;
    background: rgba(37, 99, 235, 0.05);
}

/* Cards Stack - Mixed Grid */
.event-split-cards-stack {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
    gap: 12px;
    margin-bottom: 16px;
    max-height: 110px;
    overflow: hidden;
    transition: max-height 0.6s ease;
}

.event-split-cards-stack.expanded {
    max-height: 540px;
}

.event-benefit-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 10px;
    border-radius: 10px;
    background-color: rgba(255, 255, 255, 0.92);
    text-align: center;
    transition: all 0.3s ease;
    min-height: 110px;
}

.event-benefit-card:nth-child(n+10) {
    opacity: 0;
    animation: fadeIn 0.4s ease 0.2s forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

/* Show More Button */
.event-show-more-container {
    display: flex;
    justify-content: center;
    margin-bottom: 8px;
}

.event-show-more-btn {
    padding: 10px 24px;
    font-size: 14px;
    font-weight: 500;
    margin-top: 40px;
    color: var(--text-primary);
    background-color: rgba(255, 255, 255, 0.92);
    border: 1px solid var(--border-light);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.event-show-more-btn:hover {
    background-color: rgba(255, 255, 255, 1);
    border-color: var(--border-medium);
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.event-show-more-btn.hidden {
    display: none;
}

/* Individual Benefit Cards */
.event-benefit-card:hover {
    background-color: rgba(255, 255, 255, 1);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.event-split-lever-icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    font-size: 24px;
    color: var(--brand-black);
    display: flex;
    align-items: center;
    justify-content: center;
}

.event-benefit-card[data-platform="netflix"] .event-split-lever-icon,
.event-benefit-card[data-platform="twitch"] .event-split-lever-icon,
.event-benefit-card[data-platform="prime-video"] .event-split-lever-icon {
    border-radius: 6px;
}

.event-benefit-card span {
    font-size: 11px;
    font-weight: 500;
    color: var(--text-primary);
    line-height: 1.3;
}

/* Responsive Design */
@media (max-width: 768px) {
    .event-problems-row {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .event-split-cards-stack {
        grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
        gap: 10px;
    }

    .event-split-header {
        margin-bottom: 60px;
        padding-top: 60px;
    }

    .event-split-header h2 {
        font-size: 28px;
    }

    .event-solution-title {
        font-size: 18px;
        margin-bottom: 24px;
    }

    .event-industry-tags {
        margin-bottom: 50px;
        gap: 6px;
    }

    .event-industry-tag {
        font-size: 11px;
        padding: 5px 10px;
    }
}

@media (max-width: 480px) {
    .event-split-cards-stack {
        grid-template-columns: repeat(auto-fill, minmax(85px, 1fr));
        gap: 8px;
    }

    .event-benefit-card {
        min-height: 95px;
        padding: 10px 8px;
    }

    .event-benefit-card span {
        font-size: 10px;
    }

    .event-industry-tags {
        margin-bottom: 40px;
    }

    .event-split-problem-icon {
        font-size: 28px;
        margin-bottom: 6px;
    }

    .event-split-card--problem {
        font-size: 13px;
        min-height: 90px;
    }
}

/* Ready section (alignée sur le rendu musique demandé) */
.ready-section-bleu {
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    text-align: center;
}

.ready-section-bleu .ready-title {
    color: white;
    margin-bottom: 32px;
}

.ready-section-bleu .cta-white-big {
    text-align: center;
}
