/* ==========================================================
   BLOOPIN — FAQ PAGE
========================================================== */

.bp-faq-page{
  padding: clamp(110px, 12vw, 150px) 20px 90px;
}

.bp-faq-page__inner{
  width: min(1360px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(280px, 500px) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}

/* INTRO CARD */
.bp-faq-page__intro{
  position: sticky;
  top: 110px;
  padding: clamp(24px, 3vw, 34px);
  background:
    linear-gradient(180deg, rgba(255,255,255,.82), rgba(255,255,255,.92));
  border: 1px solid rgba(255,255,255,.55);
  border-radius: 30px;
  box-shadow:
    0 16px 40px rgba(15,23,42,.06),
    0 2px 10px rgba(15,23,42,.03);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  overflow: hidden;
}

.bp-faq-page__title{
  max-width: 100%;
  margin: 0;
  color: var(--text);
  font-size: clamp(2.25rem, 4.2vw, 3.8rem);
  font-weight: 900;
  letter-spacing: -.06em;
  line-height: .94;
}

.bp-faq-page__title .bp-word-accent-alt{
  white-space: normal;
  display: inline;
}

.bp-faq-page__text{
  margin: 20px 0 24px;
  color: var(--text-soft);
  font-size: 15px;
  line-height: 1.7;
}

/* LIST */
.bp-faq-page__list{
  display: grid;
  gap: 8px;
}

.bp-faq-page__group{
  display: grid;
  gap: 8px;
}

.bp-faq-page__group + .bp-faq-page__group{
  margin-top: 34px;
}

.bp-faq-page__group-title{
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin: 0 0 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--primary) 10%, white);
  color: var(--primary);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}

/* ITEMS — style proche home FAQ */
.bp-faq-page__item{
  border-bottom: none;
  background: transparent;
  box-shadow: none;
  border-radius: 0;
  overflow: visible;
}

.bp-faq-page__trigger{
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 10px;
  border: 0;
  background: transparent;
  text-align: left;
  cursor: pointer;
  transition:
    background .25s ease,
    padding .25s ease,
    border-radius .25s ease;
}

.bp-faq-page__question{
  color: var(--text);
  font-size: clamp(1.08rem, 1.35vw, 1.28rem);
  line-height: 1.28;
  font-weight: 800;
  letter-spacing: -.025em;
}

.bp-faq-page__icon{
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  color: #6b7280;
  background: transparent;
  border-radius: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition:
    transform .3s ease,
    color .25s ease;
}

.bp-faq-page__icon svg{
  width: 22px;
  height: 22px;
  display: block;
}

.bp-faq-page__icon path{
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.bp-faq-page__content{
  height: 0;
  overflow: hidden;
  transition: height .32s cubic-bezier(.2,.7,.2,1);
}

.bp-faq-page__content-inner{
  max-width: 680px;
  padding: 0 0 28px;
  overflow: visible;
}

.bp-faq-page__content-inner p{
  margin: 0;
  color: var(--text-soft);
  font-size: 1rem;
  line-height: 1.65;
}

/* ACTIVE — comme home */
.bp-faq-page__item.is-open{
  overflow: visible;
}

.bp-faq-page__item.is-open .bp-faq-page__trigger{
  background: color-mix(in srgb, #111 6%, transparent);
  border-radius: 10px;
  padding: 20px 12px;
}

.bp-faq-page__item.is-open .bp-faq-page__icon{
  transform: rotate(45deg);
  color: #111827;
}

/* ========================================
   FAQ CTA SLIDER
======================================== */

.bp-faq-page__slider-wrap{
  margin-top: 24px;
  margin-left: 10px;
  max-width: 420px;
  padding: 10px 0 18px;
  overflow: visible;
}

.bp-faq-slider{
  height: 56px;
  overflow: hidden;
}

.bp-faq-slider .slider-label{
  font-size: .86rem;
  letter-spacing: .035em;
  white-space: nowrap;
}

.bp-faq-slider .slider-handle{
  width: 38px;
  height: 38px;
}

.bp-faq-swipe-hint{
  margin-top: 10px;
  min-height: 30px;
}

.bp-faq-swipe-hint .hand-icon{
  width: 42px;
  margin-left: -210px;
}

/* TABLET */
@media (max-width: 900px){
  .bp-faq-page__inner{
    grid-template-columns: 1fr;
  }

  .bp-faq-page__intro{
    position: relative;
    top: auto;
  }
}

/* MOBILE */
@media (max-width: 767px){
  .bp-faq-page{
    padding: 96px 16px 70px;
  }

  .bp-faq-page__intro{
    border-radius: 26px;
  }

  .bp-faq-page__title{
    font-size: clamp(2.1rem, 10.5vw, 3.4rem);
  }

  .bp-faq-page__trigger{
    padding: 18px 10px;
  }

  .bp-faq-page__question{
    font-size: 1.02rem;
    line-height: 1.3;
  }

  .bp-faq-page__content-inner{
    padding-bottom: 24px;
  }

  .bp-faq-page__content-inner p{
    font-size: .94rem;
    line-height: 1.58;
  }

  .bp-faq-page__slider-wrap{
    max-width: 100%;
    margin-left: 0;
  }

  .bp-faq-slider .slider-label{
    font-size: .72rem;
    letter-spacing: .02em;
  }

  .bp-faq-swipe-hint .hand-icon{
    width: 38px;
    margin-left: -118px;
  }
}

@media (prefers-reduced-motion: reduce){
  .bp-faq-page__icon,
  .bp-faq-page__content,
  .bp-faq-page__trigger{
    transition: none !important;
  }
}