.hero {
    background-image: url("../../assets/images/hero-prestations.png");
    align-items: flex-start;
    text-align: left;
    border-radius: var(--bd-rad-xl);
}

.hero h1,
.hero h2 {
    padding-left: var(--space-xl);
}

.lien-hero {
    position: absolute;
    bottom: 0;
    padding: 0px 0px var(--space-xl) var(--space-xl);
}

#h2-hero {
    width: 80%;
}

.card.icone {
    width:90%;
    min-height: 300px;
    justify-content: center;
    border-radius: 45%;
    transition: transform 0.3s ease, border 0.3s ease, box-shadow 0.3s ease;
}

.card.icone.pourquoi-nous h3 {
    font-size:1rem;
}

.card.icone.pourquoi-nous p {
    font-size: 0.8rem;
}

.card.icone.card.icone.pourquoi-nous img {
    width: 120px;
}

.card.icone img {
    width: 350px;
}

.container-column {
    width: 90%;
    align-items: flex-start;
}

.container-prestations {
    background-color: var(--primary-color);
    gap: var(--space-xl);
}

.container-prestations {
    padding-left: var(--space-sm);
    border-radius: var(--bd-rad-lg);
}

.container-right {
    align-self: flex-end;
}

.container-prestations h2 {
    color: var(--fourth-color);
    margin-left: var(--space-sm);
}

.container-right h2,
.description-prestations {
    align-self: flex-end;
    margin-right: var(--space-sm);

}

.card.card-prestations {
    border: none;
    padding-right: var(--space-sm);
}

.card.card-prestations h3 {
    font-size: var(--font-size-text);
    color: var(--fourth-color);
}

.grid-3 {
    margin: auto;
    row-gap: var(--space-xl) ;
    column-gap: 60px;

}

.btn.btn-cta {
    align-self: center;
    margin: var(--space-xl);
    width: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

#manucure,
#epilation,
#beaute-regard,
#soin-visage {
    scroll-margin-top: 120px;
}

.grid-4 {
    width: 90%;
    place-items: center;
    padding-bottom: var(--space-xl);
}

.card.icone.pourquoi-nous {
    width: 100%;
    max-width: 400px;
    height: 300px;
}

.card.icone h3 {
    font-size: 1.5rem;
}

/* #region Responsive mobile */
    @media screen and (max-width: 850px) {
        .hero {
            height: 500px;
            justify-content: space-between;
        }

        .lien-hero {
            padding: 0px 0px 0px var(--space-xl);
        }

        .card.icone {
            width: 100%;
            min-height: 180px;
        }

        .card.icone h3 {
            font-size: var(--font-size-text);
        }

        .card.icone img {
            width: 100%;
        }

        .card.icone.pourquoi-nous {
            width: 80%;
            height: 250px;
            min-height: auto;
        }
    
        .card.icone.pourquoi-nous p {
            padding: 0;
        }

        .grid-3 {
            gap: var(--space-lg);
        }

        .btn.btn-cta {
            margin-top: 0px;
        }
    }
/* #endregion */


/* #region Responsive Tablet */
    @media screen and (min-width: 440px) and (max-width: 850px) {
        .hero {
            height: 350px;
        }

        .card.icone img {
            width: 200px;
        }

        .card.icone {
            width: 70%;
        }

        .grid-2 {
            grid-template-columns: repeat(2, 1fr);
        }
    }
/* #endregion */

@media (hover: hover) and (pointer: fine) {
    .card.icone:hover {
        transform: var(--tsfm-lt) translate(5%, 2%);
        border: 1px solid var(--fourth-color);
        box-shadow: 2px 2px 10px var(--fourth-color);
    }
}