.hero {
    width: 100%;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    max-height: 600px;
    min-height: 500px;
    overflow: hidden;
}

.hero>img {
    width: 100%;
    /* height: 190px; */
    max-height: 100vh;
    object-fit: cover
}

.hero>h1 {
    position: absolute;
    top: 50%;
    /* left: 50%;
    transform: translate(-50%, -50%); */
    font-family: var(--font-family-Poppins-bold);
    font-size: clamp(35px, 3vw, 80px);
    color: var(--ash);
    text-transform: uppercase;
}

.categories {
    max-width: 1700px;
    margin: 45px auto;
    height: 100%;
    position: relative;
    background-color: var(--tertiary-color);
    padding: 40px;
    border-radius: 35px;
}

.categories .content .products {
    display: grid;
    overflow: hidden;
    grid-template-columns: repeat(3, 1fr);
    grid-column-gap: var(--margin-normal);
    grid-row-gap: var(--margin-normal);
    max-width: 100%;
    width: 100%;
}

.categories .content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.categories .content .presentation {
    font-size: 1rem;
}

.categories .content .card {
    background-color: var(--white);
    border-radius: 50px;
    overflow: hidden;
}

.categories .content .card img {
    max-width: 100%;
    height: auto;
    width: 100%;
    object-fit: cover;
}

.categories .content .card .body {
    padding: 3px 15px 25px 15px;
}

.categories .content .card .body h2 {
    color: var(--primary-color);
    padding-top: 15px;
    margin-bottom: 15px;
    font-size: clamp(19px, 3vw, 25px);
    font-family: var(--font-family-Poppins-regular);
}

.categories .content .card .body ul {
    list-style: inside;
}

.categories .content .card .body ul a {
    color: var(--font-grey);
    font-size: clamp(16px, 3vw, 22px);
    line-height: 1.6
}

.categories .content .card .body .link {
    margin-top: 35px;
}

.categories .content .card .body .link a {
    border: solid 1px var(--primary-color);
    border-radius: 25px;
    color: var(--font-grey);
    font-size: clamp(15px, 3vw, 19px);
    padding: 10px 25px;
    font-family: var(--font-family-Poppins-SemiBold);
}

.categories .content .card .body .link2 {
    margin-top: 45px;
    text-align: center;
}

.categories .content .card .body .link2 a {
    border: solid 1px var(--primary-color);
    border-radius: 25px;
    color: var(--font-grey);
    font-size: clamp(15px, 3vw, 19px);
    padding: 10px 25px;
    font-family: var(--font-family-Poppins-SemiBold);
}

.categories .content .card2 {
    background-color: var(--white);
    border-radius: 30px;
    overflow: hidden;
}

.categories .content .card2 img {
    max-width: 100%;
    height: auto;
    width: 100%;
    object-fit: cover;
}

.categories .content .card2 .body {
    padding: 3px 15px 25px 15px;
}

.categories .content .card2 .body h2 {
    color: var(--primary-color);
    padding-top: 15px;
    margin-bottom: 15px;
    font-size: clamp(19px, 3vw, 25px);
    font-family: var(--font-family-Poppins-regular);
}

.categories .content .card2 .body .text {
    font-size: clamp(13px, 3vw, 15px);
    color: var(--font-grey);
    text-align: justify;
}

.categories .content .card2 .body ul {
    list-style: inside;
}

.categories .content .card2 .body ul a {
    color: var(--font-grey);
    font-size: clamp(17px, 3vw, 22px);
    line-height: 1.6
}

.categories .content .card2 .body .link2 {
    margin-top: 30px;
    text-align: center;
}

.categories .content .card2 .body .link2 a {
    border: solid 1px var(--primary-color);
    border-radius: 25px;
    color: var(--font-grey);
    font-size: clamp(15px, 3vw, 19px);
    padding: 10px 25px;
    font-family: var(--font-family-Poppins-SemiBold);
}

.categories .content .card2 .body .link2 a:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

.cat-prod {
    max-width: 1200px;
    margin: 45px auto;
    height: 100%;
    position: relative;
}

.cat-prod img {
    max-width: 100%;
    height: auto;
    width: 650px;
    display: block;
    margin: 0 auto;
    object-fit: cover;
}

.cat-prod .presentation {
    padding: 35px;
    text-align: justify;
}

.cat-prod-container {
    max-width: 1320px;
    margin: 45px auto;
    height: 100%;
    position: relative;
    background-color: var(--tertiary-color);
    padding: 40px;
    border-radius: 35px;
}

.cat-prod-container-content {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 40px;
    width: 100%;
    height: 100%;
    position: relative;
}

.cat-prod-container-col {
    width: 48%;
}

.cat-prod-container-col img {
    max-width: 100%;
    height: auto;
}


.cat-prod-container-col h2 {
    border-bottom: solid 1px var(--light-grey);
    margin-bottom: 10px;
}

.cat-prod-container-col p {
    font-weight: bold;
    margin-bottom: 15px;
}

.cat-prod-container-content h3 {
    margin-bottom: 15px;
}

.cat-prod-container-col-form {
    padding: 15px 0 10px 0;
}

.cat-prod-container-col-form .row {
    border-bottom: solid 1px var(--light-grey);
    padding: 10px 0;
}

.cat-prod-container-col-form .row-count {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-bottom: 10px;
    border-bottom: solid 1px var(--light-grey);
}


.contact {
    margin: 85px auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.contact .link {
    background-color: var(--primary-color);
    padding: 35px 75px;
    border-radius: 75px;
    margin: 0 10px;
    font-size: clamp(21px, 3vw, 36px);
    color: var(--white);
    font-family: var(--font-family-Poppins-bold);
}

.contact .link:hover {
    color: var(--secondary-color);
}

.contact .link .question {
    font-family: var(--font-family-Poppins-bold);
    color: var(--secondary-color);
}

.contact .link .question:hover {
    color: var(--white);
}

/* FORMULAIRE PRODUIT */
input[type=text],
input[type=number],
select,
textarea {
    width: 60%;
    padding: 10px 17px;
    margin: 8px 0;
    box-sizing: border-box;
}

.submit__button {
    background-color: var(--primary-color);
    padding: 7px 20px;
    border-radius: 5px;
    font-size: clamp(14px, 3vw, 17px);
    color: var(--white);
    font-family: var(--font-family-Poppins-bold);
    cursor: pointer;
}

.submit__button:hover {
    background-color: var(--secondary-color);
    color: var(--white);
}

.btn {
    display: block;
    background-color: var(--primary-color);
    color: var(--white);
    text-align: center;
    padding: 0.6rem 1rem;
    font-size: clamp(13px, 3vw, 15px);
    font-weight: 500;
    cursor: pointer;
}

/* MEDIA QUERIES */
@media screen and (max-width: 1199px) {
    .hero {
        padding-top: 72px;
        min-height: auto;
    }

    .hero h1 {
        top: 65%;
        left: 50%;
        transform: translate(-50%, -50%);
    }

    .hero>img {
        height: 190px;
    }

    .categories {
        width: 95%;
        padding: 40px 20px;
    }

    .categories .content .products {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 980px) {
    .cat-prod {
        width: 95%;
    }

    .cat-prod-container {
        width: 95%;
    }
}

@media screen and (max-width: 767px) {
    .categories .content .products {
        grid-template-columns: repeat(1, 1fr);
    }

    .cat-prod-container-col {
        width: 100%;
    }
}

@media screen and (max-width: 600px) {
    .categories .content .card,
    .categories .content .card2 {
        width: 100%;
    }

    textarea {
        width: 100%;
    }
}