.home a {
    border-bottom: 0;
}

/* Raccourcis "En un clic" */

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

.shortcut .title {
    margin: 50px 0 20px;
}

.shortcut__title {
    font-size: 1.5rem;
    font-weight: 600;
    text-transform: uppercase;
    margin: 0;
    margin-top: 0px;
    padding: 5px 10px;
    width: 110px;
    position: relative;
    display: block;
    background-color: rgba(255, 255, 255, 0);
}

.shortcut .title__content {
    color: var(--punchy-color);
}

.shortcut .deco__diagonale {
    display: none;
}

.title__deco {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(120%, 0%);
    width: 40px;
}

.shortcut__list {
    list-style: none;
    padding: 0 20px;
    justify-content: space-around;
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    column-gap: 40px;
}

.shortcut__list li {
    text-align: center;
    margin: 20px 3%;
    margin: 20px auto;
    position: relative;
}

.shortcut__img {
    padding-bottom: 18px;
    transition: ease .25s;
    transform-origin: bottom left;
}

.shortcut__effect {
    position: absolute;
    top: 0;
    right: 0;
    transform: translate(-10%, -50%);
    opacity: 0;
    transition: .25s linear;
    width: 35px;
}

.shortcut__list > li, .shortcut__list > li .shortcut__title::before {
    transition: .5s ease;
}

.shortcut__list > li.bleu .shortcut__title {
    color: var(--main-color);
}

.shortcut__list > li.vert .shortcut__title {
    color: var(--secondary-color);
}

.shortcut__title::before {
    content: "";
    display: block;
    position: absolute;
    height: 100%;
    width: 100%;
    border: 2px solid black;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -52%) skewX(-20deg);
    z-index: -1;
}

.shortcut__list > li:hover .shortcut__img {
    transform: rotate(-8deg);
}

.shortcut__list > li:hover .shortcut__effect {
    opacity: 1;
}

.shortcut__list > li:hover .shortcut__title {
    color: #fff;
}

.shortcut__list > li.bleu .shortcut__title::before {
    border-color: var(--main-color);
    background-color: rgba(100, 194, 200, 0);
}

.shortcut__list > li.bleu:hover .shortcut__title::before {
    background-color: var(--main-color);
}

.shortcut__list > li.vert .shortcut__title::before {
    border-color: var(--secondary-color);
    background-color: rgba(151, 195, 61, 0);
}

.shortcut__list > li.vert:hover .shortcut__title::before {
    background-color: var(--secondary-color);
}



/* Notre actualité */

.actus {
    margin-top: 50px;
}

.actus .title__content {
    color: var(--main-color);
}

.actus .title__content .title__prefix {
    transform: translate(-70%, -70%);
}

.actus__container {
    padding: 0 20px;
    position: relative;
}

.actus__list > .actu:not(:first-child) .actu__container {
    /*height: 100%;*/
    max-height: 250px;
}

.actus .deco__tache {
    position: absolute;
    left: 0;
    top: 0;
    transform: translate(-20%, -30%);
    z-index: -1;
    width: 16rem;
}

.actus__list {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 3fr;
    list-style: none;
    padding: 0;
    grid-gap: 20px;
}

.actus__list > .actu:first-child .actu__title {
    background-color: var(--main-color);
}

.actus__list > .actu:first-child .actu__container {
/*    height: 100%;*/
	height: 558px;
}

