/*
Theme Name: Bois-Expo
Theme URI: http://example.com/bois-expo
Author: Votre Nom
Author URI: http://example.com
Description: Thème minimal pour WordPress
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: bois-expo
*/

html,
body {
  overflow-x: hidden;
}

@font-face {
  font-family: 'Outfit';
  src: url('../fonts/outfit-regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

.outfit {
  font-family: 'Outfit';
}

@font-face {
  font-family: 'OutfitBold';
  src: url('../fonts/outfit-bold.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

body {
  font-family: 'Outfit', sans-serif;
  color: #787899;
}

h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6 {
  font-family: 'OutfitBold';
  font-weight: 700;
  color: #31333d;
}

.text-ligh-bed,
.text-light h2 {
  color: #fff;
}

.font-20 {
  font-size: 20px;
}

.font-18 {
  font-size: 18px;
}

a {
  color: #3bbac9;
}

a:hover {
  text-decoration: none;
}

.text-grey {
  color: #787899;
}

picture.img-fluid img {
  max-width: 100%;
  height: auto;
  display: block;
}

.btn-search input {
  display: flex;
  padding: 10px 25px;
  justify-content: space-between;
  align-items: center;
  flex-shrink: 0;
  border-radius: 6px;
  background: #f1fafb;
  border: none;
}

.btn-search input:focus {
  box-shadow: none !important;
  border: none;
  background-color: #f1fafb;
}

.btn-search input,
.btn-search input::placeholder {
  color: #787899;
  font-family: Outfit;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}

.btn-search button {
  border: none;
  background: transparent;
  position: absolute;
  right: 5%;
}

.btn-bed-line {
  display: flex;
  padding: 13px 25px;
  justify-content: center;
  align-items: center;
  gap: 10px;
  border-radius: 4px;
  border: 1px solid #3bbac9;
  color: #3bbac9;
  font-weight: 500;
  line-height: normal;
  background: #fff;
  text-decoration: none;
  font-size: 16px;
}

.btn-bed-line:hover {
  color: #fff;
  background: #3bbac9;
  text-decoration: none;
  display: inline-block;
}

.btn-bed-full {
  display: flex;
  padding: 13px 25px;
  justify-content: center;
  align-items: center;
  gap: 10px;
  border-radius: 4px;
  border: 1px solid #3bbac9;
  color: #fff;
  font-weight: 500;
  line-height: normal;
  background: #3bbac9;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
}

.btn-bed-full:hover {
  color: #3bbac9;
  background: #fff;
  text-decoration: none;
}

.btn-bed-full:hover svg path {
  stroke: #3bbac9;
}

.btn-bed-full-white {
  display: inline-block;
  padding: 13px 25px;
  justify-content: center;
  align-items: center;
  gap: 10px;
  border-radius: 4px;
  border: 1px solid #3bbac9;
  color: #3bbac9;
  font-weight: 500;
  line-height: normal;
  background: #fff;
  text-decoration: none;
}

.btn-bed-full-white:hover {
  color: #fff;
  background: #3bbac9;
}

.toggle-ref {
  display: inline-block;
  padding: 13px 25px;
  border-radius: 4px;
  background: #303e47;
  color: #fff;
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  text-decoration: none;
  border: 1px solid #303e47;
  margin-top: 16px;
}

.toggle-ref:hover {
  background: #fff;
  color: #303e47;
}

.btn-simple-bed {
  color: #32323f;
  font-weight: 500;
  text-transform: uppercase;
}

.btn-simple-bed:hover,
.btn-simple-bed:hover svg path {
  color: #3bbacf;
  fill: #3bbacf;
}

#main-menu ul {
  padding-left: 0px;
  margin-bottom: 0px;
  list-style: none;
}

#main-menu ul li a {
  color: #32323f !important;
  text-decoration: none;
}

#main-menu ul li a:hover {
  color: #3bbac9 !important;
}

.p-75 {
  padding: 75px 0px;
}

.pb-75 {
  padding-bottom: 75px;
}

.p-50-all {
  padding: 50px;
}

.mb-35 {
  margin-bottom: 35px;
}

.text-black {
  color: #32323f;
}

.bleu-light-bg {
  background: #f1fafb;
}

.breadcrumb-item + .breadcrumb-item::before {
  display: none;
}

.font-14 {
  font-size: 14px;
  line-height: normal;
}

.price-bloc .prix-original {
  color: #787899;
  font-size: 20px;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
  text-decoration-line: line-through;
}

.price-bloc .prix-promo,
.price-bloc .prix-standard {
  color: #31333d;
  font-size: 48px;
  font-style: normal;
  font-weight: 600;
  line-height: 48px;
}
.price-bloc .unite {
  color: #31333d;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}

.swiper-thumbs img {
  width: 80px;
}

.tabs {
  margin-top: 20px;
}

.tab-buttons {
  list-style: none;
  display: flex;
  padding: 0;
  margin-bottom: 10px;
  gap: 25px;
  justify-content: center;
  border-bottom: 1px solid #d7d7d7;
  flex-wrap: wrap;
}

.tab-buttons li {
  font-size: 20px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  padding: 10px 0px;
  cursor: pointer;
}

.tab-buttons li.active {
  color: #32323f;
  font-size: 20px;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
  border-bottom: 2px solid #32323f;
}

.tab-content .tab {
  display: none;
}

.tab-content .tab.active {
  display: block;
}

.specificites {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  list-style: none;
  padding: 0;
  margin: 0;
}

@media (min-width: 768px) {
  .specificites {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 992px) {
  .border-hr {
    border-top: 1px solid #dedede;
  }
}

.specificites li {
  display: flex;
  align-items: center;
  gap: 10px;
}

.inner-ref {
  display: -webkit-box;
  -webkit-line-clamp: 4; /* nombre de lignes visibles */
  -webkit-box-orient: vertical;
  overflow: hidden;
  position: relative;
  transition: max-height 0.4s ease;
}

.inner-ref.open {
  display: block;
}

.container-product-similar,
.container-etapes {
  padding-inline-start: calc(50% - 647px);
}

.mySwiperProductSimilar,
.mySwiperCategHome {
  position: initial !important;
}

.mySwiperProductSimilar .swiper-button-prev,
.mySwiperProductSimilar .swiper-button-next,
.mySwiperCategHome .swiper-button-prev,
.mySwiperCategHome .swiper-button-next,
.mySwiperRealisation .swiper-button-prev,
.mySwiperRealisation .swiper-button-next,
.swiper-produit .swiper-button-prev,
.swiper-produit .swiper-button-next,
.slide-etape .swiper-button-prev,
.slide-etape .swiper-button-next {
  background: none;
  border: none;
  color: #333; /* ou la couleur de ton design */
  width: auto;
  height: auto;
  padding: 0;
}

.slide-etape .swiper-button-prev {
  left: 65%;
}

.swiper-button-prev svg,
.swiper-button-next svg {
  width: 60px !important;
  height: 60px !important;
}

@media screen and (min-width: 1441px) {
  .mySwiperProductSimilar .swiper-button-prev,
  .mySwiperCategHome .swiper-button-prev {
    padding-inline-start: calc(20px + 2%); /* exemple */
  }
}

.mySwiperProductSimilar .swiper-button-prev:after,
.mySwiperProductSimilar .swiper-button-next:after,
.mySwiperCategHome .swiper-button-prev:after,
.mySwiperCategHome .swiper-button-next:after,
.mySwiperRealisation .swiper-button-prev:after,
.mySwiperRealisation .swiper-button-next:after,
.swiper-produit .swiper-button-next:after,
.swiper-produit .swiper-button-prev:after,
.slide-etape .swiper-button-next:after,
.slide-etape .swiper-button-prev:after {
  display: none;
}

.mySwiperProductSimilar a,
.inner-product-categ a {
  text-decoration: none;
  color: #787899;
}

.titleProductSimilar {
  font-size: 20px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
}

.subtitleProductSimilar a {
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}

.mySwiperProductSimilar img,
.inner-product-categ img {
  border-radius: 6px;
}

.mySwiperProductSimilar img {
  height: 330px;
  object-fit: cover;
}

.mySwiperProductSimilar .price-bloc .prix-promo,
.mySwiperProductSimilar .price-bloc .prix-standard,
.inner-product-categ .prix-promo,
.inner-product-categ .prix-standard {
  font-size: 24px;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
}

.mySwiperProductSimilar .price-bloc .prix-original,
.inner-product-categ .prix-original {
  font-size: 16px;
}

.overlayProductSimilar {
  position: absolute;
  top: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 6px;
  background: linear-gradient(
    0deg,
    rgba(0, 0, 0, 0.35) 0%,
    rgba(0, 0, 0, 0.35) 100%
  );
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none; /* évite de bloquer le hover */
}

.mySwiperProductSimilar .swiper-slide a:hover .overlayProductSimilar,
.inner-product-categ a:hover .overlayProductSimilar {
  opacity: 1;
  pointer-events: auto;
}

.overlayProductSimilar span,
.btn-article {
  display: inline-block;
  padding: 12px 25px;
  background: #fff;
  color: #31333d;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  text-transform: uppercase;
  border: 1px solid #fff;
  border-radius: 6px;
  text-decoration: none;
}

.overlayProductSimilar .btn-overlayProductSimilar:hover,
.btn-article:hover {
  background: #31333d;
  color: #fff;
}

.btn-white-bed {
  display: inline-block;
  padding: 12px 25px;
  background: #fff;
  color: #31333d;
  font-size: 16px;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
  border: 1px solid #fff;
  border-radius: 6px;
  text-decoration: none;
}

.btn-white-bed:hover,
.link-cta:hover .btn-white-bed {
  background: #31333d;
  color: #fff;
}

.margin-bandeau-agence {
  margin-bottom: 150px;
}

.intro-overlay {
  top: 0;
}

.overlay-bandeau,
.overlay-quote-product,
.overlay-swiperCategHome,
.overlay-general {
  position: absolute;
  top: 0;
  left: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0.35) 100%
  );
  width: 100%;
  height: 100%;
}

.intro-agence h1 {
  color: #fff;
}

.coordonees-bloc {
  position: relative;
  top: 150px;
}

.inner-coordonnees {
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(25px);
}

.tel-agence {
  text-decoration: none;
  color: #787899;
}

.page-template-nos-agences .tel-agence {
  color: #fff;
}

.page-template-nos-agences .tel-agence:hover {
  color: #3bbac9;
}

.page-template-nos-agences .tel-agence:hover path {
  stroke: #3bbac9;
}

.table-horaires {
  width: 100%;
  border-collapse: collapse;
}

.table-horaires .col-jour {
  width: 150px; /* fixe la largeur de la colonne jour */
  white-space: nowrap;
  padding-right: 1rem;
  vertical-align: top;
}

.col-jour {
  color: #31333d;
}

.bg-avis {
  background-image: url(/wp-content/uploads/2025/07/bck-avis-02.png);
  background-position: bottom;
  background-repeat: no-repeat;
  background-size: contain;
}

.mySwiperAvis .swiper-wrapper {
  padding-top: 50px;
}

.mySwiperAvis .swiper-slide:nth-child(2) {
  margin-top: -50px !important;
}

.mySwiperAvis .swiper-slide:nth-child(5) {
  margin-top: -30px !important;
}

.bloc-avis {
  padding: 25px;
  text-align: center;
  border-radius: 6px;
  background: #f1fafb;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.bloc-avis p {
  margin-bottom: 0px;
}

.bg-cta-footer {
  border-radius: 6px;
}

.bg-cta-footer p {
  color: #fff;
}

.p-50 {
  padding: 50px 0px;
}

.bg-footer {
  background: #2f2f3b;
}

.p-50.bg-footer {
  padding: 50px 0px 15px;
}

.link-rs {
  color: #fff;
  text-decoration: none;
  cursor: pointer;
}

.link-rs:hover,
.link-rs:hover svg path {
  color: #3bbac9;
  fill: #3bbac9;
}

.link-copyright a {
  color: #e6e6e6;
  text-decoration: none;
}

.link-copyright a:hover {
  color: #3bbac9;
}

@media (max-width: 767.98px) {
  .p-75 {
    padding: 35px 0px;
  }

  .pb-75 {
    padding-bottom: 35px;
  }

  .bandeau-full img,
  .bandeau-home .bandeau-full video {
    height: 545px !important;
    object-fit: cover;
  }

  .bandeau-home .swiper-button-next {
    right: 2% !important;
  }

  .bandeau-home .swiper-button-prev {
    left: 2% !important;
  }

  .mySwiperCategHome {
    padding-bottom: 100px !important;
  }

  .mySwiperCategHome .swiper-button-next {
    bottom: 0;
    top: inherit;
    right: 30%;
  }

  .mySwiperCategHome .swiper-button-prev {
    bottom: 0;
    top: inherit;
    left: 30%;
  }

  .intro-overlay {
    padding: 0px 40px;
  }

  .tax-categorie_produit .bandeau-full img {
    height: 400px !important;
  }

  .coordonees-bloc {
    top: 0px;
  }

  .intro-overlay {
    top: 25%;
  }

  .home .intro-overlay,
  .page-template-nos-agences .intro-overlay,
  .tax-categorie_produit .intro-overlay {
    top: 0%;
  }

  .container-product-similar,
  .container-etapes {
    padding-right: calc(var(--bs-gutter-x) * 0.5);
    padding-left: calc(var(--bs-gutter-x) * 0.5);
    --bs-gutter-x: 1.5rem;
  }

  .mySwiperAvis .swiper-wrapper {
    padding-top: 0px;
  }

  .mySwiperAvis .swiper-slide:nth-child(2) {
    margin-top: 0px !important;
  }

  .mySwiperAvis .swiper-slide:nth-child(5) {
    margin-top: 30px !important;
  }

  .link-cta img {
    height: 250px !important;
    object-fit: cover;
  }

  .chiffre-cle {
    font-size: 48px !important;
  }

  .mySwiperEtapes .swiper-wrapper {
    padding-bottom: 60px;
  }

  .mySwiperEtapes .mobile-nav-etape {
    position: absolute;
    width: 100%;
    bottom: 30px;
  }

  .mySwiperEtapes .mobile-nav-etape .swiper-button-next {
    right: 35%;
  }

  .mySwiperEtapes .mobile-nav-etape .swiper-button-prev {
    left: 35%;
  }
}

@media screen and (min-width: 768px) and (max-width: 992px) {
  .p-75 {
    padding: 45px 0px;
  }

  .bandeau-full img,
  .bandeau-full video {
    height: 400px !important;
    object-fit: cover;
  }

  .coordonees-bloc {
    top: 0px;
  }

  .intro-overlay {
    top: 0%;
  }

  .mySwiperAvis .swiper-slide:nth-child(2) {
    margin-top: 0px !important;
  }

  .mySwiperAvis .swiper-slide:nth-child(5) {
    margin-top: 30px !important;
  }

  .container-product-similarn .container-etapes {
    padding-right: calc(var(--bs-gutter-x) * 0.5);
    padding-left: calc(var(--bs-gutter-x) * 0.5);
    --bs-gutter-x: 1.5rem;
  }

  .tab-buttons {
    gap: 10px;
  }
}

@media screen and (min-width: 993px) and (max-width: 1200px) {
  .container-product-similar,
  .container-etapes {
    padding-right: calc(var(--bs-gutter-x) * 0.5);
    padding-left: calc(var(--bs-gutter-x) * 0.5);
    --bs-gutter-x: 1.5rem;
  }

  .mySwiperAvis .swiper-slide:nth-child(5) {
    margin-top: -20px !important;
  }

  .bandeau-full img {
    height: 375px !important;
    object-fit: cover;
  }
}

.gform-theme--foundation .gform_fields {
  row-gap: 10px !important;
}

.overlay-agence {
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0.45) 100%
  );
}

