:root {
  /* Colors */
  --primary: #0f2027; /* Dark Midnight Blue */
  --primary-light: #203a43;
  --primary-gradient: linear-gradient(135deg, #0f2027 0%, #203a43 50%, #2c5364 100%);
  --secondary: #f0a500; /* Warm Gold */
  --secondary-hover: #ffb822;
  --bg-color: #f7f9fc;
  --surface: #ffffff;
  --text-main: #1a1a24;
  --text-muted: #5e6278;
  --border-color: #e4e6ef;
  
  /* Utilities */
  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 10px 30px rgba(15, 32, 39, 0.08);
  --shadow-lg: 0 20px 40px rgba(15, 32, 39, 0.12);
  --transition: all 0.3s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--text-main);
  background-color: var(--bg-color);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', sans-serif;
  color: var(--primary);
  line-height: 1.2;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 80px 0;
}

.bg-light {
  background-color: var(--surface);
}

.text-gold {
  color: var(--secondary);
}

/* Glassmorphism */
.glass-card {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: var(--shadow);
  border-radius: var(--radius-lg);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 50px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
}

.btn-primary {
  background-color: var(--secondary);
  color: var(--primary);
}

.btn-primary:hover {
  background-color: var(--secondary-hover);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(240, 165, 0, 0.4);
}

.btn-outline {
  background-color: transparent;
  color: var(--surface);
  border: 2px solid rgba(255,255,255,0.7);
}

.btn-outline:hover {
  background-color: var(--surface);
  color: var(--primary);
  transform: translateY(-2px);
}

.btn-large {
  padding: 16px 32px;
  font-size: 1.1rem;
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  padding: 15px 0;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Outfit', sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary);
}

.logo-icon {
  color: var(--secondary);
  font-size: 1.8rem;
}

.nav-links {
  display: flex;
  gap: 30px;
  font-weight: 500;
}

.nav-links a:hover {
  color: var(--secondary);
}

/* Hero Section */
.hero {
  min-height: 100vh;
  background: var(--primary-gradient);
  padding-top: 120px;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

/* Decorative background elements */
.hero::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(240,165,0,0.15) 0%, rgba(255,255,255,0) 70%);
}

.hero-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.hero-content {
  color: white;
}

.hero-title {
  color: white;
  font-size: 3.5rem;
  margin-bottom: 20px;
}

.hero-title span {
  color: var(--secondary);
}

.hero-subtitle {
  font-size: 1.2rem;
  margin-bottom: 40px;
  color: rgba(255, 255, 255, 0.8);
  max-width: 90%;
}

.hero-buttons {
  display: flex;
  gap: 15px;
}

.hero-image-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-glass-card {
  padding: 30px;
  width: 100%;
  max-width: 400px;
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-20px); }
  100% { transform: translateY(0px); }
}

.flight-card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow);
}

.flight-route {
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-align: center;
}

.airport h3 {
  font-size: 1.8rem;
}

.airport p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.flight-path {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: var(--primary-light);
  gap: 5px;
}

.flight-bar {
  height: 2px;
  background: var(--border-color);
  margin: 20px 0;
  position: relative;
}

.flight-bar::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 60%;
  height: 100%;
  background: var(--secondary);
}

.flight-price {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 15px;
}

.flight-price span {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-muted);
}

.flight-price h4 {
  color: #2e7d32; /* Green for savings */
}

/* Section Header */
.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-header h2 {
  font-size: 2.5rem;
  margin-bottom: 15px;
  position: relative;
  display: inline-block;
}

.section-header h2::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background-color: var(--secondary);
  border-radius: 2px;
}

.section-header p {
  color: var(--text-muted);
  font-size: 1.1rem;
}

/* Steps Grid */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.step-card {
  background: var(--surface);
  padding: 40px 30px;
  border-radius: var(--radius);
  text-align: center;
  box-shadow: var(--shadow);
  transition: var(--transition);
  position: relative;
  border-bottom: 4px solid transparent;
}

.step-card:hover {
  transform: translateY(-10px);
  border-bottom-color: var(--secondary);
}

