/*****************
		1335px
******************/
@media (max-width: 1335px) {
    /****** NAV *****/
    .nav__link {
        font-size: 1rem;
    }
    .nav .btn_cta_header {
        font-size: 1rem;
    }
    .transparent_header .nav__link {
        white-space: nowrap;
    }
}


/*****************
		1120px
******************/
@media (max-width: 1120px) {
    /****** ACCUEIL *****/
    /* REASSURANCE */
    .reassurances_item {
        padding: 0 30px;
    }
}


/*****************
	  +1220px
******************/
@media screen and (min-width: 1220px) {
    /******	  NAV	 ******/
    .nav {
        height: calc(4rem + 2rem);
        display: flex;
        justify-content: space-between;
        margin: var(--center);
        gap: 15px;
    }
    .nav__toggle {
        display: none;
    }
    .nav__list {
        height: 100%;
        display: flex;
        column-gap: 2.5rem;
        align-items: center;
    }
    .nav__link {
        height: 100%;
        padding: 0;
        justify-content: initial;
        column-gap: .25rem;
    }
    .nav__link:hover {
        background-color: transparent;
    }

    /******	  NAV DROPDOWNS	 ******/
    .dropdown__item,
    .dropdown__subitem {
        position: relative;
        height: 100%;
    }
    .dropdown__menu,
    .dropdown__submenu {
        max-height: initial;
        border-radius: var(--border-radius);
        position: absolute;
        left: auto;
        top: 4.5rem;
        opacity: 0;
        pointer-events: none;
        transition: opacity .3s, top .3s;
    }
    .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: 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;
    }
}


/*****************
		1220px
******************/
@media (max-width: 1220px) {

    .mobile, .tablette {
        display: block;
    }
    .desktop {
        display: none;
    }

    /******	  COOKIES	******/
    #termsfeed-com---nb {
        max-height: 300px;
        max-width: 100%;
    }

    /******	  NAVIGATION	******/
    .header-top__item:last-of-type {
        display: none;
    }
    .nav {
        padding: 5px 0 0;
        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 rgba(0, 0, 0, 0.5);
        overflow: auto;
    }
    .nav__link {
        padding: 1rem 1.25rem;
    }
    .nav__link:hover:after {
        display: none;
    }
    .contact_link_nav {
        width: fit-content;
        padding: 1.25rem 30px;
    }
    .nav-sep {
        display: none;
    }

    /* Show menu */
    .show-menu {
        opacity: 1;
        top: 8.4rem;
        pointer-events: initial;
    }
    .hasMessage {
        top: 10.9rem;
    }


    /******	  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;
    }

    /*********************************
		 HEADER TRANSPARENT
    *********************************/
    .transparent_header .bar,
    .transparent_header .bar::before,
    .transparent_header .bar::after {
        background: var(--color-white);
    }
    .transparent_header .show-icon .bar {
        background: 0;
    }
    .transparent_header .show-menu .nav__link {
        color: var(--color-text);
    }
    .transparent_header .contact_link_nav .nav__link {
        color: var(--color-white);
        background-color: var(--color-text);
    }
    /* Quand le menu est actif */
    .transparent_header.active {
        position: fixed;
        background-color: var(--color-white);
    }
    .transparent_header.active .bar,
    .transparent_header.active .bar::before,
    .transparent_header.active .bar::after {
        background: var(--color-text);
    }
    .transparent_header.active .show-icon .bar {
        background: 0;
    }
    .transparent_header.active .dropdown__arrow {
        content: url("/design/img/nav-arrow-down-black.svg");
        display: block;
    }
    .nav-contact {
        padding: 1rem 1.25rem;
    }
    .nav-contact .btn_cta_header {
        border: 2px solid var(--color-secondary);
        padding: 10px 30px;
    }
    @keyframes scroll-text {
        0%   { transform: translateX(0); }
        100% { transform: translateX(-50%); }
    }
    .top-banner__content {
        animation: scroll-text 15s linear infinite;
    }
    .transparent_header.active .header-top__item img {
        content: url("/design/img/icon-tel-grey.svg");
    }
    .transparent_header.active .header-top__item a {
        color: var(--color-text);
    }
    .transparent_header.active .header-top {
        border-bottom: 2px solid var(--color-text);
    }



    /*** ACCUEIL ****/
    /* HERO */
    .hero_home_wrapper {
        max-height: 700px !important;
        height: 700px !important;
    }
    .hero_home_content {
        top: 50%;
    }
}



