/*****************
		1560px
******************/
@media (max-width: 1560px) {
    /***** HOMEPAGE *****/
    .bottom-center-arrow .splide__arrows {
        left: 0;
    }
}

/*****************
		1300px
******************/
@media (max-width: 1300px) {
    /******	  GENERAL	 ******/
    h2 {
        font-size: 3rem
    }

    /******	  HOMEPAGE	 ******/
    .hero_home_title {
        font-size: 4rem;
    }
    .hero_home_content {
        gap: 100px;
    }
    #slider-extended .slider-extended__img {
        max-height: 350px;
    }
    .hero_home_left img {
        max-width: 180px;
        width: 100%;
    }
}



/*****************
	  +1024px
******************/
@media screen and (min-width: 1024px) {
    /******	  NAV	 ******/
    .nav {
        height: calc(3rem + 2rem);
        display: flex;
        justify-content: center;
        max-width: var(--section-max);
        margin: var(--center);
    }
    .nav__toggle {
        display: none;
    }
    .nav__list {
        height: 100%;
        display: flex;
        column-gap: 3rem;
        align-items: center;
    }
    .nav__link {
        height: 100%;
        padding: 0;
        justify-content: initial;
        column-gap: .25rem;
    }
    .nav__link:hover {
        background-color: transparent;
    }

    /******	  NAV DROPDOWNS	 ******/
    .dropdown__link,
    .dropdown__sublink {
        min-width: 200px;
    }
    .dropdown__item,
    .dropdown__subitem {
        position: relative;
        height: 100%;
    }
    .dropdown__menu,
    .dropdown__submenu {
        max-height: initial;
        overflow: initial;
        position: absolute;
        left: auto;
        top: 6rem;
        opacity: 0;
        pointer-events: none;
        transition: opacity .3s, top .3s;
    }
    .dropdown__link,
    .dropdown__sublink {
        padding-inline: 1rem 3.5rem;
    }
    .dropdown__subitem .dropdown__link {
        padding-inline: 1rem;
    }
    .dropdown__submenu {
        position: absolute;
        right: 100%;
        top: .5rem;
    }
    /* Show dropdown menu */
    .dropdown__item:hover .dropdown__menu {
        z-index: 2;
        opacity: 1;
        top: 4.5rem;
        pointer-events: initial;
        transition: top .3s;
    }
    /* Show dropdown submenu */
    .dropdown__subitem:hover > .dropdown__submenu {
        opacity: 1;
        top: 0;
        pointer-events: initial;
        transition: top .3s;
    }
}

/*****************
		1024px
******************/
@media (max-width: 1024px) {
    /******	  GENERAL	******/
    :root {
        --padding: 100px 15px;
    }
    .divider svg {
        height: 80px;
    }
    .divider {
        top: -79px;
    }
    .btn_cta_general {
        font-size: 1.125rem;
    }
    .fil_ariane {
        text-align: center;
    }

    /******	  NAVIGATION	******/
    .nav {
        padding: 0 15px;
        height: 5rem;
    }
    .nav__menu {
        position: absolute;
        left: 0;
        top: 2.5rem;
        width: 100%;
        height: calc(100vh - 3.5rem);
        overflow: auto;
        pointer-events: none;
        opacity: 0;
        transition: top .4s, opacity .3s;
    }
    .nav__menu::-webkit-scrollbar {
        width: 0;
    }
    .nav__list {
        position: relative;
        background-color: var(--color-primary);
        padding-top: 1rem;
    }
    .nav__list .divider-header {
        display: block;
    }
    .nav__link {
        font-size: 1.125rem;
    }
    .nav__link:hover:after {
        display: none;
    }
    .contact_link_nav {
        width: fit-content;
        padding: 1.25rem 30px;
    }

    /* Show menu */
    .show-menu {
        opacity: 1;
        top: 5rem;
        pointer-events: initial;
    }


    /******	  ANIMATION TOGGLE MENU 	******/
    .bar, .bar::before, .bar::after {
        transition: all 0.2s linear;
        position: absolute;
        background: var(--color-white);
        margin: auto;
        width: 100%;
        height: 0.20rem;
        content: '';
        top: 50%;
        left: 0;
        cursor: pointer;
        border-radius: 50px;
    }
    .bar {
        margin-top: -0.2rem;
    }
    .bar::before {
        top: -0.45rem;
    }
    .bar::after {
        top: 0.45rem;
    }
    .bar::before, .bar::after {
        transform: rotate(0deg);
    }
    .show-icon .bar {
        background: 0;
    }
    .show-icon .bar::before {
        transform: rotate(45deg);
    }
    .show-icon .bar::after {
        transform: rotate(-45deg);
    }
    .show-icon .bar::before, .show-icon .bar::after {
        top: 0;
    }
    .show-icon .bar, .show-icon .bar::before, .show-icon .bar::after {
        transition: all 0.2s linear;
    }

    .logo-insta {
        padding: 1.25rem 30px;
        display: block;
    }


    /******	  ACCUEIL	******/
    /* HERO */
    .hero_home_content {
        display: flex;
        flex-direction: column;
        row-gap: 40px;
        padding: 180px 15px 80px;
    }
    .hero_home_left img {
        max-width: 150px;
    }
    .hero_home_title {
        text-align: center;
        font-size: 7vw;
    }
    #heading-slider img {
        max-height: 350px;
    }
    #heading-slider .heightsize img {
        height: 400px;
    }
    /* ABOUT */
    .section-about_txt {
        gap: 40px;
    }
    /* PRESTATIONS */
    .section-presta {
        margin-top: 80px;
        padding: 80px 15px 100px;
    }
    .section-presta-list {
        margin-top: 70px;
    }
    .section-presta-row {
        flex-direction: column;
        margin: 15px 0;
    }
    .section-presta-row .section-presta-element:nth-child(1), .section-presta-row .section-presta-element:last-of-type {
        margin: unset;
    }
    .section-presta-diamond,
    .section-presta-list:hover .section-presta-diamond{
        display: none;
    }
    /* REALISATIONS */
    .slider-extended {
        padding: 100px 0;
    }
    .slider-extended__meta {
        font-size: 1.3rem;
    }
    .slider-extended__header{
        flex-direction: column;
    }
    /* PARTENAIRES */
    .partenaires-wrapper {
        margin-top: 50px;
        padding: 80px 15px 100px;
    }


    /******	  REALISATIONS	******/
    .reals_wrapper {
        padding: 0 15px 100px;
    }
    .reals_content {
        gap: 40px;
    }
    .card-slider__title {
        font-size: 1.3rem;
    }
    .reals_left, .reals_right {
        row-gap: 40px;
    }
    .reals_right {
        margin-top: 100px;
    }


    /*** CONTACT ***/
    .contact_wrapper {
        padding: 0 15px 100px;
    }
    .contact_content {
        grid-template-columns: minmax(0, 1fr);
        gap: 40px;
    }
    .content_left {
        order: 2;
    }
    .content_right {
        order: 1;
    }

    /*** PAGES DYNAMIQUES ***/
    .slider_top_content {
        padding: 0 15px 80px;
    }
    .text_img {
        flex-direction: column;
    }
    .image_droite, .image_gauche {
        margin: 0 0 40px 0;
    }
    .text_champ figure img {
        max-height: 445px;
        width: 100%;
        object-fit: contain;
        height: auto;
    }
    .text_champ figure {
        width: 100%;
        order: 1;
        height: 100%;
    }
    .text_champ .texte_pag_dyn {
        width: 100%;
        order: 2;
    }
    .text__wrapper {
        padding: 0 15px 100px;
    }
    .carousel_wrapper {
        padding: 0 15px 100px;
    }
    .paragraphe_deroulant__wrapper {
        padding: 0 15px;
    }
    .wrapper-textChamp {
        padding: 0;
    }
    .text_background {
        padding: 80px 15px 100px;
    }

        /** FOOTER **/
    .footer_top_wrapper {
        padding: 80px 0 0;
    }
    .footer_logo {
        margin-bottom: 80px;
    }
    .footer_logo img {
        max-height: 180px;
    }
    footer a, footer p {
        font-size: 1rem;
    }

    .plan_site_wrapper,
    .mentions_wrapper{
        padding: 0 15px 100px;
    }
}


