/* =========================================
   faq.css — section FAQ'S
   (base similar ao who-we-are + accordion com gradient no open
    + fix definitivo para não ter “linha/halo branco”)
   ========================================= */

.faq {
  padding: clamp(12px, 2vw, 24px) 0;

  /* fora da caixa: transparente pra “pegar” o branco do site */
  background: transparent;
}

.faq__surface {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  padding: clamp(26px, 4vw, 46px);
  isolation: isolate;

  background: #0b0f18;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 26px 90px rgba(11, 18, 32, 0.28);
}

/* lights: white top-left + salmon bottom-right */
.faq__surface::before,
.faq__surface::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.faq__surface::before {
  background:
    radial-gradient(900px 600px at 12% 10%, rgba(255, 255, 255, 0.16), transparent 60%),
    radial-gradient(900px 650px at 92% 92%, rgba(255, 106, 138, 0.18), transparent 60%);
  opacity: 1;
}

.faq__surface::after {
  opacity: 0.08;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)' opacity='.6'/%3E%3C/svg%3E");
}

.faq__surface > * {
  position: relative;
  z-index: 1;
}

/* =========================
   Header
   ========================= */
.faq__head {
  text-align: center;
  max-width: 860px;
  margin: 0 auto 26px;
}

.faq__kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.faq__kickerIcon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--c-accent);
}

.faq__kickerIcon svg {
  width: 18px;
  height: 18px;
}

.faq__kickerText {
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
}

.faq__title {
  margin: 0;
  font-size: clamp(30px, 4vw, 54px);
  font-weight: 850;
  letter-spacing: -0.03em;
  line-height: 1.08;
  color: #fff;
}

/* =========================
   Accordion (FAQ)
   ========================= */
.faq-acc {
  width: 100%;
  max-width: 860px;
  margin: 0 auto;
  display: grid;
  gap: 14px;
}

/* mesma estratégia do who-we-are:
   backdrop-filter NUNCA no container -> vai no ::before clipado */
.faq-acc__item {
  position: relative;
  border-radius: 16px;
  overflow: hidden;

  border: 1px solid rgba(255, 255, 255, 0.06);
  background: transparent;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.24);

  isolation: isolate;
  background-clip: padding-box;
  transform: translateZ(0);
  backface-visibility: hidden;

  border-left: 0 !important;
}

.faq-acc__item::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;

  border-radius: inherit;

  background: rgba(255, 255, 255, 0.06);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);

  clip-path: inset(0 round 16px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.faq-acc__btn,
.faq-acc__panel { /* <-- corrigido (era faq-acc____panel) */
  position: relative;
  z-index: 1;
}

.faq :focus-visible {
  outline: none;
}

.faq-acc__btn:focus-visible {
  box-shadow:
    0 0 0 2px rgba(255, 255, 255, 0.14),
    0 10px 28px rgba(0, 0, 0, 0.22);
  border-radius: 16px;
}

.faq-acc__btn {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 34px;
  align-items: center;
  gap: 12px;

  padding: 18px 18px;
  border: 0;
  background: transparent;
  color: #fff;
  cursor: pointer;
  text-align: left;

  -webkit-tap-highlight-color: transparent;
}

.faq-acc__btn:hover,
.faq-acc__btn:active {
  background: transparent; 
}

.faq-acc__q {
  font-weight: 750;
  letter-spacing: -0.01em;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.92);
}

.faq-acc__chev {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;

  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);

  transform: translateZ(0);
  backface-visibility: hidden;
}

.faq-acc__chev svg {
  width: 18px;
  height: 18px;
  opacity: 0.9;
  transition: transform 260ms var(--ease, ease);
}

.faq-acc__panel {
  position: relative;
  z-index: 1;

  padding: 0 18px 16px;
  max-height: 0;
  overflow: hidden;

  opacity: 0;
  transform: translateY(-6px);
  transition:
    max-height 520ms var(--ease, ease),
    opacity 420ms var(--ease, ease),
    transform 420ms var(--ease, ease);
}

/* FORÇA TEXTO DO PAINEL EM BRANCO (sobrepõe p do base.css) */
.faq-acc__panel,
.faq-acc__panel p,
.faq-acc__panel li,
.faq-acc__panel a,
.faq-acc__panel span {
  color: rgba(255, 255, 255, 0.90) !important;
}

.faq-acc__text {
  margin: 0;
  font-size: 13px;
  line-height: 1.6;
}

.faq-acc__item.is-open {
  border-color: rgba(255, 255, 255, 0.16);
}

.faq-acc__item.is-open::before {
  background: var(--g-brand);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  box-shadow: none;
}

.faq-acc__item.is-open .faq-acc__q {
  color: #fff;
}

.faq-acc__item.is-open .faq-acc__panel {
  opacity: 1;
  transform: translateY(0);
}

.faq-acc__item.is-open .faq-acc__chev svg {
  transform: rotate(180deg);
}

/* responsive */
@media (max-width: 620px) {
  .faq__surface {
    border-radius: 22px;
  }

  .faq-acc__btn {
    padding: 16px 16px;
    grid-template-columns: 1fr 32px;
  }

  .faq-acc__chev {
    width: 32px;
    height: 32px;
  }
}

/* reduced motion */
@media (prefers-reduced-motion: reduce) {
  .faq-acc__panel,
  .faq-acc__chev svg {
    transition: none !important;
  }
}