.step-icon {
  width: 70px;
  height: 70px;
  background-color: rgba(240, 165, 0, 0.1);
  color: var(--secondary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin: 0 auto 20px;
}

.step-card h3 {
  margin-bottom: 15px;
}

.step-card p {
  color: var(--text-muted);
}

/* Features Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}

.feature-item {
  display: flex;
  gap: 20px;
}

.feature-icon {
  width: 50px;
  height: 50px;
  background: var(--primary-light);
  color: white;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.feature-text h4 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.feature-text p {
  color: var(--text-muted);
}

/* Quote Section */
.cta-section {
  position: relative;
  background-color: var(--primary);
  color: white;
  padding: 60px 0; /* Ajustado para um meio-termo ideal */
  scroll-margin-top: 70px;
}

.quote-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 50px;
  align-items: center;
}

.quote-info h2 {
  color: white;
  font-size: 2.5rem;
  margin-bottom: 15px;
}

.quote-info p {
  color: rgba(255,255,255,0.8);
  font-size: 1.1rem;
  margin-bottom: 20px;
}

.quote-benefits {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.quote-benefits li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
}

/* Form */
.quote-form-container {
  padding: 25px; /* Reduzido de 40px */
  background: rgba(255, 255, 255, 0.96);
  border-radius: var(--radius-lg);
  color: var(--text-main);
  position: relative;
  z-index: 2;
}

.quote-form {
  display: flex;
  flex-direction: column;
  gap: 12px; /* Reduzido de 20px */
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 10px; /* Reduzido de 15px */
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px; /* Reduzido de 15px */
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px; /* Reduzido de 15px */
}

.input-wrapper {
  display: flex;
  flex-direction: column;
  gap: 4px; /* Reduzido de 8px */
}

label {
  font-size: 0.85rem; /* Reduzido de 0.9rem */
  font-weight: 600;
  color: var(--primary);
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="date"],
select,
textarea {
  width: 100%;
  padding: 8px 12px; /* Reduzido de 12px 15px */
  border: 1px solid var(--border-color);
  border-radius: 8px;
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem; /* Reduzido de 0.95rem */
  color: var(--text-main);
  background-color: var(--bg-color);
  transition: var(--transition);
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--secondary);
  box-shadow: 0 0 0 3px rgba(240, 165, 0, 0.2);
}

.icon-input {
  position: relative;
  display: flex;
  align-items: center;
}

.icon-input i {
  position: absolute;
  left: 15px;
  color: var(--text-muted);
}

.icon-input input {
  padding-left: 40px;
}

.form-divider {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  color: var(--primary-light);
  margin-top: 5px; /* Reduzido de 15px */
  margin-bottom: 2px; /* Reduzido de 5px */
  padding-bottom: 2px; /* Reduzido de 5px */
  border-bottom: 1px dashed var(--border-color);
  font-size: 1.05rem; /* Reduzido de 1.1rem */
}

.checkbox-wrapper {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: -5px;
}

.checkbox-wrapper input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--secondary);
}

.checkbox-wrapper label,
.checkbox-wrapper span {
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  color: var(--text-main);
}

.btn-submit {
  width: 100%;
  padding: 12px; /* Reduzido de 16px */
  font-size: 1.05rem; /* Reduzido de 1.1rem */
  margin-top: 5px; /* Reduzido de 10px */
  border-radius: 8px;
}

/* Form validation styling */
input:invalid:focus {
  border-color: #ef4444;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.2);
}

.form-message {
  padding: 15px;
  border-radius: 8px;
  text-align: center;
  font-weight: 500;
  display: none;
}

.form-message.success {
  display: block;
  background-color: #dcfce7;
  color: #166534;
  border: 1px solid #bbf7d0;
}

/* Testimonials */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.testimonial-card {
  padding: 30px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.stars {
  color: var(--secondary);
  margin-bottom: 15px;
}

.quote {
  font-style: italic;
  color: var(--text-main);
  margin-bottom: 20px;
}

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

.avatar {
  width: 45px;
  height: 45px;
  background: var(--primary-gradient);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-weight: bold;
  font-family: 'Outfit';
}

.client-name h4 {
  font-size: 1rem;
  margin-bottom: 2px;
}

.client-name span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Footer */
.footer {
  background-color: var(--primary);
  color: white;
  padding-top: 60px;
}

.footer-container {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 50px;
  margin-bottom: 40px;
}

.brand-col p {
  color: rgba(255,255,255,0.7);
  margin: 20px 0;
  max-width: 300px;
}

.social-links {
  display: flex;
  gap: 15px;
}

.social-links a {
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: white;
}

.social-links a:hover {
  background: var(--secondary);
  color: var(--primary);
}

.footer-col h4 {
  color: white;
  font-size: 1.2rem;
  margin-bottom: 20px;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col ul li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,0.7);
}

