/* Reset & General Styles */

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Montserrat', sans-serif;
            min-height: 100vh;
        }

        /* Header */
        .header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 20px 50px;
        }

        .logo img{
            width: 70px;
            height: 70px;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .nav {
            display: flex;
            gap: 30px;
        }

        .nav a {
            text-decoration: none;
            color: #333;
            font-weight: 500;
            transition: color 0.3s;
        }

        .nav a:hover {
            color: #EE7800;
        }

        /* Main Section */
        .main-section {
            display: flex;
            align-items: center;
            padding: 80px 50px;
            gap: 50px;
        }

        a {
            text-decoration: none;
            color: inherit;
        }

        .content {
            flex: 1;
        }

        .astria-title {
            margin-bottom: 20px;
        }
        .astria-title img {
            width: 360px;
        }

        .main-title {
            font-size: 3.5rem;
            font-weight: bold;
            color: #333;
            line-height: 1.2;
            margin-bottom: 30px;
        }

        .arrow {
            margin: 0 30px;
        }

        .video-section {
            flex: 1;
            text-align: center;
        }

        .video-section h2 {
            margin-bottom: 50px;
            font-size: 1.8rem;
            color: #333;
            font-weight: bold;
        }

        .video-card {
            background: #EE7800;
            border-radius: 20px;
            padding: 80px 40px 60px 40px;
            position: relative;
            cursor: pointer;
        }

        .video-card:hover {
            transform: translateY(-5px);
        }


        .video-card h3 {
            font-size: 1.3rem;
            color: #ffffff;
            margin-bottom: 20px;
            font-weight: bold;
        }

        .play-button {
            width: 80px;
            height: 80px;
            background: #ffffff;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto;
            cursor: pointer;
            transition: all 0.3s;
        }

        .play-button:hover {
            background: #555;
            transform: scale(1.1);
        }

        .play-button::after {
            content: '';
            width: 0;
            height: 0;
            border-left: 20px solid rgb(238, 120, 0);
            border-top: 12px solid transparent;
            border-bottom: 12px solid transparent;
            margin-left: 4px;
        }

        /* Co-creativity Section */
        .co-creativity {
            text-align: center;
            padding: 100px 50px;
        }

        .co-creativity h2 {
            font-size: 2rem;
            color: #333;
            margin-bottom: 50px;
            font-weight: bold;
        }

        .sphere-container {
            margin: 50px 0;
            display: flex;
            justify-content: center;
        }

        .sphere-iframe {
            width: 100%;
            max-width: 1200px;
            height: 700px;
            border: none;

        }

        .description {
            font-size: 1.1rem;
            color: #666;
            max-width: 600px;
            margin: 0 auto 40px;
            line-height: 1.6;
        }

        .add-word-btn {
            background: white;
            border: 2px solid #ff9800;
            color: #ff9800;
            padding: 15px 40px;
            border-radius: 5px;
            font-size: 1rem;
            cursor: pointer;
            transition: all 0.3s;
            font-weight: 500;
        }

        .add-word-btn:hover {
            background: #ff9800;
            color: white;
            transform: translateY(-2px);
        }

        /* Articles Section */
        .articles-section {
            padding: 80px 50px;
            text-align: center;
        }

        .articles-section h2 {
            font-size: 2rem;
            color: #333;
            margin-bottom: 50px;
            font-weight: bold;
        }

        .article-content {
            padding: 5px;
            text-align: left;
        }

        .article-card {
            max-width: 400px;
            margin: 0 auto 80px; /* ajoute un margin-bottom ici */
            background: white;
            overflow: hidden;
            position: relative;
            text-align: left; 
        }

        .article-card:hover {
            transform: translateY(-5px);
            h3 {
                color: #ff9800;
            }
        }

        .article-tag {
            display: inline-block;
            background: #00bcd4;
            color: white;
            padding: 8px 16px;
            font-size: 0.8rem;
            margin-bottom: 10px;
            border-radius: 20px;
            font-weight: bold;
            z-index: 2;
            position: static;
        }



        .article-image img {
            width: 100%;
            height: 100%;
            object-fit: cover; 
            object-position: center; 
        }


        .article-content h3 {
            font-size: 1.3rem;
            color: #333;
            margin-bottom: 15px;
            font-weight: bold;
            line-height: 1.4;
            transition: color 0.3s;
        }

        .article-content p {
            color: #666;
            line-height: 1.6;
            margin-bottom: 20px;
        }

        .article-card:hover h1 {
           color: #ff9800;
        }


        .see-more-btn {
            margin-top: 50px;
            width: 300px;
            height: 60px;
            background: transparent;
            border: 2px solid #ff9800;
            color: #ff9800;
            font-size: bold ;
            padding: 10px 25px;
            border-radius: 5px;
            cursor: pointer;
            transition: all 0.3s;
            font-weight: 700;
            font-size: 24px;
        }

        .see-more-btn:hover {
            background: #ff9800;
            color: white;
        }

        .footer {
            border-top: #EE7800 3px solid;
            padding: 30px 50px 15px;
            text-align: center;
        }

        .footer-content {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 15px;
            max-width: 1200px;
            margin-left: auto;
            margin-right: auto;
        }

        .footer-logo {
            flex: 0 0 auto;
        }

        .footer-logo img {
            width: 60px;
            height: auto;
        }

        .footer-center {
            flex: 1;
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 40px;
        }

        .footer-links a {
            color: #333;
            text-decoration: none;
            font-size: 0.9rem;
            font-weight: 500;
        }

        .footer-links a:hover {
            color: #EE7800;
        }

        .partner-logos {
            display: flex;
            gap: 15px;
            align-items: center;
        }

        .partner-logo {
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 5px;
        }

        .partner-logo img {
            height: 90px;
            width: auto;
            max-width: 80px;
            object-fit: contain;
        }

        .copyright {
            font-size: 0.85rem;
            color: #666;
            margin-top: 10px;
            padding-top: 15px;
        }

        /* Responsive */
        @media (max-width: 768px) {
            .footer-content {
                flex-direction: column;
                gap: 20px;
            }
            
            .footer-center {
                flex-direction: column;
                gap: 20px;
            }
            
            .partner-logos {
                flex-wrap: wrap;
                justify-content: center;
                gap: 10px;
            }
            
            .partner-logo img {
                height: 30px;
                max-width: 60px;
            }
        }
 /*        Modal for video à décommenter plus tard
        .modal {
            display: none;
            position: fixed;
            z-index: 1000;
            left: 0;
            top: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.9);
        }

        .modal-content {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            width: 80%;
            max-width: 800px;
            aspect-ratio: 16/9;
        }

        .modal-video {
            width: 100%;
            height: 100%;
            border: none;
            border-radius: 10px;
        }

        .close {
            position: absolute;
            top: -50px;
            right: 0;
            color: white;
            font-size: 40px;
            font-weight: bold;
            cursor: pointer;
        }

        .close:hover {
            opacity: 0.7;
        }
        
 */

            /* Modal Styles à désactiver plus tard */
            .modal {
                display: none;
                position: fixed;
                z-index: 1000;
                left: 0;
                top: 0;
                width: 100%;
                height: 100%;
                background-color: rgba(0, 0, 0, 0.8);
            }

            .modal-content {
                background-color: #fefefe;
                margin: 10% auto;
                padding: 40px;
                border-radius: 20px;
                width: 80%;
                max-width: 500px;
                text-align: center;
                position: relative;
                animation: modalAppear 0.3s ease-out;
            }

            @keyframes modalAppear {
                from {
                    opacity: 0;
                    transform: translateY(-50px);
                }
                to {
                    opacity: 1;
                    transform: translateY(0);
                }
            }

            .close {
                color: #aaa;
                float: right;
                font-size: 28px;
                font-weight: bold;
                position: absolute;
                right: 20px;
                top: 15px;
                cursor: pointer;
                transition: color 0.3s;
            }

            .close:hover,
            .close:focus {
                color: #EE7800;
            }

            .construction-icon {
                font-size: 4rem;
                color: #EE7800;
                margin-bottom: 20px;
            }

            .modal-title {
                font-size: 1.8rem;
                color: #333;
                margin-bottom: 15px;
                font-weight: bold;
            }

            .modal-text {
                color: #666;
                line-height: 1.6;
                margin-bottom: 30px;
            }

            .modal-btn {
                background: #EE7800;
                color: white;
                padding: 12px 30px;
                border: none;
                border-radius: 25px;
                font-weight: bold;
                cursor: pointer;
                transition: background 0.3s;
            }

            .modal-btn:hover {
                background: #d66a00;
            }

        


/*
Article Styles
*/
/* Articles Section */
.articles-section {
    padding: 80px 50px;
    text-align: center;
}

.articles-header {
    margin-bottom: 50px;
}

.articles-header h1 {
    font-size: 2rem;
    color: #333;
    margin-bottom: 30px;
    font-weight: bold;
}

.filter-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 50px;
}

