/*****************
	  +1200px
******************/
@media screen and (min-width: 1200px) {
    /******	  NAV	 ******/
    .nav {
        height: calc(4rem + 2rem);
        display: flex;
        justify-content: space-between;
        gap: 20px;
    }
    .nav__toggle {
        display: none;
    }
    .nav__list {
        height: 100%;
        display: flex;
        column-gap: 2rem;
        align-items: center;
    }
    .nav__link {
        height: 100%;
        padding: 0;
        justify-content: initial;
        column-gap: .25rem;
        white-space: nowrap;
    }
    .nav__link:hover {
        background-color: transparent;
    }

    /******	  NAV DROPDOWNS	 ******/
    .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;
        min-width: 200px;
    }
    .dropdown__link,
    .dropdown__sublink {
        padding-inline: 1rem;
    }
    .dropdown__subitem .dropdown__link {
        padding-inline: 1rem;
    }
    .dropdown__submenu {
        position: absolute;
        right: 100%;
        top: .5rem;
    }
    /* Show dropdown menu */
    .dropdown__item:hover .dropdown__menu {
        opacity: 1;
        top: 6rem;
        pointer-events: initial;
        transition: top .3s;
    }
    /* Show dropdown submenu */
    .dropdown__subitem:hover > .dropdown__submenu {
        opacity: 1;
        top: 0;
        pointer-events: initial;
        transition: top .3s;
    }
}

/*****************
	  1440px
******************/
@media (max-width: 1440px) {
    /**** NAVIGATION ****/
    .nav__list {
        column-gap: 1.5rem;
    }

    /**** HOMEPAGE ****/
    .caption_titre {
        font-size: 2.8rem;
    }
}


/*****************
	  1200px
******************/
@media (max-width: 1200px) {

    /******	  NAVIGATION	******/
    .nav {
        padding: 0 15px;
        height: 5rem;
    }
    .nav__menu {
        position: fixed;
        left: 0;
        bottom: 0;
        width: 100%;
        overflow: auto;
        pointer-events: none;
        opacity: 0;
        transition: top .4s, opacity .3s;
    }
    .nav__menu::-webkit-scrollbar {
        width: 0;
    }
    .nav__list {
        background-color: var(--color-white);
        box-shadow: 0 0 50px #000;
        overflow: auto;
    }
    .nav__link:hover:after {
        display: none;
    }
    .contact_link_nav {
        width: fit-content;
        padding: 1.25rem 30px;
    }

    /* Show menu */
    .show-menu {
        opacity: 1;
        top: 8rem;
        pointer-events: initial;
    }


    /******	  ANIMATION TOGGLE MENU 	******/
    .bar, .bar::before, .bar::after {
        transition: all 0.2s linear;
        position: absolute;
        background: var(--color-text);
        margin: auto;
        width: 100%;
        height: 0.15rem;
        content: '';
        top: 50%;
        left: 0;
        cursor: pointer;
    }
    .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;
    }

    .dropdown__menu,
    .dropdown__submenu {
        min-width: unset;
    }

    .slider_top_wrapper,
    .hero_home_wrapper {
        margin-top: 8rem;
    }
}


/*****************
		1024px
******************/
@media (max-width: 1024px) {
    /******	  GENERAL	******/
    :root {
        --padding: 100px 15px;
    }
    h1,
    .slider_top_wrapper h1 {
        font-size: 2rem;
    }
    h2, .like-h1, .like-h3 {
        font-size: 1.875rem;
    }
    h3, like-h2 {
        font-size: 1.25rem;
    }
    .btn_cta_general,
    .btn_cta_secondary {
        font-size: 1.125rem;
    }

    /******	  COOKIES	******/
    #termsfeed-com---nb {
        max-height: 300px;
        max-width: 100%;
    }

    /******	  ACCUEIL	******/
    /* HERO */
    .hero_home_wrapper {
        max-height: 550px !important;
        height: 550px !important;
    }
    #heading-slider .splide__slide .caption {
        padding: 0 15px;
    }
    .caption-inner {
        max-width: 100%;
    }
    .middle-arrow .splide__arrows {
        justify-content: center;
        top: auto;
        transform: translateX(-50%);
        bottom: -60px;
    }
    #heading-slider .splide__arrows {
        bottom: 30px;
    }
    .caption_titre {
        font-size: 2.188rem;
    }
    .caption_phrase_accroche {
        font-size: 1rem;
    }
    .caption_surtitre {
        font-size: 1.125rem;
        display: block;
    }

    /* about */
    .media-split__container {
        grid-template-columns: minmax(0,1fr);
    }
    .media-split__left {
        order: 2;
    }
    .media-split__image {
        max-height: 450px;
        display: none;
    }
    .media-split__right {
        padding: 100px 15px;
        order: 1;
        max-width: 100%;
    }
    .media-split__text {
        padding: 50px 0 0;
    }
    .surtitre {
        font-size: 1.125rem;
    }

    /* accès rapides */
    .quick-access__item_container {
        padding: 30px;
    }

    /* realisations */
    .section-media {
        padding: 180px 15px 100px;
    }
    .section-media__container {
        grid-template-columns: minmax(0,1fr);
        row-gap: 40px;
    }
    .section-media__img {
        width: auto;
        display: block;
        margin: var(--center);
    }
    .section-media__text {
        padding-bottom: 0;
    }

    /* zones d'intervention */
    .media-split--reverse {
        padding: var(--padding);
    }
    .media-split--reverse__container {
        grid-template-columns: minmax(0,1fr);
    }
    .media-split--reverse__right {
        order: 2;
    }
    .media-split--reverse__image {
        position: unset;
        max-height: 800px;
    }
    .media-split--reverse__left {
        padding: 0;
        order: 1;
        max-width: 100%;
    }

    /* section media (droite) */
    .section-media--reverse .section-media__content {
        order: 2;
    }

    /* témoignages */
    .card-slider__item_container {
        padding: 70px 30px 30px;
    }
    .card-slider__image {
        height: 80px !important;
        width: 80px !important;
    }


    /******	  ACTUALITES	******/
    .reals_content {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    .real__image-wrapper {
        height: 400px;
    }

    /******	  ARCHIVES ACTUS	******/
    .archivesActus_content {
        grid-template-columns: minmax(0,1fr);
        row-gap: 80px;
    }
    .archivesActus_left {
        max-width: 100%;
        place-self: unset;
        padding: 0 15px;
    }
    .archivesActus_right {
        padding: 0 0 0 15px;
    }

    /*** CONTACT ***/
    .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;
    }
    .text_img {
        flex-direction: column;
    }
    .image_droite, .image_gauche {
        margin: 0 0 40px 0;
    }
    .text_champ figure img {
        max-height: 445px;
        width: auto;
        display: block;
        margin: var(--center);
        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 180px;
    }
    .paragraphe_deroulant__wrapper {
        padding: 0 15px;
    }
    .wrapper__carousel_pageDyn img {
        max-height: 400px;
    }
    tr {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    video {
        width: 100%;
        max-height: 500px;
        height: auto;
    }
}

