/* ═══════════════════════════════════════════════════════════════════════════
 * roteiros.css — Página de roteiros prontos
 * ═══════════════════════════════════════════════════════════════════════════ */

.rot-page {
  max-width: 1100px;
  margin: 0 auto;
  padding-bottom: 60px;
}

/* ── Hero ───────────────────────────────────────────────────────────── */
.rot-hero {
  padding: 32px 22px 18px;
  text-align: center;
  background: transparent !important;
  border-bottom: 1px solid #eef2f0;
  margin: 0 0 22px;
  display: block !important;
  position: static !important;
  box-shadow: none !important;
}
.rot-eyebrow {
  display: inline-block;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #0f5b45;
  background: rgba(15, 91, 69, 0.08);
  padding: 5px 14px;
  border-radius: 999px;
  margin-bottom: 10px;
}
.rot-hero h1 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 700;
  margin: 0 0 8px;
  color: #10232f;
  letter-spacing: -0.01em;
}
.rot-hero p {
  font-size: 1rem;
  color: #5d6c78;
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.5;
}

/* ── Picker (cidade + duração) ──────────────────────────────────────── */
.rot-picker {
  padding: 0 22px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 18px;
}
.rot-picker-row { display: flex; flex-direction: column; gap: 10px; }
.rot-picker-label {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #5d6c78;
}