.filter-btn {
    background: transparent;
    border: 2px solid;
    padding: 12px 24px;
    border-radius: 25px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 600;
}

.filter-btn.expert {
    border-color: #ff9800;
    color: #ff9800;
}

.filter-btn.expert:hover {
    background: #ff9800;
    color: white;
}

.filter-btn.non-expert {
    border-color: #00bcd4;
    color: #00bcd4;
}

.filter-btn.non-expert:hover {
    background: #00bcd4;
    color: white;
}

/* Articles Grid */
.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto 50px;
}

@media (max-width: 768px) {
    .header {
        flex-direction: column;
        gap: 20px;
        padding: 20px 30px;
    }
    
    .logo {
        order: 1; /* Logo en premier (en haut) */
    }
    
    .nav {
        order: 2; /* Navigation en deuxième (en bas) */
        justify-content: center;
        gap: 20px;
        width: 100%;
    }

    .main-section {
        flex-direction: column;
        padding: 40px 30px;
        gap: 40px;
    }

    .astria-title img {
        width: 280px;
    }

    .main-title {
        font-size: 2.5rem;
    }

    .arrow {
        margin: 0 15px;
    }

    .video-section h2 {
        font-size: 1.5rem;
        margin-bottom: 30px;
    }

    .video-card {
        padding: 60px 30px 40px 30px;
    }
}

/* RESPONSIVE - Très petit écran */
@media (max-width: 480px) {
    .header {
        padding: 15px 20px;
    }

    .nav {
        gap: 15px;
    }

    .nav a {
        font-size: 0.9rem;
    }

    .main-section {
        padding: 30px 20px;
    }

    .astria-title img {
        width: 240px;
    }

    .main-title {
        font-size: 2rem;
    }

    .arrow {
        margin: 0 10px;
    }

    .video-card {
        padding: 40px 20px 30px 20px;
    }

    .play-button {
        width: 60px;
        height: 60px;
    }

    .play-button::after {
        border-left: 15px solid rgb(238, 120, 0);
        border-top: 9px solid transparent;
        border-bottom: 9px solid transparent;
    }
}