/*****************
		1024px
******************/
@media (max-width: 1024px) {
    /******	  GENERAL	******/
    :root {
        --padding: 100px 15px;
    }
    h1 {
        font-size:2.5rem /* 40px */;
    }
    h2, .like-h2 {
        font-size: 2rem /* 40px */;
    }
    h3, .like-h3  {
        font-size: 1.25rem /* 20px */;
    }
    .subtitle {
        font-size: 1.8rem;
    }


    .btn_cta_general {
        font-size: 1rem;
    }


    /******	  ACCUEIL	******/
    .hero_home_title {
        font-size: 2.5rem;
        text-align: center;
    }
    .hero_home_subtitle {
        font-size: 2rem;
    }
    /* REASSURANCES */
    .reassurances_content {
        grid-template-columns: repeat(2, minmax(0,1fr));
    }
    .reassurances_item {
        padding: 0 30px 30px;
    }
    .reassurances_item:nth-child(2) {
        border-right: none;
    }
    .reassurances_item:last-of-type {
        grid-column: 1/3;
        border-top: 1px solid rgba(0, 81, 156, 0.2);
        padding: 30px;
    }
    /* BLOC 2 */
    .media-split__container {
        grid-template-columns: minmax(0,1fr);
    }
    .media-split__left {
        order: 2;
        height: unset;
        min-height: unset;
    }
    .media-split__image {
        position: unset;
        max-height: 500px;
        border-radius: unset;
    }
    .media-split__right {
        padding: 100px 15px 50px;
        order: 1;
        max-width: 100%;
    }
    .media-split__text {
        padding: 0;
    }
    /* BLOC 1 ET 3 */
    .media-split--reverse__container {
        grid-template-columns: minmax(0,1fr);
    }
    .media-split--reverse__right {
        order: 2;
        height: unset;
        min-height: unset;
    }
    .media-split--reverse__image {
        position: unset;
        max-height: 500px;
        border-radius: unset;
    }
    .media-split--reverse__left {
        padding: 100px 15px 50px;
        order: 1;
        max-width: 100%;
    }
    .media-split--reverse__text {
        padding: 0;
    }
    .first-media-split {
        padding-top: unset;
    }
    /* ACTUALITES */
    .feature-slider__list {
        grid-template-columns: repeat(2, minmax(0,1fr));
        gap: 30px;
    }
    /* CONTACT */
    .contact-bottom-content {
        grid-template-columns: minmax(0,1fr);
        gap: 40px;
    }
    .contact-bottom__right {
        margin-top: 0;
        height: unset;
    }
    .contact-bottom__left div {
        padding: 0;
    }
    .contact-bottom__right .map {
        height: 400px !important;
    }
    .contact-bottom-wrapper {
        padding: 180px 15px;
    }



    /******	  ACTUALITES	******/
    .actus_content {
        grid-template-columns: repeat(2, 1fr);
    }

    /******	  PARTENAIRES	******/
    .partenaire_content {
        grid-template-columns: repeat(2, 1fr);
    }

    /******	  ARCHIVES ACTUS	******/
    .archivesActus_content {
        grid-template-columns: minmax(0,1fr);
        row-gap: 50px;
    }
    .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_wrapper {
        max-height: 500px;
    }
    .slider_top_content {
        padding: 0 15px 0;
    }
    .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: 100px 0 0;
    }

    /** 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-white);
        font-size: 1rem;
        position: relative;
    }
    footer .toggleTexte {
        display: none;
        margin-top: 15px;
        padding: 15px;
    }
    footer .col-grid-1 {
        position: relative;
        border-bottom: 2px solid #fff;
    }
    footer .toggleTitre:after {
        content: url("/design/img/nav-arrow-down.svg");
        height: fit-content;
        position: absolute;
        right: 0;
    }
    footer .toggleTitre.active:after {
        transform: rotate(180deg);
    }
    .footer_bottom_content {
        gap: 0;
    }

    /****** OFFRES ******/
    .offres_wrapper {
        padding: 50px 15px 100px;
    }
    .offres_content {
        grid-template-columns: minmax(0,1fr);
        gap: 30px;
    }

}

