/* ------ Medium devices (tablets, 991px and down) -----*/
@media (max-width: 991px) {
  /* ============== hero_v2_content ============== */
  .hero_v2_content {
    flex-direction: column;
    gap: 2rem;
    align-items: flex-start;
  }

  .hero_slider .swiper_pagination {
    gap: 1rem;
    bottom: 2.5rem;
    margin-left: 0;
    left: 50%;
    transform: translateX(-50%);
    width: fit-content;
  }

  .service_content .row {
    gap: 2rem;
    padding: 7rem 0;
  }

  .service_content {
    padding: 0;
  }

  .version_v2 .pl_60.pr_60 {
    padding-left: 0;
    padding-right: initial;
  }

  .image_slide_area .container-fluid {
    padding-right: 8rem;
    max-width: calc(100% - 8rem);
  }

  .image_slider .swiper-slide {
    width: 48rem;
  }

  .image_slide {
    height: 33rem;
  }

  .swiper_pagination {
    justify-content: center;
    gap: 1rem;
  }

  .video_area_v2 .title_36 {
    padding-right: 0;
    padding-bottom: 4rem;
  }

  .maps_area_v2 .test_author {
    padding: 2rem 0 6rem;
  }

  .maps_area_v2 .phone-box {
    flex-direction: column;
    gap: 2rem;
    align-items: flex-start;
  }

  .maps_area_v2 .phone-box input {
    padding-top: 1.5rem;
    margin-left: 0;
    width: 100%;
  }

  .maps_area_v2 .phon_box_items {
    width: 100%;
  }

  .image_slider {
    overflow: visible;
  }
}

/*----- sm devices (tablets, 767px and down) -----*/
@media (max-width: 767px) {
  .arrow_btn span {
    display: none;
  }

  .herov2_right {
    gap: 0;
    justify-content: space-between;
    width: 100%;
  }

  .service_content .row {
    grid-template-columns: 1fr;
    padding: 5rem 0;
  }

  .swiper_pagination {
    padding-left: 0;
    margin-left: 0;
  }

  .Calque_5_img {
    height: 31rem;
    object-fit: cover;
  }

  .herov2_left h3 {
    font-size: 2.6rem;
    line-height: 1.25;
  }

  .hero_v2_area {
    padding-top: 3.5rem;
  }

  .prev_next {
    padding-top: 3rem;
  }

  .hero_slider_area {
    padding: 3rem 0 6rem;
  }

  .image_slide_area .container-fluid {
    padding-right: 0;
    max-width: calc(100% + 0rem);
  }

  .image_slide_area {
    padding-right: 3rem;
  }

  .image_slider .swiper-slide {
    width: 36rem;
  }

  .image_slide {
    height: 24rem;
  }

  .video_area_v2 .title_36 {
    font-size: 3rem;
    line-height: 1.35;
    padding-bottom: 3rem;
  }

  .video_area_v2 video {
    height: 39rem;
  }

  .container-fluid {
  }

  .maps_area_v2 .test_author * {
    font-size: 2rem;
    line-height: 1.25;
  }

  .maps_area_v2 .test_author p {
    margin-bottom: 4rem;
  }

  .maps_area_v2 .test_author {
    padding: 2rem 0 4rem;
  }

  .maps_area_v2 .phon_box_items button img {
    width: 3.4rem;
  }

  .maps_area_v2 .phone-box {
    gap: 1rem;
  }

  .maps_area_v2 .phon_box_items span {
    font-size: 2.6rem;
  }

  .maps_area_v2 .phon_box_items {
    margin: 0;
    text-align: center;
  }

  .maps_area_v2 .phone-box input::placeholder {
    font-size: 2rem;
  }

  .prev_next.v2 {
    padding: 0rem 0 5rem;
  }
  .Calque_5_img {
    height: 31rem;
    object-fit: cover;
  }

  .herov2_left h3 {
    font-size: 2.6rem;
    line-height: 1.25;
  }

  .hero_v2_area {
    padding-top: 3.5rem;
  }

  .prev_next {
    padding-top: 3rem;
  }

  .hero_slider_area {
    padding: 3rem 0 6rem;
  }

  .image_slider {
    width: 30rem;
    margin: 0 auto;
  }

  .image_slide_area .container-fluid {
    padding-right: 0;
    max-width: calc(100% + 0rem);
  }

  .image_slide_area {
    padding-right: 3rem;
  }

  .image_slider .swiper-slide {
    width: 36rem;
  }

  .image_slide {
    height: 24rem;
  }

  .video_area_v2 .title_36 {
    font-size: 3rem;
    line-height: 1.35;
    padding-bottom: 3rem;
  }

  .video_area_v2 video {
    height: 39rem;
  }

  .maps_area_v2 .test_author * {
    font-size: 2rem;
    line-height: 1.25;
  }

  .maps_area_v2 .test_author p {
    margin-bottom: 4rem;
  }

  .maps_area_v2 .test_author {
    padding: 2rem 0 4rem;
  }

  .maps_area_v2 .phon_box_items button img {
    width: 3.4rem;
  }

  .maps_area_v2 .phone-box {
    gap: 1rem;
  }

  .maps_area_v2 .phon_box_items span {
    font-size: 2.6rem;
  }

  .maps_area_v2 .phon_box_items {
    margin: 0;
    text-align: center;
  }

  .maps_area_v2 .phone-box input::placeholder {
    font-size: 2rem;
  }

  .prev_next.v2 {
    padding: 0rem 0 5rem;
  }
}

