/* Block CSS */
.heading-home {
    min-height: 60vw;
    background: var(--bleupastel) url(../img/motif.svg) left top;
    background-attachment: fixed;
}
@media screen and (min-width: 1440px) {
    .heading-home {
        min-height: 100vh;
    }
}

.heading-home .gradient {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 70%;
    background: linear-gradient(to top, rgba(242, 258, 255, 1) 20%, rgba(242, 258, 255, 0) 100%);
    z-index: 1
}

.heading-home::after {
    content: "";
    display: block;
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 3.5vw;
    background-color: var(--blanc);
    z-index: 2
}

.heading-home .accroche {
    font-family: 'Varela Round', 'sans-serif';
    font-size: 2rem;
    line-height: 1;
    margin-top: 100px;
}

@media screen and (min-width: 768) {
    .heading-home .accroche {
        margin-top: 15vw
    }
}

.heading-home .accroche .vert {
    color: var(--emeraude)
}

.heading-home .accroche .bleu {
    color: var(--bleuelectric)
}

.heading-home .vs {
    box-shadow: 0 0 1rem rgba(0, 0, 0, .2);
}

.heading-home .vs img {
    width: 100%;
    object-fit: cover
}

.heading-home .motif {
    position: absolute;
    top: 0;
    height: 100%;
    width: 25%;
    z-index: 2;
    background-repeat: no-repeat;
    background-size: contain;
    opacity: 1;
    transition: all 0.2s linear;
}

.heading-home .motif.left {
    left: 0;
    background-position: bottom -10% left -10%;
    background-image: url(../img/tourbillon-vert.svg);
}

.heading-home .motif.right {
    left: unset;
    right: 0;
    background-position: right top 35%;
    background-image: url(../img/tourbillon-bleu.svg);
}

.notre-offre h2, .bloc-actus h2, .partenaires h2, .bloc-adhesion h2 {
    color: var(--noir);
    font-size: 2rem;
}

.notre-offre .vert, .bloc-actus .vert, .renseignements .vert {
    color: var(--emeraude)
}

.bloc-actus .item {
    border-radius: 1rem;
    overflow: clip
}

.bloc-actus .item .vs {
    background-color: rgb(230, 230, 230);
    overflow: clip;
    border-bottom-right-radius: 0;
    border-bottom-left-radius: 0;
}

.bloc-actus .item .vs img {
    object-fit: cover;
    transition: all 0.2s ease;
}

.bloc-actus .item .ttl {
    font-weight: bold
}

.bloc-actus .item:hover {
    box-shadow: 0 0 0.75rem rgba(0, 0, 0, .15);
}

.bloc-actus .item:hover .vs img {
    transform: scale(1.1);
}

.partenaires {
    background-image: url(../img/visuel-partenaires.png);
    background-position: right bottom;
    background-repeat: no-repeat;
    background-size: 30%
}

.renseignements {
    max-width: 992px;
    margin: 0 auto
}

.renseignements a {
    margin: 0.25rem 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--bleuelectric);
    font-weight: bold;
}

.renseignements a::before {
    content: "";
    display: block;
    width: 45px;
    height: 45px;
    background-color: var(--bleuelectric);
    border-radius: 50%;
    background-position: center;
    background-repeat: no-repeat;
    background-size: 60%;
    transition: all 0.2s ease;
}

.renseignements a.tel::before {
    background-image: url(../img/phone.svg);
}

.renseignements a.mail::before {
    background-image: url(../img/email-white.svg);
}

.renseignements a:hover {
    color: var(--emeraude);
}

.renseignements a:hover::before {
    background-color: var(--emeraude);
}

@media screen and (min-width: 1440px) {
    .partenaires {
        background-size: 23.5%
    }
}

.partenaires .points-cles ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.partenaires .points-cles ul li {
    margin: 2rem 0;
    font-size: 1rem;
    display: grid;
    grid-template-columns: [icone] 42px [libelle] auto;
}

.partenaires .points-cles ul li::before {
    content: "";
    display: block;
    width: 28px;
    height: 28px;
    background: url(../img/puce-liste.svg) no-repeat center / contain;
}

.partenaires .vs {
    box-shadow: 0 0 1rem rgba(0, 0, 0, .15);
}

.bloc-adhesion::before {
    content: "";
    display: block;
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 50%;
    background-color: var(--bleufonce);
    z-index: 1
}

.bloc-adhesion {
    color: var(--blanc);
    text-align: left;
}

.bloc-adhesion .content {
    border-radius: 1rem;
    background-image: url(../img/puzzle.svg);
    background-position: left top;
}

.bloc-adhesion .content .visuel img {
    width: 100%;
    object-fit: contain;
}

.adhesion-small {
    border-radius: 1rem;
    color: var(--blanc)
}

.adhesion-small .thin {
    width: 80%
}

.adhesion-small .intitule {
    display: grid;
    grid-template-columns: [icone] 80px [texte] auto;
}

.adhesion-small .intitule > div {
    align-self: center
}

