/* ── Home page — sections 1-7 ────────────────────────────────────────────── */

/* ── Shared helpers ──────────────────────────────────────────────────────── */
.section-link {
  font-size: .85rem;
  font-weight: 700;
  color: var(--green-700, #0f5b45);
  text-decoration: none;
  white-space: nowrap;
  transition: opacity .15s;
}
.section-link:hover { opacity: .75; }

.spots-heading-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.home-location-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 32px;
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid rgba(15, 91, 69, .18);
  background: rgba(255, 255, 255, .58);
  color: var(--green-700, #0f5b45);
  font-family: inherit;
  font-size: .76rem;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(16, 35, 47, .04);
  transition: background .15s ease, border-color .15s ease, transform .15s ease;
}

.home-location-btn:hover {
  background: #fff;
  border-color: rgba(15, 91, 69, .38);
  transform: translateY(-1px);
}

.home-location-btn:disabled {
  cursor: wait;
  opacity: .72;
  transform: none;
}

.home-location-btn:focus-visible {
  outline: 3px solid rgba(15, 91, 69, .28);
  outline-offset: 2px;
}

/* ── SEÇÃO 1: HERO ───────────────────────────────────────────────────────── */
/* Weather chip ancorado no canto superior direito do hero — não compete
   visualmente com o título/CTAs no rodapé. */
.hero-weather-chip {
  position: absolute;
  top: clamp(20px, 3vw, 36px);
  right: clamp(20px, 4vw, 48px);
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(8, 20, 28, 0.42);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.20);
  border-radius: 40px;
  padding: 8px 16px;
  font-size: .82rem;
  font-weight: 600;
  color: #fff;
  text-shadow: none;
  box-shadow: 0 6px 18px rgba(8, 20, 28, 0.20);
}

/* Animated eyebrow ticker — discreto, alinhado com o eyebrow pill */
.hero-ticker {
  overflow: hidden;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255,255,255,.55);
  margin-bottom: 18px;
  max-width: 440px;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 12%, #000 88%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 12%, #000 88%, transparent 100%);
}
.ticker-track {
  display: inline-block;
  white-space: nowrap;
  animation: ticker 14s linear infinite;
}
@keyframes ticker {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* Respeita preferência do usuário por movimento reduzido (acessibilidade) */
@media (prefers-reduced-motion: reduce) {
  .ticker-track {
    animation: none;
    transform: none;
  }
}

/* Second hero CTA — ghost outlined refinado */
.btn-hero-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 14px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.30);
  color: #fff;
  font-weight: 600;
  font-size: .95rem;
  text-decoration: none;
  backdrop-filter: blur(8px);
  transition: background .2s ease, border-color .2s ease, transform .2s ease;
}
.btn-hero-secondary:hover {
  background: rgba(255,255,255,.16);
  border-color: rgba(255,255,255,.55);
  transform: translateY(-1px);
}