.footer-col a:hover {
  color: var(--secondary);
}

.footer-bottom {
  text-align: center;
  padding: 20px;
  border-top: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.5);
  font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .hero-title { font-size: 2.8rem; }
  .quote-wrapper { grid-template-columns: 1fr; gap: 20px; }
  .quote-info { text-align: center; }
  .quote-benefits { align-items: center; }
}

@media (max-width: 768px) {
  .nav-links, .nav-btn { display: none; } /* Mobile menu simplified */
  .hero-container { grid-template-columns: 1fr; text-align: center; }
  .hero-subtitle { margin: 0 auto 30px; }
  .hero-buttons { justify-content: center; flex-direction: column; }
  .steps-grid, .features-grid, .testimonials-grid { grid-template-columns: 1fr; }
  
  /* Ajuste Ultra Compacto do Formulario para caber numa tela só */
  .quote-form-container { padding: 12px; border-radius: 12px; }
  .quote-form { gap: 6px; }
  .form-group { gap: 6px; }
  .input-wrapper { gap: 0; min-width: 0; }
  
  input[type="text"], input[type="email"], input[type="tel"], input[type="date"], select, textarea {
    padding: 4px 6px;
    font-size: 0.8rem;
    height: 32px; /* Força altura menor */
    border-radius: 6px;
    min-width: 0;
    width: 100%;
  }
  
  .icon-input i {
    font-size: 0.8rem;
    left: 8px;
    top: 50%;
  }

  .icon-input input {
    padding-left: 26px !important; /* Respiro do icone respeitado */
  }

  label { font-size: 0.65rem; margin-bottom: 2px; }
  
  .form-divider { font-size: 0.8rem; margin-top: 2px; margin-bottom: 2px; padding-bottom: 2px; }
  
  /* Mantém campos lado a lado, aumentando um pouco o gap pro date-picker */
  .grid-2 { grid-template-columns: 1fr 1fr; gap: 10px; }
  .grid-4 { grid-template-columns: 1fr 1fr; gap: 8px; }
  
  /* Compactando Bagagem e Botoes */
  .checkbox-wrapper { font-size: 0.75rem; margin-top: 0; }
  .radio-group { gap: 0.5rem !important; margin-top: 2px !important; }
  textarea { height: 40px !important; } /* Textarea menor */
  
  .btn-submit { padding: 8px; font-size: 0.9rem; margin-top: 2px; border-radius: 6px; }
  
  /* Esconder descrições longas para priorizar o form na tela */
  .cta-section { padding: 15px 0; scroll-margin-top: 50px; min-height: 100vh; display: flex; flex-direction: column; justify-content: center; }
  .quote-info p, .quote-benefits { display: none; }
  .quote-info h2 { font-size: 1.4rem; margin-bottom: 6px; }

  .footer-container { grid-template-columns: 1fr; gap: 30px; text-align: center; }
  .social-links { justify-content: center; }
  .footer-col ul li { justify-content: center; }
}

/* Autocomplete Custom Dropdown */
.autocomplete-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  max-height: 250px;
  overflow-y: auto;
  background: white;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  box-shadow: var(--shadow-lg);
  z-index: 100;
  font-family: 'Inter', sans-serif;
  margin-top: 5px;
}

.autocomplete-item {
  padding: 12px 15px;
  cursor: pointer;
  border-bottom: 1px solid #f1f3f8;
  font-size: 0.9rem;
  color: var(--text-main);
  transition: background 0.2s;
}

.autocomplete-item:last-child {
  border-bottom: none;
}

.autocomplete-item:hover {
  background-color: var(--bg-color);
  color: var(--secondary-hover);
}
