.section-multidisciplinarity {
    width: 100%;
    padding: 80px 5%;
    background-color: white;
    position: relative;
    overflow: hidden;
}

.multidisciplinarity-container {
    max-width: 1352px;
    margin: 0 auto;
    width: 100%;
}

.multidisciplinarity-container h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 15px;
    font-family: var(--font-title);
    border-left: 4px solid #FF84F7;
    padding-left: 20px;
    color: black;
}

.multidisciplinarity-container .subtitle {
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: #666;
    margin-bottom: 50px;
    padding-left: 24px;
    line-height: 1.5;
}

.solar-system {
    position: relative;
    width: 700px;
    height: 700px;
    margin: 0 auto 50px auto;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.solar-system.shifted {
    margin: 0 auto 50px 0;
    transform: translateX(-50px);
}

.center-circle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 180px;
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.center-circle img {
    width: 180px;
    height: 180px;
    object-fit: contain;
    animation: float 3s ease-in-out infinite;
}

.orbit {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 3px dashed rgba(255, 132, 247, 0.4);
    border-radius: 50%;
    animation: rotate 20s linear infinite;
    pointer-events: none;
}


.orbit-1 {
    width: 300px;
    height: 300px;
    animation-duration: 15s;
}

.orbit-2 {
    width: 420px;
    height: 420px;
    animation-duration: 20s;
}

.orbit-3 {
    width: 540px;
    height: 540px;
    animation-duration: 25s;
}

.orbit-4 {
    width: 660px;
    height: 660px;
    animation-duration: 30s;
}

@keyframes rotate {
    from {
        transform: translate(-50%, -50%) rotate(0deg);
    }
    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

@keyframes counter-rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(-360deg);
    }
}

/* Orbit 1 animations */
@keyframes counter-rotate-planet-1 {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(-360deg); }
}

@keyframes counter-rotate-planet-2 {
    from { transform: translate(-50%, 50%) rotate(0deg); }
    to { transform: translate(-50%, 50%) rotate(-360deg); }
}

/* Orbit 2 animations */
@keyframes counter-rotate-planet-right {
    from { transform: translate(50%, -50%) rotate(0deg); }
    to { transform: translate(50%, -50%) rotate(-360deg); }
}

/* Orbit 3 animations */
@keyframes counter-rotate-planet-left {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(-360deg); }
}

@keyframes counter-rotate-planet-right-3 {
    from { transform: translate(50%, -50%) rotate(0deg); }
    to { transform: translate(50%, -50%) rotate(-360deg); }
}

/* Orbit 4 animations */
@keyframes counter-rotate-planet-bottom {
    from { transform: translate(-50%, 50%) rotate(0deg); }
    to { transform: translate(-50%, 50%) rotate(-360deg); }
}

.planet {
    position: absolute;
    width: 60px;
    height: 60px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    pointer-events: auto;
}

