.faq-section {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto 2.5rem auto;
  background: #f5f7fa;
  border-radius: 16px;
  padding: 2rem 1.5rem;
  box-sizing: border-box;
  box-shadow: 0 4px 24px rgba(26,54,93,0.10);
}
.faq-title {
  color: #1A365D;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 2rem;
  text-align: center;
}
.faq-item {
  margin-bottom: 1.2rem;
  border-bottom: 1px solid #e0e0e0;
  background: none;
}
.faq-question {
  color: #1A365D;
  font-weight: bold;
  font-size: 1.08rem;
  cursor: pointer;
  padding: 1rem 0;
  transition: background 0.2s, color 0.2s;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: none;
  background: none;
  border-radius: 8px;
}
.faq-question:hover {
  background: #e6ecf5;
  color: #163056;
}
.faq-arrow {
  margin-left: 1rem;
  font-size: 1.2rem;
  transition: transform 0.3s;
  color: #C8A977;
}
.faq-answer {
  color: #1A365D;
  background: none;
  font-weight: 400;
  font-size: 1rem;
  text-align: justify;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4,0,0.2,1), padding 0.3s;
  padding: 0 0;
}
.faq-item.open .faq-answer {
  max-height: 500px;
  padding: 0.7rem 0 1.2rem 0;
}
.faq-item .faq-arrow {
  transform: rotate(0deg);
}
.faq-item.open .faq-arrow {
  transform: rotate(180deg);
}

.banner-whatsapp {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto 2.5rem auto;
  background: #1A365D;
  border-radius: 16px;
  padding: 2.2rem 1.5rem 2.2rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}
