/* Lay3 — Landing premium (fiel ao mockup) */
:root {
  --l3-emerald: #10b981;
  --l3-emerald-deep: #059669;
  --l3-ink: #111827;
  --l3-ink-soft: #1f2937;
  --l3-muted: #6b7280;
  --l3-line: #e5e7eb;
  --l3-bg: #f3f4f6;
  --l3-surface: #ffffff;
  --l3-header: #0f1419;
  --l3-ok: #059669;
  --l3-max: 1680px;
  --l3-font: "Manrope", system-ui, sans-serif;
  --l3-radius: 18px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html, body { margin: 0; min-height: 100%; }

.hub-body {
  font-family: var(--l3-font);
  color: var(--l3-ink);
  background: var(--l3-bg);
}

.l3-page {
  max-width: var(--l3-max);
  margin: 0 auto;
  padding: 1rem 1.15rem 3.5rem;
  width: 100%;
}

@media (min-width: 960px) {
  .l3-page { padding: 1.25rem 1.75rem 4rem; }
}

@media (min-width: 1280px) {
  .l3-page { padding: 1.35rem 2rem 4.5rem; }
}

@media (min-width: 1600px) {
  .l3-page { padding: 1.5rem 2.25rem 5rem; }
}

/* —— Header glossy escuro —— */
.l3-header {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
  align-items: center;
  padding: 0.75rem 0.9rem;
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent 42%),
    linear-gradient(135deg, #151b22 0%, #0f1419 55%, #121820 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow:
    0 18px 40px rgba(15, 20, 25, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  color: #fff;
}

@media (min-width: 960px) {
  .l3-header {
    grid-template-columns: auto auto minmax(240px, 1fr) auto;
    gap: 1rem;
    padding: 0.85rem 1rem;
  }
}

.l3-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: #fff;
}

.l3-logo img {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  box-shadow: 0 6px 16px rgba(16, 185, 129, 0.35);
}

.l3-logo span {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.l3-loc {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0;
  padding: 0.45rem 0.7rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #e5e7eb;
  font-size: 0.88rem;
  font-weight: 650;
  white-space: nowrap;
}

.l3-loc-pin {
  color: var(--l3-emerald);
  font-size: 0.95rem;
}

.l3-loc-chevron {
  opacity: 0.55;
  font-size: 0.7rem;
  margin-left: 0.1rem;
}

.l3-loc-picker {
  position: relative;
  display: inline-block;
}
.l3-loc-picker > summary {
  list-style: none;
  cursor: pointer;
  user-select: none;
}
.l3-loc-picker > summary::-webkit-details-marker { display: none; }
.l3-loc-picker[open] > summary {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(31, 169, 113, 0.45);
}
.l3-loc-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  z-index: 40;
  min-width: 220px;
  max-height: 280px;
  overflow: auto;
  padding: 0.4rem;
  border-radius: 14px;
  background: #141916;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.35);
  display: grid;
  gap: 0.2rem;
}
.l3-loc-option {
  display: block;
  padding: 0.65rem 0.75rem;
  border-radius: 10px;
  color: #e5e7eb;
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 650;
}
.l3-loc-option:hover {
  background: rgba(255, 255, 255, 0.08);
}
.l3-loc-option.is-on {
  background: rgba(31, 169, 113, 0.18);
  color: #7debb5;
}

.l3-search {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  width: 100%;
  min-height: 46px;
  padding: 0.55rem 0.9rem;
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.08);
  margin: 0;
}

.l3-search input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: none;
  background: transparent;
  color: #fff;
  font: inherit;
  font-size: 0.95rem;
  font-weight: 560;
}