.planet.visited {
    background: linear-gradient(135deg, #E8F5E9, #C8E6C9);
    box-shadow: 0 5px 15px rgba(76, 175, 80, 0.3);
}

.planet.active {
    background: linear-gradient(135deg, #FFE5FD, #FFB8FA);
    box-shadow: 0 8px 25px rgba(255, 132, 247, 0.6);
}

/* Orbit 1 - 2 planètes */
.orbit-1 .planet.planet-1 {
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%) rotate(0deg);
    animation: counter-rotate-planet-1 15s linear infinite;
}

.orbit-1 .planet.planet-2 {
    bottom: 0;
    left: 50%;
    transform: translate(-50%, 50%) rotate(0deg);
    animation: counter-rotate-planet-2 15s linear infinite;
}

/* Orbit 2 - 1 planète */
.orbit-2 .planet {
    top: 50%;
    right: 0;
    transform: translate(50%, -50%) rotate(0deg);
    animation: counter-rotate-planet-right 20s linear infinite;
}

/* Orbit 3 - 2 planètes */
.orbit-3 .planet.planet-1 {
    top: 50%;
    left: 0;
    transform: translate(-50%, -50%) rotate(0deg);
    animation: counter-rotate-planet-left 25s linear infinite;
}

.orbit-3 .planet.planet-2 {
    top: 50%;
    right: 0;
    transform: translate(50%, -50%) rotate(0deg);
    animation: counter-rotate-planet-right-3 25s linear infinite;
}

/* Orbit 4 - 1 planète */
.orbit-4 .planet {
    bottom: 0;
    left: 50%;
    transform: translate(-50%, 50%) rotate(0deg);
    animation: counter-rotate-planet-bottom 30s linear infinite;
}

/* Scale effects for hover and active */
.planet:hover img,
.planet.active img {
    transform: scale(1.2);
    transition: transform 0.3s ease;
}

.planet img {
    transition: transform 0.3s ease;
}

.planet img {
    width: 35px;
    height: 35px;
    object-fit: contain;
    pointer-events: none;
}

.skill-description {
    position: absolute;
    top: 50%;
    right: -550px;
    transform: translateY(-50%);
    text-align: left;
    opacity: 0;
    transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
    width: 350px;
    z-index: 20;
    background: white;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.skill-description.active {
    opacity: 1;
}

.skill-description::before {
    content: '';
    position: absolute;
    left: -200px;
    top: 50%;
    transform: translateY(-50%);
    width: 200px;
    height: 2px;
    background: #FFB8FA;
}

.arrow {
    display: none;
}

.skill-description h3 {
    font-size: 24px;
    font-weight: 700;
    color: #FFB8FA;
    font-family: 'Pixelify Sans';
    margin-bottom: 10px;
}

.skill-description p {
    font-size: 16px;
    line-height: 1.6;
    color: #666;
    font-family: var(--font-pgs);
}

/* ============================================ */
/* RESPONSIVE TABLETTE (768px - 1024px) */
/* ============================================ */

@media (max-width: 1024px) {
    .section-multidisciplinarity {
        padding: 60px 4%;
    }

    .multidisciplinarity-container h2 {
        font-size: 28px;
        margin-bottom: 12px;
    }

    .multidisciplinarity-container .subtitle {
        font-size: 15px;
        margin-bottom: 40px;
    }

    .solar-system {
        width: 600px;
        height: 600px;
        margin: 0 auto 180px auto;
    }

    .solar-system.shifted {
        margin: 0 auto 180px 0;
        transform: translateX(-30px);
    }

    .center-circle {
        width: 120px;
        height: 120px;
    }

    .center-circle img {
        width: 120px;
        height: 120px;
    }

    .orbit-1 {
        width: 250px;
        height: 250px;
    }

    .orbit-2 {
        width: 350px;
        height: 350px;
    }

    .orbit-3 {
        width: 450px;
        height: 450px;
    }

    .orbit-4 {
        width: 550px;
        height: 550px;
    }

    .planet {
        width: 50px;
        height: 50px;
    }

    .planet img {
        width: 30px;
        height: 30px;
    }

    .skill-description h3 {
        font-size: 20px;
    }

    .skill-description p {
        font-size: 15px;
    }
}

/* ============================================ */
/* RESPONSIVE MOBILE (max-width: 768px) */
/* ============================================ */

@media (max-width: 768px) {
    .section-multidisciplinarity {
        padding: 40px 20px;
    }

    .multidisciplinarity-container h2 {
        font-size: 24px;
        margin-bottom: 10px;
        padding-left: 15px;
        border-left-width: 3px;
    }

    .multidisciplinarity-container .subtitle {
        font-size: 14px;
        margin-bottom: 30px;
        padding-left: 18px;
    }

    .solar-system {
        width: 450px;
        height: 450px;
        margin: 0 auto 120px auto;
    }

    .solar-system.shifted {
        margin: 0 auto 120px auto;
        transform: none;
    }

    .center-circle {
        width: 130px;
        height: 130px;
    }

    .center-circle img {
        width: 130px;
        height: 130px;
    }

    .orbit-1 {
        width: 200px;
        height: 200px;
    }

    .orbit-2 {
        width: 270px;
        height: 270px;
    }

    .orbit-3 {
        width: 340px;
        height: 340px;
    }

    .orbit-4 {
        width: 410px;
        height: 410px;
    }

    .planet {
        width: 55px;
        height: 55px;
    }

    .planet img {
        width: 32px;
        height: 32px;
    }

    .skill-description {
        position: absolute;
        top: auto;
        bottom: -250px;
        left: 50%;
        right: auto;
        transform: translateX(-50%);
        max-width: 300px;
        width: 90%;
    }

    .skill-description::before {
        display: none;
    }

    .skill-description h3 {
        font-size: 20px;
    }

    .skill-description p {
        font-size: 15px;
    }
}

/* ============================================ */
/* RESPONSIVE SMALL MOBILE (max-width: 480px) */
/* ============================================ */

@media (max-width: 480px) {
    .section-multidisciplinarity {
        padding: 30px 15px;
    }

    .multidisciplinarity-container h2 {
        font-size: 20px;
        margin-bottom: 8px;
        padding-left: 12px;
    }

    .multidisciplinarity-container .subtitle {
        font-size: 13px;
        margin-bottom: 25px;
        padding-left: 15px;
    }

    .solar-system {
        width: 380px;
        height: 380px;
        margin: 0 auto 120px auto;
    }

    .solar-system.shifted {
        margin: 0 auto 120px auto;
        transform: none;
    }

    .center-circle {
        width: 110px;
        height: 110px;
    }

    .center-circle img {
        width: 110px;
        height: 110px;
    }

    .orbit-1 {
        width: 160px;
        height: 160px;
    }

    .orbit-2 {
        width: 215px;
        height: 215px;
    }

    .orbit-3 {
        width: 270px;
        height: 270px;
    }

    .orbit-4 {
        width: 325px;
        height: 325px;
    }

    .planet {
        width: 50px;
        height: 50px;
    }

    .planet img {
        width: 28px;
        height: 28px;
    }

    .skill-description {
        position: absolute;
        top: auto;
        bottom: -270px;
        left: 50%;
        right: auto;
        transform: translateX(-50%);
        max-width: 260px;
        width: 90%;
    }

    .skill-description::before {
        display: none;
    }

    .skill-description h3 {
        font-size: 18px;
    }

    .skill-description p {
        font-size: 14px;
    }
}