.rot-cities,
.rot-durations {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.rot-city-pill {
  background: #fff;
  border: 1.5px solid #e5ded2;
  border-radius: 999px;
  padding: 9px 16px;
  font-size: 0.88rem;
  font-weight: 600;
  font-family: inherit;
  color: #2a3947;
  cursor: pointer;
  transition: background .15s, border-color .15s, transform .12s, color .15s;
  min-height: 40px;
  white-space: nowrap;
}
.rot-city-pill:hover {
  border-color: #0f5b45;
  background: #faf7f0;
}
.rot-city-pill.is-active {
  background: linear-gradient(135deg, #0f5b45, #0a3d2e);
  border-color: #0f5b45;
  color: #fff;
  font-weight: 800;
  box-shadow: 0 4px 12px rgba(15, 91, 69, 0.25);
}

.rot-duration-pill {
  background: #fff;
  border: 1.5px solid #e5ded2;
  border-radius: 14px;
  padding: 10px 18px;
  font-size: 0.84rem;
  font-weight: 600;
  font-family: inherit;
  color: #2a3947;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: background .15s, border-color .15s, transform .12s;
  min-height: 44px;
}
.rot-duration-pill strong {
  font-size: 1.4rem;
  font-weight: 800;
  font-family: 'Playfair Display', Georgia, serif;
  color: #0f5b45;
  line-height: 1;
}
.rot-duration-pill:hover { border-color: #0f5b45; background: #faf7f0; }
.rot-duration-pill.is-active {
  background: linear-gradient(135deg, #0f5b45, #0a3d2e);
  border-color: #0f5b45;
  color: #fff;
}
.rot-duration-pill.is-active strong { color: #d2a651; }

/* ── Action bar (print/share) ───────────────────────────────────────── */
.rot-actions {
  padding: 0 22px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}
.rot-action-btn {
  background: #fff;
  border: 1.5px solid #e5ded2;
  border-radius: 999px;
  padding: 9px 16px;
  font-size: 0.84rem;
  font-weight: 700;
  font-family: inherit;
  color: #2a3947;
  cursor: pointer;
  transition: all .15s;
  min-height: 40px;
}
.rot-action-btn:hover {
  border-color: #0f5b45;
  color: #0f5b45;
  background: #faf7f0;
}

/* ── Itinerary content ──────────────────────────────────────────────── */
.rot-content {
  padding: 0 22px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.rot-empty {
  text-align: center;
  color: #5d6c78;
  padding: 60px 20px;
  background: #faf7f0;
  border-radius: 16px;
  font-size: 0.95rem;
}

.rot-day-card {
  background: #fff;
  border: 1px solid #eef2f0;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(8, 20, 28, 0.04);
}
.rot-day-header {
  background: linear-gradient(135deg, #0f5b45 0%, #0a3d2e 100%);
  color: #fff;
  padding: 16px 22px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.rot-day-num {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 800;
  font-family: 'Playfair Display', Georgia, serif;
  flex-shrink: 0;
  backdrop-filter: blur(8px);
}
.rot-day-title {
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  margin: 0;
}
.rot-day-sub {
  font-size: 0.78rem;
  opacity: 0.85;
  margin: 2px 0 0;
  font-weight: 500;
}

.rot-day-slots {
  padding: 14px 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.rot-slot {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 12px;
  padding: 10px;
  border-radius: 12px;
  background: #faf7f0;
  border: 1px solid rgba(0, 0, 0, 0.04);
  align-items: center;
  text-decoration: none;
  color: inherit;
  transition: transform .15s, border-color .15s, background .15s;
}
.rot-slot:hover {
  background: #fff;
  border-color: rgba(15, 91, 69, 0.30);
  transform: translateY(-1px);
}

.rot-slot-thumb {
  width: 90px;
  height: 76px;
  border-radius: 10px;
  background-size: cover;
  background-position: center;
  background-color: #d8efe5;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  flex-shrink: 0;
}
.rot-slot-info { min-width: 0; }
.rot-slot-time {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(15, 91, 69, 0.10);
  color: #0f5b45;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: 999px;
  margin-bottom: 4px;
}
.rot-slot-info strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 800;
  color: #10232f;
  line-height: 1.3;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.rot-slot-info small {
  display: block;
  font-size: 0.78rem;
  color: #5d6c78;
  margin-top: 2px;
}
.rot-slot-info .rot-slot-link {
  font-size: 0.74rem;
  font-weight: 700;
  color: #0f5b45;
  margin-top: 4px;
  display: inline-block;
}

/* Slot de comida (dish) — visual diferente */
.rot-slot.rot-slot-eat {
  background: linear-gradient(135deg, rgba(245, 184, 0, 0.08), rgba(15, 91, 69, 0.04));
  border-color: rgba(245, 184, 0, 0.18);
}
.rot-slot.rot-slot-eat .rot-slot-time {
  background: rgba(245, 184, 0, 0.18);
  color: #8a6d23;
}

/* ── Map ────────────────────────────────────────────────────────────── */
.rot-map-section {
  margin-top: 32px;
  padding: 0 22px;
}
.rot-map {
  width: 100%;
  height: 360px;
  border-radius: 16px;
  border: 1px solid #eef2f0;
  background: #faf7f0;
  overflow: hidden;
}

/* ── CTA card no fim ────────────────────────────────────────────────── */
.rot-cta-section {
  margin: 32px 22px 0;
}
.rot-cta-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: linear-gradient(135deg, rgba(15, 91, 69, 0.05), rgba(31, 79, 134, 0.04));
  border: 1px solid rgba(15, 91, 69, 0.12);
  border-radius: 16px;
  padding: 18px 20px;
}
.rot-cta-icon {
  font-size: 2.2rem;
  width: 60px;
  height: 60px;
  background: #fff;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(8, 20, 28, 0.06);
}
.rot-cta-text { flex: 1; min-width: 0; }
.rot-cta-text strong {
  display: block;
  font-size: 1rem;
  font-weight: 800;
  color: #10232f;
}
.rot-cta-text p {
  font-size: 0.84rem;
  color: #5d6c78;
  margin: 2px 0 0;
}
.rot-cta-btn {
  background: linear-gradient(135deg, #0f5b45, #0a3d2e);
  color: #fff;
  border-radius: 999px;
  padding: 10px 18px;
  font-size: 0.85rem;
  font-weight: 800;
  text-decoration: none;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(15, 91, 69, 0.25);
}

/* ── Mobile ─────────────────────────────────────────────────────────── */
@media (max-width: 600px) {
  .rot-hero { padding: 24px 18px 14px; }
  .rot-hero h1 { font-size: 1.55rem; }
  .rot-picker { padding: 0 18px; gap: 16px; }
  .rot-content { padding: 0 14px; }
  .rot-day-header { padding: 12px 16px; }
  .rot-day-slots { padding: 12px; }
  .rot-slot { grid-template-columns: 72px 1fr; padding: 8px; }
  .rot-slot-thumb { width: 72px; height: 60px; }
  .rot-slot-info strong { font-size: 0.88rem; }
  .rot-map-section { padding: 0 14px; }
  .rot-map { height: 280px; }
  .rot-cta-section { margin: 24px 14px 0; }
  .rot-cta-card { flex-direction: column; align-items: flex-start; text-align: left; }
  .rot-cta-icon { width: 48px; height: 48px; font-size: 1.6rem; }
  .rot-cta-btn { align-self: stretch; text-align: center; }
}

/* ── Print friendly ─────────────────────────────────────────────────── */
@media print {
  body { background: #fff !important; }
  .navbar, .mobile-app-nav, .rot-actions, .rot-picker, .rot-cta-section,
  .souvi-chat-open, .whatsapp-button, footer, #app-navbar {
    display: none !important;
  }
  .rot-page { max-width: 100%; padding: 0; }
  .rot-hero { padding: 16px 0; border: 0; }
  .rot-day-card { break-inside: avoid; box-shadow: none; border: 1px solid #ccc; }
  .rot-day-header { background: #0f5b45 !important; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .rot-map { display: none; }
  .rot-slot { background: #f5f5f5 !important; -webkit-print-color-adjust: exact; }
}
