/* ==============================================
   WEBINARS - Styles spécifiques
   ============================================== */

/* Webinar Hero */
.webinar-hero {
    padding: 140px 0 80px;
    background: linear-gradient(135deg, var(--color-navy) 0%, #1a3a5c 100%);
    color: white;
}

.webinar-hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.webinar-badge {
    display: inline-block;
    background: var(--color-coral);
    color: white;
    padding: 6px 16px;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 20px;
}

.webinar-hero h1 {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    line-height: 1.2;
    margin-bottom: 24px;
    color: white;
}

.webinar-meta {
    display: flex;
    gap: 24px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.webinar-meta span {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
    opacity: 0.9;
}

.webinar-meta svg {
    opacity: 0.7;
}

.webinar-intro {
    font-size: 1.1rem;
    line-height: 1.7;
    opacity: 0.9;
    margin-bottom: 32px;
}

.webinar-hero-image {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0,0,0,0.4);
}

.webinar-hero-image img {
    width: 100%;
    display: block;
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: var(--color-coral);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.play-button:hover {
    transform: translate(-50%, -50%) scale(1.1);
    box-shadow: 0 15px 40px rgba(0,0,0,0.4);
}

.play-button svg {
    margin-left: 5px;
}

/* Hero avec Replay intégré */
.webinar-hero-replay {
    padding: 140px 0 60px;
}

.webinar-hero-replay .webinar-hero-content {
    grid-template-columns: 1fr 1.4fr;
    gap: 50px;
}

.webinar-hero-replay .webinar-hero-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.webinar-hero-replay .webinar-intro {
    margin-bottom: 0;
}

.webinar-hero-video {
    width: 100%;
}

.webinar-hero-video .video-container {
    max-width: 100%;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0,0,0,0.4);
}

@media (max-width: 1024px) {
    .webinar-hero-replay .webinar-hero-content {
        gap: 40px;
    }

    .webinar-hero-replay .webinar-hero-text {
        text-align: center;
    }
}

/* Programme Section */
.webinar-program {
    padding: 80px 0;
    background: white;
}

.program-content {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 60px;
}

.program-main h2 {
    font-size: 1.8rem;
    margin-bottom: 32px;
    color: var(--color-navy);
}

.program-list {
    list-style: none;
    padding: 0;
    margin: 0 0 40px 0;
}

.program-list li {
    position: relative;
    padding: 20px 20px 20px 60px;
    background: var(--color-bg-alt);
    border-radius: var(--radius-md);
    margin-bottom: 16px;
    font-size: 1.05rem;
    line-height: 1.6;
    transition: transform 0.2s, box-shadow 0.2s;
}

.program-list li:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow-sm);
}

.program-list li::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    background: var(--color-green);
    border-radius: 50%;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23001f3f' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
}

.program-main p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--color-text);
    margin-bottom: 20px;
}

/* Sidebar */
.program-sidebar {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.speaker-card,
.share-card {
    background: var(--color-bg-alt);
    border-radius: var(--radius-md);
    padding: 24px;
    border: 1px solid var(--color-border);
}

.speaker-card h3,
.share-card h3 {
    font-size: 1rem;
    margin-bottom: 16px;
    color: var(--color-navy);
}

.speaker-info {
    display: flex;
    gap: 16px;
    align-items: center;
}

.speaker-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--color-green);
}

.speaker-info strong {
    display: block;
    color: var(--color-navy);
    margin-bottom: 4px;
}

.speaker-info p {
    font-size: 0.9rem;
    color: var(--color-text-light);
    margin: 0;
}

.share-buttons {
    display: flex;
    gap: 12px;
}

.share-btn {
    flex: 1;
    padding: 10px 16px;
    border-radius: var(--radius-sm);
    text-align: center;
    font-size: 0.85rem;
    font-weight: 500;
    text-decoration: none;
    transition: opacity 0.2s;
}

.share-btn:hover {
    opacity: 0.9;
}

.share-btn.linkedin {
    background: #0077B5;
    color: white;
}

.share-btn.twitter {
    background: #1DA1F2;
    color: white;
}

/* Replay Section */
.webinar-replay {
    padding: 80px 0;
    background: var(--color-bg-alt);
}

.webinar-replay h2 {
    text-align: center;
    font-size: 1.8rem;
    margin-bottom: 40px;
    color: var(--color-navy);
}

.video-container {
    max-width: 900px;
    margin: 0 auto;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    background: #000;
}

.video-container iframe {
    width: 100%;
    aspect-ratio: 16/9;
    display: block;
    border: none;
}

.video-placeholder {
    aspect-ratio: 16/9;
    background: linear-gradient(135deg, var(--color-navy), #1a3a5c);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    padding: 40px;
}

.video-placeholder svg {
    margin-bottom: 20px;
    opacity: 0.7;
}

.video-placeholder p {
    font-size: 1.1rem;
    opacity: 0.8;
}

/* CTA Section */
.webinar-cta {
    padding: 80px 0;
    background: white;
}

.webinar-cta .cta-box {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
    background: linear-gradient(135deg, var(--color-green-light), #e8f5e9);
    padding: 60px;
    border-radius: var(--radius-lg);
    border: 2px solid var(--color-green);
}

.webinar-cta .cta-box h2 {
    margin-bottom: 16px;
}

.webinar-cta .cta-box p {
    color: var(--color-text-light);
    margin-bottom: 24px;
    font-size: 1.1rem;
}

/* Related Webinars */
.related-webinars {
    padding: 80px 0;
    background: var(--color-bg-alt);
}

.related-webinars h2 {
    text-align: center;
    margin-bottom: 40px;
}

.webinars-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.webinar-card {
    background: white;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s, box-shadow 0.3s;
    text-decoration: none;
    color: inherit;
}

.webinar-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.webinar-card img {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
}

.webinar-card-content {
    padding: 20px;
}

.webinar-card-category {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--color-coral);
    margin-bottom: 8px;
}

.webinar-card h3 {
    font-size: 1rem;
    line-height: 1.4;
    color: var(--color-navy);
    margin-bottom: 8px;
}

.webinar-card-meta {
    font-size: 0.85rem;
    color: var(--color-text-light);
}

/* Responsive */
@media (max-width: 1024px) {
    .webinar-hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .webinar-hero-text {
        text-align: center;
    }

    .webinar-meta {
        justify-content: center;
    }

    .program-content {
        grid-template-columns: 1fr;
    }

    .program-sidebar {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .speaker-card,
    .share-card {
        flex: 1;
        min-width: 250px;
    }

    .webinars-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .webinar-hero {
        padding: 120px 0 60px;
    }

    .webinar-hero h1 {
        font-size: 1.6rem;
    }

    .webinar-meta {
        flex-direction: column;
        gap: 12px;
        align-items: center;
    }

    .play-button {
        width: 60px;
        height: 60px;
    }

    .play-button svg {
        width: 40px;
        height: 40px;
    }

    .program-sidebar {
        flex-direction: column;
    }

    .webinars-grid {
        grid-template-columns: 1fr;
    }

    .webinar-cta .cta-box {
        padding: 40px 24px;
    }
}