.link-agences {
  display: block;
  position: relative;
  overflow: hidden;
}

.inner-desc-agences {
  transition: transform 0.3s ease;
  transform: translateY(0);
  position: absolute;
  bottom: 0;
  left: 0;
  z-index: 2;
}

.link-agences:hover .inner-desc-agences {
  transform: translateY(
    -10px
  ); /* Ajuste ici si tu veux plus/moins de mouvement */
}

.link-agences picture,
.link-agences img {
  height: 100% !important;
  object-fit: cover;
}

.img-rounded img,
.img-rounded {
  border-radius: 6px;
}

.breadcrumb a,
.breadcrumb span {
  color: #fff;
  text-decoration: none;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

.single-produits .breadcrumb a span,
.single-recrutement .breadcrumb a span,
.page-template-particuliers .breadcrumb a span {
  color: #787899;
}

.single-produits .breadcrumb span,
.single-recrutement .breadcrumb span,
.page-template-particuliers .breadcrumb span,
.page-template-bedapp_presentation .breadcrumb span,
.page-template-bedapp_inscription .breadcrumb span {
  color: #31333d;
}

.section-subcateg {
  background: #2f2f3b;
  padding: 15px 0;
}

.section-subcateg .link-subcateg {
  color: #fff;
  font-size: 16px;
  font-weight: 500;
  line-height: normal;
  text-transform: uppercase;
  padding: 5px 24px;
  border-radius: 6px;
  border: 1px solid rgba(59, 186, 201, 0.2);
  display: inline-block;
  transition: transform 0.3s ease; /* animation fluide */
}

.section-subcateg .link-subcateg:hover {
  transform: translateY(-5px);
}

.section-subcateg .link-subcateg span {
  color: #3bbac9;
}

.inner-product-categ img {
  height: 330px !important;
  width: 100%;
  object-fit: cover;
}

/* Conteneur description : colonne + prix collé en bas */
.inner-product-desc {
  display: flex;
  flex-direction: column;
}

/* Réserver de la place au sous-titre (ex: 2 lignes) */
.subtitleProductSimilar {
  line-height: 1.4;
  min-height: calc(1.4em * 2);
  overflow: hidden;
  margin-bottom: 15px;
}

/* Le bloc prix descend en bas du conteneur */
.price-bloc {
  margin-top: auto;
}

.bg-light-bleu {
  background: #f1fafb;
}

.accordion-item {
  background-color: transparent !important;
  border: none !important;
  border-bottom: 1px solid #dfdfdf !important;
}

.accordion-button {
  background-color: transparent !important;
  color: #383648 !important;
  font-size: 18px;
  font-weight: 500;
  box-shadow: none !important;
  padding: 10px 0px;
}

.accordion-button:not(.collapsed) {
  font-weight: bold;
  color: #3bbac9 !important;
}

.accordion-body {
  padding: 10px 0px !important;
}

.accordion-button::after {
  display: none;
}

.accordion-item:last-of-type {
  border-radius: 0px !important;
}

.page-numbers {
  color: #303e47;
  font-size: 16px;
  font-weight: 500;
  border: 1px solid rgba(48, 62, 71, 0.35);
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  list-style: none;
}

.page-numbers.current,
.page-numbers:hover,
.page-numbers.current .page-numbers,
.page-numbers:hover .page-numbers {
  background: #303e47;
  color: #fff;
}

.page-numbers:first-child {
  border-radius: 6px 0 0 6px;
}

.page-numbers:last-child {
  border-radius: 0px 6px 6px 0px;
}

.inner-cta-categ img {
  border-radius: 6px;
  height: 100% !important;
}

.inner-cta-categ .overlay-cta {
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0.5) 100%
  );
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.border-6,
.border-6 img {
  border-radius: 6px;
  overflow: hidden;
}

