:root {
    --ecriture: #f1f1f1;
    --background: #262626;
    --bleu: #0f368b;
    --bleu-clair: #195df0;
    --rouge: #d73f28;
    --rouge-clair: #d73f28;
    --jaune: #ffbe30;
    --jaune-clair: #f9d107;
}

body {
    background: var(--background);
    color: var(--ecriture);
    font-family: Tahoma, Geneva, Verdana, Inter;
}

h1 {
    font-size: 48px;
}

h2 {
    font-size: 24px;
}

h3 {
    font-size: 20px;
}

h4 {
    font-size: 18px;
}

p {
    font-size: 16px;
}

.first-image {
    height: 5%;
    width: 5%;
    padding-top: 3%;
    margin-right: 2%;
    float: left;
}

.titre {
    margin-top: 5vw;
    display: inline-block;
}

.Haut-de-page {
    background-color: var(--bleu);
    position: relative;
    overflow: hidden;
    text-align: center;
    border-radius: 6px;
    height: auto;
}

#Logo {
    float: left;
    padding: 10px 10px 10px 0;
    width: 100px;
    height: 100px;
}

.Haut-de-page .conteneur {
    float: right;
    display: flex;
    gap: 10px;
    padding: 50px 10px 0 10px;
    filter: invert(100%);
}

.Haut-de-page img {
    position: relative;
    width: 50px;
    height: 50px;
}

.Menu {

    background-color: var(--rouge);
    position: relative;
    overflow: hidden;
    text-align: right;
    width: auto;
    height: auto;
    border-radius: 6px;
}

.Menu button {
    width: 100px;
    height: 30px;
    border-radius: 12px;
}

.Menu select {
    border-radius: 12px;
}

.Menu .boutons {
    position: relative;
    right: 0;
}

.Page-actuelle {
    background-color: var(--bleu);
    color: var(--ecriture);
}

.Autre-page {
    background-color: var(--rouge);
}

.Menu img {
    filter: invert(100%);
    width: 30px;
    height: 30px;
}

.Menu #arriere {
    float: left;
}

.Menu #search {
    position: relative;
    float: left;
    left: 50px;
    top: -25px;
}

.Menu #selecteur {
    width: 10px;
    height: 10px;
}

.Intro {
    background-color: var(--jaune);
    position: relative;
    overflow: hidden;
    width: auto;
    height: auto;
    margin-top: 5vh;
    border-radius: 6px;
}

.Magasin {
    position: relative;
    overflow: hidden;
}

.Magasin h2 {
    text-align: center;
}

.Magasin img {
    width: 40%;
    height: 30%;
    margin: 0 3% 0 3%;
    border-radius: 6px;
}

.Magasin iframe {
    float: left;
    width: 30vw;
    height: 30vh;
    margin-top: 2%;
    margin-right: 5%;
    border-radius: 6px;
}

.Jaune {
    text-align: center;
    background-color: var(--jaune);
    position: relative;
    overflow: hidden;
    margin-top: 5vh;
    border-radius: 2px;
}

.Jaune .Grille {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 10px;
}

.Client {
    background-color: #D73F284D;
    position: relative;
    overflow: hidden;
    font-size: 20px;
    border-radius: 6px;
}

.Client img {
    height: 100px;
    width: 100px;
}

.intervention {
    position: relative;
    overflow: hidden;
    text-align: center;
    background-image: url("../Images/Photos/dératisation.jpg");
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    width: auto;
    height: 500px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    margin-top: 5vh;
    border-radius: 6px;
}

.intervention button {
    width: 50vw;
    height: 10vh;
    font-size: 32px;
    font-weight: bold;
    font-family: Verdana;
    color: var(--jaune);
    background: var(--bleu);
    border-radius: 12px;
}

.intervention h2 {
    -webkit-text-stroke: 1px #000000;
}

.slider-container {
    width: 50%;
    margin: 100px auto;
    overflow: hidden;
    border: 1px solid var(--ecriture);
    background: #202124;
}

.slider-container .slider {
    display: flex;
    height: 100%;
    width: calc(100% * 6);
    animation: slider-container 60s infinite ease-in-out;
}

.slider img {
    height: 100%;
    width: calc(100% / 6);
    object-fit: contain;
    flex-shrink: 0;
    align-items: center;
    padding: 5px;
    box-sizing: border-box;
}