/* ── SEÇÃO 3: SPOTS TEASER ───────────────────────────────────────────────── */
.spots-teaser {
  background: var(--sand-100, #f6f1e8);
  padding: 56px 24px 48px;
}

.home-weather-widget {
  margin-bottom: 24px;
}

.home-weather-inner {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  background: #fff;
  border-radius: 18px;
  padding: 14px 22px;
  box-shadow: 0 4px 18px rgba(16,35,47,.08);
  border: 1px solid var(--sand-200, #efe5d6);
}

.home-weather-temp {
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--text-900, #10232f);
  line-height: 1;
}

.home-weather-desc {
  font-size: .82rem;
  color: var(--text-700, #5d6c78);
  margin-top: 2px;
}

.home-weather-details {
  font-size: .78rem;
  color: var(--text-700, #5d6c78);
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-left: 16px;
  border-left: 1px solid var(--sand-200, #efe5d6);
}

/* Horizontal spot strip */
.spots-strip {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding-bottom: 12px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.spots-strip::-webkit-scrollbar { height: 4px; }
.spots-strip::-webkit-scrollbar-thumb { background: var(--sand-200, #efe5d6); border-radius: 4px; }

.spots-strip-loading {
  padding: 32px;
  color: var(--text-700, #5d6c78);
  font-size: .88rem;
}

.spot-teaser-card {
  flex: 0 0 200px;
  scroll-snap-align: start;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(16,35,47,.08);
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  transition: box-shadow .2s, transform .2s;
  cursor: pointer;
  border: none;
  text-align: left;
}
.spot-teaser-card:hover { box-shadow: 0 8px 28px rgba(16,35,47,.15); transform: translateY(-2px); }

.spot-teaser-img {
  height: 120px;
  background: linear-gradient(135deg, var(--green-700,#0f5b45), var(--blue-700,#1f4f86));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.4rem;
}
.spot-teaser-img img { width: 100%; height: 100%; object-fit: cover; }

.spot-teaser-body { padding: 10px 12px 14px; flex: 1; }
.spot-teaser-name { font-size: .88rem; font-weight: 700; color: var(--text-900,#10232f); margin: 0 0 4px; }
.spot-teaser-city { font-size: .75rem; color: var(--text-700,#5d6c78); }
.spot-teaser-badge {
  display: inline-block;
  margin-top: 6px;
  padding: 2px 8px;
  border-radius: 20px;
  font-size: .7rem;
  font-weight: 700;
  background: #d1fae5;
  color: #065f46;
}
.spot-teaser-badge.closed { background: #fee2e2; color: #991b1b; }

/* ── SEÇÃO 4: PRODUTOS EM DESTAQUE ───────────────────────────────────────── */
.featured-products-home {
  padding: 56px 24px;
  background: #fff;
}

.home-cat-filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.home-cat-pill {
  background: var(--sand-100, #f6f1e8);
  border: 1.5px solid var(--sand-200, #efe5d6);
  border-radius: 40px;
  padding: 7px 16px;
  font-size: .82rem;
  font-weight: 700;
  color: var(--text-900, #10232f);
  cursor: pointer;
  white-space: nowrap;
  transition: background .15s, border-color .15s, color .15s;
}
.home-cat-pill:hover,
.home-cat-pill.is-active {
  background: var(--green-700, #0f5b45);
  border-color: var(--green-700, #0f5b45);
  color: #fff;
}

.featured-loading {
  padding: 40px;
  text-align: center;
  color: var(--text-700, #5d6c78);
}

/* ── SEÇÃO 5: CIDADES ────────────────────────────────────────────────────── */
.cities-home {
  padding: 56px 24px;
  background: var(--sand-100, #f6f1e8);
}

.cities-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
@media (max-width: 980px) {
  .cities-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .cities-grid {
    /* Scroll horizontal em mobile: tantas cidades quantas houver, 180px cada */
    flex-wrap: nowrap;
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }
  .cities-grid .city-card {
    flex: 0 0 180px;
    scroll-snap-align: start;
  }
}

.city-card {
  position: relative;
  min-height: 260px;
  border-radius: 20px;
  overflow: hidden;
  text-decoration: none;
  display: flex;
  align-items: flex-end;
  background-image: var(--city-bg, linear-gradient(135deg, #0f5b45, #0a3d2e));
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition: transform .25s ease, box-shadow .25s ease;
  flex-shrink: 0;
  isolation: isolate;
}

.city-card-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  transition: transform .5s ease;
}

.city-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: inherit;
  background-size: cover;
  background-position: center;
  transition: transform .5s ease;
  z-index: 0;
}

.city-card:has(.city-card-img)::before {
  content: none;
}
.city-card:hover { transform: translateY(-4px); box-shadow: 0 18px 38px rgba(16,35,47,.22); }
.city-card:hover::before { transform: scale(1.06); }
.city-card:hover .city-card-img { transform: scale(1.06); }

.city-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(7,55,43,.78) 0%, rgba(7,55,43,.15) 50%, rgba(7,55,43,0) 85%);
  z-index: 1;
}

.city-card-content {
  position: relative;
  padding: 18px 16px;
  color: #fff;
  z-index: 2;
  text-shadow: 0 1px 3px rgba(0,0,0,.35);
}
.city-card-content strong { display: block; font-size: 1.1rem; font-weight: 800; margin-bottom: 4px; }
.city-card-content p { font-size: .78rem; opacity: .92; margin-bottom: 10px; line-height: 1.45; }
.city-card-cta { font-size: .8rem; font-weight: 700; opacity: .95; }

/* ── SEÇÃO 6: PROVA SOCIAL ───────────────────────────────────────────────── */
.social-proof {
  padding: 56px 24px;
  background: #fff;
  text-align: center;
}

.rating-summary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 32px;
}

.rating-stars { font-size: 1.4rem; color: var(--gold-400, #d2a651); letter-spacing: 2px; }
.rating-avg   { font-size: 1.6rem; font-weight: 800; color: var(--text-900, #10232f); }
.rating-count { font-size: .85rem; color: var(--text-700, #5d6c78); }

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
  max-width: 900px;
  margin: 0 auto 32px;
  text-align: left;
}

.testimonial-card {
  background: var(--sand-100, #f6f1e8);
  border-radius: 18px;
  padding: 22px 20px;
  border: 1px solid var(--sand-200, #efe5d6);
}

.testimonial-text {
  font-size: .88rem;
  color: var(--text-900, #10232f);
  line-height: 1.6;
  margin: 0 0 14px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 8px;
}
.testimonial-name { font-weight: 700; font-size: .85rem; color: var(--text-900, #10232f); }
.testimonial-city { font-size: .78rem; color: var(--text-700, #5d6c78); }
.testimonial-city::before { content: '· '; }

.instagram-cta { margin-top: 32px; }
.instagram-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 12px;
  background: linear-gradient(135deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
  color: #fff;
  font-weight: 700;
  font-size: .9rem;
  text-decoration: none;
  transition: opacity .2s;
}
.instagram-btn:hover { opacity: .88; }

/* ── SEÇÃO 7: CTA FINAL ──────────────────────────────────────────────────── */
.btn-reseller {
  display: inline-flex;
  align-items: center;
  padding: 13px 24px;
  border-radius: 12px;
  background: rgba(255,255,255,.15);
  border: 1.5px solid rgba(255,255,255,.45);
  color: #fff;
  font-weight: 700;
  font-size: .95rem;
  text-decoration: none;
  backdrop-filter: blur(6px);
  transition: background .2s;
}
.btn-reseller:hover { background: rgba(255,255,255,.25); }

/* ── Product cards (homepage grid) ──────────────────────────────────────── */
.featured-grid {
  display: grid;
  /* 220px mínimo: dá espaço para nomes longos (ex. "Ima abridor retangular")
     sem amassar tipografia. */
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
}

.product-card-home {
  text-decoration: none;
  color: inherit;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(16,35,47,.07);
  border: 1px solid var(--sand-200, #efe5d6);
  transition: box-shadow .2s, transform .2s;
  display: flex;
  flex-direction: column;
}
.product-card-home:hover { box-shadow: 0 8px 28px rgba(16,35,47,.14); transform: translateY(-2px); }

.product-card-img-home {
  position: relative;
  height: 160px;
  background: var(--sand-100, #f6f1e8);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  overflow: hidden;
}
.product-card-img-home img { width: 100%; height: 100%; object-fit: cover; }

.product-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  background: var(--green-700, #0f5b45);
  color: #fff;
  font-size: .65rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.product-card-body-home {
  padding: 12px 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}
.product-card-name-home {
  font-size: .9rem;
  font-weight: 700;
  color: var(--text-900, #10232f);
  margin: 0;
  line-height: 1.3;
  /* Limita a 2 linhas com ellipsis para nomes longos.
     min-height reserva o espaço e evita CLS quando alguns cards têm 1 linha
     e outros 2 lado a lado. */
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  word-break: break-word;
  min-height: calc(.9rem * 1.3 * 2);
}
.product-rating {
  font-size: .78rem;
  color: var(--gold-400, #d2a651);
  font-weight: 700;
}
.product-card-price-home {
  font-size: .95rem;
  font-weight: 800;
  color: var(--green-700, #0f5b45);
  margin-top: auto;
}

/* ── Responsive tweaks ───────────────────────────────────────────────────── */
@media (max-width: 600px) {
  .spots-teaser,
  .featured-products-home,
  .cities-home,
  .social-proof { padding: 40px 16px; }

  .home-weather-inner { gap: 10px; padding: 12px 16px; }
  .home-weather-temp  { font-size: 1.35rem; }
  .home-weather-details { display: none; }

  .spot-teaser-card { flex: 0 0 160px; }
  .spot-teaser-img  { height: 96px; }

  .testimonials-grid { grid-template-columns: 1fr; }
}

/* ── SEÇÃO 5: DICAS DA CASA (turismo) ──────────────────────────────────── */
.travel-tips {
  padding: 56px 24px;
  background: var(--white);
}

.travel-tips-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
  margin-top: 28px;
}

.travel-tip-card {
  background: var(--sand-100);
  border: 1px solid var(--sand-200);
  border-radius: 20px;
  padding: 26px 24px;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.travel-tip-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(16, 35, 47, .08);
  border-color: var(--green-700);
}

.travel-tip-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: var(--white);
  border: 1px solid var(--sand-200);
  font-size: 1.4rem;
  margin-bottom: 14px;
}

.travel-tip-card h3 {
  font-family: 'Manrope', 'Segoe UI', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0 0 8px;
  color: var(--text-900);
  letter-spacing: -0.005em;
}

.travel-tip-card p {
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--text-700);
  margin: 0;
}

/* ── SEÇÃO 6: LOJAS FÍSICAS ────────────────────────────────────────────── */
.stores-home {
  padding: 56px 24px;
  background: var(--sand-100);
}

.stores-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-top: 28px;
}

.store-card {
  background: var(--white);
  border: 1px solid var(--sand-200);
  border-radius: 20px;
  padding: 26px 24px 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.store-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(16, 35, 47, .08);
  border-color: var(--green-700);
}

.store-card-badge {
  align-self: flex-start;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--green-700);
  background: var(--sand-100);
  padding: 5px 10px;
  border-radius: 999px;
}

.store-card h3 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 700;
  font-size: 1.3rem;
  margin: 4px 0 0;
  color: var(--text-900);
  letter-spacing: -0.008em;
}

.store-card p {
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--text-700);
  margin: 0;
  flex: 1;
}

.store-card-link {
  align-self: flex-start;
  margin-top: 8px;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--green-700);
  text-decoration: none;
  transition: opacity .15s;
}

.store-card-link:hover {
  opacity: 0.7;
}

/* ── BANNER B2B DISCRETO (rodapé do main) ──────────────────────────────── */
.reseller-banner {
  max-width: 1100px;
  margin: 24px auto 56px;
  padding: 0 24px;
}

.reseller-banner-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 22px 28px;
  background: var(--white);
  border: 1px solid var(--sand-200);
  border-radius: 18px;
  box-shadow: 0 4px 16px rgba(16, 35, 47, 0.04);
}

.reseller-banner-inner > div {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1 1 280px;
}

.reseller-banner-inner strong {
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--text-900);
}

.reseller-banner-inner span {
  font-size: 0.88rem;
  color: var(--text-700);
  line-height: 1.5;
}

.reseller-banner-link {
  display: inline-flex;
  align-items: center;
  padding: 12px 22px;
  border-radius: 12px;
  background: var(--green-700);
  color: var(--white);
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  transition: background .2s, transform .2s;
  white-space: nowrap;
}

.reseller-banner-link:hover {
  background: var(--green-900);
  transform: translateY(-1px);
}

@media (max-width: 600px) {
  .travel-tips,
  .stores-home {
    padding: 40px 16px;
  }
  .reseller-banner {
    margin: 16px auto 40px;
    padding: 0 16px;
  }
  .reseller-banner-inner {
    padding: 18px 20px;
  }
}

/* ── Tag highlight nos cards de cidade ─────────────────────────────────── */
.city-card {
  position: relative;
}
.city-card-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px 10px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--text-900);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  border-radius: 999px;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  box-shadow: 0 2px 8px rgba(8, 20, 28, 0.10);
}

/* ── SEÇÃO 5: ROTEIROS SUGERIDOS ───────────────────────────────────────── */
.itineraries {
  padding: 56px 24px;
  background: var(--white);
}
.itineraries-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 18px;
  margin-top: 28px;
}
.itinerary-card {
  position: relative;
  padding: 26px 24px;
  background: var(--sand-100);
  border: 1px solid var(--sand-200);
  border-radius: 22px;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  overflow: hidden;
}
.itinerary-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--green-700), var(--blue-700));
}
.itinerary-card[data-theme="beach"]::before {
  background: linear-gradient(90deg, #fbbf24, #fb923c);
}
.itinerary-card[data-theme="adventure"]::before {
  background: linear-gradient(90deg, #ef4444, #b45309);
}
.itinerary-card[data-theme="culture"]::before {
  background: linear-gradient(90deg, var(--blue-700), #7e22ce);
}
.itinerary-card[data-theme="island"]::before {
  background: linear-gradient(90deg, #06b6d4, var(--green-500));
}
.itinerary-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(16, 35, 47, 0.10);
  border-color: var(--green-700);
}
.itinerary-meta {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
}
.itinerary-duration,
.itinerary-difficulty {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.itinerary-duration {
  background: var(--green-700);
  color: var(--white);
}
.itinerary-difficulty {
  background: var(--white);
  border: 1px solid var(--sand-200);
  color: var(--text-700);
}
.itinerary-card h3 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 700;
  font-size: 1.2rem;
  margin: 0 0 10px;
  color: var(--text-900);
  letter-spacing: -0.008em;
}
.itinerary-card p {
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--text-700);
  margin: 0 0 14px;
}
.itinerary-stops {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.itinerary-stops li {
  font-size: 0.82rem;
  color: var(--text-700);
}

/* ── SEÇÃO 6: GASTRONOMIA ─────────────────────────────────────────────── */
.gastronomy {
  padding: 56px 24px;
  background: var(--sand-100);
}
.gastronomy-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 18px;
  margin-top: 28px;
}
.dish-card {
  background: var(--white);
  border: 1px solid var(--sand-200);
  border-radius: 18px;
  padding: 24px 22px;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.dish-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(16, 35, 47, 0.08);
  border-color: var(--gold-400);
}
.dish-emoji {
  display: inline-block;
  font-size: 2.2rem;
  margin-bottom: 8px;
  line-height: 1;
}
.dish-region {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--green-700);
  margin-bottom: 8px;
}
.dish-card h3 {
  font-family: 'Manrope', 'Segoe UI', sans-serif;
  font-size: 1.02rem;
  font-weight: 700;
  margin: 0 0 8px;
  color: var(--text-900);
  letter-spacing: -0.005em;
}
.dish-card p {
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--text-700);
  margin: 0;
}

/* Meta chips (preço + época) */
.dish-card .dish-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 10px 0 0;
}
.dish-card .dish-meta-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: .72rem;
  font-weight: 600;
  padding: 4px 9px;
  border-radius: 999px;
  letter-spacing: .01em;
}
.dish-card .dish-meta-price {
  background: rgba(15, 91, 69, 0.10);
  color: var(--green-700, #0f5b45);
}
.dish-card .dish-meta-time {
  background: rgba(210, 166, 81, 0.16);
  color: #8a6d23;
}

/* Restaurants (Onde comer) — colapsável */
.dish-card .dish-restaurants {
  margin-top: 10px;
  border-top: 1px dashed rgba(0,0,0,.08);
  padding-top: 10px;
}
.dish-card .dish-restaurants summary {
  cursor: pointer;
  font-size: .78rem;
  font-weight: 700;
  color: var(--green-700, #0f5b45);
  letter-spacing: .02em;
  list-style: none;
  padding: 4px 0;
}
.dish-card .dish-restaurants summary::-webkit-details-marker { display: none; }
.dish-card .dish-restaurants summary:hover { color: #0a3d2e; }
.dish-card .dish-restaurants[open] summary { margin-bottom: 6px; }
.dish-card .dish-restaurants ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.dish-card .dish-restaurants li {
  font-size: .8rem;
  color: var(--text-700);
  padding-left: 14px;
  position: relative;
}
.dish-card .dish-restaurants li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--gold-400, #d2a651);
  font-weight: 700;
}

@media (max-width: 600px) {
  .itineraries,
  .gastronomy {
    padding: 40px 16px;
  }
}

/* ═══════════════════════════════════════════════════════════════════════════
 * SABORES (gastronomy-grid + dish-card) — cards compactos
 * ═══════════════════════════════════════════════════════════════════════════ */
.gastronomy-grid,
#dishes-grid,
#gastronomy-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
  padding: 0;
  margin: 0;
}

.dish-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid rgba(16, 35, 47, 0.06);
  border-radius: 14px;
  padding: 0;
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease;
  position: relative;
}
.dish-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(16, 35, 47, 0.08);
}

/* Imagem do prato — altura fixa para padronizar */
.dish-card-img {
  position: relative;
  width: 100%;
  height: 140px;
  overflow: hidden;
  background: var(--sand-100, #f6f1e8);
}
.dish-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Emoji grande quando não tem imagem */
.dish-card .dish-emoji {
  font-size: 2.6rem;
  line-height: 1;
  text-align: center;
  padding: 24px 0 8px;
  background: linear-gradient(135deg, var(--sand-100, #f6f1e8) 0%, #fff 100%);
}

/* Conteúdo — padding compacto */
.dish-card .dish-region {
  display: block;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--green-700, #0f5b45);
  padding: 10px 14px 4px;
}

.dish-card h3 {
  margin: 0;
  padding: 0 14px 4px;
  font-size: 0.98rem;
  font-weight: 800;
  line-height: 1.25;
  color: var(--text-900, #10232f);
  letter-spacing: -0.005em;
}

.dish-card p {
  margin: 0;
  padding: 0 14px 10px;
  font-size: .8rem;
  line-height: 1.45;
  color: var(--text-700, #5d6c78);
  /* Limita a 3 linhas no max — evita cards gigantes */
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Meta chips (preço + época) */
.dish-card .dish-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  padding: 0 14px 8px;
  margin: 0;
}
.dish-card .dish-meta-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: .68rem;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 999px;
  letter-spacing: .01em;
  white-space: nowrap;
}
.dish-card .dish-meta-price {
  background: rgba(15, 91, 69, 0.10);
  color: var(--green-700, #0f5b45);
}
.dish-card .dish-meta-time {
  background: rgba(210, 166, 81, 0.16);
  color: #8a6d23;
}

/* "Onde comer" — colapsado por padrão, expande on click */
.dish-card .dish-restaurants {
  margin: 0;
  padding: 0 14px 12px;
  border-top: 1px dashed rgba(0,0,0,.08);
  padding-top: 8px;
  margin-top: 2px;
}
.dish-card .dish-restaurants summary {
  cursor: pointer;
  font-size: .72rem;
  font-weight: 700;
  color: var(--green-700, #0f5b45);
  letter-spacing: .02em;
  list-style: none;
  padding: 2px 0;
  user-select: none;
}
.dish-card .dish-restaurants summary::-webkit-details-marker { display: none; }
.dish-card .dish-restaurants summary::after {
  content: ' ▾';
  font-size: .65rem;
  transition: transform 0.2s ease;
  display: inline-block;
}
.dish-card .dish-restaurants[open] summary::after { transform: rotate(180deg); }
.dish-card .dish-restaurants[open] summary { margin-bottom: 6px; }
.dish-card .dish-restaurants ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.dish-card .dish-restaurants li {
  font-size: .74rem;
  color: var(--text-700, #5d6c78);
  padding-left: 12px;
  position: relative;
}
.dish-card .dish-restaurants li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--gold-400, #d2a651);
  font-weight: 700;
}

@media (max-width: 600px) {
  .gastronomy-grid,
  #dishes-grid,
  #gastronomy-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .dish-card-img { height: 160px; }
}

.dish-card-img {
  position: relative;
  width: 100%;
  height: 140px;
  overflow: hidden;
  background: var(--sand-100, #f6f1e8);
}
.dish-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.dish-card .dish-emoji {
  font-size: 2.6rem;
  line-height: 1;
  text-align: center;
  padding: 24px 0 8px;
  background: linear-gradient(135deg, var(--sand-100, #f6f1e8) 0%, #fff 100%);
}

.dish-card .dish-region {
  display: block;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--green-700, #0f5b45);
  padding: 10px 14px 4px;
}

.dish-card h3 {
  margin: 0;
  padding: 0 14px 4px;
  font-size: 0.98rem;
  font-weight: 800;
  line-height: 1.25;
  color: var(--text-900, #10232f);
}

.dish-card p {
  margin: 0;
  padding: 0 14px 10px;
  font-size: .8rem;
  line-height: 1.45;
  color: var(--text-700, #5d6c78);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.dish-card .dish-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  padding: 0 14px 8px;
  margin: 0;
}
.dish-card .dish-meta-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: .68rem;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 999px;
  white-space: nowrap;
}
.dish-card .dish-meta-price { background: rgba(15, 91, 69, 0.10); color: var(--green-700, #0f5b45); }
.dish-card .dish-meta-time  { background: rgba(210, 166, 81, 0.16); color: #8a6d23; }

.dish-card .dish-restaurants {
  padding: 8px 14px 12px;
  border-top: 1px dashed rgba(0,0,0,.08);
  margin: 0;
}
.dish-card .dish-restaurants summary {
  cursor: pointer;
  font-size: .72rem;
  font-weight: 700;
  color: var(--green-700, #0f5b45);
  list-style: none;
}
.dish-card .dish-restaurants summary::-webkit-details-marker { display: none; }
.dish-card .dish-restaurants ul {
  list-style: none;
  padding: 0;
  margin: 6px 0 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.dish-card .dish-restaurants li {
  font-size: .74rem;
  color: var(--text-700, #5d6c78);
  padding-left: 12px;
  position: relative;
}
.dish-card .dish-restaurants li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--gold-400, #d2a651);
  font-weight: 700;
}

/* ── Cabeçalho da seção Roteiros: pill + link "Ver todos" ───────────── */
.itineraries-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
  flex-shrink: 0;
}
.itineraries-actions .section-link {
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--green-700, #0f5b45);
  text-decoration: none;
  white-space: nowrap;
  padding: 4px 0;
  border-bottom: 1px dotted transparent;
  transition: border-color .15s;
}
.itineraries-actions .section-link:hover { border-bottom-color: rgba(15, 91, 69, 0.35); }

@media (max-width: 600px) {
  .itineraries-actions {
    align-items: stretch;
    width: 100%;
    margin-top: 12px;
  }
  .itineraries-actions .section-link {
    text-align: right;
  }
}

/* ════════════════════════════════════════════════════════════════════════
 * MOBILE: produtos em scroll horizontal (snap) — em vez de stack vertical
 * Não precisa ficar uma página gigante: 1 swipe revela o resto.
 * ════════════════════════════════════════════════════════════════════════ */
@media (max-width: 640px) {
  /* Container do section: encosta direito pra ver "peek" do próximo card */
  .featured-products-home {
    padding: 36px 0 36px 16px;
  }
  .featured-products-home .section-heading-row {
    padding-right: 16px;
  }

  /* Category pills: scroll horizontal com snap, sem wrap */
  .home-cat-filters {
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 2px 16px 4px 0;
    scroll-snap-type: x proximity;
    margin-bottom: 18px;
    gap: 6px;
  }
  .home-cat-filters::-webkit-scrollbar { display: none; }
  .home-cat-pill {
    flex-shrink: 0;
    scroll-snap-align: start;
  }

  /* Featured grid: vira carrossel horizontal com snap */
  .featured-grid {
    display: flex !important;
    grid-template-columns: none;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    scroll-snap-type: x mandatory;
    gap: 14px;
    padding-right: 16px;
    /* Margin negativo pro card chegar até a borda esquerda */
    margin-left: 0;
  }
  .featured-grid::-webkit-scrollbar { display: none; }
  /* JS renderiza com .product-card-featured + .product-card.
     Fallback genérico em > * pra cobrir qualquer classe usada. */
  .featured-grid > *,
  .featured-grid .product-card,
  .featured-grid .product-card-featured,
  .featured-grid .product-card-home {
    flex: 0 0 220px !important;
    width: 220px !important;
    min-width: 220px !important;
    max-width: 220px !important;
    scroll-snap-align: start;
  }
  /* Imagem do card menor pra não dominar */
  .featured-grid .product-card-img-home,
  .featured-grid .product-card-media {
    height: 180px;
  }

  /* Indicador visual sutil que tem scroll: shadow no direito */
  .featured-grid {
    background:
      linear-gradient(90deg, transparent calc(100% - 24px), rgba(0,0,0,0.05) 100%) no-repeat;
    background-size: 100% 100%;
    background-attachment: local;
  }
}

/* ════════════════════════════════════════════════════════════════════════
 * MOBILE: outras grids longas em scroll horizontal (mesmo pattern dos
 * produtos featured). Em desktop continuam grids — só no mobile viram
 * carrossel horizontal com snap.
 * ════════════════════════════════════════════════════════════════════════ */
@media (max-width: 640px) {

  /* Helper aplicado em várias grids */
  .itineraries-grid,
  .gastronomy-grid,
  #dishes-grid,
  #gastronomy-grid,
  .travel-tips-grid,
  .stores-grid,
  .testimonials-grid {
    display: flex !important;
    grid-template-columns: none !important;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    scroll-snap-type: x mandatory;
    gap: 14px;
    padding-right: 16px;
  }
  .itineraries-grid::-webkit-scrollbar,
  .gastronomy-grid::-webkit-scrollbar,
  #dishes-grid::-webkit-scrollbar,
  #gastronomy-grid::-webkit-scrollbar,
  .travel-tips-grid::-webkit-scrollbar,
  .stores-grid::-webkit-scrollbar,
  .testimonials-grid::-webkit-scrollbar { display: none; }

  /* Filhos: card com largura fixa e snap (com !important pra ganhar de width:100% interno) */
  .itineraries-grid > *,
  .itineraries-grid .itinerary-card,
  .gastronomy-grid > *,
  .gastronomy-grid .dish-card,
  #dishes-grid > *,
  #dishes-grid .dish-card,
  #gastronomy-grid > *,
  .travel-tips-grid > *,
  .travel-tips-grid .travel-tip-card,
  .stores-grid > *,
  .stores-grid .store-card,
  .testimonials-grid > * {
    flex: 0 0 240px !important;
    width: 240px !important;
    min-width: 240px !important;
    max-width: 240px !important;
    scroll-snap-align: start;
  }

  /* Sabores regionais e testimonials: cards um pouco menores */
  .gastronomy-grid > *,
  .gastronomy-grid .dish-card,
  #dishes-grid > *,
  #dishes-grid .dish-card,
  #gastronomy-grid > *,
  .testimonials-grid > * {
    flex: 0 0 220px !important;
    width: 220px !important;
    min-width: 220px !important;
    max-width: 220px !important;
  }

  /* Container das sections respira igual ao featured-products-home */
  .home-itineraries-section,
  .home-gastronomy-section,
  .home-tips-section,
  .home-stores-section,
  .home-testimonials-section,
  section.itineraries,
  section.gastronomy,
  section.tips,
  section.testimonials,
  section.stores-section {
    padding-right: 0;
  }
}
