/* Importação de fontes */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

/* Reset e configurações básicas */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Configurações customizadas para o tema */
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: linear-gradient(135deg, #0f683a 0%, #1863dc 100%);
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
  color: #000000;
}

/* Fundo com padrão hexagonal */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image:
    repeating-linear-gradient(30deg, transparent, transparent 35px, rgba(255,255,255,0.03) 35px, rgba(255,255,255,0.03) 70px),
    repeating-linear-gradient(-30deg, transparent, transparent 35px, rgba(255,255,255,0.03) 35px, rgba(255,255,255,0.03) 70px);
  pointer-events: none;
  z-index: 1;
}

/* Container principal */
.container {
  max-width: 900px;
  margin: 40px auto;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.25);
  overflow: hidden;
  position: relative;
  z-index: 2;
}

/* Header com animação */
.header {
  background: linear-gradient(135deg, #0f683a 0%, #1863dc 100%);
  color: #fff;
  padding: 32px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.header-bg::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 10px,
    rgba(255,255,255,0.1) 10px,
    rgba(255,255,255,0.1) 20px
  );
  animation: slide 20s linear infinite;
}

@keyframes slide {
  0% { transform: translate(0, 0); }
  100% { transform: translate(50px, 50px); }
}

.header h1 {
  font-size: 2rem;
  font-weight: 800;
  position: relative;
  z-index: 1;
  text-shadow: 0 2px 4px rgba(0,0,0,0.25);
}

/* Formulário */
.form-container {
  padding: 40px;
}

.section-title {
  background: linear-gradient(135deg, #fec503 0%, #f9a602 100%);
  color: #000;
  padding: 12px 20px;
  margin: 30px -40px 20px -40px;
  font-size: 1em;
  font-weight: 700;
  position: relative;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.section-title::before,
.section-title::after {
  content: '';
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 60%;
  background: #000;
}

.section-title::before { left: 8px; }
.section-title::after { right: 8px; }

/* Grupos de formulário */
.form-group {
  margin-bottom: 20px;
  opacity: 0;
  animation: fadeIn 0.5s ease forwards;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  opacity: 0;
  animation: fadeIn 0.5s ease forwards;
}

/* Inputs */
label {
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
  font-size: 14px;
  color: #333;
}

input, select, textarea {
  width: 100%;
  padding: 14px;
  border: 2px solid #ddd;
  border-radius: 12px;
  font-size: 15px;
  transition: all 0.3s ease;
  background: #f9f9f9;
}

input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: #1863dc;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(24, 99, 220, 0.2);
}

/* Checkboxes personalizados */
#tipoPacoteGroupInterno {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 18px;
  margin-top: 8px;
}

#tipoPacoteGroupInterno label.option {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid #ddd;
  border-radius: 12px;
  background: #f9f9f9;
  cursor: pointer;
  transition: all 0.3s ease;
}

#tipoPacoteGroupInterno label.option:hover {
  border-color: #1863dc;
  background: #fff;
}

.option-text { font-weight: 600; color: #333; }

/* Botão com efeito */
.submit-btn {
  background: linear-gradient(135deg, #0f683a 0%, #1863dc 100%);
  color: #fff;
  padding: 16px 40px;
  border: none;
  border-radius: 14px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  width: 100%;
  text-transform: uppercase;
  transition: all 0.3s ease;
}

.submit-btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: translate(-50%, -50%);
  transition: width 0.6s ease, height 0.6s ease;
}

.submit-btn:hover::before {
  width: 300%;
  height: 300%;
}

.submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0,0,0,0.3);
}

.submit-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

/* Asterisco obrigatório */
.required {
  color: #e63946;
  font-weight: 700;
}

/* Modal de sucesso */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 20px;
}

.modal-overlay.show { display: flex; }

.modal {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.3);
  max-width: 500px;
  width: 100%;
  padding: 24px;
  text-align: center;
}

.modal h3 {
  margin-bottom: 10px;
  color: #0f683a;
}

.modal p { color: #333; }

.modal .modal-actions { margin-top: 20px; }

.modal .close-btn {
  background: linear-gradient(135deg, #0f683a 0%, #1863dc 100%);
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 12px 20px;
  font-weight: 700;
  cursor: pointer;
}

/* Animações */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Responsividade */
@media (max-width: 768px) {
  .form-row { grid-template-columns: 1fr; }
  .container { margin: 20px; }
  .form-container { padding: 20px; }
  .header h1 { font-size: 1.6rem; }
  .section-title { margin-left: -20px; margin-right: -20px; }
}