.l3-search input::placeholder { color: #9ca3af; }

.l3-search-ico {
  color: #9ca3af;
  font-size: 1.05rem;
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
  line-height: 1;
}

.l3-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.75rem 1rem;
  border-radius: 14px;
  background: linear-gradient(180deg, #34d399, var(--l3-emerald));
  color: #052e1f;
  font-size: 0.82rem;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 10px 22px rgba(16, 185, 129, 0.35);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.l3-cta:hover,
.l3-cta:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(16, 185, 129, 0.42);
  outline: none;
}

/* —— Hero —— */
.l3-hero {
  display: grid;
  gap: 1.5rem;
  margin-top: 1.5rem;
  align-items: center;
}

@media (min-width: 960px) {
  .l3-hero {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 2.5rem;
    margin-top: 2rem;
    min-height: 420px;
  }
}

@media (min-width: 1280px) {
  .l3-hero {
    gap: 3.25rem;
    min-height: 480px;
    margin-top: 2.25rem;
  }

  .l3-hero h1 {
    max-width: 16ch;
  }

  .l3-hero-visual {
    min-height: 420px;
  }
}

.l3-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  background: rgba(16, 185, 129, 0.12);
  color: var(--l3-emerald-deep);
  font-size: 0.78rem;
  font-weight: 750;
  border: 1px solid rgba(16, 185, 129, 0.2);
}

.l3-hero h1 {
  margin: 0.9rem 0 0;
  max-width: 14ch;
  font-size: clamp(2.1rem, 4.4vw, 3.15rem);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1.08;
  color: var(--l3-ink);
}

.l3-hero h1 em {
  font-style: normal;
  color: var(--l3-emerald);
}

.l3-hero-lead {
  margin: 0.95rem 0 0;
  max-width: 34rem;
  color: var(--l3-muted);
  font-size: 1.05rem;
  font-weight: 560;
  line-height: 1.5;
}

/* —— Capa = arte da referência (fiel) + header HTML real —— */
.hub-body--lay3:has(.l3-capa-shell--exact) {
  background: #f7f8fa;
  margin: 0;
  padding: 0;
}

.l3-capa-shell--exact {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: #f7f8fa;
}

.l3-capa-exact {
  position: relative;
  flex: 1;
  width: 100%;
  margin: 0;
  overflow: hidden;
  background: #f7f8fa;
}

.l3-capa-exact-img {
  display: block;
  width: 100%;
  height: auto;
  max-height: calc(100vh - 88px);
  object-fit: cover;
  object-position: left top;
}

.l3-capa-hotspot {
  position: absolute;
  display: block;
  border: 0;
  background: transparent;
  cursor: pointer;
  z-index: 2;
}

/* Botão verde "Ver lojas perto de você" na arte */
.l3-capa-hotspot--cta {
  left: 3.8%;
  top: 72%;
  width: 28%;
  height: 9.5%;
  border-radius: 999px;
}

.l3-capa-hotspot--cta:focus-visible {
  outline: 2px solid #10b981;
  outline-offset: 3px;
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 959px) {
  .l3-capa-exact-img {
    max-height: none;
    object-fit: contain;
  }

  .l3-capa-hotspot--cta {
    left: 4%;
    top: 78%;
    width: 70%;
    height: 7%;
  }
}

/* —— Capa HTML real — proporções fiéis ao mockup —— */
.hub-body--lay3:has(.l3-capa-shell),
.hub-body--lay3:has(.l3-explore-shell) {
  background: #f4f6f8;
  margin: 0;
  padding: 0;
}

.l3-capa-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(820px 460px at 72% 55%, rgba(16, 185, 129, 0.08), transparent 62%),
    #f7f8fa;
}

/* Explorar: mesmo header full-bleed da capa */
.l3-explore-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: #f4f6f8;
}

.l3-explore-shell .l3-page {
  flex: 1;
  width: 100%;
}

.l3-capa-shell .l3-header--capa,
.l3-explore-shell .l3-header--capa {
  width: 100%;
  max-width: none;
  margin: 0;
  border-radius: 0;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  padding: 0.85rem clamp(1.5rem, 4vw, 3.5rem);
  gap: 0.85rem;
  /* fundo quase preto + grain bem sutil da foto */
  background-color: #080c10;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.35 0'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)'/%3E%3C/svg%3E"),
    radial-gradient(640px 180px at 10% 50%, rgba(0, 192, 124, 0.07), transparent 65%);
  background-blend-mode: overlay, normal;
  box-shadow: none;
}

@media (min-width: 960px) {
  .l3-capa-shell .l3-header--capa,
  .l3-explore-shell .l3-header--capa {
    grid-template-columns: auto auto minmax(280px, 1fr) auto;
    padding: 1.1rem clamp(2rem, 5vw, 4.5rem);
    gap: 1rem;
    align-items: center;
  }
}

