@import url("https://fonts.googleapis.com/css2?family=Outfit:wght@100..900&display=swap");
/* Reset CSS*/

body {
    font-family: "Outfit", sans-serif;
    font-size: 14px;
    color: #5c5b50;
}

.container {
    width: 1200px;
    margin: 0 auto;
}

.flex {
    display: flex;
}

.grid {
    display: grid;
}

.grid-3 {
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
}

.mb-2 {
    margin-bottom: 2rem;
}

h4 {
    font-size: 1rem;
    font-weight: bold;
}

section {
    padding: 10px 0;
}

.services {
    background-color: #faf9ea;
}

.service {
}

.service-title {
    display: flex;
    flex-direction: column;
    background: #80cd2a;
    border: solid 1px #5c5b50;
    transition: all 0.3s ease;
}

.service-title:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    background: #5d773f;
}

.service-title img {
    height: 200px; /* ou la hauteur que tu veux */
    object-fit: cover;
    width: 100%;
    display: block;
    transition: filter 0.3s ease;
}

.service-title:hover img {
    filter: brightness(85%);
}

.service-title h3 {
    font-size: 2.8rem;
    font-weight: bold;
    color: white;
    text-align: right;
    margin: 0.5rem;
}

.service-desc {
    font-size: 1.1rem;
    margin: 1rem 0;
}

.produits {
    position: relative;
    /* background: #ccc129; */
    background: linear-gradient(
        128deg,
        rgb(244, 235, 140) 0%,
        rgba(93, 119, 63, 1) 70%
    );
}

.produits-grid {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 2rem;
}

.produits-blocs {
    /* display: flex;
    gap: 1.5rem;
    margin: 1rem 0 2rem 0; */
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.produit-carte {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background-color: rgba(255, 255, 255, 0.3); /* 30% opacity */
    padding: 1.5rem;
    border-radius: 1rem;
    text-align: center;
    backdrop-filter: blur(5px);
}

.produit-carte:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.produit-carte img {
    max-width: 200px;
    height: auto;
    margin-bottom: 0.5rem;
    object-fit: contain;
    transition: transform 0.4s ease;
}

.produit-carte:hover img {
    transform: scale(1.05);
}

.produit-image-droite {
    flex: 1;
    position: absolute;
    top: 45%;
    right: 0;
}

.marques {
}

.rdv {
    background: #e0e5db;
    display: flex;
    padding: 0;
}

#map {
    height: 600px;
}

.rdv .left {
    width: 50%;
    /* background: brown; */
}

.rdv .right {
    margin: 16px;
    width: 50%;
}

#header {
    /* height: 480px; */
    background: #ecf8dfc6;
    display: flex;
}

#header .hero {
    width: 70%;
    position: relative;
}

#header .hero .entete {
    position: absolute;
    z-index: 1000;
    display: flex;
    width: 100%;
    top: 0;
    left: 0;
    align-items: center;
    justify-content: space-between;
}

#header .hero .entete .entete-logo img {
    margin-left: 8px;
    margin-top: 4px;
    max-height: 70px;
    width: auto;
}

#main-menu {
    display: flex;
    list-style: none;
}

#main-menu a {
    padding: 0 1rem;
    color: white;
    transition: all 0.3s ease;
    font-size: 16px;
}

.menu-toggle {
    display: none;
    font-size: 2rem;
    background: none;
    border: none;
    color: white;
    cursor: pointer;
}

#main-menu a:hover {
    color: #ccc129;
}

#header .caroussel {
    width: 30%;
    background: #ccc129;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

#header .caroussel h4 {
    font-weight: 600;
    text-transform: uppercase;
}

#header .caroussel .slider-selection {
    /* background: white; */
    width: 250px;
    height: 250px;
    position: relative;
}

main.page h3 {
    font-size: 1.5rem;
    font-weight: bold;
    color: #7ecb2b;
}

blockquote {
    font-weight: bold;
    margin-bottom: 1rem;
}

main.page h2 {
    font-size: 2.1rem;
    font-weight: bold;
    color: #7ecb2b;
}

main.page h6 {
    font-size: 1.1rem;
}

/* Gestion des header des pages*/

main .title h2 {
    color: black;
}

#header.page .container .page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#header.page .container .page-title {
    padding: 3rem 0;
}

#header.page .container .page-title h1 {
    font-size: 3.5rem;
    font-weight: bold;
}

#header.page .container .entete-logo {
    margin: 1rem 0;
}

#header.page .container .entete-logo img {
    max-height: 70px;
    width: auto;
}

#header.page #main-menu li a {
    color: #5c5b50;
}

#header.page #main-menu li a:hover {
    color: #ccc129;
}
/* gestion des pages */

