/* ==========================================================================
   OFERTA FAQ MODAL & HIGHLIGHTS - NÚCLEO SEGURO
   ========================================================================== */

.offer-faq-section {
  position: relative;
  z-index: 2;
  margin-top: 56px;
  margin-bottom: 24px;
}

.offer-faq-card {
  background: linear-gradient(135deg, rgba(20, 24, 33, 0.96), rgba(30, 36, 50, 0.98));
  border: 1px solid rgba(209, 107, 67, 0.4);
  border-radius: 16px;
  padding: clamp(28px, 4vw, 44px);
  color: #fff;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.3);
  position: relative;
  overflow: hidden;
}

.offer-faq-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent, #d16b43), transparent);
}

.offer-faq-header {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 32px auto;
}

.offer-faq-highlights {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
  margin-bottom: 32px;
}

.offer-faq-pill {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  cursor: pointer;
  transition: all 0.25s ease;
  text-align: left;
}

.offer-faq-pill:hover {
  background: rgba(209, 107, 67, 0.12);
  border-color: rgba(209, 107, 67, 0.5);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

.offer-faq-pill .pill-icon {
  font-size: 24px;
  line-height: 1;
  flex-shrink: 0;
}

.offer-faq-pill .pill-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.offer-faq-pill .pill-text strong {
  color: #fff;
  font-size: 15px;
  font-weight: 600;
}

.offer-faq-pill .pill-text span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  line-height: 1.35;
}

.offer-faq-pill .pill-arrow {
  color: var(--accent, #d16b43);
  font-size: 18px;
  font-weight: bold;
  transition: transform 0.2s ease;
  flex-shrink: 0;
}

.offer-faq-pill:hover .pill-arrow {
  transform: translateX(4px);
}

.offer-faq-open-btn {
  background: var(--accent, #d16b43);
  color: #fff !important;
  font-size: 16px;
  font-weight: 600;
  padding: 14px 30px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 4px 18px rgba(209, 107, 67, 0.35);
  transition: all 0.25s ease;
}

.offer-faq-open-btn:hover {
  background: #e0774e;
  transform: translateY(-2px);
  box-shadow: 0 8px 26px rgba(209, 107, 67, 0.5);
}

/* ==========================================================================
   MODAL DIALOG NATIVO COM ESTILO MODERNO
   ========================================================================== */

body.modal-open {
  overflow: hidden !important;
}

.offer-faq-dialog {
  border: 1px solid rgba(209, 107, 67, 0.45);
  border-radius: 18px;
  background: #121620;
  color: #f5f5f7;
  max-width: 820px;
  width: min(92vw, 820px);
  max-height: 88vh;
  padding: 0;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.75), 0 0 0 1px rgba(255, 255, 255, 0.08);
  outline: none;
  overflow: hidden;
  position: fixed;
  inset: 0;
  margin: auto;
  z-index: 99999;
}

.offer-faq-dialog::backdrop {
  background: rgba(8, 11, 16, 0.82);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.offer-faq-dialog-inner {
  display: flex;
  flex-direction: column;
  max-height: 88vh;
}

.offer-faq-dialog-header {
  padding: 24px 28px 20px;
  background: linear-gradient(180deg, rgba(26, 32, 44, 0.98), rgba(18, 22, 32, 0.98));
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  position: sticky;
  top: 0;
  z-index: 5;
}

.offer-faq-dialog-header-text {
  flex: 1;
}

.offer-faq-dialog-header h3 {
  color: #ffffff;
  font-size: 22px;
  margin: 0 0 6px 0;
  font-weight: 700;
  letter-spacing: -0.3px;
}

.offer-faq-dialog-header p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 14px;
  margin: 0;
  line-height: 1.45;
}

.offer-faq-close-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  transition: all 0.2s ease;
  flex-shrink: 0;
  padding: 0;
}