.banner-whatsapp-text {
  color: #fff;
  font-size: 1.45rem;
  font-weight: 600;
  text-align: center;
  margin-bottom: 1.5rem;
}
.banner-whatsapp-btn {
  display: inline-flex;
  align-items: center;
  background: #25D366;
  color: #fff;
  font-weight: 600;
  font-size: 1.1rem;
  border: none;
  border-radius: 8px;
  padding: 0.9rem 2.2rem;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s;
  box-shadow: 0 2px 8px rgba(26,54,93,0.10);
}
.banner-whatsapp-btn:hover {
  background: #128C7E;
}
.banner-whatsapp-btn svg {
  margin-right: 10px;
}
.banner-whatsapp-modal-bg {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0; top: 0; right: 0; bottom: 0;
  background: rgba(26,54,93,0.45);
  align-items: center;
  justify-content: center;
}
.banner-whatsapp-modal-bg.active {
  display: flex;
}
.banner-whatsapp-modal {
  background: #fff;
  border-radius: 12px;
  padding: 2rem 1.5rem 1.5rem 1.5rem;
  box-shadow: 0 4px 24px rgba(26,54,93,0.18);
  max-width: 95vw;
  width: 350px;
  text-align: center;
}
.banner-whatsapp-modal label {
  color: #1A365D;
  font-weight: 600;
  font-size: 1.1rem;
  margin-bottom: 1rem;
  display: block;
}
.banner-whatsapp-modal input {
  width: 100%;
  padding: 0.7rem;
  border-radius: 8px;
  border: 1px solid #C8A977;
  font-size: 1rem;
  margin-bottom: 1.2rem;
}
.banner-whatsapp-modal .modal-btn {
  background: #25D366;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 0.7rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}
.banner-whatsapp-modal .modal-btn:hover {
  background: #128C7E;
}
.banner-whatsapp-modal .modal-cancel {
  background: #e0e0e0;
  color: #1A365D;
  margin-left: 0.7rem;
}

/* Banner inicial do simulador */
.banner-simulador {
  max-width: 1200px;
  width: 100%;
  height: 350px;
  margin: 0 auto 2rem auto;
  border-radius: 16px;
  overflow: hidden;
  background: #1A365D;
  box-shadow: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.banner-placeholder {
  width: 100%;
  height: 100%;
  background: url('/assets/images/simulador/banner-simulador.jpg') center center/cover no-repeat, #1A365D;
  border-radius: 16px;
  text-align: center;
  position: relative;
  overflow: hidden;
  min-height: 350px;
  min-width: 100%;
  box-shadow: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.banner-placeholder::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(26,54,93,0.45);
  z-index: 1;
}

.banner-texto {
  position: relative;
  z-index: 2;
  color: white;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem 2rem 3rem 2rem;
  box-sizing: border-box;
}

.banner-texto h2 {
  font-size: 2.2rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  line-height: 1.2;
  text-shadow: none;
  text-align: center;
  width: 100%;
  max-width: 700px;
  color: #fff !important;
}

.banner-texto p {
  font-size: 1.1rem;
  margin-bottom: 2.5rem;
  opacity: 0.95;
  line-height: 1.5;
  max-width: 700px;
  width: 100%;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
  font-weight: 400;
  letter-spacing: 0.01em;
}

.btn-iniciar-simulador {
  background: #C8A977;
  color: #1A365D;
  border: none;
  padding: 1.2rem 2.5rem;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: none;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 1.5rem;
}

.btn-iniciar-simulador:hover {
  background: #b89a5e;
  color: #fff;
}

/* Overlay de loading */
.loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(26, 54, 93, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  backdrop-filter: blur(5px);
}

.loading-content {
  text-align: center;
  color: white;
  padding: 2rem;
}

.loading-content h3 {
  margin-top: 1.5rem;
  font-size: 1.3rem;
  font-weight: 600;
  line-height: 1.4;
  color: #fff !important;
}

.loading-content .spinner {
  width: 60px;
  height: 60px;
  border: 4px solid rgba(255,255,255,0.3);
  border-top: 4px solid #C8A977;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 0 auto;
}

.simulador-container {
  max-width: 1200px;
  width: 100%;
  min-height: 200px;
  margin: 1rem auto;
  padding: 1rem;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
  border: 1px solid #e0e0e0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.simulador-header {
  text-align: center !important;
  margin-bottom: 1rem;
}

.simulador-header h2 {
  color: #1A365D;
  font-size: 1.4rem;
  margin-bottom: 0.3rem;
  font-weight: 600;
  text-align: center !important;
  width: 100%;
}

.simulador-header p {
  color: #666;
  font-size: 0.9rem;
  line-height: 1.4;
  margin: 0;
}

.simulador-progress {
  margin-bottom: 1rem;
}

.progress-bar {
  width: 100%;
  height: 4px;
  background: #f0f0f0;
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: 0.3rem;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #1A365D, #C8A977);
  width: 20%;
  transition: width 0.3s ease;
  border-radius: 2px;
}

.progress-text {
  font-size: 0.75rem;
  color: #666;
  font-weight: 500;
}

.simulador-content {
  min-height: 200px;
}

.pergunta-container {
  animation: fadeIn 0.3s ease;
}

.pergunta-titulo {
  font-size: 1rem;
  color: #1A365D;
  margin-bottom: 0.8rem;
  font-weight: 600;
  line-height: 1.3;
}

.opcoes-container {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.opcao-btn {
  padding: 0.6rem 1rem;
  border: 1.5px solid #e0e0e0;
  border-radius: 6px;
  background: white;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 0.85rem;
  text-align: left;
}

.opcao-btn:hover {
  border-color: #C8A977;
  background: #f8f8f8;
}

.opcao-btn.selecionado {
  border-color: #1A365D;
  background: #1A365D;
  color: white;
}

.campo-input {
  width: 100%;
  padding: 0.6rem;
  border: 1.5px solid #e0e0e0;
  border-radius: 6px;
  font-size: 0.85rem;
  margin-bottom: 0.8rem;
}

.campo-input:focus {
  outline: none;
  border-color: #C8A977;
}

.botoes-container {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  margin-top: 1rem;
}

.btn {
  padding: 0.6rem 1.2rem;
  border: none;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-secundario {
  background: #e0e0e0;
  color: #333;
}

.btn-secundario:hover {
  background: #d0d0d0;
}

.btn-primario {
  background: #1A365D;
  color: white;
}

.btn-primario:hover {
  background: #0f2a4a;
}

.btn-primario:disabled {
  background: #ccc;
  cursor: not-allowed;
}

.mensagem-final {
  text-align: center;
  padding: 1.5rem;
  background: #f5f7fa;
  border-radius: 6px;
  border-left: 3px solid #C8A977;
}

.mensagem-final h3 {
  color: #1A365D;
  margin-bottom: 0.8rem;
  font-size: 1.1rem;
}

.mensagem-final p {
  color: #666;
  line-height: 1.5;
  font-size: 0.9rem;
}

.resultado-container {
  background: linear-gradient(135deg, #1A365D, #2D5A88);
  color: white;
  padding: 1.2rem;
  border-radius: 8px;
  text-align: center;
  margin-bottom: 1rem;
}

.resultado-container h3 {
  font-size: 1.1rem;
  margin-bottom: 1rem;
  font-weight: 600;
  line-height: 1.3;
  color: white;
  text-align: center;
}

.resultado-detalhes {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin: 1rem 0;
}

.detalhe-item {
  background: rgba(255,255,255,0.1);
  padding: 0.6rem;
  border-radius: 6px;
  text-align: center;
}

.detalhe-item h4 {
  margin-bottom: 0.3rem;
  color: #C8A977;
  font-size: 0.75rem;
  font-weight: 600;
}

.detalhe-item p {
  font-size: 0.85rem;
  font-weight: 500;
  margin: 0;
}

.resultado-economia {
  background: rgba(200, 169, 119, 0.15);
  padding: 1rem;
  border-radius: 6px;
  margin: 1rem 0;
  border: 1px solid rgba(200, 169, 119, 0.3);
}

.resultado-economia h4 {
  color: #C8A977;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.resultado-valor {
  font-size: 1.5rem;
  font-weight: bold;
  margin: 0.3rem 0;
  color: white;
}

.alerta-importante {
  background: rgba(255, 193, 7, 0.1);
  border: 1px solid rgba(255, 193, 7, 0.3);
  border-radius: 6px;
  padding: 0.8rem;
  margin: 0.8rem 0;
  text-align: center;
}

.alerta-importante h4 {
  color: white;
  font-size: 0.85rem;
  margin-bottom: 0.3rem;
  font-weight: 600;
}

.alerta-importante p {
  color: white;
  font-size: 0.8rem;
  margin: 0;
  line-height: 1.4;
}

.whatsapp-btn {
  display: flex !important;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  background: #25D366 !important;
}

.whatsapp-btn:hover {
  background: #128C7E !important;
}

.loading {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 2rem 1rem;
  text-align: center;
}

.loading-text h3 {
  color: #1A365D;
  margin: 1rem 0 0.3rem 0;
  font-size: 1.1rem;
  font-weight: 600;
  text-align: center;
}

.loading-text p {
  color: #666;
  font-size: 0.85rem;
  margin: 0;
  line-height: 1.4;
  text-align: center;
}

.spinner {
  width: 40px;
  height: 40px;
  border: 3px solid #f0f0f0;
  border-top: 3px solid #1A365D;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Estilos para manter header, footer e botões flutuantes visíveis quando simulador estiver ativo */
/* Todos os elementos padrão do site permanecem visíveis durante o simulador */

/* Conteúdo do produto */
.produto-content {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto 2rem auto;
}

/* Garantir que o simulador seja visível */
.simulador-container {
  display: none; /* Inicialmente oculto */
  max-width: 1200px;
  width: 100%;
  min-height: 300px;
  margin: 2rem auto;
  padding: 1.5rem;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.08);
  border: 1px solid #e0e0e0;
  z-index: 100;
  position: relative;
}

.produto-container {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
  background: white;
  padding: 2rem;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.08);
  border: 1px solid rgba(26, 54, 93, 0.05);
}

.produto-imagem {
  flex: 0 0 300px;
  height: auto;
  align-self: stretch;
}

.produto-texto {
  flex: 1;
}

@media (max-width: 1300px) {
  .banner-simulador, .simulador-container {
    max-width: 98vw;
  }
  .produto-content {
    max-width: 98vw;
  }
}

@media (max-width: 900px) {
  .banner-simulador, .simulador-container {
    max-width: 100vw;
    min-height: 200px;
    height: auto;
    border-radius: 0;
    padding: 0;
  }
  .banner-placeholder {
    min-height: 200px;
    border-radius: 0;
  }
  .produto-content {
    max-width: 100vw;
    margin: 1rem;
  }
  
  /* Melhorias para mobile */
  .banner-texto h2 {
    font-size: 1.6rem;
    padding: 0 1rem;
  }
  
  .banner-texto p {
    font-size: 0.9rem;
    padding: 0 1rem;
    margin-bottom: 1.5rem;
  }
  
  .btn-iniciar-simulador {
    padding: 0.8rem 1.8rem;
    font-size: 0.9rem;
    margin-top: 1rem;
  }
  
  .produto-container {
    flex-direction: column;
    padding: 1.2rem;
    gap: 1.2rem;
  }
  
  .produto-imagem {
    flex: none;
    height: 200px;
  }
  
  .faq-section {
    margin: 1rem;
    padding: 1.2rem 1rem;
  }
  
  .faq-title {
    font-size: 1.2rem;
  }
  
  .faq-question {
    font-size: 0.9rem;
    padding: 0.7rem 0;
  }
  
  .banner-whatsapp {
    margin: 1rem;
    padding: 1.2rem 1rem;
  }
  
  .banner-whatsapp-text {
    font-size: 1.1rem;
  }
  
  .banner-whatsapp-btn {
    padding: 0.7rem 1.3rem;
    font-size: 0.9rem;
  }
  
  .simulador-container {
    margin: 0.8rem;
    padding: 0.8rem;
    min-height: 180px;
  }
  
  .simulador-header h2 {
    font-size: 1.2rem;
  }
  
  .simulador-header p {
    font-size: 0.8rem;
  }
  
  .pergunta-titulo {
    font-size: 0.9rem;
  }
  
  .opcao-btn {
    padding: 0.6rem 0.8rem;
    font-size: 0.8rem;
  }
  
  .campo-input {
    padding: 0.6rem;
    font-size: 0.8rem;
  }
  
  .btn {
    padding: 0.6rem 1rem;
    font-size: 0.8rem;
  }
  
  .resultado-container h3 {
    font-size: 1rem;
  }
  
  .resultado-valor {
    font-size: 1.3rem;
  }
  
  .detalhe-item {
    padding: 0.5rem;
  }
  
  .detalhe-item h4 {
    font-size: 0.7rem;
  }
  
  .detalhe-item p {
    font-size: 0.8rem;
  }
  
  .botoes-container {
    flex-direction: column;
    gap: 0.4rem;
  }
  
  .botoes-container .btn {
    width: 100%;
  }
  
  /* Estilos para informações de prescrição */
  .alerta-importante p {
    font-size: 0.8rem;
    line-height: 1.3;
  }
  
  .alerta-importante h4 {
    font-size: 0.9rem;
  }
}