.l3-page--capa {
  position: relative;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: visible;
  background: transparent;
  border-radius: 0;
  min-height: 0;
}

.l3-page--capa::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1400' height='900' fill='none'%3E%3Cpath d='M-40 560C220 430 400 620 640 510S1040 280 1460 390' stroke='%2310b981' stroke-opacity='.1' stroke-width='1.2'/%3E%3Cpath d='M-20 640C260 500 480 700 740 580S1120 320 1500 440' stroke='%2394a3b8' stroke-opacity='.16' stroke-width='1'/%3E%3Cpath d='M60 160C300 95 480 210 740 140S1140 45 1420 110' stroke='%2394a3b8' stroke-opacity='.12' stroke-width='1'/%3E%3C/svg%3E") center bottom / cover no-repeat;
  z-index: 0;
}

.l3-page--capa > * {
  position: relative;
  z-index: 1;
}

.l3-ico {
  width: 1.15em;
  height: 1.15em;
  display: block;
  flex-shrink: 0;
}

.l3-ico--sm {
  width: 0.9em;
  height: 0.9em;
}

.l3-capa-shell .l3-logo,
.l3-explore-shell .l3-logo {
  gap: 0.55rem;
}

.l3-capa-shell .l3-logo img,
.l3-explore-shell .l3-logo img {
  width: 42px;
  height: 42px;
  border-radius: 0;
  box-shadow: none;
  object-fit: contain;
}

.l3-capa-shell .l3-logo span,
.l3-explore-shell .l3-logo span {
  font-size: 1.38rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: #fff;
  line-height: 1;
}

.l3-capa-shell .l3-logo em,
.l3-explore-shell .l3-logo em,
.l3-capa-shell .l3-logo .l3-go,
.l3-explore-shell .l3-logo .l3-go {
  font-style: normal;
  color: #00c07c;
}

.l3-capa-shell .l3-loc,
.l3-explore-shell .l3-loc {
  min-height: 44px;
  padding: 0.5rem 0.9rem;
  font-size: 0.93rem;
  font-weight: 600;
  color: #fff;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  gap: 0.45rem;
}

.l3-capa-shell .l3-loc .l3-ico,
.l3-explore-shell .l3-loc .l3-ico {
  width: 1.05em;
  height: 1.05em;
  color: #00c07c;
}

.l3-capa-shell .l3-loc-chevron,
.l3-explore-shell .l3-loc-chevron {
  opacity: 0.9;
  color: #fff;
  font-size: 0.65rem;
  margin-left: 0.15rem;
}