@keyframes slider-container {

    0% {
        transform: translateX(0);
    }

    15% {
        transform: translateX(0);
    }

    /* Image 1 */
    16.6% {
        transform: translateX(-16.66%);
    }

    /* Transition vers l’image 2 */
    31.6% {
        transform: translateX(-16.66%);
    }

    /* Image 2 */
    33.2% {
        transform: translateX(-33.33%);
    }

    48.2% {
        transform: translateX(-33.33%);
    }

    /* Image 3 */
    49.8% {
        transform: translateX(-50%);
    }

    64.8% {
        transform: translateX(-50%);
    }

    /* Image 4 */
    66.4% {
        transform: translateX(-66.66%);
    }

    81.4% {
        transform: translateX(-66.66%);
    }

    /* Image 5 */
    83% {
        transform: translateX(-83.33%);
    }

    98% {
        transform: translateX(-83.33%);
    }

    /* Image 6 */
    100% {
        transform: translateX(-100%);
    }
}

.avis {
    position: relative;
    overflow: hidden;
}

.presse {
    position: relative;
    overflow: hidden;
}

.presse>img:first-child {
    filter: invert(100%);
}

.presse #progres {
    display: block;
    position: relative;
    margin-top: 2%;
    left: 150px;
    width: 20%;
    border-radius: 6px;
}

.presse #photo_presse {
    width: 40%;
    height: auto;
    display: block;
    position: relative;
    top: -50px;
    margin-left: 35%;
    border-radius: 6px;
}

.certif {
    position: relative;
    overflow: hidden;
}

.certif #certibiocide {
    display: block;
    margin-left: 35%;
    width: 30%;
    height: auto;
    border-radius: 3px;
}

.animaux {
    position: relative;
    overflow: hidden;
}

.animaux .Grille {
    display: grid;
    position: relative;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    width: 70vw;
    height: 80vh;
    margin-bottom: 2%;
    margin-left: 20%;
}

.animaux .Grille h3 {
    position: absolute;
    z-index: 2;
    font-family: Protest Strike Regular;
    font-size: 32px;
    color: var(--jaune);
    -webkit-text-stroke: 1px #000000;
}

.animaux .Grille img {
    width: 25vw;
    height: auto;
    border-radius: 6px;
}

.animaux .Grille .haut {
    top: -20px;
}

.animaux .Grille .bas {
    top: 260px;
}

.Liens {
    background-color: var(--ecriture);
    color: var(--background);
    display: grid;
    position: relative;
    overflow: hidden;
    gap: 20px;
    width: auto;
    height: 30vh;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(1, 1fr);
    border-radius: 12px;
}

.Liens img {
    width: 10%;
    height: auto;
}

.Liens .contact {
    padding-left: 20px;
}

.Liens .contact p {
    position: relative;
    left: 60px;
    top: -45px;
}

.Liens .reseaux img {
    margin: 0 20px 0 20px;
}

.Liens .email {
    position: relative;
    top: -50px;
}

.Liens .mentions {
    position: relative;
    top: -10px;
}

/* Page Produits */

.produits-phares {
    text-align: center;
    display: grid;
    position: relative;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 20px;
    width: 1000px;
    height: auto;
}

.carre {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 25%;
    height: 25vw;
    background: rgba(34, 34, 34, 0.2);
    display: flex;
    align-items: flex-end;
    justify-content: left;
}

.produits-phares img {
    width: 50%;
    height: auto;
}

.produits-phares .numero {
    margin: 10px;
    font-size: 7rem;
    font-family: Lilita One;
    color: var(--background);
}

.produits-phares p {
    font-size: 32px;
    color: var(--background);
}

.produits-phares .prix {
    font-size: 36px;
    color: var(--jaune);
    font-weight: bold;
}

.produits-phares button {
    width: auto;
    height: auto;
    font-size: 24px;
    background-color: var(--bleu);
    color: var(--jaune);
    left: 30px;
    top: -20px;
    visibility: hidden;
}

.image-container {
    position: relative;
    display: inline-block;
    width: 100%;
}


.autres-solutions {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    margin: 50px;
}

.autres-solutions img {
    width: 100%;
    height: auto;
    margin: 0 10px 0 10px;
    position: relative;
    display: inline-block;
}

.autres-solutions p {
    font-size: 20px;
    color: var(--background);

}

.autres-solutions .prix {
    font-size: 24px;
    color: var(--jaune);
    font-weight: bold;
}