/*****************
		800px
******************/
@media (max-width: 800px) {
    /****** HOMEPAGE ******/
    #heading-slider img {
        max-height: 300px;
    }
    #heading-slider .heightsize img {
        height: 350px;
    }


    #slider-extended .splide__slide {
        height: 0;
        overflow: hidden;
        transition: height 0.3s ease;
    }
    #slider-extended .splide__slide.is-active {
        height: auto;
        overflow: visible;
        transition: height 0.3s ease;
    }
    #slider-extended .splide__track {
        transition: height 0.3s ease;
    }
    #slider-extended .slider-extended__img {
        height: auto;
        object-fit: contain;
    }
    .slider-extended__meta {
        text-align: center;
    }

}


/*****************
		665px
******************/
@media (max-width: 665px) {
    /****** HOMEPAGE ******/
    .hero_home_title {
        font-size: 2.5rem;
    }
    h2 {
        font-size: 1.8rem;
    }

    /* ABOUT */
    .section-about_txt {
        padding-top: 50px;
        grid-template-columns: minmax(0,1fr);
        gap: 30px;
    }

    /** CONTACT **/
    .contact_wrapper {
        grid-template-columns: 1fr;
    }

    /** REALISATIONS **/
    .reals_desktop {
        display: none;
    }
    .reals_mobile {
        display: flex;
        row-gap: 40px;
    }

}

/*****************
		530px
******************/
@media (max-width: 530px) {
    /***** ACCUEIL *****/
    /* PARTENAIRES */
    .partenaires-content {
        padding: 100px 30px 50px;
        -webkit-border-top-left-radius: 100px;
        -webkit-border-top-right-radius: 100px;
        -moz-border-radius-topleft: 100px;
        -moz-border-radius-topright: 100px;
        border-top-left-radius: 100px;
        border-top-right-radius: 100px;
    }
    .partenaires-txt {
        padding: 30px 0;
    }
}




/*****************
		480px
******************/
@media (max-width: 480px) {
    /** CAROUSEL PAGES DYNS **/
    .slick-slider{
        padding:0;
    }

    /** ARCHIVES ACTUS **/
    .archivesActus_right {
        padding: 0 15px;
    }
}

/*****************
		463px
******************/
@media (max-width: 463px) {
    h3 {
        font-size: 1.3rem;
    }
    /***** ACCUEIL ******/
    .section-presta-element {
        max-width: 300px;
        width: 100%;
        height: auto;
        min-height: 300px;
        padding: 30px;
    }
    .section-presta-img {
        max-height: 80px;
        max-width: 80px;
    }

    /** CAROUSEL PAGES DYNS **/
    .slick-initialized .slick-slide {
        float: left;
    }
}

/*****************
		400px
******************/
@media (max-width: 400px) {
    /** ACCUEIL **/
    .slider-extended__carousel-wrapper {
        padding: 0 15px;
    }
}

/*****************
		340px
******************/
@media (max-width: 340px) {
    .container {
        margin-inline: 1rem;
    }

    .nav__link {
        padding-inline: 1rem;
    }

    .contact_link_nav {
        padding-inline: 1rem;
    }
}