.gform_wrapper #gform_9 .gform-body input {
  background: #fff;
  text-align: left;
}

.gform_wrapper #gform_9 .gform-footer.gform_footer {
  justify-content: center;
}

.gform_wrapper form .gform-body input,
.gform_wrapper form .gform-body textarea,
.gform_wrapper form .gform-body select {
  padding: 14px 25px;
  border-radius: 4px;
  background: #f1fafb;
  font-family: Outfit;
  font-size: 16px;
  border: none !important;
  box-shadow: none;
  outline: none;
  color: #31333d;
}

.gform_wrapper form .gform-body input.gfield-choice-input {
  width: 15px;
  height: 15px;
  background: #fff;
  border: 1px solid #3bbac9 !important;
  border-radius: 50%;
  padding: inherit;
}

.gform_wrapper form .gform-body input.gfield-choice-input:before {
  background-color: #3bbac9;
  border-color: #3bbac9;
}

.gform_wrapper form .gfield--input-type-radio legend {
  margin-bottom: 5px !important;
}

.gform_wrapper form .gform-body .gchoice {
  display: flex;
  align-items: center;
}

.gform_wrapper form .gform-body .gchoice label {
  margin-left: 5px;
}

.gform_wrapper form .gform-body input[type='file'],
.gform_wrapper form .gform-body input[type='file'] {
  padding: 0px;
}