.accordeon .item .content {
    display: none;
    overflow: hidden;
    text-align: left;
    padding-bottom: 2rem;
}

@media screen and (min-width: 1200px) {
    .accordeon .item .content {
        padding-right: 25%
    }
}

.accordeon .item .ttl {
    font-weight: bold;
    text-align: left;
    padding: 1rem 0;
    display: grid;
    grid-template-columns: [texte] auto [icone] 50px;
    border-top: 1px solid var(--emeraude);
    cursor: row-resize
}

.accordeon .item .ttl > div {
    align-self: center
}

.accordeon .item .ttl::after {
    content: "";
    display: inline-block;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: url(../img/puce.svg) no-repeat center / contain
}

.accordeon .item .ttl.active::after {
    transform: rotate(180deg);
}

.bloc-valeurs .vignet {
    width: 90px;
    border-radius: 50%;
    background-color: var(--bleuelectric)
}

.bloc-valeurs .vignet img {
    object-fit: contain;
}

.bloc-valeurs .ttl {
    font-weight: bold;
    color: var(--bleuelectric);
    font-size: 1.15rem;
    line-height: 1.1;
    margin: 1rem 0;
}

.bloc-valeurs .texte {
    font-size: 0.9rem;
}

@media screen and (min-width: 992px) {
    .partenaires .vs {
        transform: translateY(17.5%)
    }

    .partenaires .points-cles ul li {
        font-size: 1.2rem;
    }

    .bloc-adhesion .content::before {
        content: "";
        display: block;
        position: absolute;
        left: 0;
        bottom: 0;
        width: 25%;
        height: 100%;
        background: url(../img/double-loop.svg) no-repeat bottom left / contain
    }
}

.liste-logos .swiper-slide .logo {
    display: block;
    text-align: center;
    background-color: var(--blanc);
    border-radius: 1rem;
    position: relative;
}

.liste-logos .swiper-slide .logo img {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 80%;
    object-fit: contain;
}

.liste-logos .swiper .swiper-pagination-bullets {
    display: flex;
    gap: 0 0.25rem;
    justify-content: center;
}

.liste-logos .swiper .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background-color: var(--blanc);
}


@media screen and (min-width: 768px) {
    .heading-home .accroche {
        font-size: 3rem;
        margin-top: 3rem;
    }

    .notre-offre h2, .bloc-actus h2, .partenaires h2, .bloc-adhesion h2 {
        font-size: 2.25rem;
    }
}

@media screen and (min-width: 992px) {
    .bloc-adhesion .visuel img {
        position: absolute;
        left: 50%;
        bottom: 0;
        transform: translateX(-50%) scale(1.15);
    }
}


@media screen and (min-width: 1680px) {
    .heading-home .accroche {
        font-size: 4rem;
    }
}

@media screen and (min-width: 1440px) {
    .notre-offre h2, .bloc-actus h2, .partenaires h2, .bloc-adhesion h2 {
        font-size: 3rem;
    }
}

.frm_html_container .button {
    display: inline-block;
    background: var(--emeraude);
    color: #FFFFFF;
    padding: .5rem 1rem;
    cursor: pointer;
    border: solid 1px var(--emeraude);
}

.frm_html_container .button:hover {
    border: solid 1px var(--bleufonce);
    background: var(--bleufonce);
}

.liste-partenaires .sort {
    display: flex;
    flex-wrap: wrap;
    gap: 2px;
    margin-bottom: 2rem
}

.liste-partenaires .sort a {
    display: inline-flex;
    justify-content: center;
    padding: 0.5rem 1rem;
    border: 1px solid;
    border-radius: 0.5rem;
    color: var(--noir);
    background-color: var(--blanc);
}

@media screen and (max-width: 650px) {
    .liste-partenaires .sort a {
        flex: 1 1 auto
    }
}

.liste-partenaires .sort a:hover {
    background-color: var(--bleufonce);
    color: var(--blanc);
    border-color: var(--bleufonce)
}

.liste-partenaires .sort a.active {
    background-color: var(--bleuelectric);
    color: var(--blanc);
    border-color: var(--bleuelectric)
}

.liste-partenaires .partenaire-item .item {
    border: 1px solid rgb(200, 200, 200);
    border-radius: 1rem;
    padding: 1rem;
    color: var(--noir);
    background-color: var(--blanc);
    flex: 1 1 auto
}

.liste-partenaires .partenaire-item .item .taxo {
    font-weight: 700;
    color: var(--bleuelectric)
}

.liste-partenaires .partenaire-item a.item:hover {
    box-shadow: 0 0 1rem rgba(0, 0, 0, .1)
}

.liste-partenaires .partenaire-item .item p {
    margin-bottom: 0;
    margin-top: 0.5em
}

.liste-partenaires .partenaire-item .item .logo {
    width: 80%
}

.liste-partenaires .partenaire-item .item .logo img {
    width: 100%;
    height: 100%;
    object-fit: contain
}
