/* =========================================================
   iFody — Páginas locais (bairro / cidade / hub)
   Mobile-first. Reusa tokens e primitivas de styles.css
   (.kicker, .title, .btn, .prods, .pcard, .cats-track).
   ========================================================= */

/* ---------- Hero ---------- */
.lp-hero { padding: 26px 0 30px; background: radial-gradient(120% 90% at 50% 0%, rgba(139, 60, 255, .16) 0%, transparent 60%), var(--bg); }
.lp-hero .container { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }

.lp-hero__badges { display: flex; flex-wrap: wrap; gap: 8px; }
.lp-badge {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 6px 12px; border-radius: 999px;
  font-size: 12px; font-weight: 600;
  background: var(--surface); border: 1px solid var(--line); color: var(--text-2);
}
.lp-badge__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--text-3); }
.lp-badge--open { color: #6EE7B7; border-color: rgba(52, 211, 153, .35); background: rgba(52, 211, 153, .08); }
.lp-badge--open .lp-badge__dot { background: #34D399; box-shadow: 0 0 0 3px rgba(52, 211, 153, .18); }
.lp-badge--closed { color: var(--text-2); }
.lp-badge--gold { color: var(--gold); border-color: rgba(var(--gold-rgb), .3); background: rgba(var(--gold-rgb), .08); }

.lp-hero__title { font-size: 24px; line-height: 1.2; font-weight: 800; letter-spacing: -.01em; max-width: 720px; }
.lp-hero__lead { font-size: 15px; line-height: 1.55; color: var(--text-2); max-width: 640px; }

.lp-hero__stats { display: flex; flex-wrap: wrap; gap: 8px; }
.lp-stat {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 12px; border-radius: var(--r-sm);
  font-size: 12.5px; font-weight: 600;
  background: var(--surface); border: 1px solid var(--line); color: var(--text-2);
}
.lp-stat--hot {
  background: rgba(var(--pink-rgb), .1);
  border-color: rgba(var(--pink-rgb), .3);
  color: var(--pink-light);
}

.lp-hero__ctas { display: flex; flex-wrap: wrap; gap: 10px; width: 100%; }
.lp-hero__ctas .btn { flex: 1 1 auto; justify-content: center; }
.lp-hero__ctas .btn svg { flex-shrink: 0; }

.lp-trust { display: flex; flex-wrap: wrap; gap: 6px 18px; list-style: none; }
.lp-trust li {
  position: relative; padding-left: 20px;
  font-size: 12.5px; color: var(--text-3);
}
.lp-trust li::before {
  content: ""; position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  width: 14px; height: 14px; border-radius: 50%;
  background: rgba(52, 211, 153, .14);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2334D399' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 13 4 4L19 7'/%3E%3C/svg%3E");
  background-size: 9px; background-position: center; background-repeat: no-repeat;
}

/* ---------- Cards de entrega (geo) ---------- */
.lp-delivery { padding: 26px 0; }
.lp-cards { display: grid; grid-template-columns: 1fr; gap: 12px; }
.lp-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 18px;
}
.lp-card h3 { font-size: 15px; font-weight: 700; margin: 10px 0 6px; }
.lp-card p { font-size: 13.5px; line-height: 1.55; color: var(--text-2); }
.lp-card__ico {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 12px;
}
.lp-card__ico--pink   { background: rgba(var(--pink-rgb), .12);   color: var(--pink-light); }
.lp-card__ico--violet { background: rgba(var(--violet-rgb), .14); color: #C9A6FF; }
.lp-card__ico--blue   { background: rgba(var(--blue-rgb), .12);   color: var(--blue); }
.lp-card__ico--gold   { background: rgba(var(--gold-rgb), .14);   color: var(--gold); }
.lp-card__link { display: inline-block; margin-top: 6px; color: var(--pink-light); font-weight: 600; text-decoration: none; }
.lp-card__link:hover { text-decoration: underline; }
.lp-card__status { font-weight: 700; }
.lp-card__status.is-open { color: #34D399; }
.lp-card__status.is-closed { color: #F87171; }
.lp-card__addr { display: block; margin-top: 6px; color: var(--text-3); font-size: 12.5px; }
.lp-card--wide { text-align: center; }
.lp-card--wide h2 { font-size: 18px; font-weight: 700; margin: 12px 0 6px; }
.lp-card--wide p { max-width: 560px; margin: 0 auto; }

/* ---------- Vitrines / categorias ---------- */
.lp-prods { padding: 8px 0 24px; }
.lp-cats { padding: 8px 0 24px; }
.lp-cats__track { overflow-x: auto; scroll-snap-type: x proximity; -webkit-overflow-scrolling: touch; }

/* ---------- Lista de links locais (vizinhos / cidades) ---------- */
.lp-links { padding: 22px 0; }
.lp-links__grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; list-style: none;
}
.lp-chip {
  display: flex; align-items: center; gap: 8px;
  padding: 11px 12px; border-radius: var(--r);
  background: var(--surface); border: 1px solid var(--line);
  color: var(--text-2); font-size: 13px; font-weight: 600;
  text-decoration: none;
  transition: border-color .18s var(--ease), color .18s var(--ease), transform .18s var(--ease);
}
.lp-chip:hover { color: var(--text); border-color: rgba(var(--pink-rgb), .4); transform: translateY(-1px); }
.lp-chip__pin { flex-shrink: 0; display: inline-flex; color: var(--pink); opacity: .8; }
.lp-chip__name { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lp-chip__eta { margin-left: auto; flex-shrink: 0; font-size: 11px; font-weight: 600; color: var(--text-3); }
.lp-chip--city { border-color: rgba(var(--violet-rgb), .35); }
.lp-links__note { margin-top: 14px; font-size: 13.5px; }
.lp-links__note a { color: var(--pink-light); font-weight: 600; text-decoration: none; }
.lp-links__note a:hover { text-decoration: underline; }

/* ---------- Texto herdado ---------- */
.lp-prose { padding: 22px 0; }
.lp-prose__body { max-width: 720px; font-size: 14.5px; line-height: 1.7; color: var(--text-2); }
.lp-prose__body h2, .lp-prose__body h3 { color: var(--text); margin: 22px 0 10px; line-height: 1.3; }
.lp-prose__body h2 { font-size: 19px; }
.lp-prose__body h3 { font-size: 16px; }
.lp-prose__body p { margin: 0 0 12px; }
.lp-prose__body ul, .lp-prose__body ol { margin: 0 0 12px 20px; }
.lp-prose__body a { color: var(--pink-light); text-decoration: none; }
.lp-prose__body a:hover { text-decoration: underline; }
.lp-prose__body img { max-width: 100%; height: auto; border-radius: var(--r); }

/* ---------- FAQ ---------- */
.lp-faq { padding: 22px 0; }
.lp-faq__list { display: flex; flex-direction: column; gap: 10px; max-width: 720px; }
.lp-faq__item {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r);
  padding: 0 16px;
}
.lp-faq__item summary {
  cursor: pointer; list-style: none;
  padding: 15px 26px 15px 0; position: relative;
  font-size: 14px; font-weight: 600;
}
.lp-faq__item summary::-webkit-details-marker { display: none; }
.lp-faq__item summary::after {
  content: ""; position: absolute; right: 2px; top: 50%;
  width: 9px; height: 9px; border-right: 2px solid var(--text-3); border-bottom: 2px solid var(--text-3);
  transform: translateY(-70%) rotate(45deg); transition: transform .2s var(--ease);
}
.lp-faq__item[open] summary::after { transform: translateY(-30%) rotate(225deg); }
.lp-faq__answer { padding: 0 0 15px; font-size: 13.5px; line-height: 1.6; color: var(--text-2); }
.lp-faq__answer a { color: var(--pink-light); }

/* ---------- Loja física (cidade) ---------- */
.lp-store { padding: 22px 0; }
.lp-store__card {
  background: linear-gradient(135deg, rgba(var(--gold-rgb), .07), var(--surface) 55%);
  border: 1px solid rgba(var(--gold-rgb), .22); border-radius: var(--r-lg);
  padding: 22px 18px;
}
.lp-store__addr { margin: 12px 0 6px; font-size: 14.5px; line-height: 1.5; color: var(--text-2); }
.lp-store__meta { margin: 0 0 16px; font-size: 13px; color: var(--text-3); line-height: 1.6; }

/* ---------- CTA final ---------- */
.lp-cta { padding: 26px 0 34px; }
.lp-cta__card {
  background: var(--grad-primary); border-radius: var(--r-xl);
  padding: 28px 20px; text-align: center;
  box-shadow: 0 18px 40px -18px rgba(var(--pink-rgb), .55);
}
.lp-cta__title { font-size: 20px; line-height: 1.25; font-weight: 800; color: #fff; max-width: 620px; margin: 0 auto; }
.lp-cta__sub { margin: 10px auto 18px; font-size: 14px; line-height: 1.55; color: rgba(255, 255, 255, .85); max-width: 520px; }
.lp-cta__actions { display: flex; flex-direction: column; gap: 10px; align-items: stretch; max-width: 420px; margin: 0 auto; }
.lp-cta__actions .btn { justify-content: center; }
.lp-cta__ghost { border-color: rgba(255, 255, 255, .45); color: #fff; }
.lp-cta__ghost:hover { border-color: #fff; }

/* ---------- Hub ---------- */
.lp-hero--hub { padding-bottom: 24px; }
.lp-hub__search {
  display: flex; align-items: center; gap: 10px; width: 100%; max-width: 460px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 999px;
  padding: 4px 4px 4px 16px; color: var(--text-3);
}
.lp-hub__search input {
  flex: 1; min-width: 0; background: transparent; border: 0; outline: 0;
  color: var(--text); font: 600 14px/1.2 var(--font);
  padding: 11px 12px 11px 0;
}
.lp-hub__search input::placeholder { color: var(--text-3); font-weight: 500; }
.lp-hub__search:focus-within { border-color: rgba(var(--pink-rgb), .45); }

.lp-hub__cities { padding-top: 4px; }
.lp-hub__list { padding: 10px 0 24px; }
.lp-hub__city-block { margin-bottom: 26px; }
.lp-hub__city-title { font-size: 20px; margin-bottom: 4px; }
.lp-hub__region { margin-top: 14px; }
.lp-hub__region-title {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em;
  color: var(--text-3); margin-bottom: 10px;
}
.lp-hub__count {
  font-size: 11px; font-weight: 700; color: var(--text-2);
  background: var(--surface-2); border-radius: 999px; padding: 2px 8px;
}
.lp-hub__grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 4px 12px; list-style: none;
}
.lp-hub__grid a {
  display: block; padding: 7px 8px; border-radius: 8px;
  font-size: 13.5px; color: var(--text-2); text-decoration: none;
}
.lp-hub__grid a:hover { color: var(--text); background: var(--surface); }
.lp-hub__empty { padding: 18px 0; font-size: 14.5px; color: var(--text-2); }
.lp-hub__nacional { padding: 4px 0 22px; }

/* ---------- Desktop ---------- */
@media (min-width: 720px) {
  .lp-hero { padding: 42px 0 46px; }
  .lp-hero__title { font-size: 34px; }
  .lp-hero__lead { font-size: 16px; }
  .lp-hero__ctas { width: auto; }
  .lp-hero__ctas .btn { flex: 0 0 auto; }

  .lp-cards { grid-template-columns: repeat(2, 1fr); }
  .lp-links__grid { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .lp-hub__grid { grid-template-columns: repeat(3, 1fr); }

  .lp-cta__card { padding: 40px 32px; }
  .lp-cta__title { font-size: 26px; }
  .lp-cta__actions { flex-direction: row; justify-content: center; max-width: none; }

  .lp-store__card { display: flex; align-items: center; padding: 30px 28px; }
  .lp-store__info { max-width: 560px; }
}

@media (min-width: 1024px) {
  .lp-cards { grid-template-columns: repeat(4, 1fr); }
  .lp-links__grid { grid-template-columns: repeat(4, 1fr); }
  .lp-hub__grid { grid-template-columns: repeat(4, 1fr); }
}