.gform_wrapper form .gform-body input:focus,
.gform_wrapper form .gform-body textarea:focus {
  box-shadow: none;
  outline: none;
}

.gform_wrapper form .gform-body input ::placeholder {
  color: #31333d;
}

.gform_wrapper form .gform-body select {
  padding: 0px 25px;
}

.gform_wrapper form .gform-body p,
.gform_wrapper form .gform-body span {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

.gform_wrapper form .gform-footer .gform_button {
  padding: 13px 25px !important;
  border-radius: 4px !important;
  background-color: #3bbac9 !important;
  color: #fff !important;
  font-size: 16px !important;
  font-weight: 500;
  border: 1px solid #3bbac9 !important;
  display: inline-block;
  height: inherit !important;
  width: fit-content !important;
  margin: 0px !important;
  line-height: normal !important;
}

.gform_wrapper form .gform-footer .gform_button:hover {
  background: #fff !important;
  color: #3bbac9 !important;
}

.inner-product-devis {
  position: absolute;
  bottom: 10%;
  left: 50%;
  transform: translateX(-50%);
}

.btn-classic-bed {
  color: #32323f;
  font-weight: 500;
  line-height: normal;
  text-transform: uppercase;
  text-decoration: none;
}

.btn-classic-bed:hover {
  color: #3bbac9;
}

.btn-classic-bed:hover svg path {
  fill: #3bbac9;
}

.container-swiperCateg {
  padding-inline-start: calc(50% - 647px);
}

.inner-CategHome,
.inner-cta-home {
  position: absolute;
  top: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  width: 100%;
  transition: transform 0.3s ease; /* animation douce */
}

.container-swiperCateg .swiper-slide:hover .inner-CategHome,
.link-cta:hover .inner-cta-home {
  transform: translateY(-10px);
}

.container-swiperCateg .swiper-slide img,
.link-cta .inner-cta-home img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.container-swipr {
  position: relative;
}
.swiper-nav-categHome .swiper-button-prev,
.swiper-nav-categHome .swiper-button-next {
  color: inherit; /* prend la couleur du texte, à adapter */
}
.swiper-nav-categHome .swiper-button-prev {
  left: -6px;
}
.swiper-nav-categHome .swiper-button-next {
  right: -6px;
}

@media (min-width: 992px) {
  .swiper-nav-categHome .swiper-button-prev,
  .swiper-nav-categHome .swiper-button-next {
    top: 50%;
    transform: translateY(-50%);
  }
}

.section-home-agences {
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow-x: hidden;
  padding: 100px 0px;
}

.section-home-agences .overlay {
  content: '';
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.25);
  z-index: 1;
}

