/* =========================================================
   SEÇÃO FAQ + CTA FINAL — RUMOA TURISMO E EXPEDIÇÕES
   Fidelidade absoluta ao mockup aprovado.
   Estética editorial, limpa e sofisticada.
   ========================================================= */

.faq-cta-section {
  position: relative;
  width: 100%;
  background: var(--cream, #f6f0e7);
  color: var(--ink);
  overflow: hidden;
  padding: 80px 0 88px;
  margin-bottom: 0;
  scroll-margin-top: 96px;
}

/* Fundo topográfico sutil e minimalista */
.faq-topo-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  color: var(--green);
}

.faq-topo-svg {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Container de conteúdo */
.faq-cta-container {
  position: relative;
  z-index: 1;
  max-width: 1480px;
  margin: 0 auto;
  padding: 0 4.5vw;
}

/* ---------------------------------------------------------
   PARTE 1: CABEÇALHO DO FAQ
   --------------------------------------------------------- */
.faq-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
  margin-bottom: 48px;
}

.faq-header-left {
  max-width: 780px;
}

.faq-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.28em;
  color: var(--terracotta);
  text-transform: uppercase;
  margin-bottom: 14px;
}

.faq-eyebrow-line {
  display: inline-block;
  width: 36px;
  height: 2px;
  background: var(--terracotta);
  border-radius: 2px;
}

.faq-title {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: clamp(38px, 4vw, 56px);
  font-weight: 400;
  line-height: 1.08;
  color: #111b12;
  margin: 0 0 16px;
  letter-spacing: -0.02em;
}

.faq-lead {
  font-size: 15.5px;
  line-height: 1.62;
  color: #58647a;
  margin: 0;
  max-width: 680px;
}

.faq-lead-br {
  display: inline;
}

/* Selo de marca no canto superior direito conforme mockup */
.faq-header-stamp {
  display: flex;
  align-items: center;
  gap: 18px;
  padding-top: 8px;
  flex-shrink: 0;
}

.brand-stamp-left {
  display: flex;
  flex-direction: column;
  text-align: right;
}

.brand-name {
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.28em;
  color: #111b12;
}

.brand-sub {
  font-size: 7.5px;
  font-weight: 600;
  letter-spacing: 0.22em;
  color: #58647a;
  margin-top: 3px;
}

.stamp-vertical-divider {
  display: block;
  width: 1px;
  height: 38px;
  background: rgba(200, 192, 178, 0.8);
}

.brand-stamp-right {
  display: flex;
  flex-direction: column;
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.2em;
  line-height: 1.35;
  color: #6a7788;
}

/* ---------------------------------------------------------
   PARTE 2: ACCORDION E DETALHES LATERAIS
   --------------------------------------------------------- */
.faq-main-wrapper {
  display: grid;
  grid-template-columns: 140px 1fr 140px;
  gap: 24px;
  align-items: center;
  margin-bottom: 74px;
}

/* Manuscrito lateral esquerdo */
.faq-side-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  pointer-events: none;
}

.side-script {
  font-family: 'Allura', cursive;
  font-size: 28px;
  line-height: 1.1;
  color: #a47654;
  transform: rotate(-7deg);
  white-space: nowrap;
}

.side-line {
  display: block;
  width: 44px;
  height: 2px;
  background: var(--terracotta);
  border-radius: 1px;
}

/* Assinatura editorial lateral direita */
.faq-side-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: right;
  gap: 10px;
  pointer-events: none;
}

.side-editorial-text {
  display: flex;
  flex-direction: column;
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.22em;
  line-height: 1.45;
  color: #7d8b9d;
}

/* Grupo central de accordions */
.faq-accordion-group {
  display: flex;
  flex-direction: column;
  gap: 13px;
  max-width: 930px;
  margin: 0 auto;
  width: 100%;
}

.faq-reveal-wrap {
  width: 100%;
}

/* Card individual do accordion */
.faq-card {
  background: #faf7f2;
  border: 1px solid rgba(220, 214, 202, 0.75);
  border-radius: 16px;
  overflow: hidden;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
  box-shadow: 0 4px 16px rgba(18, 30, 20, 0.02);
}

