/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Empêcher le scroll horizontal */
html, body {
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
}

/* Body */
body {
    background: linear-gradient(135deg, #1a1a1a 0%, #1a2235 50%, #1a1a1a 100%);
    .container {
        padding-top: 120px;
        padding-left: 20px;
        padding-right: 20px;
        min-height: 100vh;
        width: 100%;
        max-width: 100vw;
        box-sizing: border-box;

        .title {
            font-size: 4em;
            font-weight: bold;
            color: #256dea;
            text-align: center;
            letter-spacing: 5px;
            text-shadow: 0 0 8px rgba(37, 109, 234, 0.6), 0 0 16px rgba(37, 109, 234, 0.4);
        }

        .title-rose {
            font-size: 4em;
            font-weight: bold;
            color: #ea25e0;
            text-align: center;
            letter-spacing: 5px;
            margin-bottom: 10px;
            text-shadow: 0 0 8px rgba(234, 37, 224, 0.6), 0 0 16px rgba(234, 37, 224, 0.4);
        }

        .title-rouge {
            font-size: 4em;
            font-weight: bold;
            color: #f10404;
            text-align: center;
            letter-spacing: 5px;
            margin-bottom: 10px;
            text-shadow: 0 0 8px rgba(241, 4, 4, 0.6), 0 0 16px rgba(241, 4, 4, 0.4);
        }

        .subtitle {
            font-size: 2em;
            font-weight: bold;
            color: #256dea;
            text-align: center;
            margin-bottom: 60px;
            letter-spacing: 5px;
            text-shadow: 0 0 6px rgba(37, 109, 234, 0.5), 0 0 12px rgba(37, 109, 234, 0.3);
        }

        .subtitle-rose {
            font-size: 2em;
            font-weight: bold;
            color: #ea25e0;
            text-align: center;
            margin-bottom: 60px;
            letter-spacing: 5px;
            text-shadow: 0 0 6px rgba(234, 37, 224, 0.5), 0 0 12px rgba(234, 37, 224, 0.3);
        }

        .subtitle-rouge {
            font-size: 2em;
            font-weight: bold;
            color: #f10404;
            text-align: center;
            margin-bottom: 60px;
            letter-spacing: 5px;
            text-shadow: 0 0 6px rgba(241, 4, 4, 0.5), 0 0 12px rgba(241, 4, 4, 0.3);
        }

        .content-wrapper {
            display: flex;
            gap: 80px;
            align-items: flex-start;
            justify-content: center;
            max-width: 1400px;
            margin: 0 auto;
            flex-direction: row-reverse;
            max-width: 100%;
            width: 100%;
            box-sizing: border-box;

            .characters-grid {
                display: grid;
                grid-template-columns: repeat(2, 1fr);
                gap: 40px;
                flex: 1;
                justify-items: center;

                .character-card {
                    position: relative;
                    cursor: pointer;
                    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
                    transform-origin: center;

                    &:hover {
                        transform: scale(1.05) rotate(-1deg);
                        filter: brightness(1.2);
                        z-index: 10;

                        .character-image {
                            box-shadow: 0 20px 50px rgba(53, 77, 255, 0.821);
                        }

                        .character-image-rose {
                            box-shadow: 0 20px 50px rgba(251, 7, 255, 0.821);
                        }

                        .character-image-rouge {
                            box-shadow: 0 20px 50px rgba(255, 7, 7, 0.821);
                        }
                    }

                    &:nth-child(even):hover {
                        transform: scale(1.05) rotate(1deg);
                    }

                    .character-image {
                        width: 250px;
                        height: 320px;
                        background: linear-gradient(45deg, #333, #555);
                        border: 4px solid #256dea;
                        border-radius: 10px;
                        position: relative;
                        overflow: hidden;
                        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
                        transition: box-shadow 0.3s;

                        img {
                            width: 100%;
                            height: 100%;
                            object-fit: cover;
                            object-position: center;
                        }
                    }

                    .character-image-rose {
                        width: 250px;
                        height: 320px;
                        background: linear-gradient(45deg, #333, #555);
                        border: 4px solid #ea25e0;
                        border-radius: 10px;
                        position: relative;
                        overflow: hidden;
                        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
                        transition: box-shadow 0.3s;

                        img {
                            width: 100%;
                            height: 100%;
                            object-fit: cover;
                            object-position: center;
                        }
                    }

                    .character-image-rouge {
                        width: 250px;
                        height: 320px;
                        background: linear-gradient(45deg, #333, #555);
                        border: 4px solid #f10404;
                        border-radius: 10px;
                        position: relative;
                        overflow: hidden;
                        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
                        transition: box-shadow 0.3s;

                        img {
                            width: 100%;
                            height: 100%;
                            object-fit: cover;
                            object-position: center;
                        }
                    }

                    .character-name {
                        text-align: center;
                        margin-top: 20px;
                        font-size: 1.2em;
                        font-weight: bold;
                        letter-spacing: 2px;
                    }
                }

                .third-character {
                    grid-column: 1 / 3;
                    justify-self: center;
                    margin-top: 20px;
                }
            }

            .description {
                flex: 1;
                max-width: 500px;
                background: rgba(255, 255, 255, 0.05);
                padding: 40px;
                border-radius: 15px;
                backdrop-filter: blur(10px);
                border: 1px solid rgba(255, 255, 255, 0.1);

                p {
                    line-height: 1.8;
                    margin-bottom: 20px;
                    font-size: 1.1em;
                }

                .highlight {
                    color: #256dea;
                    font-weight: bold;
                }

                .highlight-rose {
                    color: #ea25e0;
                    font-weight: bold;
                }

                .highlight-rouge {
                    color: #f10404;
                    font-weight: bold;
                }
            }
        }
    }

    /* Section Verte */
        .container-green {
            padding-top: 120px;
            padding-left: 20px;
            padding-right: 20px;
            min-height: 100vh;
            width: 100%;
            max-width: 100vw;
            box-sizing: border-box;

            .title-green {
                font-size: 4em;
                font-weight: bold;
                color: #4ade80;
                text-align: center;
                letter-spacing: 5px;
                text-shadow: 0 0 8px rgba(74, 222, 128, 0.6), 0 0 16px rgba(74, 222, 128, 0.4);
            }

            .title-orange {
                font-size: 4em;
                font-weight: bold;
                color: #ff6b35;
                text-align: center;
                letter-spacing: 5px;
                text-shadow: 0 0 8px rgba(255, 107, 53, 0.6), 0 0 16px rgba(255, 107, 53, 0.4);
            }

            .subtitle-green {
                font-size: 2em;
                font-weight: bold;
                color: #4ade80;
                text-align: center;
                margin-bottom: 60px;
                letter-spacing: 5px;
                text-shadow: 0 0 6px rgba(74, 222, 128, 0.5), 0 0 12px rgba(74, 222, 128, 0.3);
            }

            .subtitle-orange {
                font-size: 2em;
                font-weight: bold;
                color: #ff6b35;
                text-align: center;
                margin-bottom: 60px;
                letter-spacing: 5px;
                text-shadow: 0 0 6px rgba(255, 107, 53, 0.5), 0 0 12px rgba(255, 107, 53, 0.3);
            }

            .content-wrapper-green {
                display: flex;
                gap: 80px;
                align-items: flex-start;
                justify-content: center;
                max-width: 1400px;  
                margin: 0 auto;
                flex-direction: row; 
                max-width: 100%;
                width: 100%;
                box-sizing: border-box;
                
            /* Normal (non inversé) */

                .characters-grid-green {
                    display: grid;
                    grid-template-columns: repeat(2, 1fr);
                    gap: 40px;
                    flex: 1;
                    justify-items: center;

                    .character-card-green {
                        position: relative;
                        cursor: pointer;
                        transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
                        transform-origin: center;

                        &:hover {
                            transform: scale(1.05) rotate(-1deg);
                            filter: brightness(1.2);
                            z-index: 10;

                            .character-image-green {
                                box-shadow: 0 20px 50px rgba(74, 222, 128, 0.3);
                            }

                            .character-image-orange {
                                box-shadow: 0 20px 50px rgba(255, 84, 4, 0.65);
                            }

                        }

                        &:nth-child(even):hover {
                            transform: scale(1.05) rotate(1deg);
                        }

                        .character-image-orange {
                            width: 250px;
                            height: 320px;
                            background: linear-gradient(45deg, #2d7a5f, #4ade80);
                            border: 4px solid #ff6b35;
                            border-radius: 10px;
                            position: relative;
                            overflow: hidden;
                            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
                            transition: box-shadow 0.3s;

                            img {
                                width: 100%;
                                height: 100%;
                                object-fit: cover;
                                object-position: center;
                            }
                        }

                        .character-image-green {
                            width: 250px;
                            height: 320px;
                            background: linear-gradient(45deg, #2d7a5f, #4ade80);
                            border: 4px solid #4ade80;
                            border-radius: 10px;
                            position: relative;
                            overflow: hidden;
                            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
                            transition: box-shadow 0.3s;

                            img {
                                width: 100%;
                                height: 100%;
                                object-fit: cover;
                                object-position: center;
                            }
                        }

                        .character-name-green {
                            text-align: center;
                            margin-top: 20px;
                            font-size: 1.2em;
                            font-weight: bold;
                            letter-spacing: 2px;
                            color: #4ade80;
                        }

                        .character-name-orange {
                            text-align: center;
                            margin-top: 20px;
                            font-size: 1.2em;
                            font-weight: bold;
                            letter-spacing: 2px;
                            color: #ff6b35;
                        }
                    }

                    .third-character-green {
                        grid-column: 1 / 3;
                        justify-self: center;
                        margin-top: 20px;
                    }
                }

                .description-green {
                    flex: 1;
                    max-width: 500px;
                    background: rgba(255, 255, 255, 0.05);
                    padding: 40px;
                    border-radius: 15px;
                    backdrop-filter: blur(10px);
                    border: 1px solid rgba(74, 222, 128, 0.1);
                    color: white;

                    p {
                        line-height: 1.8;
                        margin-bottom: 20px;
                        font-size: 1.1em;
                    }

                    .highlight-green {
                        color: #4ade80;
                        font-weight: bold;
                    }

                    .highlight-orange {
                        color: #ff6b35;
                        font-weight: bold;
                    }
        }
    }
}

    /* Éléments cachés */
    .height-lines,
    .height-markers,
    .mugshot-photo,
    .document {
        display: none;
    }

    /* Modals */
    .modal {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.9);
        backdrop-filter: blur(10px);
        z-index: 1000;
        justify-content: center;
        align-items: center;
        animation: fadeIn 0.3s ease-out;

        &.active {
            display: flex;
        }

        .modal-content {
            background: #2a2a2a;
            border-radius: 20px;
            padding: 50px;
            max-width: 500px;
            width: 90%;
            text-align: center;
            position: relative;
            box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
            animation: slideIn 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);

            .close-btn {
                position: absolute;
                top: 20px;
                right: 30px;
                font-size: 2em;
                color: #999;
                cursor: pointer;
                transition: color 0.3s;

                &:hover {
                    color: #256dea;
                }
            }

            .close-btn-rose {
                position: absolute;
                top: 20px;
                right: 30px;
                font-size: 2em;
                color: #999;
                cursor: pointer;
                transition: color 0.3s;

                &:hover {
                    color: #ea25e0;
                }
            }

            .close-btn-rouge {
                position: absolute;
                top: 20px;
                right: 30px;
                font-size: 2em;
                color: #999;
                cursor: pointer;
                transition: color 0.3s;

                &:hover {
                    color: #f10404;
                }
            }

            .character-image {
                width: 250px;
                height: 320px;
                margin: 0 auto 30px;
                background: linear-gradient(45deg, #333, #555);
                border: 4px solid #256dea;
                border-radius: 10px;
                position: relative;
                overflow: hidden;
                box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);

                img {
                    width: 100%;
                    height: 100%;
                    object-fit: cover;
                    object-position: center;
                }
            }

            .character-image-rose {
                width: 250px;
                height: 320px;
                margin: 0 auto 30px;
                background: linear-gradient(45deg, #333, #555);
                border: 4px solid #ea25e0;
                border-radius: 10px;
                position: relative;
                overflow: hidden;
                box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);

                img {
                    width: 100%;
                    height: 100%;
                    object-fit: cover;
                    object-position: center;
                }
            }

            .character-image-rouge {
                width: 250px;
                height: 320px;
                margin: 0 auto 30px;
                background: linear-gradient(45deg, #333, #555);
                border: 4px solid #f10404;
                border-radius: 10px;
                position: relative;
                overflow: hidden;
                box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);

                img {
                    width: 100%;
                    height: 100%;
                    object-fit: cover;
                    object-position: center;
                }
            }

            .modal-name {
                font-size: 2em;
                font-weight: bold;
                margin-bottom: 30px;
                color: white;
                letter-spacing: 3px;
            }

            .skills-list {
                text-align: left;
                margin-bottom: 30px;
                list-style: none;

                li {
                    margin: 10px 0;
                    padding-left: 20px;
                    position: relative;
                    font-size: 1.1em;

                    &:before {
                        content: "▶";
                        position: absolute;
                        left: 0;
                        color: #256dea;
                    }
                }
            }

            .skills-list-rose {
                text-align: left;
                margin-bottom: 30px;
                list-style: none;

                li {
                    margin: 10px 0;
                    padding-left: 20px;
                    position: relative;
                    font-size: 1.1em;

                    &:before {
                        content: "▶";
                        position: absolute;
                        left: 0;
                        color: #ea25e0;
                    }
                }
            }

            .skills-list-rouge {
                text-align: left;
                margin-bottom: 30px;
                list-style: none;

                li {
                    margin: 10px 0;
                    padding-left: 20px;
                    position: relative;
                    font-size: 1.1em;

                    &:before {
                        content: "▶";
                        position: absolute;
                        left: 0;
                        color: #f10404;
                    }
                }
            }

            .linkedin-btn {
                background: linear-gradient(45deg, #256dea, #005eff);
                border: none;
                padding: 15px 30px;
                border-radius: 25px;
                color: white;
                font-weight: bold;
                font-size: 1.1em;
                cursor: pointer;
                transition: all 0.3s;
                text-transform: uppercase;
                letter-spacing: 1px;
                text-decoration: none;

                &:hover {
                    transform: translateY(-2px);
                    box-shadow: 0 10px 25px rgba(23, 19, 249, 0.976);
                }
            }

            .linkedin-btn-rose {
                background: linear-gradient(45deg, #ea25e0, #c40bbb);
                border: none;
                padding: 15px 30px;
                border-radius: 25px;
                color: white;
                font-weight: bold;
                font-size: 1.1em;
                cursor: pointer;
                transition: all 0.3s;
                text-transform: uppercase;
                letter-spacing: 1px;
                text-decoration: none;

                &:hover {
                    transform: translateY(-2px);
                    box-shadow: 0 10px 25px rgb(217, 1, 255);
                }
            }

            .linkedin-btn-rouge {
                background: linear-gradient(45deg, #ff0000, #bb1717);
                border: none;
                padding: 15px 30px;
                border-radius: 25px;
                color: white;
                font-weight: bold;
                font-size: 1.1em;
                cursor: pointer;
                transition: all 0.3s;
                text-transform: uppercase;
                letter-spacing: 1px;
                text-decoration: none;

                &:hover {
                    transform: translateY(-2px);
                    box-shadow: 0 10px 25px rgb(230, 9, 9);
                }
            }
        }
    }
}

/* Modales Section Verte */
.modal-green {
    .modal-content-green {
        background: #1a4d3a;
        padding: 50px;
        max-width: 500px;
        width: 90%;
        text-align: center;
        position: relative;
        box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
        animation: slideIn 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);

        .close-btn-green {
            position: absolute;
            top: 20px;
            right: 30px;
            font-size: 2em;
            color: #999;
            cursor: pointer;
            transition: color 0.3s;

            &:hover {
                color: #4ade80;
            }
        }

        .close-btn-orange {
            position: absolute;
            top: 20px;
            right: 30px;
            font-size: 2em;
            color: #999;
            cursor: pointer;
            transition: color 0.3s;

            &:hover {
                color: #ff6b35;
            }
        }

        .character-image-green {
            width: 250px;
            height: 320px;
            margin: 0 auto 30px;
            background: linear-gradient(45deg, #2d7a5f, #4ade80);
            border: 4px solid #4ade80;
            border-radius: 10px;
            position: relative;
            overflow: hidden;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);

            img {
                width: 100%;
                height: 100%;
                object-fit: cover;
                object-position: center;
            }
        }

        .character-image-orange {
            width: 250px;
            height: 320px;
            margin: 0 auto 30px;
            background: linear-gradient(45deg, #2d7a5f, #4ade80);
            border: 4px solid #ff6b35;
            border-radius: 10px;
            position: relative;
            overflow: hidden;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);

            img {
                width: 100%;
                height: 100%;
                object-fit: cover;
                object-position: center;
            }
        }

        .modal-name-green {
            font-size: 2em;
            font-weight: bold;
            margin-bottom: 30px;
            color: #4ade80;
            letter-spacing: 3px;
        }

        .modal-name-orange {
            font-size: 2em;
            font-weight: bold;
            margin-bottom: 30px;
            color: #ff6b35;
            letter-spacing: 3px;
        }

        .skills-list-green {
            text-align: left;
            margin-bottom: 30px;
            list-style: none;
            color: white;

            li {
                margin: 10px 0;
                padding-left: 20px;
                position: relative;
                font-size: 1.1em;

                &:before {
                    content: "▶";
                    position: absolute;
                    left: 0;
                    color: #4ade80;
                }
            }
        }

        .skills-list-orange {
            text-align: left;
            margin-bottom: 30px;
            list-style: none;
            color: white;

            li {
                margin: 10px 0;
                padding-left: 20px;
                position: relative;
                font-size: 1.1em;

                &:before {
                    content: "▶";
                    position: absolute;
                    left: 0;
                    color: #ff6b35;
                }
            }
        }

        .linkedin-btn-green {
            background: linear-gradient(45deg, #4ade80, #22c55e);
            border: none;
            padding: 15px 30px;
            border-radius: 25px;
            color: white;
            font-weight: bold;
            font-size: 1.1em;
            cursor: pointer;
            transition: all 0.3s;
            text-transform: uppercase;
            letter-spacing: 1px;
            text-decoration: none;

            &:hover {
                transform: translateY(-2px);
                box-shadow: 0 10px 25px rgba(74, 222, 128, 0.4);
            }
        }

        .linkedin-btn-orange {
            background: linear-gradient(45deg, #ff6b35, #db3a00);
            border: none;
            padding: 15px 30px;
            border-radius: 25px;
            color: white;
            font-weight: bold;
            font-size: 1.1em;
            cursor: pointer;
            transition: all 0.3s;
            text-transform: uppercase;
            letter-spacing: 1px;
            text-decoration: none;

            &:hover {
                transform: translateY(-2px);
                box-shadow: 0 10px 25px rgba(231, 151, 13, 0.4);
            }
        }
    }
}

/* Animations */
@keyframes fadeIn {
    from { 
        opacity: 0; 
    }
    to { 
        opacity: 1; 
    }
}

@keyframes slideIn {
    from {
        transform: scale(0.8) translateY(50px);
        opacity: 0;
    }
    to {
        transform: scale(1) translateY(0);
        opacity: 1;
    }
}

/* Media Queries Corrigées avec Images Agrandies */

/* Tablettes */
@media (max-width: 1024px) {
    body {
        overflow-x: hidden;
        
        .container {
            padding-left: 15px;
            padding-right: 15px;
            padding-top: 100px;
            width: 100%;
            max-width: 100vw;

            .title, .title-rose, .title-rouge {
                font-size: 3em;
                letter-spacing: 3px;
            }

            .subtitle, .subtitle-rose, .subtitle-rouge {
                font-size: 1.6em;
                letter-spacing: 3px;
                margin-bottom: 40px;
            }

            .content-wrapper {
                gap: 40px;
                max-width: 100%;

                .characters-grid {
                    gap: 25px;

                    .character-card {
                        .character-image, .character-image-rose, .character-image-rouge {
                            width: 240px;
                            height: 310px;
                        }
                    }
                }

                .description {
                    padding: 30px;
                    max-width: 100%;
                }
            }
        }

        .container-green {
            padding-left: 15px;
            padding-right: 15px;
            padding-top: 100px;
            width: 100%;
            max-width: 100vw;

            .title-green, .title-orange {
                font-size: 3em;
                letter-spacing: 3px;
            }

            .subtitle-green, .subtitle-orange {
                font-size: 1.6em;
                letter-spacing: 3px;
                margin-bottom: 40px;
            }

            .content-wrapper-green {
                gap: 40px;
                max-width: 100%;

                .characters-grid-green {
                    gap: 25px;

                    .character-card-green {
                        .character-image-green, .character-image-orange {
                            width: 240px;
                            height: 310px;
                        }
                    }
                }

                .description-green {
                    padding: 30px;
                    max-width: 100%;
                }
            }
        }
    }
}

/* Mobiles larges */
@media (max-width: 768px) {
    body {
        overflow-x: hidden;
        
        .container {
            padding-left: 10px;
            padding-right: 10px;
            padding-top: 60px;
            width: 100%;
            max-width: 100vw;

            .title, .title-rose, .title-rouge {
                font-size: 2.2em;
                letter-spacing: 2px;
            }

            .subtitle, .subtitle-rose, .subtitle-rouge {
                font-size: 1.3em;
                letter-spacing: 2px;
                margin-bottom: 30px;
            }

            .content-wrapper {
                flex-direction: column;
                gap: 30px;
                align-items: center;
                width: 100%;
                max-width: 100%;

                .characters-grid {
                    grid-template-columns: 1fr;
                    gap: 25px;
                    width: 100%;
                    max-width: 320px;
                    justify-items: center;

                    .character-card {
                        width: 100%;
                        display: flex;
                        flex-direction: column;
                        align-items: center;

                        .character-image, .character-image-rose, .character-image-rouge {
                            width: 280px;
                            height: 360px;
                            margin: 0 auto;
                        }

                        .character-name {
                            text-align: center;
                            width: 100%;
                            font-size: 1.1em;
                        }
                    }

                    .third-character {
                        grid-column: 1;
                        margin-top: 0;
                        width: 100%;
                    }
                }

                .description {
                    padding: 20px;
                    max-width: 100%;
                    width: 100%;
                    box-sizing: border-box;
                }
            }
        }

        .container-green {
            padding-left: 10px;
            padding-right: 10px;
            padding-top: 60px;
            width: 100%;
            max-width: 100vw;

            .title-green, .title-orange {
                font-size: 2.2em;
                letter-spacing: 2px;
            }

            .subtitle-green, .subtitle-orange {
                font-size: 1.3em;
                letter-spacing: 2px;
                margin-bottom: 30px;
            }

            .content-wrapper-green {
                flex-direction: column;
                gap: 30px;
                align-items: center;
                width: 100%;
                max-width: 100%;

                .characters-grid-green {
                    grid-template-columns: 1fr;
                    gap: 25px;
                    width: 100%;
                    max-width: 320px;
                    justify-items: center;

                    .character-card-green {
                        width: 100%;
                        display: flex;
                        flex-direction: column;
                        align-items: center;

                        .character-image-green, .character-image-orange {
                            width: 280px;
                            height: 360px;
                            margin: 0 auto;
                        }

                        .character-name-green, .character-name-orange {
                            text-align: center;
                            width: 100%;
                            font-size: 1.1em;
                        }
                    }

                    .third-character-green {
                        grid-column: 1;
                        margin-top: 0;
                        width: 100%;
                    }
                }

                .description-green {
                    padding: 20px;
                    max-width: 100%;
                    width: 100%;
                    box-sizing: border-box;
                }
            }
        }

        .modal {
            .modal-content {
                padding: 25px 15px;
                max-width: 90%;
                width: 90%;
                margin: 20px auto;
                box-sizing: border-box;

                .character-image, .character-image-rose, .character-image-rouge {
                    width: 220px;
                    height: 280px;
                    margin: 0 auto 20px;
                }

                .modal-name {
                    font-size: 1.4em;
                    margin-bottom: 20px;
                }

                .skills-list, .skills-list-rose, .skills-list-rouge {
                    margin-bottom: 20px;

                    li {
                        font-size: 0.95em;
                    }
                }

                .linkedin-btn, .linkedin-btn-rose, .linkedin-btn-rouge {
                    padding: 12px 20px;
                    font-size: 0.95em;
                }
            }
        }

        .modal-green {
            .modal-content-green {
                padding: 25px 15px;
                max-width: 90%;
                width: 90%;
                margin: 20px auto;
                box-sizing: border-box;

                .character-image-green, .character-image-orange {
                    width: 220px;
                    height: 280px;
                    margin: 0 auto 20px;
                }

                .modal-name-green, .modal-name-orange {
                    font-size: 1.4em;
                    margin-bottom: 20px;
                }

                .skills-list-green, .skills-list-orange {
                    margin-bottom: 20px;

                    li {
                        font-size: 0.95em;
                    }
                }

                .linkedin-btn-green, .linkedin-btn-orange {
                    padding: 12px 20px;
                    font-size: 0.95em;
                }
            }
        }
    }
}

/* Petits mobiles */
@media (max-width: 480px) {
    body {
        overflow-x: hidden;
        
        .container {
            padding-left: 8px;
            padding-right: 8px;
            padding-top: 40px;
            width: 100%;
            max-width: 100vw;

            .title, .title-rose, .title-rouge {
                font-size: 1.8em;
                letter-spacing: 1px;
            }

            .subtitle, .subtitle-rose, .subtitle-rouge {
                font-size: 1.1em;
                letter-spacing: 1px;
                margin-bottom: 25px;
            }

            .content-wrapper {
                gap: 20px;
                width: 100%;

                .characters-grid {
                    max-width: 300px;
                    gap: 20px;

                    .character-card {
                        .character-image, .character-image-rose, .character-image-rouge {
                            width: 260px;
                            height: 330px;
                        }

                        .character-name {
                            font-size: 1em;
                            margin-top: 10px;
                        }
                    }
                }

                .description {
                    padding: 15px;
                    width: 100%;

                    p {
                        font-size: 0.95em;
                        line-height: 1.5;
                        margin-bottom: 12px;
                    }
                }
            }
        }

        .container-green {
            padding-left: 8px;
            padding-right: 8px;
            padding-top: 40px;
            width: 100%;
            max-width: 100vw;

            .title-green, .title-orange {
                font-size: 1.8em;
                letter-spacing: 1px;
            }

            .subtitle-green, .subtitle-orange {
                font-size: 1.1em;
                letter-spacing: 1px;
                margin-bottom: 25px;
            }

            .content-wrapper-green {
                gap: 20px;
                width: 100%;

                .characters-grid-green {
                    max-width: 300px;
                    gap: 20px;

                    .character-card-green {
                        .character-image-green, .character-image-orange {
                            width: 260px;
                            height: 330px;
                        }

                        .character-name-green, .character-name-orange {
                            font-size: 1em;
                            margin-top: 10px;
                        }
                    }
                }

                .description-green {
                    padding: 15px;
                    width: 100%;

                    p {
                        font-size: 0.95em;
                        line-height: 1.5;
                        margin-bottom: 12px;
                    }
                }
            }
        }

        .modal {
            .modal-content {
                padding: 20px 10px;
                margin: 15px;
                max-width: calc(100vw - 30px);
                width: calc(100vw - 30px);

                .close-btn, .close-btn-rose, .close-btn-rouge {
                    top: 10px;
                    right: 15px;
                    font-size: 1.3em;
                }

                .character-image, .character-image-rose, .character-image-rouge {
                    width: 200px;
                    height: 260px;
                    margin: 0 auto 15px;
                }

                .modal-name {
                    font-size: 1.2em;
                    margin-bottom: 15px;
                    letter-spacing: 1px;
                }

                .skills-list, .skills-list-rose, .skills-list-rouge {
                    margin-bottom: 15px;

                    li {
                        font-size: 0.85em;
                        margin: 6px 0;
                    }
                }

                .linkedin-btn, .linkedin-btn-rose, .linkedin-btn-rouge {
                    padding: 8px 15px;
                    font-size: 0.85em;
                }
            }
        }

        .modal-green {
            .modal-content-green {
                padding: 20px 10px;
                margin: 15px;
                max-width: calc(100vw - 30px);
                width: calc(100vw - 30px);

                .close-btn-green, .close-btn-orange {
                    top: 10px;
                    right: 15px;
                    font-size: 1.3em;
                }

                .character-image-green, .character-image-orange {
                    width: 200px;
                    height: 260px;
                    margin: 0 auto 15px;
                }

                .modal-name-green, .modal-name-orange {
                    font-size: 1.2em;
                    margin-bottom: 15px;
                    letter-spacing: 1px;
                }

                .skills-list-green, .skills-list-orange {
                    margin-bottom: 15px;

                    li {
                        font-size: 0.85em;
                        margin: 6px 0;
                    }
                }

                .linkedin-btn-green, .linkedin-btn-orange {
                    padding: 8px 15px;
                    font-size: 0.85em;
                }
            }
        }
    }
}

/* Très petits écrans */
@media (max-width: 360px) {
    body {
        overflow-x: hidden;
        
        .container {
            padding-left: 5px;
            padding-right: 5px;
            width: 100%;
            max-width: 100vw;

            .title, .title-rose, .title-rouge {
                font-size: 1.5em;
                letter-spacing: 0.5px;
            }

            .subtitle, .subtitle-rose, .subtitle-rouge {
                font-size: 1em;
                letter-spacing: 0.5px;
            }

            .content-wrapper {
                .characters-grid {
                    max-width: 280px;

                    .character-card {
                        .character-image, .character-image-rose, .character-image-rouge {
                            width: 240px;
                            height: 300px;
                        }

                        .character-name {
                            font-size: 0.9em;
                            letter-spacing: 0.5px;
                        }
                    }
                }

                .description {
                    padding: 12px;
                    
                    p {
                        font-size: 0.9em;
                    }
                }
            }
        }

        .container-green {
            padding-left: 5px;
            padding-right: 5px;
            width: 100%;
            max-width: 100vw;

            .title-green, .title-orange {
                font-size: 1.5em;
                letter-spacing: 0.5px;
            }

            .subtitle-green, .subtitle-orange {
                font-size: 1em;
                letter-spacing: 0.5px;
            }

            .content-wrapper-green {
                .characters-grid-green {
                    max-width: 280px;

                    .character-card-green {
                        .character-image-green, .character-image-orange {
                            width: 240px;
                            height: 300px;
                        }

                        .character-name-green, .character-name-orange {
                            font-size: 0.9em;
                            letter-spacing: 0.5px;
                        }
                    }
                }

                .description-green {
                    padding: 12px;
                    
                    p {
                        font-size: 0.9em;
                    }
                }
            }
        }

        .modal {
            .modal-content {
                padding: 15px 8px;
                margin: 10px;
                max-width: calc(100vw - 20px);
                width: calc(100vw - 20px);

                .character-image, .character-image-rose, .character-image-rouge {
                    width: 180px;
                    height: 230px;
                }

                .modal-name {
                    font-size: 1.1em;
                }

                .skills-list, .skills-list-rose, .skills-list-rouge {
                    li {
                        font-size: 0.8em;
                    }
                }

                .linkedin-btn, .linkedin-btn-rose, .linkedin-btn-rouge {
                    padding: 6px 12px;
                    font-size: 0.8em;
                }
            }
        }

        .modal-green {
            .modal-content-green {
                padding: 15px 8px;
                margin: 10px;
                max-width: calc(100vw - 20px);
                width: calc(100vw - 20px);

                .character-image-green, .character-image-orange {
                    width: 180px;
                    height: 230px;
                }

                .modal-name-green, .modal-name-orange {
                    font-size: 1.1em;
                }

                .skills-list-green, .skills-list-orange {
                    li {
                        font-size: 0.8em;
                    }
                }

                .linkedin-btn-green, .linkedin-btn-orange {
                    padding: 6px 12px;
                    font-size: 0.8em;
                }
            }
        }
    }
}