.section-home-agences .row {
  position: relative;
  z-index: 2; /* pour passer devant l’overlay */
}

.ubermenu-responsive-toggle {
  padding: 0px !important;
}

.ubermenu-responsive-toggle i {
  display: none;
}

.ubermenu-responsive-toggle:before {
  content: url('/wp-content/uploads/2025/08/burger-menu.svg');
}

#main-menu ul li a {
  padding-top: 0px;
  padding-bottom: 0px;
}

.inner-offre {
  background: #f1fafb;
  padding: 25px;
}

.info-offre {
  border-radius: 4px;
  background: #3bbac9;
  padding: 5px 10px;
}

footer ul {
  padding-left: 0;
  list-style: none;
}

footer ul li a {
  color: #b3b3cd;
  text-decoration: none;
}

footer ul li a:hover {
  color: #3bbac9;
}

.chiffre-cle {
  color: #3bbac9;
  font-size: 64px;
  font-weight: 700;
}

.titre-chiifre-cle {
  color: #787899;
  font-size: 18px;
  font-weight: 400;
}

.contenu-qsn {
  background-image: url('/wp-content/uploads/2025/08/arriere-plan-contenu-qsn-v1.png');
  background-position: bottom;
  background-repeat: no-repeat;
  background-size: contain;
}

.breadcrumb li {
  padding-left: 0px !important;
}
.breadcrumb li::after {
  margin-left: 0px !important;
}

.inner-text-contact {
  padding: 35px;
  border-radius: 10px;
  background: #f1fafb;
}

.form-contact-bg {
  background-image: url('/wp-content/uploads/2025/07/bck-avis-02.png');
  background-position: bottom;
  background-repeat: no-repeat;
  background-size: contain;
}

.section-particulier {
  background-image: url('/wp-content/uploads/2025/08/bg-section-particuliers-v1.png');
  background-position: top;
  background-repeat: no-repeat;
  background-size: contain;
}

.ubermenu-tabs-group {
  background: #f1fafb !important;
  padding: 25px !important;
  border: none !important;
}

.ubermenu-main .ubermenu-tab-content-panel .ubermenu-tabs-group {
  padding: 25px 15px !important;
}

.ubermenu-tabs-group li {
  background: transparent !important;
}

.ubermenu-tabs-group li a {
  padding: 15px !important;
  background: transparent !important;
}

.ubermenu-tabs-group li a:hover {
  color: #3bbac9;
  border-radius: 6px;
  background: #fff !important;
  box-shadow: 0 4px 10px 0 rgba(59, 186, 201, 0.1);
}

.ubermenu-tab-content-panel .ubermenu-row .ubermenu-item-level-4 {
  padding: 20px !important;
}

.ubermenu-tab-content-panel .first-categ-menu {
  color: #3bbac9 !important;
  text-transform: uppercase !important;
  font-weight: 500 !important;
  border-bottom: none !important;
  font-size: 18px !important;
  padding: 0px 15px 0px !important;
}

.ubermenu-tab-content-panel .first-categ-menu:hover,
.ubermenu-tab-content-panel .second-categ-menu,
.ubermenu-tab-content-panel .third-categ-menu {
  box-shadow: none !important;
  text-decoration: underline !important;
}

.ubermenu-tab-content-panel .second-categ-menu {
  color: #32323f !important;
  font-size: 16px !important;
  font-weight: 500 !important;
  text-transform: uppercase !important;
  padding: 0px 15px 15px !important;
}

.ubermenu-tab-content-panel .third-categ-menu {
  color: #7c7c83 !important;
  font-size: 16px !important;
  font-weight: 400 !important;
  padding: 0px 15px 10px !important;
}

.ubermenu-tab-content-panel .ubermenu-submenu {
  padding-top: 0px !important;
  padding-bottom: 10px !important;
}