/*****************
	  800px H
******************/
@media (max-height: 800px) {
    /***** ACCUEIL ******/
    .hero_home_wrapper {
        max-height: 750px;
        height: 750px;
    }
    /* CONTACT */
    .contact-bottom__right .map {
        height: 500px;
    }
}


/*****************
		665px
******************/
@media (max-width: 665px) {
    /******* ACCUEIL ********/
    /* REASSURANCES */
    .reassurances_content {
        grid-template-columns: minmax(0,1fr);
    }
    .reassurances_item {
        padding: 0 0 30px;
        border-right: none;
    }
    .reassurances_item:nth-child(2) {
        border-right: none;
        padding: 30px 0 30px;
        border-top: 1px solid rgba(0, 81, 156, 0.2);
    }
    .reassurances_item:last-of-type {
        grid-column: 1/2;
        border-top: 1px solid rgba(0, 81, 156, 0.2);
        padding: 30px 0 0;
    }
    .quick-access__title {
        padding-top: 15px;
        font-size: 1.125rem;
    }
    .quick-access__image {
        height: 300px !important;
    }
    /* OFFRES */
    .card-slider__titles {
        flex-direction: column;
        gap: 30px;
        padding-bottom: 50px;
    }
    .card-slider__heading,
    .card-slider__titles .subtitle {
        text-align: center;
    }
    .card-slider__link {
        grid-template-columns: minmax(0,1fr);
    }
    .card-slider__image-wrapper {
        min-height: 250px;
        -webkit-border-top-left-radius: 10px;
        -webkit-border-top-right-radius: 10px;
        -moz-border-radius-topleft: 10px;
        -moz-border-radius-topright: 10px;
        border-top-left-radius: 10px;
        border-top-right-radius: 10px;
        -webkit-border-bottom-left-radius: 0;
        -moz-border-radius-bottomleft: 0;
        border-bottom-left-radius: 0;
    }
    .card-slider--cat {
        font-size: 1rem;
    }
    .card-slider__top {
        padding: 20px;
    }
    .card-slider__title {
        font-size: 1.125rem;
    }
    .card-slider__prices {
        padding-top: 5px;
    }
    .card-slider__size,
    .card-slider__newPrice {
        font-size: 1rem;
    }
    .card-slider__oldPrice {
        font-size: 0.815rem;
    }
    .card-slider__bottom {
        padding: 15px 20px;
    }
    .card-slider__content {
        -webkit-border-top-right-radius: 0;
        -moz-border-radius-topright: 0;
        border-top-right-radius: 0;
        -webkit-border-bottom-right-radius: 10px;
        -webkit-border-bottom-left-radius: 10px;
        -moz-border-radius-bottomright: 10px;
        -moz-border-radius-bottomleft: 10px;
        border-bottom-right-radius: 10px;
        border-bottom-left-radius: 10px;
    }
    /* ACTUALITES */
    .feature-slider__list {
        grid-template-columns: minmax(0,1fr);
    }
    .feature-slider__title {
        padding-top: 15px;
        font-size: 1.125rem;
    }
    .feature-slider__image {
        height: 300px !important;
    }




    /** CONTACT **/
    .contact_wrapper {
        grid-template-columns: 1fr;
    }

    /** ACTUALITES **/
    .actus_content {
        grid-template-columns: 1fr;
    }

    /******	  PARTENAIRES	******/
    .partenaire_content {
        grid-template-columns: 1fr;
    }
}

/*****************
		630px
******************/
@media (max-width: 630px) {
    /******	  GENERAL	******/
    h1 {
        font-size: 1.875rem /* 30px */;
    }
    h2, .like-h2 {
        font-size: 1.563rem /* 40px */;
    }
    h3, .like-h3  {
        font-size: 1.125rem /* 20px */;
    }
    .subtitle {
        font-size: 1.3rem;
    }

    /** FOOTER **/
    .footer_bottom_content {
        justify-content: center;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}

/*****************
		480px
******************/
@media (max-width: 480px) {
    /** 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;
    }
}

/*****************
		340px
******************/
@media (max-width: 340px) {
    .container {
        margin-inline: 1rem;
    }

    .nav__link {
        padding-inline: 1rem;
    }

    .contact_link_nav {
        padding-inline: 1rem;
    }
}