/* ===== Custom Properties ===== */
:root {
  --primary: #C62828;
  --primary-dark: #A01919;
  --dark: #1A1A1A;
  --whatsapp: #25D366;
  --whatsapp-dark: #1DA851;
  --bg: #FFFFFF;
  --bg-alt: #F5F5F5;
  --text: #333333;
  --text-light: #666666;
}

/* ===== Reset ===== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

/* ===== Container ===== */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(0);
}

/* ===== Logo no Hero ===== */
.hero-logo {
  height: 28px;
  width: auto;
  margin-bottom: 20px;
  display: block;
}

/* ===== Hero ===== */
.hero {
  background: linear-gradient(135deg, var(--dark) 0%, var(--primary) 100%);
  color: #fff;
  padding: 48px 0 40px;
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.hero-text {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-title {
  font-size: 2.25rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 16px;
}

.hero-subtitle {
  font-size: 1.05rem;
  opacity: 0.9;
  margin-bottom: 24px;
  max-width: 480px;
}

.tabela-precos {
  width: 100%;
  max-width: 480px;
  margin-bottom: 24px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.15);
}

.preco-row {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  background: rgba(255,255,255,0.07);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  font-size: 0.9rem;
}

.preco-row small {
  display: block;
  font-weight: 400;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.6);
}

.preco-row:last-of-type {
  border-bottom: none;
}

.preco-row.destaque {
  background: rgba(198,40,40,0.25);
}

.preco-destaque-verde {
  background: rgba(37,211,102,0.12);
  border-left: 3px solid #25D366;
}

.preco-badge {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  background: #25D366;
  color: #fff;
  border-radius: 20px;
  padding: 2px 7px;
  margin-left: 6px;
  vertical-align: middle;
  white-space: nowrap;
  letter-spacing: 0.02em;
}

.preco-label {
  font-weight: 600;
  color: #fff;
}


.preco-valor {
  font-weight: 700;
  color: #fff;
  text-align: right;
  white-space: nowrap;
  min-width: 56px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
}

.preco-obs {
  text-align: center;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.55);
  padding: 8px 14px;
  background: rgba(255,255,255,0.04);
  margin: 0;
}

.preco-link-vale {
  display: block;
  text-align: center;
  margin: 12px 14px 14px;
  padding: 11px 20px;
  font-size: 0.88rem;
  font-weight: 700;
  color: #fff;
  background: transparent;
  border: 1.5px solid rgba(255,255,255,0.35);
  border-radius: 50px;
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s;
  letter-spacing: 0.01em;
}

.preco-link-vale:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.6);
}

.hero-endereco {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.95rem;
  opacity: 0.85;
  margin-bottom: 24px;
}

.hero-endereco svg {
  flex-shrink: 0;
}

.btn-cta {
  background: var(--whatsapp);
  color: #fff;
  padding: 16px 32px;
  font-size: 1.1rem;
  border-radius: 50px;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.35);
}

.btn-cta:hover {
  background: var(--whatsapp-dark);
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.45);
}

.btn-cta-block {
  display: flex;
  justify-content: center;
  width: 100%;
  max-width: 480px;
}

/* Hero Visual — imagem + mapa */
.hero-visual {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.hero-image {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
}

.hero-image img {
  width: 100%;
  height: auto;
  display: block;
}

.hero-mapa {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
  min-height: 220px;
}

.hero-mapa iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 220px;
}

/* ===== Diferenciais ===== */
.diferenciais {
  padding: 60px 0;
  background: var(--dark);
}

.diferenciais .section-title {
  color: #fff;
}

/* ===== Bússola ===== */
.proximidade-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.proximidade-card {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 4/3;
}

.proximidade-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.proximidade-card:hover img {
  transform: scale(1.04);
}

.proximidade-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px 16px 14px;
  background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, transparent 100%);
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.proximidade-nome {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
}

.proximidade-dist {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.75);
}



/* ===== Serviços ===== */
.servicos {
  padding: 60px 0;
  background: var(--bg-alt);
}

.section-title {
  text-align: center;
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 40px;
}

.servicos-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.servico-card {
  background: var(--bg);
  border-radius: 12px;
  padding: 32px 24px;
  text-align: center;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  transition: transform 0.2s, box-shadow 0.2s;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.servico-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.servico-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  color: var(--primary);
}

.servico-icon svg {
  width: 100%;
  height: 100%;
}

.servico-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 8px;
}

.servico-card p {
  color: var(--text-light);
  font-size: 0.95rem;
  margin-bottom: 20px;
  flex-grow: 1;
}

.btn-servico {
  background: var(--primary);
  color: #fff;
  padding: 12px 24px;
  font-size: 0.9rem;
}

.btn-servico:hover {
  background: var(--primary-dark);
}

/* ===== Trem da Vale ===== */
.vale {
  padding: 60px 0;
  background: var(--dark);
  color: #fff;
}

.vale-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: center;
}

.vale-badge {
  display: inline-block;
  background: var(--primary);
  color: #fff;
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 16px;
}

.vale-title {
  font-size: 1.75rem;
  font-weight: 800;
  margin-bottom: 16px;
  line-height: 1.2;
}

.vale-desc {
  font-size: 1rem;
  line-height: 1.7;
  opacity: 0.9;
  margin-bottom: 24px;
}

.vale-pacotes {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 8px;
}

.vale-pacote {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 10px;
  padding: 16px 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
}

.vale-pacote .btn-vale {
  margin-top: auto;
}

.vale-pacote-dias {
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary);
}