.ubermenu-submenu-type-flyout a {
  padding: 10px !important;
}

.swiper-height-img,
.swiper-height-img img {
  height: 640px !important;
  width: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* S'assurer que les slides Swiper s'adaptent au format carré */
.swiper-produit .swiper-slide {
  display: flex;
  justify-content: center;
  align-items: center;
}

.img-swiper-thumb-product,
.img-swiper-thumb-product img {
  height: 80px !important;
  object-fit: cover;
}

@media screen and (max-width: 767px) {
  .swiper-height-img {
    height: 300px;
    width: 300px;
  }

  .img-swiper-thumb-product {
    height: 50px;
  }

  .mySwiperRealisation .nav-mySwiperRealisation {
    width: 50% !important;
    bottom: 15% !important;
  }

  .reassurSwiper {
    padding-bottom: 40px !important;
  }
}

@media screen and (max-width: 1024px) {
  .mySwiperRealisation .nav-mySwiperRealisation {
    width: 50% !important;
    bottom: 15% !important;
  }
}

.mySwiperRealisation {
  padding-bottom: 100px !important;
}

.mySwiperRealisation .swiper-slide {
  transition: transform 0.3s ease;
  transform: scale(0.9) !important;
  opacity: 0.7;
}

.mySwiperRealisation .swiper-slide-active {
  transform: scale(1.1) !important;
  opacity: 1;
  z-index: 2;
}

.mySwiperRealisation .nav-mySwiperRealisation {
  position: absolute;
  width: 30%;
  bottom: 8%;
  left: 50%;
  transform: translateX(-50%);
}

.intro-overlay {
  z-index: 1;
}

.bandeau-full video {
  width: 100% !important;
  object-fit: cover !important;
  object-position: center;
  display: block;
}

.bandeau-home .swiper-button-next,
.bandeau-home .swiper-button-prev {
  z-index: 2;
  color: #fff;
}

.bandeau-home .swiper-button-next {
  right: 10%;
}

.bandeau-home .swiper-button-prev {
  left: 10%;
}

.ubermenu-sub-indicator {
  color: #3bbac9;
}

.cta-projet {
  height: 255px;
  display: flex;
  align-items: center;
  justify-content: center;
}

#backToTop {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 60px;
  height: 60px;
  border: none;
  background: white;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
  opacity: 0;
  transition: opacity 0.3s ease;
  visibility: inherit;
  padding: 0px;
}

#backToTop .arrow-up {
  color: #3bbac9;
  font-size: 1.5rem;
  position: absolute;
}

#backToTop svg {
  position: absolute;
  width: 60px;
  height: 60px;
  transform: rotate(-90deg);
}

#backToTop circle {
  fill: none;
  stroke-width: 5;
}

#backToTop .bg {
  stroke: #eee;
}

#backToTop .progress {
  stroke: #3bbac9;
  stroke-dasharray: 283;
  stroke-dashoffset: 283;
  transition: stroke-dashoffset 0.2s ease-out;
}

.gform-footer.gform_footer {
  justify-content: flex-end;
}

#field_2_15,
#field_6_12,
#field_8_12 {
  display: flex;
}

#gform_fields_2 input[type='file'],
#gform_fields_2 #field_2_9,
#gform_fields_6 input[type='file'],
#gform_fields_6 #field_6_11,
#gform_fields_8 input[type='file'],
#gform_fields_8 #field_8_13 {
  display: none !important;
}

#file-name {
  border-radius: 4px 0 0 4px;
  background: #f1fafb;
  padding: 14px 25px;
  width: 65%;
}

.custom-file-upload {
  width: 35%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.sticky-button {
  display: flex;
  width: 125px;
  height: 125px;
  padding: 15px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 15px;
  position: fixed;
  border-radius: 10px 0 0 10px;
  background: #fff;
  box-shadow: 0 4px 15px 0 rgba(0, 0, 0, 0.1);
  text-decoration: none;
  transition: width 0.3s ease; /* ← animation fluide */
  z-index: 1000;
}

.sticky-button:hover {
  width: 140px;
}

.sticky-button span {
  color: #787899;
  text-align: center;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}

.sticky-button.devis-button {
  top: 30%;
  right: 0;
}

.sticky-button.call-button {
  top: 45%;
  right: 0;
}

.bloc-glossaire img {
  height: 400px !important;
  width: 100%;
  object-fit: cover;
}

.link-subpage-agence {
  color: #3bbac9;
  font-size: 16px;
  line-height: normal;
  text-transform: uppercase;
  text-decoration: none;
}

.link-subpage-agence:hover {
  text-decoration: underline;
}

.content-bed h2 {
  margin-top: 32px;
}

.blog-glossaire p a.btn-bed-full {
  margin-top: 16px;
  margin-bottom: 32px;
  text-align: center;
  display: inline-block;
  width: 100%;
}

article.article-blog .post-thumbnail {
  height: 331px;
}

article.article-blog .img-square {
  max-height: 331px;
  height: 100%;
  object-fit: cover;
  width: 100%;
  display: block;
}

article.article-blog a {
  text-decoration: none;
}

article.article-blog a span {
  color: #787899;
  font-size: 16px;
}

article.article-blog .overlay-wrapper {
  position: relative;
  overflow: hidden;
}

article.article-blog .overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.5); /* semi-transparent noir */
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  border-radius: 6px; /* pour garder les coins arrondis */
}

article.article-blog:hover .overlay-wrapper .overlay {
  opacity: 1;
}