.l3-capa-shell .l3-search,
.l3-explore-shell .l3-search {
  min-height: 44px;
  border-radius: 10px;
  padding: 0.45rem 0.95rem;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.l3-capa-shell .l3-search input,
.l3-explore-shell .l3-search input {
  font-size: 0.93rem;
  font-weight: 500;
  color: #fff;
}

.l3-capa-shell .l3-search input::placeholder,
.l3-explore-shell .l3-search input::placeholder {
  color: #9aa3ad;
}

.l3-capa-shell .l3-search-ico,
.l3-explore-shell .l3-search-ico {
  display: grid;
  place-items: center;
  color: #fff;
}

.l3-capa-shell .l3-search-ico .l3-ico,
.l3-explore-shell .l3-search-ico .l3-ico {
  width: 1.15rem;
  height: 1.15rem;
}

.l3-capa-shell .l3-cta,
.l3-explore-shell .l3-cta {
  gap: 0.5rem;
  min-height: 44px;
  padding: 0.55rem 1.05rem;
  border-radius: 10px;
  font-size: 0.86rem;
  font-weight: 700;
  color: #052e1f;
  background: linear-gradient(180deg, #2ee6a0 0%, #00c07c 48%, #00a86a 100%);
  box-shadow: 0 6px 16px rgba(0, 192, 124, 0.25);
}

.l3-capa-shell .l3-cta .l3-ico,
.l3-explore-shell .l3-cta .l3-ico {
  width: 1.1em;
  height: 1.1em;
  color: #052e1f;
}

.l3-page--capa .l3-hero--capa {
  flex: 1;
  align-items: center;
  width: 100%;
  margin: 0 !important;
  margin-top: 0 !important;
  min-height: 0 !important;
  padding:
    clamp(2.25rem, 4.5vh, 3.5rem)
    0
    clamp(1.25rem, 2.5vh, 2.25rem)
    clamp(2rem, 5vw, 4.5rem);
  gap: 0.75rem !important;
  overflow: hidden;
}

@media (min-width: 960px) {
  .l3-page--capa .l3-hero--capa {
    /* coluna do texto larga o bastante pro H1 inteiro */
    grid-template-columns: minmax(480px, 0.98fr) minmax(460px, 1.02fr) !important;
    gap: 0.75rem !important;
    align-items: center;
    padding-right: 0;
  }
}

@media (min-width: 1280px) {
  .l3-page--capa .l3-hero--capa {
    grid-template-columns: minmax(520px, 0.95fr) minmax(520px, 1.05fr) !important;
    gap: 1rem !important;
  }
}

.l3-page--capa .l3-hero-copy {
  position: relative;
  z-index: 5;
  max-width: 34rem;
  width: 100%;
  padding: 0;
  padding-right: 0.5rem;
  isolation: isolate;
  background: transparent;
  overflow: visible;
}

.l3-page--capa .l3-badge {
  display: inline-flex !important;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.9rem !important;
  border-radius: 999px;
  font-size: 0.84rem !important;
  font-weight: 600 !important;
  letter-spacing: 0;
  line-height: 1.25;
  background: #e8faf1 !important;
  border: 1px solid rgba(5, 150, 105, 0.35) !important;
  color: #047857 !important;
  box-shadow: none !important;
  width: auto !important;
  height: auto !important;
}

.l3-page--capa .l3-badge-spark {
  display: grid !important;
  place-items: center;
  width: 0.9rem !important;
  height: 0.9rem !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: #059669 !important;
  line-height: 1;
  flex-shrink: 0;
}

.l3-page--capa .l3-badge-spark svg {
  width: 100%;
  height: 100%;
  display: block;
}

.l3-page--capa .l3-hero h1 {
  margin: 1.35rem 0 0;
  width: 100%;
  max-width: 100%;
  font-size: clamp(2.4rem, 4.6vw, 3.85rem);
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 1.05;
  color: #111827;
}

.l3-page--capa .l3-hero h1 .l3-h1-line {
  display: block;
  white-space: nowrap;
}

.l3-page--capa .l3-hero h1 em {
  color: #00a868;
  font-style: normal;
}

.l3-page--capa .l3-hero-lead {
  margin: 1.2rem 0 0;
  max-width: 34rem;
  font-size: clamp(1.02rem, 1.4vw, 1.15rem);
  font-weight: 500;
  line-height: 1.5;
  color: #6b7280;
}

.l3-page--capa .l3-perks {
  margin: 1.55rem 0 0;
  gap: 0;
  list-style: none;
  padding: 0;
}

.l3-page--capa .l3-perks--capa {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  width: max-content;
  max-width: 100%;
  gap: 0;
}

.l3-page--capa .l3-perks--capa li {
  position: relative;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.7rem;
  padding: 0 1.2rem 0 0;
  min-width: 0;
  flex-shrink: 0;
}

@media (min-width: 720px) {
  .l3-page--capa .l3-perks--capa li + li {
    padding-left: 1.2rem;
  }

  .l3-page--capa .l3-perks--capa li + li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 18%;
    bottom: 18%;
    width: 1px;
    background: #d1d5db;
  }
}

.l3-page--capa .l3-perk-ico {
  width: 48px !important;
  height: 48px !important;
  border-radius: 999px !important;
  background: #ffffff !important;
  border: 0 !important;
  color: #059669 !important;
  box-shadow:
    0 1px 2px rgba(15, 23, 42, 0.05),
    0 10px 18px rgba(15, 23, 42, 0.08) !important;
  display: grid !important;
  place-items: center;
  flex-shrink: 0;
}

.l3-page--capa .l3-perk-ico svg {
  width: 30px !important;
  height: 30px !important;
  display: block;
}

.l3-page--capa .l3-perks strong {
  display: block;
  font-size: 0.92rem;
  font-weight: 800;
  color: #111827;
  letter-spacing: -0.02em;
  line-height: 1.2;
  white-space: nowrap;
}

.l3-page--capa .l3-perks span {
  display: block;
  margin-top: 0.1rem;
  font-size: 0.8rem;
  color: #9ca3af;
  font-weight: 500;
  line-height: 1.25;
  white-space: nowrap;
}

.l3-page--capa .l3-hero-btn {
  margin-top: 1.65rem;
  min-width: min(100%, 380px);
  max-width: 400px;
  padding: 1.05rem 1.3rem;
  border-radius: 999px;
  font-size: 1.02rem;
  font-weight: 700;
  color: #fff !important;
  background: linear-gradient(90deg, #047857 0%, #10b981 50%, #34d399 100%) !important;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.16) inset,
    0 14px 32px rgba(16, 185, 129, 0.38);
}

.l3-page--capa .l3-hero-btn .l3-ico {
  width: 1.35rem;
  height: 1.35rem;
}

.l3-page--capa .l3-hero-visual {
  position: relative;
  z-index: 1;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  min-height: 0 !important;
  overflow: visible;
  display: grid;
  place-items: center end;
  width: 100%;
  margin: 0;
  align-self: center;
  pointer-events: none;
}

.l3-page--capa .l3-hero-visual img {
  width: 108%;
  max-width: none;
  max-height: min(760px, 80vh);
  height: auto;
  margin-left: 0;
  margin-right: -4%;
  object-fit: contain;
  object-position: center right;
  filter: none;
  image-rendering: auto;
  -webkit-mask-image: none;
  mask-image: none;
  animation: none;
}

@media (max-width: 959px) {
  .l3-page--capa {
    width: 100%;
    margin: 0;
    padding: 0;
  }

  .l3-page--capa .l3-hero--capa {
    padding: 1.1rem 1rem 1.5rem;
  }

  .l3-page--capa .l3-hero-copy {
    max-width: none;
    padding: 0;
  }

  .l3-page--capa .l3-hero h1 {
    font-size: clamp(1.9rem, 7vw, 2.5rem);
  }

  .l3-page--capa .l3-hero h1 .l3-h1-line {
    white-space: nowrap;
  }

  .l3-page--capa .l3-hero-visual {
    margin: 0;
    order: -1;
    place-items: center;
  }

  .l3-page--capa .l3-hero-visual img {
    width: 92%;
    max-width: 420px;
    max-height: 300px;
  }
}

.l3-perks {
  list-style: none;
  margin: 1.25rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.7rem;
}

.l3-perks--row {
  grid-template-columns: 1fr;
}

@media (min-width: 720px) {
  .l3-perks--row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.85rem;
  }
}

.l3-perks li {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 0.7rem;
  align-items: center;
}

.l3-perk-ico {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(16, 185, 129, 0.12);
  color: var(--l3-emerald-deep);
  font-size: 1rem;
}

.l3-perks strong {
  display: block;
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--l3-ink);
}