/*----- xs devices (landscape phones, 575px and down) -----*/
@media (max-width: 575px) {
}

/* ================= Schema projet responsive ================= */
@media (max-width: 991px) {
  .project_schema_header_inner {
    min-height: 24rem;
  }

  .project_schema_header p {
    font-size: 2.5rem;
  }

  .project_info_grid,
  .project_story_grid {
    gap: 2.5rem;
  }

  .project_story_card {
    min-height: auto;
    padding: 2.4rem;
  }

  .project_story_card h2 {
    font-size: 2.8rem;
  }
}

@media (max-width: 767px) {
  .project_schema_header {
    padding: 3rem 0 1rem;
  }

  .project_schema_header_inner {
    min-height: 22rem;
  }

  .project_schema_header h1 {
    font-size: 6.4rem;
  }

  .project_schema_header p {
    font-size: 2.2rem;
    line-height: 1.25;
  }

  .schema_slider_area {
    padding: 3rem 0 4rem;
  }

  .project_info_area {
    padding-bottom: 5rem;
  }

  .project_info_grid,
  .project_story_grid {
    grid-template-columns: 1fr;
  }

  .project_info_item p {
    font-size: 1.9rem;
  }

  .project_story_area,
  .project_value_area {
    padding-bottom: 5rem;
  }

  .project_story_intro p {
    font-size: 2.2rem;
  }

  .project_story_grid {
    margin-top: 3rem;
  }

  .project_story_card h2 {
    font-size: 2.7rem;
  }

  .project_story_card p,
  .project_value_box p {
    font-size: 1.9rem;
  }

  .project_value_box h2 {
    font-size: 4.6rem;
  }
}

/* Slider projet unique + parallax responsive */
@media (max-width: 991px) {
  .project_hero_parallax_area {
    min-height: 68rem;
  }

  .project_slider_btn {
    min-width: auto;
  }
}

@media (max-width: 767px) {
  .project_hero_parallax_area {
    min-height: 48rem;
  }

  .project_slider_nav {
    align-items: flex-end;
    padding-bottom: 3rem;
    margin-top: auto;
  }

  .project_slider_btn {
    padding: 1rem;
    gap: 0;
  }

  .project_slider_btn span:not(.project_slider_icon) {
    display: none;
  }

  .project_slider_icon {
    width: 4.2rem;
    height: 4.2rem;
  }
}

@media (max-width: 767px) {
  .project_hero_parallax_area {
    align-items: flex-end;
  }
}

/* Correction menu responsive : les boutons Previous / Next du projet disparaissent quand le menu mobile est ouvert */
@media (max-width: 991px) {
  body.menu_active .project_slider_nav,
  body.menu_active .project_slider_btn,
  body.menu_active .project_hero_parallax_area .swiper-button-prev,
  body.menu_active .project_hero_parallax_area .swiper-button-next {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }

  body.menu_active .menu_overlay {
    z-index: 999990;
  }

  body.menu_active .primary_menu {
    z-index: 999996;
    background: #ffffff;
  }

  body.menu_active .site_header {
    background: #ffffff;
  }
}