.vale-pacote-preco {
  font-size: 1.3rem;
  font-weight: 800;
  color: #fff;
}

.btn-vale {
  background: var(--whatsapp);
  color: #fff;
  padding: 8px 16px;
  font-size: 0.82rem;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-weight: 600;
  justify-content: center;
  width: 100%;
}

.btn-vale:hover {
  background: var(--whatsapp-dark);
}

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

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

.modal {
  background: #fff;
  border-radius: 12px;
  padding: 32px 24px;
  width: 100%;
  max-width: 480px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
}

.modal-fechar {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: #666;
  line-height: 1;
}

.modal-titulo {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 20px;
  text-align: center;
}

.modal-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  text-align: center;
}

.modal-form .form-group {
  text-align: left;
}

.conclusao-btn-ok {
  width: auto;
  padding: 12px 48px;
  margin: 0 auto;
  display: block;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: #444;
}

.form-group-duplo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.pacote-selecionado {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #fff5f5;
  border: 1px solid var(--primary);
  border-radius: 8px;
  padding: 12px 16px;
}

#pacoteNome {
  font-weight: 700;
  color: var(--dark);
  font-size: 1rem;
}

#pacotePreco {
  font-weight: 800;
  color: var(--primary);
  font-size: 1.2rem;
}

.pacote-check {
  display: none;
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 0.85rem;
  font-weight: 600;
}

.pacote-check-ok {
  background: #e8f5e9;
  color: #2e7d32;
}

.pacote-check-aviso {
  background: #fff8e1;
  color: #f57f17;
}

.pacote-check-erro {
  background: #fce4ec;
  color: #c62828;
}

.form-group input[type="text"],
.form-group input[type="tel"],
.form-group input[type="email"],
.form-group input[type="date"],
.form-group input[type="time"] {
  padding: 10px 12px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 0.95rem;
  font-family: inherit;
  color: var(--dark);
}

.form-group input:focus {
  outline: none;
  border-color: var(--primary);
}

.form-hint {
  font-size: 0.75rem;
  color: #777;
}


.normas-box {
  background: #f5f5f5;
  border-radius: 6px;
  padding: 12px;
  font-size: 0.82rem;
  color: #555;
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 8px;
}

.normas-box p {
  margin: 0;
  line-height: 1.5;
}

.normas-box em {
  color: #c62828;
  font-style: normal;
}

.normas-aceite {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  font-weight: 400 !important;
  color: var(--dark);
  cursor: pointer;
}

.btn-reserva {
  background: var(--primary);
  color: #fff;
  padding: 14px;
  border: none;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  text-align: center;
  justify-content: center;
  width: 100%;
}

.btn-reserva:hover {
  background: #b71c1c;
}

.btn-reserva:disabled {
  background: #ccc;
  cursor: not-allowed;
  box-shadow: none;
  transform: none;
}

.pacote-check-erro a {
  color: #c62828;
  font-weight: 700;
  text-decoration: underline;
}

.modal-conclusao {
  text-align: center;
  padding: 40px 32px;
}

.conclusao-icone svg {
  width: 64px;
  height: 64px;
  stroke: #2e7d32;
  margin-bottom: 16px;
}

.conclusao-titulo {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 12px;
}

.conclusao-texto {
  font-size: 0.95rem;
  color: #555;
  margin-bottom: 24px;
  line-height: 1.6;
}

.vale-image {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
}

.vale-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* ===== Footer ===== */
.footer {
  background: var(--dark);
  color: #fff;
  padding: 40px 0;
  text-align: center;
}

.footer-nome {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.footer-endereco {
  font-size: 0.875rem;
  opacity: 0.7;
  margin-bottom: 16px;
}

.footer-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--whatsapp);
  font-weight: 600;
  font-size: 0.95rem;
  transition: opacity 0.2s;
}

.footer-whatsapp:hover {
  opacity: 0.8;
}

/* ===== Botão Flutuante WhatsApp ===== */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  width: 60px;
  height: 60px;
  background: var(--whatsapp);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
  animation: pulse 2s infinite;
  transition: transform 0.2s;
}

.whatsapp-float:hover {
  transform: scale(1.1);
}

@keyframes pulse {
  0% { box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4); }
  50% { box-shadow: 0 4px 24px rgba(37, 211, 102, 0.7); }
  100% { box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4); }
}

/* ===== Animations ===== */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== Desktop (min-width: 768px) ===== */
@media (min-width: 768px) {
  .hero {
    padding: 60px 0 50px;
  }

  .hero-title {
    font-size: 3rem;
  }

  .hero-subtitle {
    font-size: 1.2rem;
  }

  .hero-content {
    flex-direction: row;
    align-items: stretch;
    gap: 48px;
  }

  .hero-text {
    flex: 1;
    text-align: left;
    align-items: flex-start;
  }

  .hero-visual {
    flex: 1;
    grid-template-columns: 1fr;
    grid-template-rows: 1fr auto;
  }

  .hero-image {
    height: 100%;
  }

  .hero-image img {
    height: 100%;
    object-fit: cover;
  }

  .hero-mapa {
    min-height: 200px;
  }

  .hero-mapa iframe {
    min-height: 200px;
  }

  .hero-logo {
    height: 70px;
  }

  .servicos-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .vale-content {
    grid-template-columns: 1fr 1fr;
  }

  .vale-pacotes {
    grid-template-columns: repeat(4, 1fr);
  }

  .vale-title {
    font-size: 2rem;
  }

  .section-title {
    font-size: 2rem;
  }
}
