body{
    margin: 0;
    background-color: #b29bdd
}

main{
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    padding: 2rem;
}

main > h1{
    flex-basis: 100%;
    margin: 0;
}

main > section{
    flex: 1 1 0;
    min-width: 0;
}

@media (max-width: 768px){
    main > section{
        flex-basis: 100%;
    }
}

h1{
    font-family: 'Iceberg';
    font-size: clamp(30px, 3vw, 40px);
    text-align: center;
    color: #30245c;
}

span{
    font-family: 'Iceberg';
    font-size: clamp(35px, 4vw, 45px);
    text-align: center;
    color: #ffffff;
}


h2{
    font-family: 'Iceberg';
    font-size: clamp(25px, 3vw, 35px);
    text-align: center;
    color: #24345C;
}

p{
    font-family: 'Iceberg';
    font-size: clamp(15px, 1.2vw, 20px);
    text-align: center;
    color: #30245c;
}

.presentation span{
    font-family: 'Iceberg';
    font-size: clamp(20px, 2vw, 25px);
    text-align: center;
    color: #ffffff;
}

.presentation h1{
    font-family: 'Iceberg';
    font-size: clamp(40px, 4vw, 50px);
    text-align: center;
    color: #24345C;
}

/* ========================================== */
/* SECTION PRODUITS VEDETTES */
/* ========================================== */

.new_products {
    width: 100%;
    max-width: 1300px;

    margin: 60px auto;
    padding: 40px 20px;

    box-sizing: border-box;

    text-align: center;
}

.new_products h2 {
    font-family: "Chewy", cursive;

    font-size: clamp(1.8rem, 4vw, 2.8rem);

    color: #86669b;

    margin-bottom: 10px;
}

.featured-intro {
    font-family: "Iceberg", sans-serif;

    font-size: clamp(1rem, 2vw, 1.2rem);

    color: #6d527b;

    margin-bottom: 35px;
}


/* ========================================== */
/* CONTENEUR DES PRODUITS */
/* ========================================== */

.featured-container {
    display: grid;

    grid-template-columns: repeat(4, minmax(0, 1fr));

    gap: 25px;

    width: 100%;
}


/* ========================================== */
/* CARTES PRODUITS */
/* ========================================== */

.featured-card {
    display: flex;
    flex-direction: column;

    overflow: hidden;

    background-color: #fffdf8;

    border: 1px solid #e8d9ee;
    border-radius: 16px;

    box-shadow: 0 4px 12px rgba(109, 82, 123, 0.08);

    transition: transform 0.3s, box-shadow 0.3s;
}

.featured-card:hover {
    transform: translateY(-5px);

    box-shadow: 0 8px 20px rgba(109, 82, 123, 0.15);
}


/* ========================================== */
/* IMAGES */
/* ========================================== */

.featured-image {
    width: 100%;

    aspect-ratio: 1 / 1;

    background-color: #f8f5fa;

    overflow: hidden;
}

.featured-image img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: contain;

    transition: transform 0.3s;
}

.featured-card:hover .featured-image img {
    transform: scale(1.04);
}


/* ========================================== */
/* INFORMATIONS PRODUITS */
/* ========================================== */

.featured-info {
    display: flex;
    flex-direction: column;

    flex: 1;

    padding: 20px;
}

.featured-info h3 {
    font-family: "Iceberg", sans-serif;

    font-size: clamp(1rem, 1.5vw, 1.2rem);

    color: #6d527b;

    margin: 0 0 15px;
}

.featured-price {
    font-family: "Iceberg", sans-serif;

    font-size: 1.2rem;
    font-weight: bold;

    color: #86669b;

    margin: auto 0 0;
}


/* ========================================== */
/* BOUTON CATALOGUE */
/* ========================================== */

.featured-catalogue-link {
    display: inline-block;

    margin-top: 35px;
    padding: 12px 25px;

    background-color: #b99acb;

    color: white;

    border-radius: 12px;

    font-family: "Iceberg", sans-serif;
    font-size: 1.1rem;

    text-decoration: none;

    transition: background-color 0.3s;
}

.featured-catalogue-link:hover {
    background-color: #9675ac;
}


/* ========================================== */
/* RESPONSIVE */
/* ========================================== */

@media (max-width: 1000px) {

    .featured-container {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 600px) {

    .new_products {
        margin: 30px auto;
        padding: 25px 15px;
    }

    .featured-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .featured-card {
        max-width: 400px;
        width: 100%;

        margin: 0 auto;
    }
}