.faq-card:hover {
  border-color: rgba(185, 83, 47, 0.35);
  box-shadow: 0 6px 20px rgba(18, 30, 20, 0.05);
}

.faq-card.is-open {
  background: #ffffff;
  border-color: rgba(185, 83, 47, 0.38);
  box-shadow: 0 8px 24px -4px rgba(18, 30, 20, 0.06);
}

/* Trigger do botão */
.faq-trigger {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 19px 24px;
  box-sizing: border-box;
  background: none;
  border: 0;
  text-align: left;
  cursor: pointer;
  gap: 18px;
}

.faq-trigger:focus-visible {
  outline: 2px solid var(--terracotta);
  outline-offset: -2px;
  border-radius: 15px;
}

.faq-trigger-content {
  display: flex;
  align-items: center;
  gap: 20px;
}

/* Círculo com o número da pergunta */
.faq-number-circle {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.05em;
  background: #eae3d6;
  color: #223223;
  flex-shrink: 0;
  transition: background 0.25s ease, color 0.25s ease;
}

.faq-number-circle.is-active {
  background: var(--terracotta);
  color: #ffffff;
}

.faq-question-text {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: clamp(19px, 1.8vw, 22.5px);
  font-weight: 400;
  color: #111b12;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

/* Ícone chevron */
.faq-chevron-wrap {
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #2d472c;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), color 0.25s ease;
}

.faq-icon-chevron {
  width: 18px;
  height: 18px;
}

.faq-card.is-open .faq-chevron-wrap {
  transform: rotate(180deg);
  color: var(--terracotta);
}

/* Animação suave do conteúdo do Accordion (CSS Grid Transition) */
.faq-collapse {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  transition: grid-template-rows 350ms cubic-bezier(0.16, 1, 0.3, 1), opacity 260ms ease;
}

.faq-card.is-open .faq-collapse {
  grid-template-rows: 1fr;
  opacity: 1;
}

.faq-answer-inner {
  overflow: hidden;
}

.faq-answer-text {
  margin: 0;
  padding: 0 28px 22px 86px;
  font-size: 15px;
  line-height: 1.62;
  color: #58647a;
  font-weight: 400;
}

/* ---------------------------------------------------------
   PARTE 3: CTA FINAL INTEGRADO
   --------------------------------------------------------- */
.faq-cta-banner {
  position: relative;
  width: 100%;
  min-height: 290px;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(220, 214, 202, 0.7);
  box-shadow: 0 16px 44px -10px rgba(18, 30, 20, 0.12);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 42px 48px;
  box-sizing: border-box;
  background: #fbf9f5;
  isolation: isolate;
}

/* Fotografia do casal diante do lago e montanhas */
.cta-bg-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right center;
  z-index: 0;
}

/* A nova imagem já possui o degradê suave integrado no lado esquerdo */
.cta-gradient-overlay {
  display: none;
}

.cta-content-left {
  position: relative;
  z-index: 2;
  max-width: 580px;
}

.cta-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--terracotta);
  text-transform: uppercase;
  margin-bottom: 12px;
}

.cta-eyebrow-line {
  display: inline-block;
  width: 28px;
  height: 2px;
  background: var(--terracotta);
  border-radius: 1px;
}

.cta-title {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: clamp(30px, 2.7vw, 42px);
  font-weight: 400;
  line-height: 1.1;
  color: #111b12;
  margin: 0 0 14px;
  letter-spacing: -0.02em;
}

.cta-desc {
  font-size: 14.5px;
  line-height: 1.58;
  color: #556275;
  margin: 0 0 24px;
}

.cta-desc-br {
  display: inline;
}

.cta-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

/* Botão principal (WhatsApp) */
.btn-cta-whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #2d472c;
  color: #ffffff;
  border-radius: 12px;
  height: 54px;
  padding: 0 28px;
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: background 0.25s ease, transform 0.2s ease, box-shadow 0.25s ease;
  box-shadow: 0 6px 18px -4px rgba(45, 71, 44, 0.35);
}