.selection-swiper {
    overflow: hidden;
}

.selection-slide-bloc {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.selection-swiper .swiper-slide {
    text-align: center;
}

.selection-swiper .swiper-slide p {
    margin-top: 0.5rem;
    text-align: center;
    text-transform: uppercase;
}

.selection-swiper .swiper-slide img {
    width: 80%;
    border-radius: 5px;
    box-shadow: rgba(50, 50, 93, 0.25) 0px 6px 12px -2px,
        rgba(0, 0, 0, 0.3) 0px 3px 7px -3px;
}

.swiper-pagination-bullet-active {
    background-color: #c1f787 !important;
    border: solid 1px white;
}

/* Marques et partenaire */
.marque-logo img,
.assurance-logo img {
    filter: grayscale(100%) opacity(0.6);
    transition: filter 0.3s ease, opacity 0.3s ease;
    max-height: 120px;
    object-fit: contain;
    margin: 0 auto;
}

.marque-logo img:hover,
.assurance-logo img:hover {
    filter: none;
    opacity: 1;
}

.container .title {
    margin-bottom: 16px;
}

.container .title h2 {
    font-size: 22px;
    font-weight: 600;
}

.boutiques {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
}

.boutiques .boutique {
    display: flex;
    margin-bottom: 16px;
}

.boutiques .boutique .icone {
    display: flex;
    align-items: center;
    margin: 8px;
}

.boutique span {
    font-weight: 500;
}

#footer {
    background: #f2faea;
    padding-top: 2rem;
    padding-bottom: 2rem;
}

#footer h4 {
    margin-bottom: 0.4rem;
}

#footer span {
    font-weight: 500;
}

#footer .footer-logo {
    width: 200px;
    margin-bottom: 1rem;
}

#footer container grid div {
    margin: 1rem;
}

#footer ul li a {
    font-weight: 500;
}

#footer ul li a:hover {
    color: #14ae5c;
}

#footer .socials {
    display: flex;
}

#footer .socials li {
    margin: 4px;
}

#footer .socials li a {
    margin: 0px;
}

#footer .socials li a svg {
    stroke: #14ae5c;
    transition: all 0.3s ease;
}

#footer .socials li a:hover svg {
    fill: #14ae5c;
    stroke: lightgray;
}

@media (max-width: 1200px) {
    .container {
        width: 100%;
        padding: 0 2rem; /* marges gauche/droite dès tablette */
    }

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

    .produit-image-droite {
        display: none;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 1rem; /* marges réduites pour les mobiles */
    }

    .grid-3 {
        grid-template-columns: 1fr;
    }

    #header .hero .entete .entete-logo img {
        max-height: 40px;
    }

    #header .hero {
        width: 100%;
    }

    #header .caroussel {
        display: none;
    }

    .entete-menu {
        display: none;
        flex-direction: column;
        background: #81cd2a;
        position: absolute;
        top: 100%;
        right: 0;
        width: 140px;
        z-index: 999;
    }

    .entete-menu.active {
        display: flex;
    }

    .entete-menu.active #main-menu {
        flex-direction: column;
    }

    .entete-menu.active #main-menu li {
        padding: 0.5rem;
    }

    .entete-menu.active #main-menu li a {
        color: #5c5b50;
    }
    .entete-menu.active #main-menu li:hover {
        background: #ccc129;
    }

    .menu-toggle {
        display: block;
    }

    .service-title img {
        height: 150px;
    }

    .produits-grid {
        justify-content: center;
    }

    .produits-blocs {
        flex-direction: column;
    }

    .produit-image-droite {
        display: none;
    }

    .rdv .left {
        width: 100%;
    }

    .rdv .right {
        display: none;
    }
}

input[type="text"],
input[type="email"],
textarea {
    border: solid 1px #5c5b50;
    width: 100%;
    padding: 0.5rem;
    margin: 0.5rem 0;
}
input[type="submit"] {
    background: #7ecb2b;
    color: #5c5b50;
    padding: 0.5rem 1rem;
    font-weight: 500;
    transition: all 0.3s ease-in-out;
}

input[type="submit"]:hover {
    background: #3d6315;
    color: #cacac2;
    cursor: pointer;
}

.video-player {
    width: 100%; /* S'adapte à la largeur de son conteneur */
    max-width: 800px; /* Largeur maximale */
    border-radius: 20px; /* Cette propriété crée les bords arrondis [citation:3] */
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2); /* Ajoute une ombre portée pour la profondeur [citation:3] */
    display: block;
    margin: 0 auto; /* Centre le lecteur dans sa section */
    overflow: hidden; /* Assure que les bords de la vidéo respectent le border-radius */
}

.video {
    background: #efefef;
}