article.article-blog .post-excerpt {
  display: -webkit-box;
  -webkit-line-clamp: 3; /* max 3 lignes */
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  color: #787899;
}

.category-link + .category-link {
  margin-left: 0.5rem; /* ou 8px selon ton design */
}

.blog .pagination {
  text-align: center;
}

.blog .pagination .navigation {
  width: 100%;
  display: block;
}

.blog .pagination .navigation .nav-links {
  display: flex;
  justify-content: center;
}

.mySwiperEtapes .swiper-slide {
  background: #f1fafb;
}

.mySwiperEtapes .swiper-slide.swiper-slide-active {
  background: #3bbac9;
}

.mySwiperEtapes .etape-numero {
  font-size: 96px;
  font-weight: 700;
  color: #3bbac9;
}

.mySwiperEtapes .swiper-slide.swiper-slide-active .etape-numero,
.mySwiperEtapes .swiper-slide.swiper-slide-active * {
  color: #ffffff;
}

.mySwiperEtapes .inner-desc-etape p {
  margin-bottom: 0px;
}

#ajax-posts.loading {
  position: relative;
}

#ajax-posts.loading::before {
  content: '';
  position: absolute;
  inset: 0;
  background-color: rgba(
    255,
    255,
    255,
    0.7
  ); /* Overlay blanc semi-transparent */
  z-index: 1;
  pointer-events: none;
}

#category-filter {
  border-radius: 25px;
  background-color: #fff;
  border: 0px;
  padding: 13px 25px;
}

.custom-select-wrapper {
  position: relative;
  display: inline-block;
  width: auto;
}

.custom-select-wrapper select {
  appearance: none; /* Supprime la flèche native */
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='17' height='10' viewBox='0 0 17 10' fill='none'%3E%3Cpath d='M1 1.25L8.5 8.75L16 1.25' stroke='%233BBAC9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1.5rem center;
  background-size: 1rem;
}

.inner-group-bedapp_pres {
  width: 70%;
  margin: auto;
}

@media screen and (max-width: 1919px) {
  .bandeau-home .swiper-button-prev {
    left: 1%;
  }

  .bandeau-home .swiper-button-next {
    right: 1%;
  }
}

@media screen and (min-width: 1400px) and (max-width: 1919px) {
  .bandeau-full video,
  .bandeau-full img {
    height: 530px !important;
    width: 100%;
  }

  .sticky-button.devis-button {
    top: 30%;
    right: 0;
  }

  .sticky-button.call-button {
    top: 50%;
    right: 0;
  }
}

.bandeau-next:after,
.bandeau-prev:after {
  display: none;
}

.header-mobile {
  width: 85%;
}

.header-mobile form {
  width: 75%;
  margin-left: auto;
}

.ubermenu-mobile-close-button {
  position: absolute;
  top: 2%;
  right: 2%;
  width: auto !important;
}

.ubermenu-skin-minimal.ubermenu-mobile-modal.ubermenu-mobile-view .ubermenu-nav,
.ubermenu-mobile-footer {
  background: #f1fafb !important;
}

.ubermenu-mobile-footer {
  padding: 15px;
}

.ubermenu-skin-minimal.ubermenu-mobile-modal.ubermenu-mobile-view
  .ubermenu-nav {
  padding: 25px;
}

.ubermenu-skin-minimal.ubermenu-mobile-modal.ubermenu-mobile-view
  .ubermenu-nav
  .mobile-first {
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 4px 10px 0 rgba(59, 186, 201, 0.1);
  height: 70px;
  display: flex;
  align-items: center;
  margin-bottom: 15px;
  font-weight: 600 !important;
  gap: 15px;
}

.ubermenu-skin-minimal.ubermenu-mobile-modal.ubermenu-mobile-view
  .ubermenu-nav
  .mobile-first
  img {
  margin-bottom: 0px !important;
  border-radius: 4px;
  background: #f1fafb;
  padding: 10px;
}

.ubermenu-skin-minimal.ubermenu-mobile-modal.ubermenu-mobile-view
  .ubermenu-nav
  .ubermenu-submenu-drop {
  border-top: none;
}

@media screen and (min-width: 960px) {
  .mobile-first img {
    display: none !important;
  }
}

/**
 * ============================================================
 * SYSTÈME DE MENU MOBILE OFF-CANVAS RÉCURSIF
 * ============================================================
 *
 * Gestion unifiée de tous les sous-menus en mobile (≤991px)
 * Tous les sous-menus suivent le même comportement off-canvas
 * Animation slide depuis la droite avec transition fluide
 *
 * ============================================================
 */

