.hero {
    justify-content: space-between;
}
.hero-img img {
    border-radius: 24px;
}

@media (max-width: 1024px){
    .hero {
        flex-direction: column;
    }
}

.about{
    padding-block: var(--padding-x);
    scroll-margin-top: 55px;
}

section:has(.about){
    /*margin-block: 0!important;*/
    /*background-color: #483778;*/
}
section:has(.about) svg.book-top,
section:has(.about) svg.book-bottom {
    width: 100%;
    max-width: 100%;
    display: block;
    height: auto;
    margin: 0;
    position: relative;
}
section:has(.about) svg.book-top {
    top: -1px;
}
section:has(.about) svg.book-bottom {
    bottom: -1px;
}

section:has(.about) {
    position: relative;
    z-index: 0;
    /*overflow: hidden;*/
}


section:has(.about)::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url("/wp-content/themes/guillaumegorvel/assets/icons/dlbdc-pattern-bg.png");
    background-repeat: repeat;
    background-size: auto;
    opacity: 0.03;
    z-index: 0;
    pointer-events: none;
}

.about > * {
    position: relative;
    z-index: 1;
}

.about-content {
    display: flex;
    padding-top: 50px;
}
.about-content img {
    position: sticky;
    top: 20%;
}
.about-cards {
    display: flex;
    flex-direction: column;
    gap: 30px;
}
.about-cards .about-card {
    padding-left: 100px;
    padding-right: 100px;
    padding-block: 40px;
    display: flex;
    border-radius: 160px;
    flex-direction: column;
    justify-content: center;
    border: 4px dashed #483778;
    position: relative;
}
.about-cards .about-card:nth-child(odd){
    background-color: #B4A8D7;
    border-bottom-right-radius: 0;
}
.about-cards .about-card:nth-child(even){
    background-color: #E9E4F5;
    border-bottom-left-radius: 0;
}
.about-cards .about-card:nth-child(odd) .pin {
    right: 0;
    transform: translate(50%, 50%);
}
.about-cards .about-card:nth-child(even) .pin{
    left: 0;
    transform: translate(-50%, 50%);
}
.pin {
    background: #dfff00;
    border: 4px solid white;
    position: absolute;
    bottom: 0;
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    width: 85px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.coccinelle {
    background: url(/wp-content/themes/guillaumegorvel/assets/icons/dlbdc_coccinelle.svg);
    height: 64px;
    width: 43px;
    z-index: 10;
    background-size: contain;
    background-repeat: no-repeat;
}

.abeille {
    background: url(/wp-content/themes/guillaumegorvel/assets/icons/dlbdc_abeille.svg);
    height: 54px;
    width: 54px;
    z-index: 10;
    background-size: contain;
    background-repeat: no-repeat;
}
@media (max-width: 1400px) {
    .about .wp-block-image {
        width: 400px;
    }
}

@media (max-width: 1224px) {
    .about-content{
        flex-direction: column;
    }
    .about .wp-block-image {
        margin-top: 50px;
    }
}

@media (max-width: 1024px) {
    .about-cards{
        max-width: 100%;
        padding-left: var(--padding-x);
        padding-right: var(--padding-x);
    }

    .about .wp-block-image {
        width: 100%;
    }
    .about .wp-block-image img {
        width: 100%;
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 768px) {
    .pin {
        width: 60px;
    }

    .coccinelle {
        height: 46px;
        width: 30px;
    }
    .abeille {
        height: 36px;
        width: 36px;
    }
}
@media (max-width: 550px) {
    .about-cards .about-card {
        padding-left: 20px;
        padding-right: 20px;
        padding-block: 40px;
        border-radius: 40px;
    }
}

    /* Prestations */
section:has(.prestation){
    position: relative;
    background: #94E1FF;
    padding-bottom: 400px;
    scroll-margin-top: 55px;
}
section:has(.prestation)::before {
    background: url(/wp-content/themes/guillaumegorvel/assets/icons/dlbdc_nuage.svg);
    content: '';
    height: 500px;
    width: 100%;
    z-index: 1;
    display: block;
    position: absolute;
    top: -1px;
    background-repeat: no-repeat;
    background-size: cover;
}

section:has(.prestation)::after {
    background: url(/wp-content/themes/guillaumegorvel/assets/icons/dlbdc_arbres.svg);
    content: '';
    /*height: 335px;*/
    height: calc(100vw / 6);
    width: 100%;
    z-index: 1;
    display: block;
    position: absolute;
    bottom: -5px;
    background-repeat: no-repeat;
    background-size: 100%;
}

.prestation {
    padding-top: 40px;
    z-index: 2;
    position: relative;
}
.prestation h2{
    padding-top: 50px;
}
.prestation h2+p{
    margin-bottom: 70px;
}
.prestation-grid{
    grid-template-columns: repeat(2, minmax(0, 514px));
    justify-content: center;
    gap: 32px;
}
.prestation-item {
    overflow: hidden;
}
.prestation-item h3 {
    font-family: "Nunito", sans-serif;
    font-size: var(--h3);
    font-weight: 800;
}
.prestation-item-content{
    display: grid;
    align-items: center;
    grid-template-columns: auto 1fr;
    margin: 0;
    padding: 24px 24px 48px 12px;
    gap: 12px;
}

@media (max-width: 1400px) {
    section:has(.prestation) {
        padding-bottom: 325px;
    }
}

@media (max-width: 1224px) {
    section:has(.prestation) {
        padding-bottom: 270px;
    }
}

@media (max-width: 1024px) {
    .prestation-grid {
        grid-template-columns: repeat(1, minmax(0, 514px));
    }

    section:has(.prestation) {
        padding-bottom: 250px;
    }
}

@media (max-width: 786px) {
    section:has(.prestation) {
        padding-bottom: 165px;
    }
}

@media (max-width: 550px) {
    .prestation-item-content{
        grid-template-columns: 1fr;
    }

    section:has(.prestation) {
        padding-bottom: 165px;
    }

}



    /* Galerie */
section:has(.galerie-content) {
    position: relative;
    margin-top: 0!important;
}
section:has(.galerie-content)::before {
    background: url(/wp-content/themes/guillaumegorvel/assets/icons/dlbdc_wave-top.svg);
    content: '';
    /*height: 183px;*/
    height: 15vw;
    width: 100%;
    z-index: 0;
    display: block;
    background-repeat: no-repeat;
    background-size: cover;
}

.galerie-content {
    display: flex;
    align-items: center;
    padding-block: 60px;
    gap: 100px;
}

@media (max-width: 1024px) {
    .galerie-content {
        flex-direction: column;
    }
}
/* Clients */

section:has(.clients){
    border-top-left-radius: 80px;
    border-top-right-radius: 80px;
}

.clients {
    padding-block: 100px 30px;
}

.clients .trust-clients {
    margin-top: 32px;
}

/* Avis Google*/

section:has(.avis) {
    margin-top: 0;
}
.avis {
    padding-top: 60px;
    gap: 50px;
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
}

.avis h2 {
}



section:has(.avis)::after {
    background: url(/wp-content/themes/guillaumegorvel/assets/icons/dlbdc_wave-bottom.svg);
    content: '';
    /*height: 183px;*/
    height: 15vw;
    width: 100%;
    z-index: 0;
    display: block;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
    bottom: -1px;
}

.avis-box {
    background: #daf900;
    border-radius: 24px;
    padding: 50px 30px;
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    box-shadow: inset 0px -1px 12px 13px #0000000a;

}
.avis-box:after {
    content: '';
    background: #daf900;
    height: 50px;
    width: 101%;
    display: block;
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 24px;
    box-shadow: 0px 3px 6px 0px #00000012;
}

@media (max-width: 1224px) {
    .avis {
        flex-direction: column;
    }
}
@media (max-width: 768px) {
    .avis-box {
        max-width: 100%;
    }
}
/* Contact */
section:has(.contact) {
    position: relative;
    margin-top: 0!important;
}

.contact h2 {
    padding-top: 100px;
    padding-bottom: 50px;
}

.contact form {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}