.l3-perks span {
  display: block;
  margin-top: 0.1rem;
  font-size: 0.82rem;
  color: var(--l3-muted);
  font-weight: 560;
}

.l3-hero-btn {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
  margin-top: 1.4rem;
  min-width: min(100%, 320px);
  padding: 0.95rem 1.15rem;
  border-radius: 16px;
  background: linear-gradient(180deg, #34d399, var(--l3-emerald));
  color: #052e1f;
  font-size: 1rem;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 16px 34px rgba(16, 185, 129, 0.35);
  transition: transform 0.18s ease;
}

.l3-hero-btn:hover,
.l3-hero-btn:focus-visible {
  transform: translateY(-2px);
  outline: none;
}

.l3-hero-btn-left {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}

.l3-hero-visual {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  background: transparent;
  border: 0;
  box-shadow: none;
  min-height: 280px;
  display: grid;
  place-items: center;
}

.l3-hero-visual img {
  display: block;
  width: 100%;
  height: auto;
  max-height: min(560px, 70vh);
  object-fit: contain;
  object-position: center right;
}

/* —— Categorias —— */
.l3-cats-wrap {
  margin-top: 1rem;
  padding: 0.5rem 0.55rem;
  border-radius: 18px;
  background: var(--l3-surface);
  border: 1px solid rgba(17, 24, 39, 0.06);
  box-shadow: 0 10px 24px rgba(17, 24, 39, 0.04);
}

.l3-cats-row {
  display: flex;
  align-items: stretch;
  gap: 0.45rem;
  min-width: 0;
}

.l3-cats {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.5rem;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 0.15rem 0.1rem 0.4rem;
  min-width: 0;
  flex: 1 1 auto;
  width: 100%;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: #cbd5e1 transparent;
}

.l3-cats-actions {
  display: flex;
  justify-content: flex-start;
  padding: 0.25rem 0.15rem 0.15rem;
  border-top: 1px solid rgba(15, 23, 42, 0.06);
  margin-top: 0.25rem;
}

.l3-cat-clear {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  margin: 0;
  padding: 0.45rem 0.75rem;
  border: 1px solid rgba(185, 28, 28, 0.22);
  border-radius: 999px;
  background: #fef2f2;
  color: #b91c1c;
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 700;
  white-space: nowrap;
  box-shadow: none;
}

.l3-cat-clear span {
  font-size: 1.05rem;
  line-height: 1;
  font-weight: 700;
}

.l3-cat-clear:hover,
.l3-cat-clear:focus-visible {
  color: #991b1b;
  background: #fee2e2;
  border-color: rgba(185, 28, 28, 0.35);
  outline: none;
}

.l3-cat-clear-inline {
  color: #059669;
  font-weight: 700;
  text-decoration: none;
}

.l3-cat-clear-inline:hover,
.l3-cat-clear-inline:focus-visible {
  text-decoration: underline;
  outline: none;
}

.l3-cats::-webkit-scrollbar {
  height: 5px;
}

.l3-cats::-webkit-scrollbar-track {
  background: transparent;
}

.l3-cats::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 999px;
}