.offer-faq-close-btn:hover {
  background: rgba(209, 107, 67, 0.25);
  border-color: var(--accent, #d16b43);
  transform: scale(1.08);
  color: #fff;
}

.offer-faq-dialog-body {
  padding: 24px 28px;
  overflow-y: auto;
  display: block;
  -webkit-overflow-scrolling: touch;
}

/* Custom Scrollbar for Modal Body */
.offer-faq-dialog-body::-webkit-scrollbar {
  width: 8px;
}
.offer-faq-dialog-body::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.03);
}
.offer-faq-dialog-body::-webkit-scrollbar-thumb {
  background: rgba(209, 107, 67, 0.35);
  border-radius: 4px;
}
.offer-faq-dialog-body::-webkit-scrollbar-thumb:hover {
  background: rgba(209, 107, 67, 0.6);
}

/* Accordion Itens */
.offer-faq-accordion {
  display: block;
  margin-bottom: 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.2s ease;
}

.offer-faq-accordion:last-child {
  margin-bottom: 0;
}

.offer-faq-accordion[open] {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(209, 107, 67, 0.45);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.2);
}

.offer-faq-accordion summary {
  padding: 18px 20px;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  font-size: 16px;
  font-weight: 600;
  color: #ffffff;
  user-select: none;
  transition: color 0.2s ease;
}

.offer-faq-accordion summary::-webkit-details-marker {
  display: none;
}

.offer-faq-accordion summary::after,
.offer-faq-accordion summary::before {
  display: none !important;
  content: none !important;
}

.offer-faq-accordion summary:hover {
  color: var(--accent, #e58257);
}

.offer-faq-accordion summary .summary-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.offer-faq-accordion summary .summary-number {
  font-size: 12px;
  font-weight: 700;
  color: var(--accent, #d16b43);
  background: rgba(209, 107, 67, 0.15);
  border: 1px solid rgba(209, 107, 67, 0.3);
  padding: 2px 7px;
  border-radius: 6px;
  letter-spacing: 0.5px;
}

.offer-faq-accordion summary .summary-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--accent, #d16b43);
  transition: transform 0.25s ease;
}

.offer-faq-accordion[open] summary .summary-icon {
  transform: rotate(180deg);
}

.offer-faq-answer {
  padding: 0 20px 20px 20px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 14.5px;
  line-height: 1.65;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  margin-top: 4px;
  padding-top: 16px;
}

.offer-faq-answer p {
  margin: 0 0 12px 0;
}

.offer-faq-answer p:last-child {
  margin-bottom: 0;
}

.offer-faq-answer ul {
  margin: 8px 0 12px 0;
  padding-left: 20px;
}

.offer-faq-answer li {
  margin-bottom: 8px;
}

.offer-faq-answer strong {
  color: #ffffff;
}

.offer-faq-badge-guarantee {
  background: rgba(209, 107, 67, 0.12);
  border-left: 3px solid var(--accent, #d16b43);
  padding: 12px 16px;
  border-radius: 6px;
  margin-top: 12px;
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.9);
}

.offer-faq-dialog-footer {
  padding: 18px 28px;
  background: rgba(15, 19, 27, 0.98);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
}

.offer-faq-footer-note {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
  display: flex;
  align-items: center;
  gap: 8px;
}

.offer-faq-footer-note strong {
  color: #fff;
}

.offer-faq-footer-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.offer-faq-btn-close-sub {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 10px 18px;
  border-radius: 8px;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.offer-faq-btn-close-sub:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.35);
}

.offer-faq-btn-wa {
  background: #25d366;
  color: #fff !important;
  font-size: 14px;
  font-weight: 600;
  padding: 10px 18px;
  border-radius: 8px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  transition: all 0.2s ease;
}

.offer-faq-btn-wa:hover {
  background: #20ba5a;
  transform: translateY(-1px);
}

@media (max-width: 640px) {
  .offer-faq-dialog {
    width: 95vw;
    max-height: 92vh;
  }
  .offer-faq-dialog-header {
    padding: 18px 20px 14px;
  }
  .offer-faq-dialog-header h3 {
    font-size: 19px;
  }
  .offer-faq-dialog-body {
    padding: 16px 18px;
  }
  .offer-faq-accordion summary {
    padding: 14px 16px;
    font-size: 15px;
  }
  .offer-faq-dialog-footer {
    padding: 14px 18px;
    flex-direction: column;
    align-items: stretch;
  }
  .offer-faq-footer-actions {
    justify-content: stretch;
  }
  .offer-faq-btn-close-sub,
  .offer-faq-btn-wa {
    flex: 1;
    text-align: center;
    justify-content: center;
  }
}
