/* Reset básico */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  background-color: #f9f9f9;
  color: #333;
  line-height: 1.6;
}

/* Cabeçalho */
.main-header {
  background-color: #005baa;
  color: white;
  padding: 20px 0;
}

.header-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.header-content h1 {
  font-size: 24px;
  flex-shrink: 0;
}

.header-content nav {
  flex-grow: 1;
  display: flex;
  justify-content: center;
}

.header-content nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
  margin: 0;
  padding: 0;
}

.header-content nav a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.header-content nav a:hover {
  color: #e0e7ff;
}

/* Language Switcher - Design Melhorado */
.language-switcher {
  flex-shrink: 0;
  position: relative;
}

.language-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.1));
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.4);
  padding: 10px 18px;
  border-radius: 30px;
  cursor: pointer;
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(15px);
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.language-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.6s ease;
}

.language-btn:hover::before {
  left: 100%;
}

.language-btn:hover {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.2));
  border-color: rgba(255, 255, 255, 0.6);
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.language-btn:active {
  transform: translateY(-1px) scale(1.02);
  transition: all 0.1s ease;
}

.language-btn #flag-icon {
  font-size: 20px;
  transition: transform 0.3s ease;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.language-btn:hover #flag-icon {
  transform: scale(1.1) rotate(5deg);
}

.language-btn #lang-text {
  font-weight: 700;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}

.language-btn:hover #lang-text {
  transform: translateX(2px);
}

/* Efeito de pulse quando idioma muda */
.language-btn.changing {
  animation: languagePulse 0.6s ease-out;
}

@keyframes languagePulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.1); box-shadow: 0 0 20px rgba(255, 255, 255, 0.5); }
  100% { transform: scale(1); }
}

/* Hero */
.hero {
  background: #e0e7ff;
  padding: 60px 20px;
  text-align: center;
}

.hero-container h2 {
  font-size: 32px;
  margin-bottom: 10px;
}

.hero-container p {
  margin-bottom: 20px;
  font-size: 18px;
}

.btn {
  background-color: #005baa;
  color: white;
  padding: 12px 24px;
  border: none;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
}

/* Calculadora */
.calculadora {
  padding: 60px 20px;
  background-color: #fff;
}

.calculator-container {
  max-width: 1200px;
  margin: auto;
}

.simulation-container {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
}

.simulation-container.sozinho {
  justify-content: center;
}

.simulation-container.expandido {
  justify-content: space-between;
  align-items: flex-start;
}

/* Painéis */
.left-panel {
  background-color: #ffffff;
  padding: 40px;
  border-radius: 16px;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.05);
  flex: 1;
  max-width: 520px;
}