.btn-cta-whatsapp:hover {
  background: #223a24;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px -4px rgba(45, 71, 44, 0.45);
}

.faq-icon-whats {
  width: 19px;
  height: 19px;
  flex-shrink: 0;
}

.faq-icon-arrow {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  transition: transform 0.2s ease;
}

.btn-cta-whatsapp:hover .faq-icon-arrow,
.btn-cta-secondary:hover .faq-icon-arrow {
  transform: translateX(3px);
}

/* Botão secundário (Ver viagens) */
.btn-cta-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: rgba(247, 243, 237, 0.85);
  color: #1c2b1e;
  border: 1.5px solid #2d472c;
  border-radius: 12px;
  height: 54px;
  padding: 0 24px;
  font-size: 14.5px;
  font-weight: 600;
  transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease, transform 0.2s ease;
}

.btn-cta-secondary:hover {
  background: #ffffff;
  border-color: var(--terracotta);
  color: var(--terracotta);
  transform: translateY(-2px);
}

/* Selo lateral direito na fotografia */
.cta-badge-right {
  position: relative;
  z-index: 2;
  align-self: center;
  display: flex;
  flex-direction: column;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.22em;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.95);
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.65);
  pointer-events: none;
  padding-right: 12px;
}

/* ---------------------------------------------------------
   RESPONSIVIDADE (Tablets e Mobile)
   --------------------------------------------------------- */
@media (max-width: 1200px) {
  .faq-main-wrapper {
    grid-template-columns: 100px 1fr 100px;
    gap: 16px;
  }

  .side-script {
    font-size: 24px;
  }
}

@media (max-width: 960px) {
  .faq-cta-section {
    padding: 60px 0 68px;
  }

  .faq-cta-container {
    padding: 0 20px;
  }

  .faq-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 32px;
  }

  .faq-header-stamp {
    display: none;
  }

  .faq-lead-br {
    display: none;
  }

  .faq-main-wrapper {
    grid-template-columns: 1fr;
    gap: 0;
    margin-bottom: 48px;
  }

  .faq-side-left,
  .faq-side-right {
    display: none;
  }

  /* CTA em formato vertical para mobile/tablet */
  .faq-cta-banner {
    flex-direction: column;
    align-items: flex-start;
    min-height: auto;
    padding: 36px 24px 34px;
    border-radius: 20px;
  }

  .cta-bg-image {
    object-position: 84% bottom;
  }

  .cta-gradient-overlay {
    display: block;
    position: absolute;
    inset: 0;
    background: linear-gradient(
      180deg,
      rgba(251, 249, 245, 0.95) 0%,
      rgba(251, 249, 245, 0.88) 58%,
      rgba(251, 249, 245, 0.22) 78%,
      rgba(251, 249, 245, 0) 100%
    );
    z-index: 1;
    pointer-events: none;
  }

  .cta-badge-right {
    display: none;
  }

  .cta-actions {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    gap: 10px;
  }

  .btn-cta-whatsapp,
  .btn-cta-secondary {
    width: 100%;
    box-sizing: border-box;
  }
}

@media (max-width: 520px) {
  .faq-title {
    font-size: 36px;
  }

  .faq-lead {
    font-size: 14px;
  }

  .faq-trigger {
    padding: 16px 14px;
    gap: 12px;
  }

  .faq-number-circle {
    width: 36px;
    height: 36px;
    font-size: 12px;
  }

  .faq-question-text {
    font-size: 17.5px;
  }

  .faq-answer-text {
    padding: 0 14px 18px 60px;
    font-size: 13.5px;
  }

  .cta-title {
    font-size: 28px;
  }

  .cta-desc {
    font-size: 13.5px;
  }

  .cta-desc-br {
    display: none;
  }
}

/* Acessibilidade: prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
  .faq-card,
  .faq-chevron-wrap,
  .faq-collapse,
  .btn-cta-whatsapp,
  .btn-cta-secondary {
    transition: none !important;
    animation: none !important;
  }
}

