@import url(reset.css);
@import url(global_components.css);

* {
    box-sizing: border-box;
    text-decoration: none;
}

body {
    font-family: "Belanosima", sans-serif;
    background-color: #5B54C8;
}

/* SECTION INTER */
.section-inter {
    position: relative;
    min-height: calc(100vh - 75px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 3rem 2rem;
    overflow: hidden;
}

/* TITRE */
.titre-inter {
    color: #fff;
    font-size: 2rem;
    font-weight: 400;
    text-align: center;
    line-height: 1.3;
    position: relative;
    z-index: 2;
}

/* PERSONNAGE */
.perso-preview {
    position: relative;
    width: 250px;
    height: 380px;
    z-index: 2;
}

.inter-avatar {
    position: absolute;
    width: 200px;
}
.inter-chapeau {
    position: absolute;
    width: 230px;
}
.inter-tshirt {
    position: absolute;
    width: 200px;
}
.inter-accessoire {
    position: absolute;
    width: 100px;
}

.inter-bras {
    position: absolute;
    width: 80px;
    z-index: -1;
}

/* NOM */
.nom-perso {
    color: #fff;
    font-size: 1.5rem;
    font-weight: 400;
    position: relative;
    z-index: 2;
}

/* BOUTON */
.btn-panier {
    display: inline-block;
    color: #FFF;
    background: linear-gradient(90deg, rgba(255, 184, 2, 1) 0%, rgba(203, 85, 228, 1) 100%);
    font-size: 24px;
    font-weight: 600;
    padding: 0.5rem 2.5rem;
    border-radius: 40px;
    border: 5px #FFF solid;
    position: relative;
    transform: all ease .3s;
}

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

/* DÉCORATIONS */
.decorations {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.decorations img {
    position: absolute;
}

.deco-perroquet {
    left: 2%;
    top: 5%;
    width: 18%;
}

.deco-pieces {
    left: 8%;
    bottom: 20%;
    width: 10%;
}

.deco-gouvernail {
    right: 3%;
    top: 10%;
    width: 14%;
}

.deco-epee {
    right: 6%;
    bottom: 15%;
    width: 8%;
}

.deco-dessert {
    right: 30%;
    bottom: 25%;
    width: 20%; /* ← plus petit */
}

/* Et le perso-preview pour le centrer mieux */
.perso-preview {
    position: relative;
    width: 250px;
    height: 350px;
    z-index: 3;
    top: -100px;   /* ← monte le personnage, augmente la valeur pour monter plus */
    left: -10px;   /* ← décale vers la droite, augmente pour aller plus à droite */
}

#inter-avatar    { z-index: 1; } /* ← derrière tout */
#inter-bras-gauche,
#inter-bras-droit { z-index: 2; } /* ← devant avatar */
#inter-tshirt    { z-index: 3; } /* ← devant les bras */
#inter-chapeau   { z-index: 4; } /* ← devant le t-shirt */
#inter-accessoire { z-index: 5; } /* ← devant tout */