/* Espaçamento */
.faq-modal.space-small { padding: 128px 0; }
.faq-modal.space-large { padding: 256px 0; }
.faq-modal.space-none  { padding: 0; }

/* Layout em duas colunas */
.faq-modal__columns {
  display: flex;
  align-items: flex-start;
  gap: 80px;
  -webkit-font-smoothing: antialiased;
}

/* Coluna esquerda */
.faq-modal__left {
  flex: 0 0 320px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: sticky;
  top: 32px;
}

.faq-modal__title {
  font-family: var(--title-font-family);
  color: var(--light-text-neutral-600, #002820);
  font-size: 48px;
  line-height: 56px;
  font-weight: 700;
  margin: 0;
}

.faq-modal__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--default-font-family);
  font-size: 16px;
  line-height: 24px;
  color: var(--light-text-neutral-500, #566972);
  text-decoration: none;
}

.faq-modal__link:hover {
  color: var(--light-text-neutral-600, #002820);
}

/* Coluna direita */
.faq-modal__right {
  flex: 1;
  min-width: 0;
}

/* Lista de perguntas */
.faq-modal__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.faq-modal__item {
  border-top: 1px solid var(--light-elements-neutral-300, #CBCED3);
}

.faq-modal__item:last-child {
  border-bottom: 1px solid var(--light-elements-neutral-300, #CBCED3);
}

.faq-modal__question-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
  padding: 28px 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
}

.faq-modal__question-text {
  font-family: var(--default-font-family);
  font-size: 18px;
  line-height: 28px;
  color: var(--light-text-neutral-600, #002820);
  font-weight: 400;
  letter-spacing: var(--letter-spacing);
}

.faq-modal__question-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.faq-modal__question-btn:hover .faq-modal__question-icon path {
  stroke: var(--light-text-neutral-600, #002820);
}

/* Conteúdo oculto das respostas */
.faq-modal__answers {
  display: none;
}

/* Overlay */
.faq-modal__overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 9000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.faq-modal__overlay.is-open {
  opacity: 1;
  visibility: visible;
}

/* Drawer lateral */
.faq-modal__drawer {
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  max-width: 600px;
  height: 100%;
  background: var(--light-surface-neutral-0, #fff);
  overflow-y: auto;
  padding: 64px 48px;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
}

.faq-modal__overlay.is-open .faq-modal__drawer {
  transform: translateX(0);
  -webkit-font-smoothing: antialiased;
}

/* Botão fechar */
.faq-modal__close {
  position: absolute;
  top: 24px;
  right: 24px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
}

.faq-modal__close:hover {
  background: var(--light-surface-neutral-200, #f1f5f8);
}

/* Conteúdo do drawer */
.faq-modal__drawer-content {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.faq-modal__drawer-title {
  font-family: var(--title-font-family);
  color: var(--light-text-neutral-600, #002820);
  font-size: 36px;
  line-height: 44px;
  font-weight: 700;
  margin: 0;
}

.faq-modal__drawer-body {
  font-family: var(--default-font-family);
  font-size: 16px;
  line-height: 26px;
  color: var(--light-text-neutral-500, #566972);
  letter-spacing: var(--letter-spacing);
}

.faq-modal__drawer-body p {
  margin-bottom: 16px;
}

.faq-modal__drawer-body p:last-child {
  margin-bottom: 0;
}

.faq-modal__drawer-body ul,
.faq-modal__drawer-body ol {
  padding-left: 20px;
  margin-bottom: 16px;
}

.faq-modal__drawer-body li {
  margin-bottom: 8px;
}

.faq-modal__drawer-body a {
  color: var(--light-text-neutral-600, #002820);
  text-decoration: underline;
}

.faq-modal__drawer-body strong {
  font-weight: 600;
  color: var(--light-text-neutral-600, #002820);
}

/* Trava o scroll do body quando drawer aberto */
body.faq-modal--no-scroll {
  overflow: hidden;
}

/* Mobile */
@media (max-width: 767px) {
  .faq-modal.space-small { padding: 64px 0; }
  .faq-modal.space-large { padding: 128px 0; }

  .faq-modal__columns {
    flex-direction: column;
    gap: 48px;
  }

  .faq-modal__left {
    flex: none;
    width: 100%;
    position: static;
  }

  .faq-modal__title {
    font-size: 36px;
    line-height: 44px;
  }

  .faq-modal__drawer {
    max-width: 100%;
    padding: 80px 24px 48px;
  }

  .faq-modal__drawer-title {
    font-size: 28px;
    line-height: 36px;
  }
}
