

/* <weight>: Use a value from 100 to 900
// <uniquifier>: Use a unique and descriptive class name*/

.outfit-<uniquifier> {
    font-family: "Outfit", sans-serif;
    font-optical-sizing: auto;
    font-weight: <weight>;
    font-style: normal;
}


.circle-wrapper {
    position: relative;
    width: calc(50vmin + 18vmax);
    height: calc(50vmin + 15vmax);
    display: flex;
    align-items: center;
    text-align: center;
}



.contenu {
    margin: 0;
    width:100vw;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: "Outfit", sans-serif;
    overflow: hidden;
}


.rotating-circle.normal {
    position: absolute;
    width: 100%;
    height: 100%;
    animation: rotate 40s linear infinite;
    z-index: 0;
}

.rotating-circle.reverse {
    position: absolute;
    width: 100%;
    height: 70%;
    animation: rotateReverse 20s linear infinite;
    z-index: 0;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.06);
    }
}

.menu-links {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 100;
}


.menu-links p {
    font-size: clamp(0.7rem, 1vw, 0.9rem); 
}


/* Base styles pour liens : cercles, centrés et arrondis */
.menu-links li {
    position: absolute;
    background: black;
    font-size: 1rem;
    color: #fff;
    border-radius: 50%;
    font-weight: 400;
    text-align: center;
    text-decoration: none;
    line-height: normal;
    padding: 10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
    user-select: none;
    animation-fill-mode: forwards;
    opacity: 0;
    animation: fadeInScale 0.8s ease-out forwards;
    transition: background-color 0.4s ease, color 0.4s ease, transform 0.3s ease;
}

.menu-links li:hover {
    transform: scale(1.1);
    box-shadow: 0 0 10px rgba(0,0,0,0.3);
    background-color: dimgrey; /* ou une autre couleur douce */
    color: #000;
}

/* Tailles différentes : on varie largeur, hauteur et font-size */


/*mail prod*/
.menu-links li:nth-child(1) {
    width: clamp(200px, 2vw, 250px);
    height: clamp(200px, 2vw, 250px); 
    top: 6%;
    left: 3%; 
    transform: translate(-50%, -50%);
    animation: fadeInScale 0.8s ease-out forwards, pulse 3.8s ease-in-out infinite;
    animation-delay: 0.6s, 1.3s; 
}

/*Presta paie*/
.menu-links li:nth-child(2) {
    width: 180px; 
    height: 180px; 
    top: 3%;
    left: 55%; 
    transform: translate(-50%, -50%);
    animation: fadeInScale 0.8s ease-out forwards, pulse 4.5s ease-in-out infinite;
    animation-delay: 0.8s, 1.8s; 
}

/*veda filme*/
.menu-links li:nth-child(3) {
    width: 180px; 
    height: 180px; 
    top: 38%;
    left: 78%;; 
    transform: translate(-50%, -50%);
    animation: fadeInScale 0.8s ease-out forwards, pulse 3.2s ease-in-out infinite;
    animation-delay: 1s, 2s;
}

/*tel*/
.menu-links li:nth-child(4) {
    width: 140px; 
    height: 140px; 
    top: 72%;
    left: 43%;
    transform: translate(-50%, -50%);
    animation: fadeInScale 0.8s ease-out forwards, pulse 3.2s ease-in-out infinite;
    animation-delay: 1s, 2s;
}

.menu-links a {
    font-size: clamp(0.9rem, 1vw, 1.1rem); 
    line-height: clamp(0.7rem, 1vw, 0.8rem);
    color: #01a7a3;
    text-decoration: none;
}

.menu-links a:hover {
    color: #fff;    
}


.center-logo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 300px;       /* Taille max */
    width: 25vw;             /* Responsive : 15% de la largeur écran */
    z-index: 3;
    user-select: none;
    color: white;
    text-align: center;
    font-size: 1.1rem;
    display: flex;
    flex-direction: column;   /* empile les éléments */
    align-items: center;
}

.center-logo img {
    width: 50%;
    object-fit: contain;     /* Ne déforme pas le logo */
    display: block;
}

.center-logo p {
    font-size: clamp(0.9rem, 1vw, 1.1rem); 
}

.deco {
    position: absolute;
    z-index: 1;
    opacity: 0.8;
    pointer-events: none;
    animation: fadeIn 2s ease-out forwards;
    display: block;
}

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

/* Position manuelle autour du cercle */
.deco1 {
    width: 50px;
    top: 6%;
    left: 20%;
    transform: rotate(130deg);
    transform-origin: center center;
}

.deco2 {
    width: 3vh;
    top: 80%;
    left: 75%;
    transform: rotate(-45deg);
}
.deco3 {
    width: 50px;
    top: 75%;
    left: 10%;
}

.deco4 {
    width: 30px;
    top: 30%;
    left: 68%;
}




/* ecrans moyens*/
@media (max-width: 480px) {

    .center-logo {
        width: 30vw;
    }

    .menu-links {
        position: absolute;
        width: 100%;
        height: 100%;
    }

    .menu-links li {
        /* Réduction globale des tailles */
        font-size: 0.9rem !important;
        width: auto;
        height: auto;
        padding: 8px !important;
        min-width: 45px;
        min-height: 45px;
    }

    .circle-wrapper {
        left: -42%;
    }

    .rotating-circle.normal {;
        left: 0;
        width: 140%;
        height: 140%;
    }

    .rotating-circle.reverse {
        width: 100%;
        height: 95%;
        left: 20%;
    }

    .center-logo {
        top: 50%;
        left: 68%;
    }

    .menu-links li:nth-child(1) { 
        width: 150px;
        height: 150px;
        top: -22%;
        left: 48%;
    }

    .menu-links li:nth-child(2) { 
        width: 131px;
        height: 131px;
        top: 0%;
        left: 97%;
    }

    .menu-links li:nth-child(3) { 
        width: 115px;
        height: 115px;
        top: 46%;
        left: 108%;
    }
    .menu-links li:nth-child(4) { 
        width: 120px;
        height: 120px;
        top: 81%;
        left: 74%;
    }

}





/* smartphones*/
@media (max-width: 480px) {

    .circle-wrapper {
        width: 90vmin;
        height: 90vmin;
    }

    .center-logo {
        max-width: 225px;
        width: 70vw;
    }
}


@media (min-width: 481px) and (max-width: 1023px) {

    .rotating-circle.normal {;
        width: 100%;
        height: 150%;
    }

    .rotating-circle.reverse {
        width: 100%;
        height: 70%;
        left: 0;
    }

    .center-logo {
        top: 50%;
        left: 50%;
    }


    /*mail prod*/
    .menu-links li:nth-child(1) {
        width: 150px;
        height: 150px;
        top: 6%;
        left: 3%; 
    }

    /*Presta paie*/
    .menu-links li:nth-child(2) {
        width: 131px;
        height: 131px;
        top: 3%;
        left: 55%; 
    }

    /*veda filme*/
    .menu-links li:nth-child(3) {
        width: 115px;
        height: 115px;
        top: 38%;
        left: 78%;; 
    }

    /*tel*/
    .menu-links li:nth-child(4) {
        width: 120px;
        height: 120px;
        top: 72%;
        left: 43%;
    }


}



/* KEY FRAMES */

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


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

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}