.autres-solutions button {
    width: auto;
    height: auto;
    font-size: 16px;
    background-color: var(--bleu);
    color: var(--jaune);
    left: 20%;
    top: -20px;
    visibility: hidden;
}

.grosse-ligne {
    background-color: var(--ecriture);
    height: 5px;
    margin-top: -20px;
    margin-bottom: 40px;
}

.petite-ligne {
    background-color: var(--ecriture);
    height: 2px;
    margin-top: -10px;
    margin-bottom: 30px;
}

.carte-produit {
    position: relative;
    margin: 20px;
    background: transparent;
    overflow: hidden;
}

.fond-carre {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--ecriture);
    z-index: 1;
    border-radius: 6px;
}

.carte-produit>*:not(.fond-carre) {
    position: relative;
    z-index: 2;
    text-align: center;
}

@media (max-width: 768px) {
    .produits-phares {
        grid-template-columns: 1fr;
    }

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

/* Nuisibles */

.explications section {
    margin: 50px 0 50px 0;
    height: auto;
    border-radius: 12px;
    padding: 10px;
    overflow: hidden;
}

.explications img {
    height: auto;
    width: auto;
    border-radius: 8px;
    margin: 5px;
}

.explications p {
    line-height: 150%;
    font-size: 18px;
}

.partie-1 {
    background-color: var(--bleu);
}

.partie-1 img {
    float: left;
}

.partie-2 {
    background-color: var(--rouge);
}

.partie-2 img {
    float: right;
}

.partie-3 {
    background-color: var(--jaune);
}

.partie-3 img {
    float: left;
}


.meilleurs-produits {
    position: relative;
}

.meilleurs-produits h2 {
    text-align: center;
}

.meilleurs-produits .Grille {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    text-align: center;
}

.meilleurs-produits img {
    width: 50%;
    height: auto;
    margin: 0 10px 0 10px;
    position: relative;
    display: inline-block;
}

.meilleurs-produits p {
    font-size: 20px;
    color: var(--background);
}

.meilleurs-produits .prix {
    font-size: 24px;
    color: var(--jaune);
    font-weight: bold;
}

.meilleurs-produits button {
    width: auto;
    height: auto;
    font-size: 16px;
    background-color: var(--bleu);
    color: var(--jaune);
    top: -20px;
    visibility: hidden;
}

.meilleurs-produits .fond-carre {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--ecriture);
    z-index: 1;
    border-radius: 6px;
}

/*Contacts*/

.wrapper {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    /* ou center selon tes besoins */
    gap: 24px;
    /* espace entre les blocs */
    max-width: 2000px;
    /* à adapter selon la largeur souhaitée */
    margin: 0 auto;
    /* centre le tout sur la page */
    width: 100%;
    padding-top: 20px;
    box-sizing: border-box;
    overflow: hidden;
}

.Photos {
    overflow: hidden;
    width: 32%;
    box-sizing: border-box;
}

.Photos img {
    border-radius: 6px;
    margin-bottom: 10%;
    width: 100%;
    height: auto;
}

.Photos iframe {
    border-radius: 6px;
    width: 100%;
    height: auto;
}

.Photos h3 {
    position: relative;
    text-align: center;
}

.wrapper form {
    width: 36%;
    margin: 0;
    box-sizing: border-box;
}

.wrapper select,
input,
textarea {
    border-radius: 8px;
}

.wrapper form input[type="submit"],
input[type="reset"] {
    color: var(--jaune);
    background-color: var(--bleu);
}

.wrapper form label[for="prenom"] {
    left: 500px;
}

.form-line {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-bottom: 10px;
}

.adresse input {
    margin: 0;
}

.contacts {
    overflow: hidden;
    width: 32%;
    background-color: var(--bleu);
    border-radius: 12px;
    box-sizing: border-box;
}

.contacts img {
    width: 15%;
    height: auto;
}

.contacts h3 {
    text-align: center;
}

.contacts .infos img {
    filter: invert(100%);
}

.contacts .infos h4 {
    position: relative;
    top: -55px;
    left: 25%;
}

.contacts .logos-reseaux {
    text-align: center;
    margin-top: 10px;

}

.contacts .logos-reseaux img {
    margin: 0 6px;
    padding-bottom: 10%;
}

/* Mentions Légales */
.légal p {
    line-height: 1.5;
}

.légal a {
    color: var(--bleu-clair);
}