/*****************
		1300px
******************/
@media (max-width: 1300px) {
    /******	  ACCUEIL	 ******/
    .une_assurance {
        margin-right: 100px;
    }
    .about_content {
        column-gap: 80px;
    }
    .about_right__numb {
        flex-wrap: wrap;
        justify-content: center;
    }
}

/*****************
		1130px
******************/
@media (max-width: 1130px) {
    /******	  ACCUEIL	 ******/
    .avis {
        position: relative;
        padding: 75px 100px 130px;
    }
}



/*****************
	  +1024px
******************/
@media screen and (min-width: 1024px) {
    /******	  NAV	 ******/
    .nav {
        height: calc(6rem + 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: 5.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;
    }
    .nav {
        padding: 0 15px;
    }
    h2,
    .uneActu_content h1 {
        font-size: 1.75rem;
    }
    .hero_inner_content {
        grid-template-columns: minmax(0,1fr);
        margin: 0 auto;
        max-width: 70%;
    }
    .services_wrapper {
        padding: 100px 0;
    }
    .avis_wrapper {
        padding: 15px 15px 100px;
    }
    .partenaires_wrapper {
        padding: 0 15px 100px;
    }
    .footer_top_wrapper {
        padding: 65px 15px;
    }
    .footer_bottom_wrapper {
        padding: 15px;
        row-gap: 0;
    }

        /******	  NAVIGATION	******/
    .nav__menu {
        position: fixed;
        left: 0;
        top: 0;
        width: 100%;
        max-width: 250px;
        height: 100vh;
        overflow: auto;
        pointer-events: none;
        opacity: 0;
        transition: left .4s, opacity .3s;
    }
    .nav__menu::-webkit-scrollbar {
        width: 0;
    }
    .nav__link {
        white-space: normal;
    }
    .nav__list {
        background-color: var(--color-white);
        padding-top: 1rem;
        height: 100%;
    }
    .nav__link {
        color: var(--color-text);
    }
    .btn_header_contact {
        color: var(--color-primary);
    }
    .nav__link .btn_cta_wrapper:before,
    .btn_header_contact:before,
    .btn_header_contact:after,
    .nav__link .btn_cta_wrapper:after{
        border: 1px solid var(--color-primary);
    }
    /* Show menu */
    .show-menu {
        opacity: 1;
        /*top: 0;*/
        left: 0;
        pointer-events: initial;
        box-shadow: 9px 9px 99px rgba(13, 13, 13, 0.22);
    }

    /******	  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.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;
    }

    /******	  ACCUEIL	******/
    .hero_wrapper {
        max-height: 700px;
        height: 700px;
    }
    .hero_wrapper h1 {
        text-align: center;
    }
    .hero_wrapper .btn_cta_wrapper {
        margin: 0 auto;
    }
    .hero_bottom_cta {
        display: none;
    }
    h1,
    .hero_title {
        font-size: 2.3rem;
    }
    .hero_inner_content .hero_txt {
        font-size: 1rem;
        text-align: center;
    }
    .une_assurance {
        margin-right: 80px;
    }
    .about_content {
        grid-template-columns: minmax(0, 1fr);
        column-gap: 0;
        row-gap: 50px;
    }
    .about_left__img {
        max-height: 550px;
        height: auto;
        object-fit: contain;
    }
    .services_content__h2 {
        max-width: 100%;
        padding: 0 15px;
    }
    .un_service__right {
        padding: 100px 15px 100px 50px;
    }
    .un_service:nth-child(2n) .un_service__right {
        padding: 100px 50px 100px 15px;
        width: 100%;
    }
    .avis {
        padding: 75px 30px 130px;
    }
    .avis h2 {
        padding-left: 0;
    }


    /******	  ACTUALITES	******/
    .actus_content {
        grid-template-columns: repeat(2, 1fr);
    }

    /******	  UNE ACTU	******/
    .uneActu_wrapper {
        padding: 100px 15px;
    }
    .uneActu {
        grid-template-columns: minmax(0,1fr);
        row-gap: 50px;
    }
    .uneActu_img {
        order: 2;
        max-height: 550px;
        height: auto;
        object-fit: contain;
        grid-column: 1 / 3;
    }
    .uneActu_content {
        order: 1;
        grid-column: 1 / 3;
    }
    .uneActu_wrapper .btn_cta_wrapper {
        order: 3;
        margin: 0 auto;
    }
    .archivesActus_wrapper {
        padding: 0 15px 100px;
    }


    /*** CONTACT ***/
    .contact_content {
        grid-template-columns: minmax(0, 1fr);
        gap: 40px;
    }

    /*** 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 {
        height: 445px;
    }
    .text_champ figure {
        width: 100%;
        order: 1;
    }
    .text_champ .texte_pag_dyn {
        width: 100%;
        order: 2;
    }
    .wrapper-textChamp {
        padding: 100px 15px 0;
    }
    .text_simple {
        padding: 0 0 100px;
    }
    .text_img {
        padding: 0 0 100px;
    }
    #carousel-slider {
        padding: 0;
    }
    .carousel_slide img {
        max-height: 450px;
        height: auto;
        object-fit: contain;
    }
    .paragraphe_deroulant {
        padding: 0;
    }
}

/*****************
		930px
******************/
@media (max-width: 930px) {
    /** ACCUEIL **/
    .un_service {
        grid-template-columns: minmax(0, 1fr);
    }
    .services_list {
        padding-top: 50px;
    }
    .un_service__left {
        position: unset;
        order: 2;
    }
    .un_service__img {
        position: unset;
        max-height: 550px;
        object-fit: contain;
        height: auto;
    }
    .un_service__right,
    .un_service:nth-child(2n) .un_service__right {
        padding: 80px 15px;
        order: 1;
        place-self: auto;
        max-width: 100%;
    }
    .un_service:first-of-type .un_service__right {
        padding-top: 0;
    }
    .un_service__h3 {
        font-size: 1.25rem;
    }
    .contact_home_content {
        grid-template-columns: minmax(0,1fr);
        color: var(--color-white);
    }
    .contact_home_overlay {
        background-color: rgb(13 13 13 / 50%);
    }
    .contact_une_assurance:before {
        content: url("/design/img/icon-check-white.svg");
    }
    .actus_home_wrapper .une_actu:nth-child(3) {
        display: none;
    }
    .actus_list {
        grid-template-columns: repeat(2, minmax(0,1fr));
    }
}

/*****************
		850px
******************/
@media (max-width: 850px) {
    /** PAGES DYNAMIQUES **/
    .textChampImg {
        flex-direction: column;
    }
    .text_champ figure {
        width: 100%;
        margin: 10px 0 40px;
        order: 1;
    }
    .text_champ .texte_pag_dyn {
        width: 100%;
        order: 2;
    }

    /** FOOTER **/
    .footer_logo {
        max-width: 35%;
    }
    .footer_right {
        max-width: 60%;
    }
}

/*****************
	  800px W
******************/
@media (max-width: 800px) {
    /** ACCUEIL **/
    .assurances_content {
        flex-direction: column;
    }
    .une_assurance {
        margin-right: 0;
        margin-bottom: 80px;
    }
    .une_assurance:last-of-type {
        margin-bottom: 0;
    }


    /** PAGES DYNAMIQUES **/
    .text_champ figure img {
        height: auto;
        max-height: 445px;
        object-fit: contain;
    }
}


/*****************
	  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) {
    /** ACCUEIL **/
    .hero_inner_content {
        max-width: 100%;
    }
    .hero_inner_content h1 {
        margin: 0;
    }
    .actus_list {
        grid-template-columns: minmax(0,1fr);
        row-gap: 80px;
    }
    .about_right__numb {
        flex-direction: column;
        align-items: flex-start;
    }

    /** CONTACT **/
    .contact_wrapper {
        grid-template-columns: 1fr;
    }

    /** ACTUALITES **/
    .actus_content {
        grid-template-columns: 1fr;
    }
}


/*****************
		530px
******************/
@media (max-width: 530px) {
    /** FOOTER **/
    .footer_top_content {
        flex-direction: column;
    }
    .footer_logo {
        max-width: 100%;
    }
    .footer_logo img {
        margin: 0 auto;
        display: flex;
    }
    .footer_logo div {
        text-align: center;
    }
    .footer_right {
        flex-direction: column;
        max-width: 100%;
        justify-content: center;
        margin-top: 40px;
        text-align: center;
        align-items: center;
        gap: 30px;
    }
    footer li{
        justify-content: center;
    }
    .footer_bottom_content {
        justify-content: center;
        flex-direction: column;
        align-items: center;
        gap: 5px;
    }
}


/*****************
		480px
******************/
@media (max-width: 480px) {
    /* GENERAL */
    h1, .hero_title {
        font-size: 2rem;
    }

    /** ACCUEIL **/
    .about_right__numb {
        flex-direction: column;
        justify-content: center;
        align-items: flex-start;
    }
    .avis_caption_wrapper {
        display: block;
    }

    /** CAROUSEL PAGES DYNS **/
    .slick-slider{
        padding:0;
    }
}

/*****************
		463px
******************/
@media (max-width: 463px) {
    /** CAROUSEL PAGES DYNS **/
    .slick-initialized .slick-slide {
        float: left;
    }
}


/*****************
		340px
******************/
@media (max-width: 340px) {
    .container {
        margin-inline: 1rem;
    }

    .nav__link {
        padding-inline: 1rem;
    }

    /** FOOTER **/
    .footer_right {
        flex-direction: column;
        align-items: center;
    }
    .footer_liens {
        margin-top: 40px;
    }
}