/* Desktop */
@media (min-width: 1441px) and (max-width: 1919px) {}

@media (min-width: 900px) and (max-width: 1550px) {
    .inex__home-banner-wrapper .inner-banner>div {
        width: 70%;
    }
}

@media (min-width: 768px) and (max-width: 1366px) {
    .inex__home-mansory-wrapper {
        --sm-padding: 212px 15% 0 0;
        --sm-padding-to-right: 212px 0 0 15%;
        --lg-padding: 362px 15% 0 0;
        --lg-padding-to-right: 362px 0 0 15%;
    }
}

/* Mobile */
@media only screen and (max-width: 1180px) {
	.inex__header .inex__nav > ul > li.menu-item-has-children > a::after{
		display: none !important;
	}
	.inex__header .inex__nav > ul > li.menu-item-has-children > .submenu-toggle{
	  width: 16px;
    aspect-ratio: 0.7;
    display: block;
    background-image: url('../img/arrow_down.svg');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    position: absolute;
    right: 0;
    top: 13px;
    z-index: 100;
		transition: all .5s ease-in-out
	}
	.inex__header .inex__nav > ul > li.menu-item-has-children.is-open .submenu-toggle{
		transform: rotate(180deg);
	}
    .title-h1 {
        font-size: var(--fs-50);
    }

    .btn-link-with-arrow,
    .innex__upperfooter-contact-cta a {
        font-size: var(--fs-20);
    }

    .btn-link-with-arrow>span,
    .innex__upperfooter-contact-cta a>span {
        width: 32px;
    }

    .inex__home-banner-wrapper {
        --banner-radius: 70px;
        --banner-inner-padd: 45px 100px;
    }

    .inner-banner .banner-title {
        font-size: var(--fs-75);
    }

    .inex__home-mansory-wrapper {
        --mansory-inner-padd-inline: 50px;
        --sm-padding: 160px 15% 0 0;
        --sm-padding-to-right: 160px 0 0 15%;
        --lg-padding: 160px 15% 0 0;
        --lg-padding-to-right: 160px 0 0 15%;
        --content-radius: 70px;
    }

    .inex__grid-with-image-wrapper {
        --contentGrid-inner-padd-block: 80px 50px;
        --left-img-padd-right: 5%;
    }

    .inex__home-mansory-wrapper .inner-mansory>div {
        gap: var(--child-gap);
    }

    .inex__home-mansory-wrapper .inner-mansory>div>div {
        width: 100%;
    }

    .inex__home-mansory-wrapper .row.mansory-item {
        grid-template-columns: repeat(2, 1fr);
    }


    .inex__page-banner-wrapper {
        --banner-radius: 70px;
    }
    .menu-toggle {
        display: none;
        flex-direction: column;
        gap: 5px;
        background: transparent;
        border: none;
        padding: 10px;
        cursor: pointer;
        z-index: 1001;
        margin-left: auto;
    }

    .menu-toggle span {
        width: 25px;
        height: 3px;
        background: #333;
        transition: all 0.3s ease;
        display: block;
        margin: 4px 0;
    }

    .menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px);
    }

    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }
     .menu-toggle {
        display: flex;
    }
    
    .inex__nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 400px;
        height: 100vh;
        background: #fff;
        box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
        transition: right 0.3s ease;
        overflow-y: auto;
        z-index: 1000;
        padding-top: 80px;
    }
    
    .inex__nav.active {
        right: 0;
    }
    
    .nav-menu {
        flex-direction: column;
        gap: 0;
        padding: 1rem;
    }
    
    .nav-menu__item {
        width: 100%;
        border-bottom: 1px solid #e5e5e5;
    }
    
    .nav-menu__item > a {
        padding: 1rem;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    
    .menu-item-has-children.is-open > a::after {
        transform: rotate(180deg);
    }
    
    .mega-menu {
        position: static;
        width: 100%;
        margin-left: 0;
        padding: 0;
        box-shadow: none;
        border: none;
        background: #f5f5f5;
    }
    
    .mega-menu {
        display: none;
        opacity: 0;
        transition: opacity 0.2s ease;
    }
    .menu-item-has-children.is-open > .mega-menu {
         display: block;
        opacity: 1;
    }
    .mega-menu-inner {
        flex-direction: column;
        padding: 1rem;
        max-width: 100%;
    }
    
    .mega-menu__featured {
        flex: 0 0 auto;
        max-width: 100%;
    }
    
    .mega-menu__list {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .mega-menu__item {
        border-bottom: 1px solid #ddd;
    }
    
    .mega-menu__item:last-child {
        border-bottom: none;
    }
    
    .mega-menu__link {
        padding: 1rem;
        border-radius: 0;
    }
    
    .mega-menu__link:hover {
        transform: none;
    }
    
    body.menu-open {
        overflow: hidden;
    }
    .inex__header .inex__nav > ul > li:not(:last-child) > a {
        border-right: none;
    }
    .menu-close {
        display: none;
        position: absolute;
        top: 20px;
        right: 20px;
        background: transparent;
        border: none;
        font-size: 2.5rem;
        line-height: 1;
        color: #333;
        cursor: pointer;
        padding: 0;
        width: 40px;
        height: 40px;
        z-index: 1001;
        transition: transform 0.3s ease;
    }

    .menu-close:hover {
        transform: rotate(90deg);
        color: #8BC34A;
    }
    .menu-close {
        display: block;
    }
    
    .inex__nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 400px;
        height: 100vh;
        background: #fff;
        box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
        transition: right 0.3s ease;
        overflow-y: auto;
        z-index: 1000;
        padding-top: 80px;
    }
    
    .inex__nav.actives {
        right: 0;
    }
    .mega-menu__featured,.mega-menu__item-icon,.mega-menu__item-link-text {
        display: none !important;
    }
    .desktop{
        display: none !important;
    }
    .mobile{
        display: block !important;
        height: 40px;
    }
    .mega-menu__content,.mega-menu__item {
        width: 100%;
    }
    .mega-menu__list{
        flex-direction: column;
    }
    .inex__header .inex__nav > ul > li a.mega-menu__link{
        padding: .2rem 0;
    }
    
    .inex__grid-with-image-wrapper .image-wrapper {
        padding: 0 .9rem;
    }
    .inex__grid-with-image-wrapper figure{
        max-height: 378px;
        margin: 0 0 1rem 0;
    }
    /* ====== FIX CRITIQUE MEGA MENU MOBILE ====== */
    .mega-menu {
        pointer-events: none;
    }

    .menu-item-has-children.is-open > .mega-menu {
        pointer-events: auto;
    }

    .menu-item-has-children > .mega-menu {
        display: none !important;
        height: 0 !important;
        overflow: hidden !important;
    }

    .menu-item-has-children.is-open > .mega-menu {
        display: block !important;
        height: auto !important;
    }

    .nav-menu > li {
        position: relative;
        z-index: 1;
    }
    .nav-menu > li > a {
        position: relative;
        z-index: 2;
    }
    .infos {
        background: #000;
        position: fixed;
        bottom: 0;
        left: 0;
        z-index: 10;
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: .5rem 0;
        gap: 30px;
    }
}