.right-panel {
  background-color: #f1f5f9;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  flex: 1;
  min-width: 300px;
  display: none;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.right-panel.mostrar {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

/* Campo */
.field-group {
  margin-bottom: 32px;
}

.field-group label {
  font-weight: 600;
  font-size: 15px;
  color: #1e293b;
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 8px;
}

/* Sliders e inputs */
.slider-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.slider-row input[type="range"] {
  flex: 1;
}

.slider-row input[type="text"],
input[type="number"] {
  background-color: #f9fafb;
  border: 1px solid #cbd5e1;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 14px;
  width: 130px;
  text-align: right;
  font-family: 'Poppins', sans-serif;
}

input:focus {
  outline: none;
  border-color: #005baa;
}

/* Botão calcular */
.btn-calcular {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #005baa;
  color: #fff;
  padding: 12px 24px;
  border: none;
  border-radius: 6px;
  font-size: 16px;
  font-weight: 600;
  font-family: 'Poppins', sans-serif;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
}

.btn-calcular:hover {
  background-color: #004a8a;
  transform: scale(1.03);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #6c757d;
  color: #fff;
  padding: 12px 24px;
  border: none;
  border-radius: 6px;
  font-size: 16px;
  font-weight: 600;
  font-family: 'Poppins', sans-serif;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
}

.btn-secondary:hover {
  background-color: #5a6268;
  transform: scale(1.03);
}

.btn-calcular .btn-texto {
  margin-right: 10px;
}

.spinner {
  width: 16px;
  height: 16px;
  border: 3px solid #ffffff;
  border-top: 3px solid transparent;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.botoes-container {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 20px;
}

/* Tooltip */
.tooltip {
  position: relative;
  display: inline-block;
  cursor: help;
  margin-left: 6px;
}

.tooltip .tooltip-icon {
  background-color: #005baa;
  color: white;
  border-radius: 50%;
  padding: 0 6px;
  font-size: 12px;
  line-height: 16px;
  display: inline-block;
  text-align: center;
}

.tooltip .tooltip-text {
  visibility: hidden;
  width: 220px;
  background-color: #333;
  color: #fff;
  text-align: left;
  padding: 8px;
  border-radius: 4px;
  position: absolute;
  z-index: 10;
  bottom: 125%;
  left: 50%;
  transform: translateX(-50%);
  opacity: 0;
  transition: opacity 0.3s;
  font-size: 13px;
  line-height: 1.4;
}

.tooltip:hover .tooltip-text {
  visibility: visible;
  opacity: 1;
}

/* Prestação */
.prestacao-container {
  text-align: center;
  margin-bottom: 20px;
}

.prestacao-container h3 {
  margin-bottom: 10px;
}

.prestacao-valor {
  font-size: 36px;
  font-weight: bold;
  color: #005baa;
  margin: 20px 0;
}

/* WhatsApp */
.whatsapp-link {
  margin-top: 20px;
  background-color: #25D366;
  color: white;
  padding: 12px 20px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-family: 'Poppins', sans-serif;
  font-size: 16px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: background-color 0.3s ease;
}

.whatsapp-link:hover {
  background-color: #1ebe5b;
}

.whatsapp-icon {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

/* Contato */
.contato {
  padding: 60px 20px;
  background-color: #f9fafb;
}

.contato-container {
  max-width: 800px;
  margin: auto;
}

form {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 30px;
}

form input,
form textarea {
  padding: 10px;
  border-radius: 8px;
  border: 1px solid #ccc;
  font-family: 'Poppins', sans-serif;
}

form button {
  background-color: #005baa;
  color: white;
  padding: 12px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
}

/* Footer */
.main-footer {
  background-color: #005baa;
  color: white;
  text-align: center;
  padding: 20px 0;
}

.footer-container a {
  color: #cbd5e1;
  text-decoration: none;
  margin: 0 10px;
}

/* Responsivo */
@media (max-width: 1024px) and (min-width: 769px) {
  .header-content {
    padding: 0 15px;
  }
  
  .header-content nav ul {
    gap: 15px;
  }
  
  .language-btn {
    padding: 6px 14px;
    font-size: 13px;
  }
}

@media (max-width: 768px) {
  .simulation-container.expandido {
    flex-direction: column;
    align-items: center;
  }

  .left-panel,
  .right-panel {
    max-width: 100%;
  }

  .sobre-content {
    flex-direction: column;
  }

  .sobre-stats {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-around;
  }

  .stat-item {
    flex: 1;
    min-width: 150px;
    margin: 0 5px;
  }

  .header-content {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }

  .header-content h1 {
    order: 1;
  }

  .header-content nav {
    order: 2;
    justify-content: center;
  }

  .header-content nav ul {
    justify-content: center;
    flex-wrap: wrap;
  }

  .language-switcher {
    order: 3;
    margin: 0;
  }

  .language-btn {
    padding: 8px 14px;
    font-size: 13px;
    gap: 8px;
  }

  .language-btn #flag-icon {
    font-size: 18px;
  }

  .language-btn:hover {
    transform: translateY(-2px) scale(1.03);
  }

  .hero-container h2 {
    font-size: 24px;
  }

  .modal-content {
    width: 95%;
    margin: 20px;
  }

  .servicos-grid {
    grid-template-columns: 1fr;
  }

  .valores-grid {
    grid-template-columns: 1fr;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .info-grid {
    grid-template-columns: 1fr;
  }

  .steps-grid {
    grid-template-columns: 1fr;
  }

  .contact-buttons {
    flex-direction: column;
    align-items: center;
  }

  /* Testemunhos responsivo */
  .testemunhos-wrapper {
    margin: 0 auto 30px;
    padding: 0 20px;
  }

  .testimonials-navigation {
    flex-direction: column;
    gap: 20px;
  }

  .nav-btn {
    display: none; /* Esconder botões em mobile */
  }

  .testemunho-card {
    padding: 20px;
  }

  .testimonials-indicators {
    gap: 10px;
    margin-top: 25px;
  }

  .indicator {
    width: 12px;
    height: 12px;
  }

  .return-options {
    flex-direction: column;
    align-items: center;
  }

  .legal-container {
    padding: 0 10px;
  }

  .thank-you-container {
    padding: 0 10px;
  }

  .testemunhos-grid {
    grid-template-columns: 1fr;
  }

  .rating-overview {
    flex-direction: column;
    gap: 30px;
  }

  .testemunho-header {
    flex-direction: column;
    gap: 15px;
    align-items: flex-start;
  }

  .testemunho-rating {
    text-align: left;
  }

  .avaliacoes-stats {
    padding: 20px;
  }

  .avaliacoes-cta {
    padding: 30px 20px;
  }
}

/* Popup de erro */
.popup-erro {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.popup-conteudo {
  background: #ffffff;
  padding: 30px;
  border-radius: 12px;
  max-width: 90%;
  width: 400px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  text-align: center;
  font-family: 'Poppins', sans-serif;
  animation: fadeInPopup 0.3s ease-in-out;
}

.popup-conteudo p {
  font-size: 16px;
  color: #1e293b;
  margin-bottom: 20px;
}

.popup-conteudo button {
  background-color: #005baa;
  color: #ffffff;
  padding: 10px 24px;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  font-family: 'Poppins', sans-serif;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.popup-conteudo button:hover {
  background-color: #004a8a;
}

@keyframes fadeInPopup {
  from {
    transform: scale(0.9);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

/* Formulário de contato */
.contact-form-section {
  padding: 40px 20px;
  background-color: #f9f9f9;
  text-align: center;
}

.contact-form-section h2 {
  font-size: 24px;
  margin-bottom: 10px;
}

.contact-form {
  max-width: 600px;
  margin: 0 auto;
  text-align: left;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #005baa;
  box-shadow: 0 0 0 2px rgba(0, 91, 170, 0.2);
}

.form-group input.error,
.form-group textarea.error {
  border-color: #dc3545;
}

.error-message {
  display: block;
  color: #dc3545;
  font-size: 12px;
  margin-top: 5px;
  min-height: 18px;
}

.form-group input.valid,
.form-group textarea.valid {
  border-color: #28a745;
}

#mensagemFormulario {
  margin-top: 10px;
  font-weight: 600;
  color: green;
}

/* Ícone extra */
.info-icon-outline {
  display: inline-block;
  margin-left: 6px;
  width: 18px;
  height: 18px;
  border: 2px solid #005baa;
  color: #005baa;
  font-size: 12px;
  text-align: center;
  line-height: 14px;
  font-weight: bold;
  border-radius: 50%;
  cursor: help;
  font-family: Arial, sans-serif;
  transition: background-color 0.3s, color 0.3s;
}

.info-icon-outline:hover {
  background-color: #005baa;
  color: white;
}

/* Seção Sobre */
.sobre-section {
  padding: 60px 20px;
  background-color: #ffffff;
}

.sobre-content {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  flex-wrap: wrap;
}

.sobre-text {
  flex: 2;
  min-width: 300px;
}

.sobre-text p {
  margin-bottom: 20px;
  font-size: 16px;
  line-height: 1.7;
  color: #555;
}

.certificacoes {
  margin-top: 30px;
  padding: 20px;
  background-color: #f8f9fa;
  border-radius: 8px;
}

.certificacoes h3 {
  color: #005baa;
  margin-bottom: 15px;
}

.certificacoes ul {
  list-style: none;
  padding: 0;
}

.certificacoes li {
  margin-bottom: 8px;
  color: #333;
  font-weight: 500;
}

.sobre-stats {
  flex: 1;
  min-width: 250px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.stat-item {
  text-align: center;
  padding: 20px;
  background-color: #f1f5f9;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.stat-item h3 {
  font-size: 28px;
  color: #005baa;
  margin-bottom: 5px;
}

.stat-item p {
  color: #666;
  font-weight: 600;
  margin: 0;
}

/* Container geral */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Seção de Testemunhos */
.testemunhos-section {
  padding: 80px 20px;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.testemunhos-section h2 {
  text-align: center;
  color: #005baa;
  margin-bottom: 10px;
  font-size: 32px;
}

.testemunhos-subtitle {
  text-align: center;
  color: #666;
  margin-bottom: 50px;
  font-size: 18px;
}

.avaliacoes-stats {
  background: white;
  border-radius: 16px;
  padding: 40px;
  margin-bottom: 50px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.rating-overview {
  display: flex;
  gap: 60px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

.rating-score {
  text-align: center;
}

.score {
  font-size: 48px;
  font-weight: bold;
  color: #005baa;
  display: block;
  margin-bottom: 10px;
}

.stars {
  margin-bottom: 10px;
}

.google-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 10px;
  padding: 8px 16px;
  background: #f8f9fa;
  border-radius: 20px;
  border: 1px solid #e9ecef;
}

.google-icon-small {
  width: 16px;
  height: 16px;
}

.google-badge span {
  color: #666;
  font-size: 14px;
  font-weight: 500;
}

.star {
  font-size: 24px;
  color: #ddd;
  margin: 0 2px;
}

.star.filled {
  color: #ffd700;
}

.rating-breakdown {
  flex: 1;
  max-width: 300px;
}

.rating-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
  font-size: 14px;
}

.rating-bar span:first-child {
  width: 70px;
  color: #666;
}

.bar {
  flex: 1;
  height: 8px;
  background: #e9ecef;
  border-radius: 4px;
  overflow: hidden;
}

.fill {
  height: 100%;
  background: #ffd700;
  transition: width 0.3s ease;
}

.rating-bar span:last-child {
  width: 30px;
  text-align: right;
  color: #666;
}

.testemunhos-wrapper {
  max-width: 800px;
  margin: 0 auto 30px;
}

.testemunhos-grid {
  position: relative;
  width: 100%;
}

/* Navegação dos testemunhos */
.testimonials-navigation {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  margin-top: 30px;
  margin-bottom: 60px; /* Espaço extra antes da próxima seção */
}

/* Botões de navegação */
.nav-btn {
  background: #005baa;
  color: white;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 14px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0, 91, 170, 0.3);
  line-height: 1;
}

.nav-btn:hover {
  background: #0056b3;
  transform: scale(1.1);
  box-shadow: 0 4px 12px rgba(0, 91, 170, 0.4);
}

.nav-btn:active {
  transform: scale(0.95);
}

.testemunho-card {
  background: white;
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  display: none;
  opacity: 0;
  transform: translateY(20px);
  width: 100%;
  max-width: 100%;
  margin: 0;
}

.testemunho-card.active {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

.testemunho-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

/* Indicadores de navegação */
.testimonials-indicators {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 20px;
}

.indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: none;
  background: #ddd;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
}

.indicator:hover {
  background: #0056b3;
  transform: scale(1.2);
}

.indicator.active {
  background: #005baa;
  transform: scale(1.3);
  box-shadow: 0 0 0 2px rgba(0, 91, 170, 0.3);
}

.testemunho-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 20px;
}

.cliente-info {
  display: flex;
  align-items: center;
  gap: 15px;
}

.cliente-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #005baa;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 18px;
}

.cliente-dados h4 {
  margin: 0 0 5px 0;
  color: #333;
  font-size: 16px;
}

.cliente-local {
  color: #666;
  font-size: 14px;
}

.testemunho-rating {
  text-align: right;
}

.testemunho-rating .stars {
  margin-bottom: 5px;
}

.testemunho-rating .star {
  font-size: 16px;
}

.data {
  color: #999;
  font-size: 12px;
}

.testemunho-content {
  margin-bottom: 20px;
}

.testemunho-content p {
  color: #555;
  line-height: 1.6;
  margin: 0;
  font-style: italic;
}

.testemunho-fonte {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-top: 15px;
  border-top: 1px solid #e9ecef;
}

.fonte-icon {
  width: 16px;
  height: 16px;
}

.testemunho-fonte span {
  color: #666;
  font-size: 14px;
}

.avaliacoes-cta {
  background: white;
  border-radius: 16px;
  padding: 40px;
  text-align: center;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  margin-top: 60px; /* Espaço extra acima desta seção */
}

.avaliacoes-cta h3 {
  color: #005baa;
  margin-bottom: 10px;
  font-size: 24px;
}

.avaliacoes-cta p {
  color: #666;
  margin-bottom: 30px;
}

.btn-google {
  background-color: #4285f4;
  color: white;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.btn-google:hover {
  background-color: #3367d6;
}

.google-icon {
  width: 20px;
  height: 20px;
}

.btn-outline {
  background-color: transparent;
  color: #005baa;
  border: 2px solid #005baa;
  padding: 12px 24px;
  border-radius: 6px;
  font-size: 16px;
  font-weight: 600;
  font-family: 'Poppins', sans-serif;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
}

.btn-outline:hover {
  background-color: #005baa;
  color: white;
  transform: scale(1.03);
}

/* Modal de simulações */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 10000;
}

.modal-content {
  background: #ffffff;
  border-radius: 12px;
  max-width: 90%;
  width: 600px;
  max-height: 80vh;
  overflow-y: auto;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  animation: fadeInPopup 0.3s ease-in-out;
}

.modal-header {
  padding: 20px 30px;
  border-bottom: 1px solid #e9ecef;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-header h3 {
  margin: 0;
  color: #005baa;
}

.close {
  font-size: 28px;
  font-weight: bold;
  color: #aaa;
  cursor: pointer;
  line-height: 1;
}

.close:hover {
  color: #005baa;
}

.modal-body {
  padding: 20px 30px;
}

.simulacao-item {
  background: #f8f9fa;
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 15px;
  border-left: 4px solid #005baa;
}

.simulacao-header {
  margin-bottom: 15px;
}

.simulacao-data {
  color: #6c757d;
  font-size: 14px;
  font-weight: 600;
}

.simulacao-detalhes {
  margin-bottom: 15px;
}

.detalhe-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
  padding: 5px 0;
}

.prestacao-destaque {
  background: #e7f3ff;
  padding: 10px;
  border-radius: 4px;
  font-size: 16px;
}

.prestacao-destaque strong {
  color: #005baa;
  font-size: 18px;
}

.btn-restaurar {
  background-color: #28a745;
  color: white;
  border: none;
  padding: 8px 16px;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 600;
  transition: background-color 0.3s ease;
}

.btn-restaurar:hover {
  background-color: #218838;
}

.sem-simulacoes {
  text-align: center;
  color: #6c757d;
  font-style: italic;
  padding: 40px 20px;
}

/* Estilos para página de serviços */
.servicos-section {
  padding: 60px 20px;
  background-color: #ffffff;
}

.servicos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-bottom: 60px;
}

.servico-card {
  background: #f8f9fa;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.servico-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.servico-icon {
  font-size: 48px;
  margin-bottom: 20px;
}

.servico-card h3 {
  color: #005baa;
  margin-bottom: 15px;
  font-size: 24px;
}

.servico-card p {
  color: #666;
  margin-bottom: 20px;
  line-height: 1.6;
}

.servico-features {
  list-style: none;
  padding: 0;
  text-align: left;
}

.servico-features li {
  padding: 5px 0;
  color: #333;
}

.valores-section {
  margin-top: 60px;
  padding-top: 60px;
  border-top: 1px solid #e9ecef;
}

.valores-section h2 {
  text-align: center;
  color: #005baa;
  margin-bottom: 40px;
}

.valores-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.valor-item {
  background: #ffffff;
  padding: 25px;
  border-radius: 8px;
  border-left: 4px solid #005baa;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.valor-item h3 {
  color: #005baa;
  margin-bottom: 15px;
  font-size: 18px;
}

.valor-item p {
  color: #555;
  line-height: 1.6;
  margin: 0;
}

.cta-section {
  margin-top: 60px;
  padding: 40px;
  background: linear-gradient(135deg, #005baa, #0071cc);
  border-radius: 12px;
  text-align: center;
  color: white;
}

.cta-section h2 {
  color: white;
  margin-bottom: 10px;
}

.cta-section p {
  margin-bottom: 30px;
  opacity: 0.9;
}

.cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-whatsapp {
  background-color: #25D366 !important;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.btn-whatsapp:hover {
  background-color: #1ebe5b !important;
}

/* Estilos para páginas legais */
.legal-content {
  padding: 60px 20px;
  background-color: #ffffff;
}

.legal-container {
  max-width: 800px;
  margin: 0 auto;
}

.legal-section {
  margin-bottom: 40px;
  padding-bottom: 30px;
  border-bottom: 1px solid #e9ecef;
}

.legal-section:last-child {
  border-bottom: none;
}

.legal-section h3 {
  color: #005baa;
  margin-bottom: 20px;
  font-size: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid #e7f3ff;
}

.legal-section p {
  margin-bottom: 15px;
  line-height: 1.7;
  color: #555;
}

.legal-section ul {
  margin-bottom: 15px;
  padding-left: 20px;
}

.legal-section li {
  margin-bottom: 8px;
  line-height: 1.6;
  color: #555;
}

.legal-section a {
  color: #005baa;
  text-decoration: none;
}

.legal-section a:hover {
  text-decoration: underline;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 15px;
  margin: 20px 0;
}

.info-item {
  background: #f8f9fa;
  padding: 15px;
  border-radius: 8px;
  border-left: 4px solid #005baa;
}

.contact-info {
  background: #f8f9fa;
  padding: 20px;
  border-radius: 8px;
  margin: 20px 0;
}

.contact-item {
  margin-bottom: 10px;
  padding: 8px 0;
}

/* Estilos para página de agradecimento */
.thank-you-section {
  padding: 80px 20px;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  min-height: 70vh;
}

.thank-you-container {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

.thank-you-icon {
  font-size: 80px;
  margin-bottom: 30px;
  color: #28a745;
}

.thank-you-container h2 {
  color: #005baa;
  margin-bottom: 20px;
  font-size: 32px;
}

.thank-you-message {
  font-size: 18px;
  color: #555;
  margin-bottom: 40px;
  line-height: 1.6;
}

.next-steps {
  margin: 40px 0;
  padding: 30px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.next-steps h3 {
  color: #005baa;
  margin-bottom: 25px;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 20px;
}

.step-item {
  text-align: center;
}

.step-number {
  width: 40px;
  height: 40px;
  background: #005baa;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 10px;
  font-weight: bold;
}

.contact-alternatives {
  margin: 40px 0;
  padding: 25px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.contact-alternatives h3 {
  color: #005baa;
  margin-bottom: 20px;
}

.contact-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-email {
  background-color: #6c757d;
  color: white;
}

.btn-email:hover {
  background-color: #5a6268;
}

.return-options {
  margin-top: 40px;
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
}
