:root {
  --bg: #ffffff;
  --surface: #f4f8f4;
  --ink: #1c2a20;
  --muted: #5a6b60;
  --border: #dfe8e0;
  /* Verde de serra/vinícola (Gramado/RS) */
  --green: #2f6b46;
  --green-dark: #204b31;
  --green-soft: #e9f3ec;
  --accent: #c8722c; /* terracota de apoio */
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  line-height: 1.65;
}

.container { width: 100%; max-width: 1100px; margin: 0 auto; padding: 0 24px; }
a { color: var(--green); text-decoration: none; }
a:hover { color: var(--green-dark); }

h1, h2, h3, .brand, .stat-num {
  font-family: "Barlow", "Inter", system-ui, sans-serif;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  z-index: 10;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 74px; }
.brand-logo { height: 40px; width: auto; display: block; }
.nav a {
  color: var(--ink);
  margin-left: 26px;
  font-weight: 600;
  font-size: 0.95rem;
}
.nav a:hover { color: var(--green); }

/* Dropdown "Experiências" no header */
.nav-dropdown { position: relative; display: inline-block; }
.nav-dropdown-toggle {
  background: none; border: none; font: inherit; color: var(--ink); cursor: pointer;
  padding: 0; margin-left: 26px; font-weight: 600; font-size: 0.95rem;
}
.nav-dropdown-toggle:hover { color: var(--green); }
.nav-dropdown-menu {
  display: none; position: absolute; top: 100%; left: 0; margin-top: 8px;
  background: #fff; border: 1px solid var(--border); border-radius: 10px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12); padding: 8px; min-width: 260px; z-index: 20;
}
/* Ponte invisível: sem isso, o mouse "sai" do dropdown ao atravessar o
   espaço até o menu (margin-top acima) e o hover é perdido antes de chegar. */
.nav-dropdown::after {
  content: ""; position: absolute; top: 100%; left: 0; right: 0; height: 8px;
}
.nav-dropdown-menu a {
  display: block; padding: 8px 12px; border-radius: 6px; color: var(--ink);
  font-weight: 500; font-size: 0.9rem; margin-left: 0;
}
.nav-dropdown-menu a:hover { background: var(--green-soft); color: var(--green-dark); }
.nav-dropdown.open .nav-dropdown-menu,
.nav-dropdown:hover .nav-dropdown-menu { display: block; }