@media (min-width: 768px) and (max-width: 1180px) {
    .title-h1 {
        font-size: var(--fs-45);
    }

    .inex__home-contentGrid-wrapper {
        --contentGrid-inner-padd-block: 50px 50px;
    }
}

@media (min-width: 768px) and (max-width: 1180px) and (orientation: landscape) {}

@media only screen and (min-width: 481px) and (max-width: 767px) {}

@media only screen and (max-width: 767px) {
    .contenu-standart h2{
        font-size: 2.2rem !important;
    }
    .contenu-standart h3{
        font-size: 2rem;
    }
    .contenu-standart h4{
        font-size: 1.8rem;
    }
    .innex__grid-list-with-slider .block-grid-container .inner-item, .innex__top-grid-list .list .inner-item {
        grid-template-columns: initial;
    }
    .innex__top-grid-list .inner-item figure {
        height: 250px;
    }
    .innex__top-grid-list .list{
        gap: 20px;
    }
    .inex__home-contentGrid-wrapper .content-text, .inex__home-contentGrid-wrapper .content-text p,html,body,.inex__grid-with-image-wrapper .content-text-2col div, .inex__grid-with-image-wrapper .content-text-2col p, .inex__grid-with-image-wrapper .content-image-text div, .inex__grid-with-image-wrapper .content-image-text p,
    .inex__home-mansory-wrapper .text-content, .inex__home-mansory-wrapper .text-content p{
        font-size: 17px;
        line-height: 22px;
    }
    .innex__top-grid-list{
        margin-top: 2rem;
    }
    .innex__grid-list-with-slider .block-grid-container .inner-item, .innex__top-grid-list .list .inner-item {
        grid-template-columns: initial;
    }
    .innex__top-grid-list .inner-item figure {
        height: 250px;
        margin: 0;
    }
    .inex__upline .social{
        justify-content: center;
    }
    .inex__page-banner-wrapper.is-listing .banner-content {
    padding: 1rem;
    }
    .title-h1 {
        font-size: var(--fs-40);
    }

    .inex__home-banner-wrapper {
        --banner-radius: 50px;
        --banner-inner-padd: 45px 20px;
    }

    .inex__home-banner-wrapper .inner-banner {
        padding-block: 60px;
    }

    .btn-link-with-arrow,
    .innex__upperfooter-contact-cta a {
        font-size: var(--fs-18);
    }

    .inner-banner .upper-title {
        font-size: var(--fs-22);
    }

    .inner-banner .banner-title {
        font-size: var(--fs-60);
        line-height: 65px;
    }

    .inner-banner .banner-text {
        margin-block: 25px;
    }

    .inner-banner .banner-subtitle>p,
    .inner-banner .banner-text {
        font-size: var(--fs-16);
    }

    .inex__home-contentGrid-wrapper {
        --contentGrid-inner-padd-block: 35px 0;
    }

    .inner-banner .banner-subtitle>p,
    .inner-banner .banner-text {
        font-size: var(--fs-14);
    }

    .inex__home-mansory-wrapper {
        --content-radius: 50px;
    }

    .inex__home-mansory-wrapper .inner-mansory {
        --mansory-inner-padd-block: 55px;
        --mansory-inner-padd-inline: 20px;
    }

    .inex__grid-with-image-wrapper {
        --contentGrid-inner-padd-block: 55px 20px;
        --left-img-padd-right: 0;
        --full-img-top: 25px;
        --2col-text-top: 25px;
    }
    .inex__grid-with-image-wrapper .inner-contentGrid {
        padding-inline: 0;
    }

    .inex__home-contentGrid-wrapper.section-has-right-orange {
        background-size: 10% 95%;
    }

    .inex__home-mansory-wrapper .row.mansory-item {
        grid-template-columns: repeat(1, 1fr);
    }

    .inex__footer>div>.row {
        gap: 20px;
    }

    .inex__footer .inex__footer-address {
        align-items: flex-start;
        gap: .735rem;
    }

    .inex__footer .inex__footer-address p,
    .inex__footer .inex__footer-address a {
        text-align: left;
        font-size: var(--fs-16);
    }

    .inex__footer .footer-menu ul li>a,
    .inex__footer p,
    .inex__footer-newsletter .h4 {
        font-size: var(--fs-16);
    }


    .inex__page-banner-wrapper {
        --banner-radius: 50px;
    }

    .inex__breadcrumb-wrapper .inex__breadcrumb-list li,
    .inex__breadcrumb-wrapper .inex__breadcrumb-list li a {
        font-size: var(--fs-16);
    }
}

@media only screen and (max-width: 428px) {}

@media only screen and (max-width: 374px) {
    .title-h1 {
        font-size: var(--fs-30);
    }

    .inex__home-banner-wrapper {
        --banner-inner-padd: 45px 20px;
    }

    .inner-banner .banner-title {
        font-size: var(--fs-50);
    }

    .inex__home-mansory-wrapper {
        --text-content-padd: 25px 20px 25px 40px;
    }

    .inex__home-mansory-wrapper .text-content,
    .inex__home-mansory-wrapper .text-content p {
        font-size: var(--fs-20);
    }
}

@media only screen and (max-width: 320px) {}