@media (max-width: 991px) {
  /* Conteneur principal : position relative pour les off-canvas absolus */
  #ubermenu-nav-main-39-main-menu.ubermenu-nav {
    position: relative !important;
    overflow: hidden !important;
  }

  /* ============================================================
   * TOUS LES SOUS-MENUS : COMPORTEMENT OFF-CANVAS UNIFIÉ
   * ============================================================
   * Par défaut, tous les sous-menus sont cachés à droite (translateX 100%)
   * et glissent vers la gauche quand activés
   *
   * EXCEPTION :
   * - Seuls les groupes d'onglets (.ubermenu-tabs-group) restent visibles
   *   pour afficher la liste des onglets (Terrasses, Clôtures, etc.)
   * - Les panneaux de contenu (.ubermenu-tab-content-panel) suivent
   *   le comportement off-canvas comme les autres sous-menus
   *
   * Spécificité augmentée pour override les styles UberMenu
   */
  .ubermenu.ubermenu-responsive .ubermenu-nav li > ul:not(.ubermenu-tabs-group),
  .ubermenu.ubermenu-responsive
    .ubermenu-nav
    .ubermenu-tab
    > .ubermenu-tab-content-panel {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: auto !important;
    bottom: auto !important;
    width: 100% !important;
    height: 100% !important;
    min-height: 100vh !important;
    max-height: none !important;
    min-width: 100% !important;
    max-width: 100% !important;
    background: #fff !important;
    transform: translateX(100%) !important;
    transition: transform 0.3s ease-in-out !important;
    z-index: 9999 !important;
    overflow-y: auto !important;
    visibility: hidden !important;
    opacity: 0 !important;
    display: none !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  /* Quand un sous-menu est actif → glisse vers la gauche et devient visible */
  .ubermenu.ubermenu-responsive
    .ubermenu-nav
    li.ubermenu-active
    > ul:not(.ubermenu-tabs-group),
  .ubermenu.ubermenu-responsive
    .ubermenu-nav
    .ubermenu-tab.ubermenu-active
    > .ubermenu-tab-content-panel {
    transform: translateX(0) !important;
    visibility: visible !important;
    opacity: 1 !important;
    display: block !important;
  }

  /* S'assurer que le parent ne limite pas la hauteur */
  .ubermenu-nav li.ubermenu-active {
    height: auto !important;
    min-height: 0 !important;
    overflow: visible !important;
  }

  /* Ajouter du padding pour le contenu des panneaux off-canvas */
  .ubermenu.ubermenu-responsive .ubermenu-nav .ubermenu-tab-content-panel {
    padding: 25px !important;
  }

  /* Forcer l'affichage du contenu interne */
  .ubermenu.ubermenu-responsive .ubermenu-nav .ubermenu-tab-content-panel > * {
    max-height: none !important;
    overflow: visible !important;
  }

  /* ============================================================
   * GROUPES D'ONGLETS : AFFICHAGE NORMAL
   * ============================================================
   * Les groupes d'onglets doivent rester visibles pour permettre
   * la navigation entre les différents onglets (Terrasses, Clôtures, etc.)
   */
  .ubermenu.ubermenu-responsive .ubermenu-nav .ubermenu-tabs-group {
    position: static !important;
    transform: none !important;
    visibility: visible !important;
    opacity: 1 !important;
    display: block !important;
    width: 100% !important;
    height: auto !important;
    max-height: none !important;
    background: transparent !important;
  }

  /* Animation de fermeture → repart à droite */
  .ubermenu.ubermenu-responsive .ubermenu-nav li > ul.closing,
  .ubermenu.ubermenu-responsive
    .ubermenu-nav
    .ubermenu-tab
    > .ubermenu-tab-content-panel.closing {
    transform: translateX(100%) !important;
    visibility: hidden !important;
    opacity: 0 !important;
  }

  /* ============================================================
   * HEADER RETOUR
   * ============================================================
   * Bouton en haut de chaque sous-menu pour revenir au niveau précédent
   */
  .submenu-header {
    display: flex;
    align-items: center;
    padding: 15px;
  }

  .submenu-back {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #3bbac9;
    color: #fff;
    font-weight: 600;
    border-radius: 6px;
    padding: 15px;
    width: 100%;
    text-decoration: none;
    height: 70px;
    font-size: 16px;
  }

  .submenu-back-icon {
    pointer-events: none;
  }

  /* ============================================================
   * ESPACEMENT ET STYLES
   * ============================================================
   */
  .ubermenu-submenu-type-flyout {
    padding: 25px !important;
  }

  .ubermenu-submenu-type-flyout .submenu-header {
    padding: 0px !important;
    margin-bottom: 16px;
  }
}

/* Style pour l'icône de la flèche */
.product-filters .dropdown-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  background-color: #fff;
  border: none;
  padding: 13px 25px;
  border-radius: 25px;
  cursor: pointer;
  position: relative;
  gap: 10px;
}

.product-filters .dropdown-toggle:after {
  display: none;
}

.product-filters .dropdown-toggle .dropdown-arrow {
  transition: transform 0.3s ease-in-out; /* Animation de rotation */
}

.product-filters .dropdown-menu.show {
  display: block;
}

/* Rotation de la flèche lorsque le dropdown est ouvert */
.product-filters .dropdown-toggle[aria-expanded='true'] .dropdown-arrow {
  transform: rotate(180deg);
}

.product-filters .dropdown-toggle:focus {
  outline: none;
}

/* Quand le survol sur le label (pour plus d'UX) */
.product-filters .dropdown-item:hover {
  background-color: #f1f1f1;
}

.dropdown-menu show {
  border: none;
  position: relative;
}

.product-filters .dropdown-item {
  padding: 5px;
}

#reset-filters {
  display: none;
}

/* Filtres sélectionnés - Badges */
.selected-filters {
  margin-top: 1rem;
}

.filter-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  background-color: #3bbac9;
  color: #fff;
  border-radius: 20px;
  font-size: 0.875rem;
  font-weight: 500;
}

.filter-badge-remove {
  cursor: pointer;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.25rem;
  line-height: 1;
  padding: 0;
  margin: 0;
  margin-left: 0.25rem;
  opacity: 0.7;
  transition: all 0.2s ease;
  font-weight: 300;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  height: auto;
}

.filter-badge-remove:hover {
  opacity: 1;
  transform: scale(1.2);
}

/* Style pour les items actifs dans le dropdown */
.product-filters .dropdown-item.active {
  background-color: #3bbac9;
  color: #fff;
}