/* Hero */
.hero {
  padding: 80px 0 64px;
  background: linear-gradient(180deg, var(--green-soft), transparent);
}
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
.eyebrow {
  color: var(--green);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.82rem;
  font-weight: 700;
  margin: 0 0 14px;
}
.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 700;
  line-height: 1.08;
  margin: 0 0 20px;
}
.hero h1 .hl { color: var(--green); }
.lead { color: var(--muted); font-size: 1.15rem; max-width: 560px; margin: 0 0 30px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-visual img {
  width: 100%; height: 390px; object-fit: cover; display: block;
  border-radius: 24px; box-shadow: 0 24px 50px rgba(32, 75, 49, 0.2);
}

.trust-strip { border-bottom: 1px solid var(--border); background: #fff; }
.trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.trust-grid > div { padding: 22px 24px; text-align: center; border-right: 1px solid var(--border); }
.trust-grid > div:last-child { border-right: 0; }
.trust-grid strong, .trust-grid span { display: block; }
.trust-grid strong { color: var(--green-dark); }
.trust-grid span { color: var(--muted); font-size: 0.9rem; }

/* Sections */
.section { padding: 72px 0; }
.section-alt { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section h2 { font-size: clamp(1.8rem, 3.5vw, 2.4rem); font-weight: 700; margin: 0 0 14px; }
.section h2::after { content: ""; display: block; height: 4px; width: 56px; margin-top: 10px; background: var(--green); border-radius: 2px; }
.section > .container > p { color: var(--muted); max-width: 720px; }

/* Cards de categorias/passeios */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; margin-top: 34px; }
.card {
  background: var(--bg); border: 1px solid var(--border); border-radius: 14px; padding: 24px;
  border-top: 4px solid var(--green);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(32, 75, 49, 0.12); }
.card h3 { margin: 0 0 8px; font-size: 1.2rem; color: var(--ink); }
.card p { margin: 0; color: var(--muted); font-size: 0.95rem; }
a.card { color: inherit; text-decoration: none; }

/* Cards de passeio da home (imagem de capa + preço do catálogo) */
.passeio-card { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.passeio-card-img { width: 100%; height: 150px; object-fit: cover; display: block; }
.passeio-card-body { padding: 16px 18px 20px; }
.passeio-card-body h3 { margin: 0 0 6px; }
.passeio-card-meta { color: var(--muted); font-size: 0.86rem; margin: 0 0 8px; }
.passeio-card-preco { min-height: 1.2em; font-size: 0.9rem; margin: 0; }
.passeio-card-preco .preco-de { font-size: 0.8rem; margin-right: 6px; }
.passeio-card-preco .preco-por { font-size: 0.95rem; }

/* Buttons */
.btn {
  display: inline-block; padding: 13px 26px; border-radius: 8px; font-weight: 600;
  cursor: pointer; border: 2px solid transparent; font-size: 1rem; font-family: inherit;
}
.btn-primary { background: var(--green); color: #fff; }
.btn-primary:hover { background: var(--green-dark); color: #fff; }
.btn-ghost { border-color: var(--green); color: var(--green); background: transparent; }
.btn-ghost:hover { background: var(--green-soft); }

/* Contato */
.contato-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 48px; }
.info-list { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 18px; }
.info-list li { color: var(--muted); }
.info-list strong { color: var(--ink); }
.contato-form { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 28px; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field label { font-size: 0.88rem; font-weight: 600; color: var(--ink); }
.field input, .field textarea, .field select {
  background: var(--bg); border: 1px solid var(--border); border-radius: 8px;
  padding: 12px 13px; color: var(--ink); font-family: inherit; font-size: 1rem;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(47, 107, 70, 0.15);
}
.form-status { font-size: 0.95rem; min-height: 1.2em; font-weight: 600; margin: 12px 0 0; }
.form-status.ok { color: #1c7c46; }
.form-status.err { color: #c62839; }
.form-help { color: var(--muted); font-size: 0.84rem; margin: 10px 0 0; }

/* Landing de produto (placeholder) */
.breadcrumb { color: var(--muted); font-size: 0.9rem; margin: 0 0 8px; }
.breadcrumb a { color: var(--muted); }
.placeholder-notice {
  background: var(--green-soft); border: 1px dashed var(--green);
  border-radius: 12px; padding: 18px 20px; color: var(--green-dark);
  font-weight: 600; margin: 20px 0 0;
}
#produto-dados { margin-top: 28px; }
#produto-dados .card { border-top-color: var(--accent); }

/* Footer */
.site-footer { background: var(--ink); color: #fff; padding: 40px 0; text-align: center; }
.footer-brand { color: #fff; font-weight: 700; margin: 0 0 4px; font-size: 1.15rem; }
.footer-meta { margin: 2px 0; color: rgba(255, 255, 255, 0.6); font-size: 0.88rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 24px; text-align: left; padding-bottom: 28px; margin-bottom: 20px; border-bottom: 1px solid rgba(255, 255, 255, 0.15); }

.cta-box { margin-top: 36px; padding: 32px; background: var(--green-soft); border-radius: 16px; text-align: center; }
.cta-box p { margin: 0 0 18px; font-weight: 700; color: var(--green-dark); font-size: 1.15rem; }
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 32px; }
.step-card { padding: 26px; border: 1px solid var(--border); border-radius: 16px; background: #fff; }
.step-card span {
  display: grid; place-items: center; width: 36px; height: 36px; margin-bottom: 16px;
  border-radius: 50%; background: var(--green); color: #fff; font-weight: 700;
}
.step-card h3 { margin: 0 0 8px; }
.step-card p { margin: 0; color: var(--muted); }
.about-home-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
.about-home-grid h2 { margin-top: 0; }
.home-cta { margin-top: 0; }
.text-link { display: inline-block; margin-top: 10px; font-weight: 700; }
.faq-container { max-width: 850px; }
.faq-list { display: grid; gap: 12px; margin-top: 30px; }
.faq-list details { border: 1px solid var(--border); border-radius: 12px; background: #fff; padding: 0 20px; }
.faq-list summary { cursor: pointer; padding: 18px 34px 18px 0; color: var(--ink); font-weight: 700; }
.faq-list details p { margin: 0; padding: 0 0 20px; color: var(--muted); }
.faq-list details[open] { border-color: var(--green); box-shadow: 0 8px 22px rgba(32, 75, 49, 0.08); }

/* Layout de passeio: conteúdo + coluna de reserva fixa (sticky) */
.passeio-layout { display: grid; grid-template-columns: 1fr 360px; gap: 40px; align-items: start; margin-top: 24px; }
.passeio-sidebar { position: sticky; top: 94px; }

/* Widget de reserva (preço + calendário + quantidade + CTA) */
.booking-box { margin-top: 0; padding: 28px; background: var(--surface); border: 1px solid var(--border); border-radius: 16px; }
.booking-box h2 { margin-top: 0; }
.booking-note { color: var(--muted); font-size: 0.9rem; margin: -6px 0 18px; }
.preco-display { margin: 4px 0 20px; font-size: 1rem; }
.preco-de { color: var(--muted); margin-right: 10px; }
.preco-de s { text-decoration: line-through; }
.preco-por { color: var(--accent); font-size: 1.35rem; }
.field-hint { min-height: 1.2em; font-size: 0.85rem; color: var(--accent); margin: 6px 0 0; }

/* Calendário customizado (pt-BR), substitui o popup nativo do input de data */
.calendario-wrapper { position: relative; }
.calendario-painel {
  position: absolute; top: 100%; left: 0; margin-top: 6px; z-index: 25;
  background: #fff; border: 1px solid var(--border); border-radius: 10px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12); padding: 12px; width: 260px;
}
.calendario-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; font-size: 0.85rem; }
.cal-nav { background: none; border: none; cursor: pointer; font-size: 1.2rem; line-height: 1; color: var(--green); padding: 2px 8px; border-radius: 6px; }
.cal-nav:hover { background: var(--green-soft); color: var(--green-dark); }
.calendario-semana { display: grid; grid-template-columns: repeat(7, 1fr); text-align: center; font-size: 0.72rem; color: var(--muted); margin-bottom: 4px; }
.calendario-dias { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; }
.cal-dia { background: none; border: none; padding: 7px 0; border-radius: 6px; cursor: pointer; font-size: 0.85rem; color: var(--ink); font-family: inherit; }
.cal-dia:hover:not(:disabled) { background: var(--green-soft); }
.cal-dia:disabled { color: var(--border); cursor: not-allowed; }
.cal-dia.selecionado { background: var(--green); color: #fff; }

/* Quantidade por tipo de ingresso (gerado a partir do catálogo) */
.qtd-linha { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.qtd-linha label { font-size: 0.88rem; font-weight: 600; color: var(--ink); }
.qtd-linha input[type="number"] { width: 72px; text-align: center; }

/* Modal de dados de contato aberto ao continuar a solicitação */
.modal-overlay {
  position: fixed; inset: 0; background: rgba(20, 30, 24, 0.55); z-index: 50;
  display: flex; align-items: center; justify-content: center; padding: 20px;
}
.modal-overlay[hidden] { display: none; }
.modal-box {
  background: #fff; border-radius: 16px; padding: 32px; max-width: 420px; width: 100%;
  position: relative; box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}
.modal-box h2 { margin-top: 0; }
.modal-close {
  position: absolute; top: 14px; right: 16px; background: none; border: none;
  font-size: 1.6rem; line-height: 1; cursor: pointer; color: var(--muted); padding: 4px;
}
.modal-close:hover { color: var(--ink); }
.modal-hint { color: var(--muted); font-size: 0.9rem; margin: 0 0 20px; }

/* Barra fixa de reserva no mobile (onde a coluna sticky não cabe) */
.mobile-book-bar {
  display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
  background: #fff; border-top: 1px solid var(--border);
  box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.1);
  padding: 12px 16px; align-items: center; justify-content: space-between; gap: 12px;
}
.mobile-book-bar .preco-display { margin: 0; font-size: 0.95rem; }
.mobile-book-bar .btn { flex-shrink: 0; padding: 11px 22px; }
.footer-col .footer-meta a { color: rgba(255, 255, 255, 0.75); }
.footer-col .footer-meta a:hover { color: #fff; }

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual img { height: 320px; }
  .contato-grid { grid-template-columns: 1fr; }
  .passeio-layout { grid-template-columns: 1fr; }
  .passeio-sidebar { position: static; }
  .about-home-grid { grid-template-columns: 1fr; }
  .mobile-book-bar { display: flex; }
  body:has(.mobile-book-bar) { padding-bottom: 78px; }
}
@media (max-width: 700px) {
  .header-inner { height: auto; min-height: 74px; padding-top: 10px; padding-bottom: 8px; flex-wrap: wrap; }
  .nav { display: flex; width: 100%; flex-wrap: wrap; gap: 8px 18px; padding: 8px 0 4px; }
  .nav a, .nav-dropdown-toggle { margin: 0; white-space: nowrap; }
  .trust-grid, .steps-grid { grid-template-columns: 1fr; }
  .trust-grid > div { border-right: 0; border-bottom: 1px solid var(--border); }
  .trust-grid > div:last-child { border-bottom: 0; }
  .footer-grid { grid-template-columns: 1fr; text-align: center; }
}
@media (max-width: 520px) {
  .field-row { grid-template-columns: 1fr; }
  .nav a { margin: 0; font-size: 0.9rem; }
  .nav-dropdown-toggle { margin: 0; font-size: 0.9rem; }
  .nav-dropdown-menu { left: auto; right: 0; min-width: 220px; }
}