/*****************
		930px
******************/
@media (max-width: 930px) {
    /** FOOTER **/
    .footer_top_content {
        flex-direction: column;
        justify-content: center;
    }
    .footer_rs .toggleTexte {
        justify-content: center;
    }
    .footer_logo {
        margin: 0 auto;
    }
    .footer_links {
        grid-template-columns: minmax(0,1fr);
        width: 100%;
        row-gap: 10px;
    }
    footer .toggleTitre {
        pointer-events: initial;
        display: flex;
        cursor: pointer;
        margin: 15px;
        justify-content: space-between;
        align-items: center;
        color: var(--color-text);
        font-size: 1rem;
        position: relative;
    }
    footer .toggleTexte {
        display: none;
        margin-top: 15px;
        background-color: var(--color-white);
        padding: 15px;
    }
    footer .col-grid-1 {
        position: relative;
    }
    footer .col-grid-1:first-of-type {
        border-top: none;
    }
    footer .col-grid-1:last-of-type {
        border-bottom: 2px solid #fff;
    }
    footer .toggleTitre:after {
        content: url("/design/img/nav-arrow-down-black.svg");
        height: fit-content;
        position: absolute;
        right: 0;
    }
    footer .toggleTitre.active:after {
        transform: rotate(180deg);
    }
    .footer_bottom_content {
        gap: 0;
    }
}

/*****************
	  800px H
******************/
@media (max-height: 800px) {
    /** ACCUEIL **/
    .hero_home_wrapper {
        max-height: 700px;
        height: 700px;
    }
    .hero_bottom_cta {
        padding: 25px;
        max-width: 40%;
    }
    .hero_bottom_cta a {
        max-width: 100%;
    }
}

/*****************
	  800px W
******************/
@media (max-width: 800px) {
    .quick-access__item_container {
        margin: 30px 10px;
    }
    .card-slider__item_container {
        margin: 80px 10px 20px;
        height: auto;
    }
    .card-slider__item {
        height: 0;
        overflow: hidden;
        transition: height 0.3s ease;
    }
    .card-slider__item.is-active {
        height: 100%;
    }
}


/*****************
		665px
******************/
@media (max-width: 665px) {
    /** CONTACT **/
    .contact_wrapper {
        grid-template-columns: 1fr;
    }

    /** ACTUALITES **/
    .reals_content {
        grid-template-columns: 1fr;
    }
    .real__image-wrapper {
        height: 350px;
    }
}

/*****************
		630px
******************/
@media (max-width: 630px) {
    /** FOOTER **/
    .footer_bottom_content {
        justify-content: center;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    /** PAGES DYNAMIQUES **/
    .wrapper__carousel_pageDyn img {
        max-height: 300px;
        height: auto;
        object-fit: contain;
        width: auto;
        margin: var(--center);
        display: block;
    }
}

/*****************
		480px
******************/
@media (max-width: 480px) {
    /**** ACCUEIL ****/
    .caption_phrase_accroche {
        display: none;
    }
    .caption_titre {
        padding-bottom: 50px;
    }

    /** CAROUSEL PAGES DYNS **/
    .slick-slider{
        padding:0;
    }

    /** ARCHIVES ACTUS **/
    .archivesActus_right {
        padding: 0 15px;
    }
}

/*****************
		463px
******************/
@media (max-width: 463px) {
    /** CAROUSEL PAGES DYNS **/
    .slick-initialized .slick-slide {
        float: left;
    }
}

/*****************
		400px
******************/
@media (max-width: 400px) {
    /** ACCUEIL **/
    .slider-extended__carousel-wrapper {
        padding: 0 15px;
    }

    /*** REALISATIONS ***/
    .real__image-wrapper {
        height: 300px;
    }
}

/*****************
		340px
******************/
@media (max-width: 340px) {
    .container {
        margin-inline: 1rem;
    }

    .nav__link {
        padding-inline: 1rem;
    }

    .contact_link_nav {
        padding-inline: 1rem;
    }
}