.actu {
    box-shadow: 6px 9px 15px rgba(0,0,0,.1);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.actu__container {
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.actu__img {
    transform: scale(1);
    object-fit: cover;
    width: 100%;
    height: 100%;
    transition: .25s ease;
}

.actu:hover .actu__img {
    transform: scale(1.1);
}

.actu__infos {
    width: 100%;
    display: flex;
    position: relative;
    justify-content: space-between;
    margin-top: -4px;
    font-size: 1.4rem;
}

.actu__category {
    position: absolute;
    padding: 3px 5px;
    background-color: #fff;
    top: 0;
    right: 0;
    margin: 0;
    transform: translateY(-100%);
    font-size: 1.2rem;
}

.actu__category a {
    color: #000;
}

.actu__title {
    background-color: var(--secondary-color);
    width: 100%;
    margin: 0;
    display: flex;
    align-items: center;
    padding: 10px 15px;
    font-weight: 600;
    font-size: 1.8rem;
}

.actu__title a {
    color: #fff;
}

.actu__date {
    background-color: #fff;
    color: #000;
    padding: 10px 15px;
    display: flex;
    align-items: center;
    font-weight: 600;
}

.actus .deco__barres {
    position: absolute;
    bottom: 0;
    right: 0;
    z-index: -1;
    transform: translate(3rem, 2rem);
    width: 100px;
}


/* Commune */

.commune {
    background-image: url('/wp-content/uploads/2021/06/Rectangle-penche-bleu-recadre-5.png');
    padding: 40px 20px;
    display: flex;
    flex-direction: column;
    background-repeat: repeat;
}

.commune__infos {
    background-color: #fff;
    padding: 40px 30px 250px 30px;
    text-align: center;
    z-index: 0;
    max-width: 657px;
}

.chiffre__picto {
    height: 80px;
    object-fit: contain;
}

.commune__title {
    font-size: 1.8rem;
    color: var(--main-shade-color);
    font-weight: 700;
    margin-bottom: 20px;
}

.commune p {
    font-size: 1.5rem
}

.commune__chiffre {
    display: flex;
    margin: 50px auto;
    justify-content: center;
}

.commune__chiffre > div {
    width: 100px;
}

.chiffre__legend {
    margin-left: 20px;
    color: var(--secondary-color);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.chiffre__legend p {
    margin: 0;
}

.commune .chiffre__number {
    font-size: 4rem;
    font-weight: 600;
    text-align: left;
}

.commune .chiffre__text {
    font-size: 1.8rem;
}

.commune__carte {
    margin: -250px auto 0 auto;
    z-index: 10;
    max-width: 400px;
    object-fit: contain;
    width: 100%;
} 


/*     Annuaires     */

.annuaires {
    max-width: 1000px;
    margin: 0 auto 50px;
    position: relative;
}

.annuaires .title {
    display: flex;
    justify-content: center;
    position: relative;
    color: var(--main-color);
/*	margin-bottom: 0;*/
}

.annuaires .title__content {
    padding: 10px;
    display: inline;
    z-index: 1;
    margin: inherit;
}

.annuaire__title {
    font-size: 1.8rem;
    font-weight: 400;
    margin: 0;
    padding-top: 20px;
    color: #000;
    background-color: rgba(255, 255, 255, 0);
}

.annuaires .title__prefix {
    transform: translate(-40%, 10%);
}

.annuaires .title .deco__tache {
    position: absolute;
    left: 0;
    top: 0;
    width: 160px;
    transform: translate(-10%, 0);
}

.annuaires__list {
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    list-style: none;
}

.annuaires__list li {
    text-align: center;
    width: 200px;
    padding: 20px;
    transform: scale(1);
    transition: .25s ease;
    margin: 0 auto;
    border: 4px rgba(255, 255, 255, 0) solid;
}

.annuaires__list > li:last-child {
    margin: 50px auto;
}

.annuaires__list li:hover {
    border-color: var(--main-color);
    border-radius: 4px;
    transform: scale(.95);
}

.annuaire__img {
    width: 150px;
}

.annuaires > .deco__tache {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 250px;
    transform: translate(20%, 50%);
}


/*     News      */

.news {
    background-color: #F4F4F4;
    display: flex;
    flex-direction: column;
    position: relative;
    padding: 50px 0 70px 0;
}

.news::before {
    content: "";
    display: block;
    width: 100%;
    height: 40px;
    position: absolute;
    top: 0;
    background-color: #F4F4F4;
    -webkit-clip-path: polygon(0 0%, 0% 100%, 100% 100%); 
    clip-path: polygon(0 0%, 0% 100%, 100% 100%);
    transform: translateY(-99%);
}


/*     Flash info     */

.flash {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 40px auto 0;
    padding: 0 20px;
    position: relative;
}

.flash__title {
    background-color: var(--main-color);
    padding: 5px 40px;
    clip-path: polygon(10% 0%, 100% 0%, 90% 100%, 0% 100%);
    color: #fff;
    font-size: 2.3rem;
    margin: 0;
    transform: translateY(50%);
    z-index: 3;
}

.flash__last {
    height: 440px;
    width: 400px;
    z-index: 2;
    max-width: 90vw;
}

.flash__img {
    width: 100%;
    height: 440px;
    object-fit: cover;
    object-position: top;
}

.flash__bottom {
    background-color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    font-size: 1.6rem;
    margin-top: -3px;
}

.flash__links {
    display: flex;
    flex-wrap: nowrap;
    margin: 5px 0;
    width: 90%;
    justify-content: space-between;
    margin: 20px 0;
}

.flash__links > a {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.flash__icon {
    object-fit: contain;
    width: 50px;
    height: 50px;
    margin: 0 0 10px 0;
    transition: .25s ease;
    transform: rotate(0deg);
}

.flash__icon:hover {
    transform: rotate(-30deg);
}

.flash > .deco__barres {
    position: absolute;
    top: 0;
    right: 0;
    transform: translate(50%, 0);
}

.flash__links a {
    color: var(--main-shade-color);
    margin: 0 10px;
}


/*     Evenement     */

.evenements {
    margin-top: 120px;
}

.evenements .title {
    display: flex;
    justify-content: center;
    margin: 60px 0 10px;
}

.evenements .title__content {
    display: inline;
}

.evenements .title__prefix {
    transform: translate(-15%, -34%);
}

.evenements .deco__fleche {
    display: none;
}

.evenement__last {
    padding: 0 20px;
    position: relative;
    max-width: 400px;
    margin: 0 auto;
    height: 250px;
}

.evenement__carousel {
    overflow: hidden;
    width: 100%;
    height: 100%;
    position: relative;
}

.carousel__nav {
    position: absolute;
    width: 50%;
    height: 100%;
    z-index: 5;
}

.carousel__left {
    left: 0;
}

.carousel__right {
    right: 0;
}

.evenement__carousel > .evenement__img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity .5s ease;
    opacity: 0;
}

.img--prev {
    opacity: 0; 
}

.img--active {
    opacity: 1 !important; 
}

.img--next {
    opacity: 0; 
}

.evenement__bottom {
    display: flex;
    justify-content: flex-end;
    font-size: 1.6rem;
    position: absolute;
    bottom: 0;
    right: 0;
    transform: translate(-20px, 0px);
    max-width: 85%;
}

.evenement__title {
    padding: 10px 20px;
    background-color: #fff;
    display: inline;
    margin: 0;
	max-width: 85%;
}

.evenement__date {
    padding: 10px 20px;
    background-color: var(--main-color);
    display: inline;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
}






/*===== Screen > 650px =====*/

@media screen and (min-width: 650px) {
    
/*    Raccourcis    */
    
    .shortcut__list {
        grid-template-columns: repeat(4, 1fr);
        grid-gap: 0;
    }
    
    .shortcut .title__prefix {
        transform: translate(-160%, -10%);
    }
    
/*    Actualités     */
    
    .actus .title__content {
        text-align: start;
        margin-left: 20px;
    }
    
    .actus .title__content .title__prefix {
        left: 0;
        transform: translate(144%, -40%);
    }
    
    .actus__list {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: 2fr;
    }
    
    .actus__list > .actu:first-child {
        grid-column: 1;
        grid-row: span 2;
        height: 100%;
    }
    
    .actus__list > .actu:first-child .actu__img {
        height: 100%;
    }
    
    .actus__list > .actu:nth-child(2) {
        grid-column: 2;
        grid-row: 1;
    }
    
    .actus__list > .actu:last-child {
        grid-column: 2;
        grid-row: 2;
    }
    
    
/*    Commune     */
    
    .commune {
        flex-direction: row;
        align-items: center;
        justify-content: center;
    }
    
    .commune__title {
        font-size: 2.2rem;
    }
    
    .commune__infos {
        padding: 40px 40px 0;
        width: 70%;
    }
    
    .commune__carte {
        width: 40vw;
        height: max-content;
        margin-top: 0;
        margin: 0 0 0 -10%;
    }
    
    
    
    
/*    Annuaires     */
    
    .annuaires {
        margin: 0 auto 100px;
    }
    
    .annuaires .title {
        justify-content: flex-start;
        margin-left: 50px;
        margin-bottom: 20px;
    }
    
    .annuaires .title__prefix {
        transform: translate(130%, 0%);
        left: 0;
    }
    
    .annuaires .title .deco__tache {
        transform:translate(-50px, 0);
    }
    
    .annuaires__list {
        flex-direction: row;
        justify-content: center;
    }
    
    .annuaires__list > li {
        margin: 0;
    }
    
    .annuaires__list > li:last-child {
        margin: 0 0 0 70px;
    }
    
    .annuaires > .deco__tache {
        transform: translate(10%, 80%);
    }
    
    
/*    News    */

    .flash__links > a {
        align-items: center;
    }
    
    .flash__bottom {
    font-size: 1.6rem;
}
    
}



/*===== Screen > 1000px =====*/

@media screen and (min-width: 1000px) {
    
/*    Carte de la commune     */
    
    .commune__title, .commune p {
        text-align: left;
    }
    
    .commune__chiffres {
        display: flex;
        width: 90%;
        justify-content: space-around;
    }
    
    .commune__chiffre {
        margin: 50px auto 0 0;
    }
    
/*    Section des news    */
    
    .news {
        flex-direction: row;
        justify-content: center;
        padding: 50px 0 200px 0;
    }
    
    .news > article {
        margin: 0;        
    }
    
/*    Flash    */
    
    .flash {
        transform: translateX(10%);
    }
    
    .flash__title {
        margin-right: auto;
        transform: translate(-20%, 50%);
    }
    
/*    Evenements    */
    
    .evenements .title {
        position: relative;
        transform: translateY(-50%);
    }
    
    .evenements .deco__fleche {
        display: block;
        object-fit: contain;
        position: absolute;
        right: 0;
        bottom: 0;
        transform: translate(-260%, 40%) rotate(-20deg);
    }
    
    .evenement__last {
        transform: translate(-10%, 0);
        max-width: inherit;
        height: 300px;
        width: 470px;
    }
    
    .evenement__img {
        max-height: 300px;
        width: 520px;
    }
    
    .evenements .cta {
        margin: 40px 0 0 auto;
        transform: translateX(-30%);
    }
    
/*
    .evenement__img {
        max-height: 350px;
        max-width: 500px;
        object-fit: cover;
    }
    
*/
}


/*===== Screen > 1250px =====*/

@media screen and (min-width: 1250px) {

    .home {
        margin-top: 100px;
    }
    
    .shortcut .deco__diagonale {
        display: block;
        position: absolute;
        right: 0;
        top: -20%;
    }
    
}

/*===== Screen > 1440 =====*/

@media screen and (min-width: 1440px){
	.commune__carte{
		position: relative;
		left: 75px;
	}
}