/*****************
	  1300px
******************/
@media screen and (max-width: 1300px){

    /******	  ACCUEIL	 ******/
    .about-left {
        max-width: 50%;
        padding: 50px 100px 80px 15px;
    }
    .about-right {
        max-width: 50%;
    }
    .about-img {
        width: 50%;
    }
    .reals-home-top {
        column-gap: 100px;
    }
    .contact-content {
        column-gap: 100px;
    }
}


/*****************
	  +1024px
******************/
@media screen and (min-width: 1024px) {
    /******	  NAV	 ******/
    .nav {
        height: calc(3rem + 2rem);
        display: flex;
        justify-content: space-between;
    }
    .nav__toggle {
        display: none;
    }
    .nav__list {
        height: 100%;
        display: flex;
        column-gap: 2rem;
    }
    .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;
    }
    .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 {
        opacity: 1;
        top: 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: 50px;
    }
    .slider_top_divider svg {
        height: 50px;
    }

    /******	  GENERAL	 ******/
    h1 {
        font-size: 2rem /* 30px */;
    }
    h2 {
        font-size: 1.5rem /* 25px */;
    }

    /******	  NAVIGATION	******/
    header {
        top: 10px;
        left: 10px;
        right: 10px;
    }
    .nav__logo img {
        height: 4rem;
    }
    .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 {
        background-color: var(--color-white);
        padding-top: 1rem;
    }
    .contact_header_link .nav__link {
        padding: 1.25rem 30px;
    }
    .nav__link:hover:after {
        bottom: 0;
        right: 0;
        left: 0;
    }

    /* Show menu */
    .show-menu {
        opacity: 1;
        top: 4rem;
        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: auto;
        right: 15px;
        cursor: pointer;
    }
    .bar {
        margin-top: -0.2rem;
    }
    .bar::before {
        top: -0.45rem;
    }
    .bar::after {
        top: 0.45rem;
    }
    .bar::before, .bar::after {
        transform: rotate(0deg);
        right: 0;
    }
    .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;
    }

    /******	  HOMEPAGE	******/
    /* HERO */
    .hero_content h1 {
        max-width: 100%;
        text-align: center;
    }
    .hero_content .btn_cta_general {
        margin: 50px auto 0;
        display: block;
        width: fit-content;
    }
    /* A PROPOS */
    .about-content {
        flex-direction: column;
        justify-content: center;
    }
    .about-left {
        max-width: 100%;
        padding: 50px 15px;
    }
    .about-right {
        max-width: 100%;
        padding: 0 15px 50px;
    }
    .about-img {
        max-height: 500px;
        height: auto;
        width: 100%;
        object-fit: contain;
        position: unset;
    }
    /* SERVICES */
    .services-wrapper {
        padding: var(--padding);
    }
    .services-top {
        max-width: 100%;
    }
    .service-txt {
        padding: 40px 0 90px;
    }
    /* REALISATIONS */
    .reals-home-wrapper {
        padding: 150px 15px 100px;
    }
    .reals-home-top {
        flex-direction: column;
        justify-content: center;
    }
    .reals-home-titre,
    .reals-home-txt {
        max-width: 100%;
    }
    .reals-home-titre {
        padding-bottom: 30px;
    }
    .reals-home-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .reals-home-list .une-real:first-of-type {
        grid-row: 1;
    }
    .reals-home-list .une-real:nth-child(5) {
        display: none;
    }
    /* CONTACT */
    .contact-content {
        grid-template-columns: minmax(0,1fr);
        row-gap: 50px;
    }
    .contact-wrapper {
        padding: 150px 15px 100px;
    }
    .contact-left {
        padding: 0;
    }
    .contact-right iframe {
        height: 450px;
    }


    /******	  REALISATION	******/
    .desc-real-wrapper {
        padding: 80px 15px 100px;
    }
    .desc-real-content {
        grid-template-columns: minmax(0,1fr);
        row-gap: 50px;
    }
    .desc-real-left {
        order: 2;
    }
    .desc-real-right {
        order: 1;
        margin-top: 0;
        position: unset;
    }
    .reals-slider-titre {
        max-width: 60%;
    }


    /******	  ACTUALITES	******/
    .actus_content {
        grid-template-columns: repeat(2, 1fr);
    }
    .une_actu_wrapper h2 {
        font-size: 1.125rem;
    }

    /*** CONTACT ***/
    .contact_content {
        grid-template-columns: minmax(0, 1fr);
        gap: 40px;
    }

    /*** PAGES DYNAMIQUES ***/
    .slider_top_wrapper {
        max-height: 450px;
    }
    .slider_top_titles_wrapper {
        max-width: 100%;
        text-align: center;
    }
    .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 150px;
    }
    .paragraphe_deroulant__wrapper {
        padding: 0 15px;
    }
    .wrapper__carousel_pageDyn img {
        height: 350px;
    }
    .toggleWrapper .toggleTitre {
        font-size: 1.125rem;
    }


}

/*****************
		930px
******************/
@media (max-width: 930px) {
    /** REALISATIONS **/
    .reals-content {
        grid-template-columns: repeat(2, minmax(0,1fr));
    }



    /** 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;
        background-color: var(--color-white);
        padding: 15px;
    }
    footer .col-grid-1 {
        position: relative;
        background-color: var(--color-text);
    }
    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/toggle-arrow.svg");
        height: fit-content;
        position: absolute;
        right: 0;
    }
    footer .toggleTitre.active:after {
        content: url("/design/img/toggle-arrow-hover.svg");
    }
    .footer_bottom_content {
        gap: 0;
    }
}

/*****************
	  800px H
******************/
@media (max-height: 800px) {
    /** ACCUEIL **/
    .hero_wrapper {
        max-height: 700px;
        height: 700px;
    }
    .hero_bottom_cta {
        padding: 25px;
        max-width: 40%;
    }
    .hero_bottom_cta a {
        max-width: 100%;
    }
}


/*****************
		665px
******************/
@media (max-width: 665px) {
    /** CONTACT **/
    .contact_wrapper {
        grid-template-columns: 1fr;
    }

    /** ACTUALITES **/
    .actus_content {
        grid-template-columns: 1fr;
    }
}

/*****************
		480px
******************/
@media (max-width: 480px) {
    /*** REALISATIONS ***/
    .reals-content {
        grid-template-columns: minmax(0, 1fr);
    }

    /** ACCUEIL **/
    .reals-home-list {
        grid-template-columns: minmax(0,1fr);
    }
    .reals-home-list .une-real:nth-child(3),
    .reals-home-list .une-real:nth-child(4) {
        display: none;
    }

    /** CAROUSEL PAGES DYNS **/
    .slick-slider{
        padding:0;
    }

    /** FOOTER **/
    .footer_bottom_content {
        justify-content: center;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}

/*****************
		463px
******************/
@media (max-width: 463px) {
    /** CAROUSEL PAGES DYNS **/
    .slick-initialized .slick-slide {
        float: left;
    }
}

/*****************
		400px
******************/
@media (max-width: 400px) {
    /** ACCUEIL **/
    .avis-slider-wrapper {
        padding: 0 15px;
    }

    /** PAGES DYNAMIQUES **/
    .wrapper__carousel_pageDyn img {
        max-height: 450px;
        height: auto;
        object-fit: contain;
    }
}



/*****************
		340px
******************/
@media (max-width: 340px) {
    .container {
        margin-inline: 1rem;
    }

    .nav__link {
        padding-inline: 1rem;
    }
}