/* ========================================
   PÁGINA FAQ
======================================== */

.faq-page .section {
  padding: 96px 0;
}

/* ========================================
   HERO
======================================== */
.service-hero {
  padding: 110px 0 80px;
  background: linear-gradient(
    135deg,
    var(--azul-principal) 0%,
    var(--azul-secundario) 100%
  );
  color: var(--branco);
  position: relative;
  overflow: hidden;
}

.service-hero::after {
  content: '';
  position: absolute;
  width: 620px;
  height: 620px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  top: -220px;
  right: -140px;
}

.service-hero .section-title {
  margin-bottom: 0;
  max-width: 780px;
  position: relative;
  z-index: 1;
}

.service-hero .section-title span {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--dourado-claro);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 1.4px;
  text-transform: uppercase;
}

.service-hero .section-title h1 {
  font-size: 48px;
  line-height: 1.12;
  font-weight: 800;
  color: var(--branco);
  margin-bottom: 18px;
}

.service-hero .section-title p {
  max-width: 700px;
  font-size: 18px;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.88);
  margin: 0;
}

/* ========================================
   INTRO
======================================== */
.faq-intro {
  padding-top: 72px;
}

.faq-intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  gap: 56px;
  align-items: start;
}

.faq-intro-text h2 {
  font-size: 34px;
  line-height: 1.2;
  color: var(--azul-principal);
  margin-bottom: 24px;
}

.faq-intro-text p {
  font-size: 17px;
  line-height: 1.9;
  color: var(--texto);
  margin-bottom: 18px;
}

.faq-side-card {
  background: var(--branco);
  border: 1px solid rgba(18, 62, 99, 0.08);
  border-radius: 20px;
  padding: 32px 30px;
  box-shadow: 0 18px 45px rgba(18, 62, 99, 0.08);
  position: sticky;
  top: 110px;
}

.faq-side-card h3 {
  font-size: 22px;
  line-height: 1.3;
  color: var(--azul-principal);
  margin-bottom: 22px;
}

.faq-side-card ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.faq-side-card li {
  padding: 13px 0;
  border-bottom: 1px solid rgba(18, 62, 99, 0.06);
  font-size: 16px;
  line-height: 1.6;
  color: var(--texto);
}

.faq-side-card li:last-child {
  border-bottom: none;
}

/* ========================================
   TÍTULOS CENTRALIZADOS
======================================== */
.section-title.center {
  text-align: center;
  max-width: 920px;
  margin: 0 auto 54px;
}

.section-title.center span {
  display: inline-block;
  margin-bottom: 12px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--dourado);
}

.section-title.center h2 {
  font-size: 44px;
  line-height: 1.18;
  color: var(--azul-principal);
  margin-bottom: 18px;
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
}

.section-title.center p {
  font-size: 17px;
  line-height: 1.85;
  color: var(--texto-suave);
  max-width: 760px;
  margin: 0 auto;
}

/* ========================================
   FAQ LISTA
======================================== */
.faq-main {
  padding-top: 72px;
}

.faq-list {
  max-width: 940px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.faq-item {
  background: var(--branco);
  border: 1px solid rgba(18, 62, 99, 0.08);
  border-radius: 20px;
  box-shadow: 0 14px 35px rgba(18, 62, 99, 0.05);
  overflow: hidden;
  transition:
    box-shadow 0.28s ease,
    border-color 0.28s ease,
    transform 0.28s ease;
}

.faq-item:hover {
  border-color: rgba(200, 168, 90, 0.35);
  box-shadow: 0 18px 40px rgba(18, 62, 99, 0.08);
  transform: translateY(-2px);
}

.faq-question {
  width: 100%;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 26px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  text-align: left;
}

.faq-question span:first-child {
  font-size: 21px;
  line-height: 1.4;
  font-weight: 700;
  color: var(--azul-principal);
}

.faq-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(18, 62, 99, 0.08);
  color: var(--azul-principal);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 700;
  flex-shrink: 0;
  transition:
    transform 0.25s ease,
    background 0.25s ease,
    color 0.25s ease;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.faq-answer p {
  font-size: 16px;
  line-height: 1.85;
  color: var(--texto);
  margin: 0 28px 16px;
}

.faq-answer p:first-child {
  margin-top: 0;
}

.faq-answer p:last-child {
  margin-bottom: 28px;
}

.faq-item.active {
  border-color: rgba(200, 168, 90, 0.35);
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
  background: var(--dourado);
  color: var(--branco);
}

.faq-item.active .faq-answer {
  max-height: 500px;
}

/* ========================================
   CTA FINAL
======================================== */
.faq-final {
  padding-top: 72px;
  padding-bottom: 110px;
}

.faq-cta {
  display: flex;
  justify-content: center;
  margin-top: 28px;
}

/* ========================================
   RESPONSIVO
======================================== */
@media (max-width: 1100px) {
  .service-hero .section-title h1 {
    font-size: 42px;
  }

  .section-title.center h2 {
    font-size: 38px;
  }
}

@media (max-width: 992px) {
  .faq-page .section {
    padding: 80px 0;
  }

  .service-hero {
    padding: 84px 0 56px;
  }

  .service-hero .section-title h1 {
    font-size: 36px;
  }

  .faq-intro-grid {
    grid-template-columns: 1fr;
  }

  .faq-side-card {
    position: static;
  }

  .section-title.center h2 {
    font-size: 34px;
  }

  .faq-question {
    padding: 22px 22px;
  }

  .faq-answer p {
    margin-left: 22px;
    margin-right: 22px;
  }

  .faq-answer p:last-child {
    margin-bottom: 22px;
  }
}

@media (max-width: 640px) {
  .service-hero .section-title h1 {
    font-size: 30px;
  }

  .service-hero .section-title p,
  .section-title.center p,
  .faq-intro-text p,
  .faq-answer p {
    font-size: 16px;
  }

  .faq-intro-text h2,
  .section-title.center h2 {
    font-size: 29px;
  }

  .faq-side-card {
    padding: 24px 20px;
  }

  .faq-question span:first-child {
    font-size: 18px;
  }

  .faq-icon {
    width: 30px;
    height: 30px;
    font-size: 20px;
  }
}