.l3-cat {
  flex: 0 0 auto;
  width: 84px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.32rem;
  padding: 0.48rem 0.32rem 0.42rem;
  border-radius: 13px;
  text-decoration: none;
  color: var(--l3-ink);
  border: 1px solid transparent;
  background: #f9fafb;
  scroll-snap-align: start;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.l3-cat:hover,
.l3-cat:focus-visible {
  transform: translateY(-1px);
  outline: none;
}

.l3-cat.is-active {
  background: #fff;
  border-color: rgba(16, 185, 129, 0.55);
  box-shadow:
    0 0 0 2px rgba(16, 185, 129, 0.1),
    0 6px 14px rgba(16, 185, 129, 0.1);
}

.l3-cat-ico {
  width: 42px;
  height: 42px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  font-size: 1.25rem;
  background: #fff;
  border: 1px solid var(--l3-line);
  flex-shrink: 0;
}

.l3-cat-ico img {
  width: 70%;
  height: 70%;
  object-fit: contain;
}

.l3-cat.is-active .l3-cat-ico {
  background: rgba(16, 185, 129, 0.1);
  border-color: rgba(16, 185, 129, 0.25);
}

.l3-cat-name {
  font-size: 0.74rem;
  font-weight: 700;
  text-align: center;
  line-height: 1.15;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@media (min-width: 900px) {
  .l3-cats {
    gap: 0.55rem;
  }

  .l3-cat {
    width: 88px;
    padding: 0.5rem 0.35rem 0.45rem;
  }

  .l3-cat-ico {
    width: 44px;
    height: 44px;
    font-size: 1.3rem;
  }

  .l3-cat-name {
    font-size: 0.76rem;
  }
}

/* —— Lojas —— */
.l3-stores-head {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 0.75rem 1rem;
  margin: 1.35rem 0 1rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.l3-stores-title {
  min-width: 0;
}

.l3-stores-head h2 {
  margin: 0;
  font-family: Manrope, system-ui, sans-serif;
  font-size: clamp(1.15rem, 2.2vw, 1.45rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: #0f172a;
  text-align: left;
}

.l3-stores-sub {
  margin: 0.28rem 0 0;
  font-size: 0.86rem;
  font-weight: 550;
  letter-spacing: 0.01em;
  color: #64748b;
}

.l3-stores-all {
  display: none;
}

.l3-fav-filter {
  justify-self: end;
  align-self: center;
  margin: 0;
  padding: 0.35rem 0.65rem;
  border: 1px solid transparent;
  border-radius: 999px;
  background: transparent;
  color: #64748b;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 650;
  cursor: pointer;
}

.l3-fav-filter:hover {
  color: #ef4444;
}

.l3-fav-filter.is-on {
  color: #ef4444;
  border-color: rgba(239, 68, 68, 0.25);
  background: rgba(239, 68, 68, 0.06);
}

@media (max-width: 520px) {
  .l3-stores-head {
    gap: 0.5rem;
  }

  .l3-stores-head h2 {
    font-size: 1.1rem;
  }

  .l3-stores-sub {
    font-size: 0.8rem;
  }

  .l3-fav-filter {
    padding: 0.3rem 0.55rem;
    font-size: 0.78rem;
  }
}

.l3-stores {
  display: grid;
  gap: 0.9rem;
}

@media (min-width: 720px) {
  .l3-stores { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 1100px) {
  .l3-stores {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.1rem;
  }
}

@media (min-width: 1400px) {
  .l3-stores { gap: 1.25rem; }
}

.l3-store {
  position: relative;
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 0.95rem;
  align-items: center;
  min-height: 140px;
  padding: 1.1rem 1.05rem 1.05rem;
  text-decoration: none;
  color: inherit;
  background:
    linear-gradient(180deg, #ffffff 0%, #fbfcfd 100%);
  border: 1px solid rgba(17, 24, 39, 0.07);
  border-radius: 22px;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.8) inset,
    0 12px 28px rgba(17, 24, 39, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  overflow: hidden;
}

.l3-store::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, #34d399, #059669);
  opacity: 0;
  transition: opacity 0.2s ease;
}

.l3-store:hover,
.l3-store:focus-visible {
  transform: translateY(-3px);
  border-color: rgba(16, 185, 129, 0.28);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.9) inset,
    0 18px 36px rgba(17, 24, 39, 0.1);
  outline: none;
}

.l3-store:hover::before,
.l3-store:focus-visible::before {
  opacity: 1;
}

.l3-store[hidden] { display: none !important; }

.l3-fav {
  position: absolute;
  top: 0.7rem;
  right: 0.7rem;
  z-index: 2;
  width: 36px;
  height: 36px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(243, 244, 246, 0.95);
  color: #9ca3af;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(17, 24, 39, 0.06);
  transition: color 0.15s ease, background 0.15s ease, transform 0.15s ease;
}

.l3-fav-ico {
  display: block;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.l3-fav:hover {
  color: #ef4444;
  background: #fff;
  transform: scale(1.05);
}

.l3-fav.is-on {
  color: #ef4444;
  background: #fff;
}

.l3-store--filler {
  cursor: default;
}

.l3-store--filler .l3-fav {
  pointer-events: auto;
}

.l3-store-logo {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  overflow: hidden;
  font-size: 1.45rem;
  font-weight: 800;
  color: #fff;
  box-shadow:
    0 0 0 3px #fff,
    0 0 0 5px rgba(16, 185, 129, 0.22),
    0 8px 18px rgba(17, 24, 39, 0.12);
}

.l3-store-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}

.l3-store-body { min-width: 0; padding-right: 1.35rem; }

.l3-store-body h3 {
  margin: 0;
  font-size: 0.98rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.25;
  color: #111827;
}

.l3-store-cats {
  margin: 0.3rem 0 0;
  color: #6b7280;
  font-size: 0.8rem;
  font-weight: 600;
}

.l3-store-meta {
  margin: 0.45rem 0 0;
  color: #6b7280;
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.35;
}

.l3-store-star {
  color: #eab308;
}

.l3-store-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-top: 0.65rem;
}

.l3-fee {
  color: #4b5563;
  font-size: 0.76rem;
  font-weight: 650;
  text-align: right;
  line-height: 1.3;
}

.l3-open {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.28rem 0.6rem;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(52, 211, 153, 0.18), rgba(16, 185, 129, 0.14));
  color: #047857;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.l3-open::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2);
}

.l3-closed {
  display: inline-flex;
  align-items: center;
  padding: 0.28rem 0.6rem;
  border-radius: 999px;
  background: rgba(239, 68, 68, 0.1);
  color: #dc2626;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.l3-dots {
  display: none;
}

.l3-dots i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #d1d5db;
}

.l3-dots i.is-on { background: var(--l3-emerald); }

.hub-muted {
  color: var(--l3-muted);
  text-align: center;
  padding: 1.5rem 0;
}
