/* ── FAQ Bubble ─────────────────────────────────────────── */
.faq-bubble {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 999;
  font-family: inherit;
}

.faq-bubble__btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--navy, #0A1628);
  color: #fff;
  border: 1.5px solid rgba(201, 168, 76, .35);
  border-radius: 50px;
  padding: 11px 18px 11px 14px;
  cursor: pointer;
  font-size: .8125rem;
  font-weight: 600;
  letter-spacing: .03em;
  text-transform: uppercase;
  box-shadow: 0 4px 24px rgba(10, 22, 40, .45);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  white-space: nowrap;
}

.faq-bubble__btn:hover,
.faq-bubble__btn[aria-expanded="true"] {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(10, 22, 40, .55);
  border-color: var(--gold, #C9A84C);
}

.faq-bubble__btn svg {
  color: var(--gold, #C9A84C);
  flex-shrink: 0;
}

/* Panel ─────────────────────────────────────────────────── */
.faq-bubble__panel {
  position: absolute;
  bottom: calc(100% + 10px);
  right: 0;
  width: 320px;
  max-height: 60vh;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 12px 48px rgba(10, 22, 40, .22);
  border: 1px solid rgba(10, 22, 40, .07);
  display: flex;
  flex-direction: column;
  opacity: 0;
  transform: translateY(10px) scale(.97);
  pointer-events: none;
  transition: opacity .22s ease, transform .22s ease;
  transform-origin: bottom right;
}

.faq-bubble__panel.is-open {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

/* Header */
.faq-bubble__panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 14px 18px;
  background: var(--navy, #0A1628);
  border-radius: 14px 14px 0 0;
  flex-shrink: 0;
}

.faq-bubble__panel-title {
  font-size: .9375rem;
  font-weight: 700;
  margin: 0;
  color: #fff;
  font-family: 'Playfair Display', Georgia, serif;
}

.faq-bubble__close {
  background: none;
  border: none;
  color: rgba(255, 255, 255, .6);
  font-size: 1rem;
  line-height: 1;
  cursor: pointer;
  padding: 4px 6px;
  border-radius: 4px;
  transition: color .15s, background .15s;
  flex-shrink: 0;
}

.faq-bubble__close:hover,
.faq-bubble__close:focus-visible {
  color: #fff;
  background: rgba(255, 255, 255, .12);
  outline: none;
}

/* Body */
.faq-bubble__panel-body {
  overflow-y: auto;
  flex: 1;
  padding: 15px 18px 8px;
  overscroll-behavior: contain;
}

.faq-bubble__intro {
  font-size: .8rem;
  color: #637082;
  margin: 0 0 13px;
  line-height: 1.55;
  padding-bottom: 13px;
  border-bottom: 1px solid #edf1f6;
}

.faq-bubble__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.faq-bubble__list li + li {
  border-top: 1px solid #edf1f6;
}

.faq-bubble__list a {
  display: flex;
  align-items: baseline;
  gap: 7px;
  padding: 9px 0;
  font-size: .8125rem;
  color: var(--navy, #0A1628);
  text-decoration: none;
  line-height: 1.45;
  transition: color .15s;
}

.faq-bubble__list a:hover {
  color: var(--ocean, #1E6091);
}

.faq-bubble__list a::before {
  content: '›';
  color: var(--gold, #C9A84C);
  font-weight: 700;
  font-size: 1.05rem;
  flex-shrink: 0;
  line-height: 1.3;
}

/* Footer */
.faq-bubble__panel-footer {
  padding: 11px 18px 14px;
  border-top: 1px solid #edf1f6;
  flex-shrink: 0;
}

.faq-bubble__cta {
  display: block;
  text-align: center;
  background: var(--navy, #0A1628);
  color: #fff;
  border-radius: 8px;
  padding: 10px 16px;
  font-size: .8125rem;
  font-weight: 600;
  text-decoration: none;
  letter-spacing: .02em;
  transition: background .15s;
}

.faq-bubble__cta:hover {
  background: var(--ocean, #1E6091);
  color: #fff;
}

/* Mobile ──────────────────────────────────────────────────── */
@media (max-width: 640px) {
  .faq-bubble {
    bottom: 15px;
    right: 15px;
  }

  .faq-bubble__panel {
    width: min(300px, calc(100vw - 30px));
  }

  .faq-bubble__btn {
    padding: 10px 14px 10px 12px;
    font-size: .75rem;
  }
}

@media (max-width: 360px) {
  .faq-bubble__label {
    display: none;
  }

  .faq-bubble__btn {
    padding: 11px;
    border-radius: 50%;
    width: 46px;
    height: 46px;
    justify-content: center;
  }
}

/* ── FAQ contextuelle en bas de page ─────────────────────── */
.ctx-faq {
  background: #f2f6fb;
  border-top: 1px solid #dde8f3;
  padding: 36px 0 32px;
}

.ctx-faq__eyebrow {
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--gold, #C9A84C);
  margin: 0 0 16px;
}

.ctx-faq__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 12px;
  margin-bottom: 16px;
}

.ctx-faq__card {
  background: #fff;
  border: 1px solid #dce6f0;
  border-left: 3px solid var(--navy, #0A1628);
  border-radius: 8px;
  padding: 14px 16px 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.ctx-faq__card.is-priority {
  border-left-color: var(--gold, #C9A84C);
}

.ctx-faq__question {
  font-size: .875rem;
  font-weight: 700;
  color: var(--navy, #0A1628);
  margin: 0;
  line-height: 1.4;
}

.ctx-faq__excerpt {
  font-size: .8rem;
  color: #637082;
  margin: 0;
  line-height: 1.5;
  flex: 1;
}

.ctx-faq__link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: .8rem;
  font-weight: 600;
  color: var(--ocean, #1E6091);
  text-decoration: none;
  margin-top: 2px;
  transition: color .15s;
}

.ctx-faq__link:hover { color: var(--navy, #0A1628); }

.ctx-faq__link::after { content: ' →'; }

.ctx-faq__archive {
  display: inline-block;
  font-size: .78rem;
  color: #8a9dba;
  text-decoration: none;
  transition: color .15s;
}

.ctx-faq__archive:hover { color: var(--navy, #0A1628); }

@media (max-width: 640px) {
  .ctx-faq {
    padding: 24px 0 20px;
  }

  .ctx-faq__grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}
