/* Site público do cliente. Tudo com prefixo ns- para não conflitar com o painel. */
.ns-site {
  --radius: 18px;
  min-height: 100dvh;
  background: var(--bg);
  color: var(--ink);
  font-family: "Bricolage Grotesque", system-ui, -apple-system, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  position: relative;
  overflow-x: hidden;
}
.ns-site * { box-sizing: border-box; }
.ns-site a { text-decoration: none; }
.ns-site a:where(:not(.ns-btn-main, .ns-promo-cta, .ns-review-btn, .ns-wa-float)) { color: inherit; }

/* ---------- topo ---------- */
.ns-header {
  position: relative;
  color: var(--on-p);
  padding: 44px 20px 64px;
  overflow: hidden;
  isolation: isolate;
}
.ns-bubbles, .ns-pattern { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.ns-bubbles {
  background:
    radial-gradient(220px 220px at 12% 18%, color-mix(in srgb, var(--s) 70%, transparent), transparent 70%),
    radial-gradient(260px 260px at 92% 8%, color-mix(in srgb, var(--a) 40%, transparent), transparent 70%),
    radial-gradient(300px 220px at 70% 105%, color-mix(in srgb, var(--s) 55%, transparent), transparent 70%);
  filter: blur(6px);
}
.ns-pattern { background-size: 60px 60px; opacity: 0.14; }
.ns-header-inner {
  max-width: 480px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 14px;
}
.ns-logo {
  width: 112px;
  height: 112px;
  object-fit: cover;
  background: #fff;
  box-shadow: 0 0 0 4px color-mix(in srgb, #fff 85%, transparent), 0 12px 30px rgba(0, 0, 0, 0.25);
}
.ns-logo-redonda { border-radius: 50%; }
.ns-logo-retangular { border-radius: 18px; width: 150px; height: 96px; object-fit: contain; padding: 8px; }
.ns-logo-fallback {
  display: grid;
  place-items: center;
  font: 800 48px/1 var(--title-font);
  color: var(--p);
}
.ns-name {
  margin: 4px 0 0;
  font-family: var(--title-font);
  font-weight: 800;
  font-size: clamp(30px, 8.5vw, 42px);
  line-height: 1.05;
  letter-spacing: -0.01em;
  text-wrap: balance;
}
.ns-tagline { margin: 0; font-size: 16px; opacity: 0.92; max-width: 32ch; text-wrap: balance; }
.ns-badges {
  list-style: none;
  margin: 2px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px 10px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.ns-badges li + li::before { content: "•"; margin-right: 10px; opacity: 0.6; }
.ns-city {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 6px;
  padding: 7px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  background: color-mix(in srgb, #fff 16%, transparent);
  border: 1px solid color-mix(in srgb, #fff 35%, transparent);
  backdrop-filter: blur(4px);
}
.ns-wave { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: 40px; }

/* estilo "lado a lado" */
.ns-head-lado .ns-header-inner { flex-direction: row; text-align: left; align-items: center; gap: 18px; }
.ns-head-lado .ns-logo { width: 92px; height: 92px; flex: none; }
.ns-head-lado .ns-badges { justify-content: flex-start; }
.ns-head-lado .ns-name { font-size: clamp(26px, 7vw, 36px); }
/* estilo "banner" */
.ns-head-banner .ns-header { padding-top: 120px; }
.ns-head-banner .ns-header-inner { align-items: flex-start; text-align: left; }
.ns-head-banner .ns-badges { justify-content: flex-start; }
.ns-head-banner .ns-logo { width: 84px; height: 84px; }

/* ---------- faixa animada ---------- */
.ns-marquee {
  background: var(--a);
  color: var(--on-a);
  overflow: hidden;
  white-space: nowrap;
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 10px 0;
  margin-top: -6px;
  position: relative;
  z-index: 1;
}
.ns-marquee-track { display: inline-flex; animation: ns-marquee 28s linear infinite; }
.ns-marquee-item { display: inline-flex; align-items: center; gap: 8px; padding: 0 18px; }
@keyframes ns-marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ns-marquee-track { animation: none; } }

/* ---------- conteúdo ---------- */
.ns-main { max-width: 480px; margin: 0 auto; padding: 18px 16px 110px; }
.ns-buttons { display: flex; flex-direction: column; gap: 12px; }
.ns-btn {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.04), 0 6px 18px rgba(0, 0, 0, 0.06);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.ns-btn:hover { transform: translateY(-1px); box-shadow: 0 10px 24px rgba(0, 0, 0, 0.1); }
.ns-btn:active { transform: scale(0.99); }
.ns-btn:focus-visible, .ns-product:focus-visible, .ns-review-btn:focus-visible { outline: 3px solid var(--a); outline-offset: 2px; }
.ns-btn-icon {
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: color-mix(in srgb, var(--p) 10%, #fff);
  color: var(--p);
}
.ns-btn-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; flex: 1; }
.ns-btn-text strong { font-size: 16px; line-height: 1.25; }
.ns-btn-text small { font-size: 13px; opacity: 0.7; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.ns-btn-chev { flex: none; opacity: 0.45; }
.ns-btn-main {
  background: linear-gradient(135deg, var(--p), color-mix(in srgb, var(--p) 70%, var(--s)));
  color: var(--on-p);
  padding: 18px 16px;
}
.ns-btn-main .ns-btn-icon { background: color-mix(in srgb, #fff 18%, transparent); color: var(--on-p); }
.ns-btn-main .ns-btn-text strong { font-size: 17px; }
.ns-btn-main .ns-btn-text small { opacity: 0.85; }
.ns-open {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 999px;
  margin-bottom: 4px;
  background: color-mix(in srgb, #fff 16%, transparent);
}
.ns-open::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.ns-open-yes::before { background: #34d399; }
.ns-open-no::before { background: #f87171; }
.ns-open-wait { min-width: 90px; }

.ns-section { margin-top: 34px; }
.ns-h2 {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 6px;
  font-family: var(--title-font);
  font-size: 24px;
  font-weight: 800;
  color: var(--p);
}
.ns-h2::after { content: none; }
.ns-section > .ns-h2 + .ns-sub, .ns-section > .ns-h2 { position: relative; }
.ns-sub { margin: 0 0 14px; font-size: 14px; opacity: 0.75; }
.ns-products { list-style: none; margin: 14px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ns-product {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--card);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
}
.ns-product-img { aspect-ratio: 4 / 3; display: block; background: var(--p); }
.ns-product-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ns-product-ph {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  background: linear-gradient(140deg, color-mix(in srgb, var(--p) 92%, #fff), color-mix(in srgb, var(--p) 55%, var(--s)));
  color: color-mix(in srgb, #fff 70%, transparent);
  font: 800 40px/1 var(--title-font);
}
.ns-product-name { padding: 10px 12px 0; font-weight: 700; font-size: 14.5px; line-height: 1.25; }
.ns-product-desc { padding: 2px 12px 0; font-size: 12.5px; opacity: 0.7; }
.ns-product-cta { margin-top: auto; padding: 6px 12px 12px; font-size: 12px; font-weight: 700; color: color-mix(in srgb, var(--s) 75%, #000); }

.ns-promo {
  margin-bottom: 18px;
  border-radius: var(--radius);
  overflow: hidden;
  background: linear-gradient(135deg, var(--a), color-mix(in srgb, var(--a) 60%, var(--s)));
  color: var(--on-a);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.12);
}
.ns-promo-img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; display: block; }
.ns-promo-body { padding: 18px; }
.ns-promo h2 { margin: 8px 0 4px; font: 800 22px/1.15 var(--title-font); }
.ns-promo p { margin: 0 0 10px; font-size: 14px; }
.ns-chip-accent { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.1em; padding: 4px 10px; border-radius: 999px; background: color-mix(in srgb, var(--on-a) 12%, transparent); }
.ns-count { display: flex; gap: 8px; margin: 6px 0 14px; }
.ns-count-cell { flex: 1; text-align: center; background: color-mix(in srgb, var(--on-a) 10%, transparent); border-radius: 12px; padding: 8px 0; }
.ns-count-cell b { display: block; font-size: 22px; font-variant-numeric: tabular-nums; }
.ns-count-cell small { font-size: 11px; opacity: 0.8; }
.ns-count-end { font-weight: 700; }
.ns-promo-cta { display: inline-block; padding: 12px 18px; border-radius: 999px; background: var(--p); color: var(--on-p) !important; font-weight: 800; font-size: 14px; }

.ns-video { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; margin-top: 12px; background: #000; }
.ns-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.ns-about { margin: 8px 0 0; font-size: 15.5px; line-height: 1.6; white-space: pre-line; }

.ns-info { display: grid; gap: 12px; }
.ns-card { background: var(--card); border-radius: var(--radius); padding: 16px; box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06); }
.ns-card h3 { display: flex; align-items: center; gap: 8px; margin: 0 0 8px; font-size: 15px; color: var(--p); }
.ns-card p { margin: 0; font-size: 14.5px; line-height: 1.5; }
.ns-hours { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; font-size: 14.5px; font-variant-numeric: tabular-nums; }
.ns-note { margin-top: 8px !important; font-size: 13px !important; opacity: 0.7; }
.ns-map { width: 100%; height: 200px; border: 0; border-radius: 12px; margin-top: 12px; display: block; }
.ns-map-ph { display: grid; place-items: center; background: color-mix(in srgb, var(--p) 8%, #fff); font-size: 13px; opacity: 0.7; }

.ns-faq { display: grid; gap: 8px; margin-top: 12px; }
.ns-faq details { background: var(--card); border-radius: 14px; padding: 14px 16px; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05); }
.ns-faq summary { cursor: pointer; font-weight: 700; font-size: 15px; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.ns-faq summary::-webkit-details-marker { display: none; }
.ns-faq summary::after { content: "+"; font-size: 20px; line-height: 1; color: var(--s); }
.ns-faq details[open] summary::after { content: "–"; }
.ns-faq p { margin: 10px 0 0; font-size: 14.5px; line-height: 1.55; }

.ns-review { margin-top: 0; margin-bottom: 18px; }
.ns-review-card { text-align: center; }
.ns-rating { display: flex; flex-direction: column; align-items: center; gap: 4px; margin-bottom: 10px; }
.ns-rating strong { font-size: 34px; line-height: 1; color: var(--p); }
.ns-rating small { font-size: 12.5px; opacity: 0.7; }
.ns-stars { display: inline-flex; color: #f5b301; gap: 1px; }
.ns-review-btn { display: inline-flex; align-items: center; gap: 8px; margin-top: 12px; padding: 12px 20px; border-radius: 999px; background: var(--p); color: var(--on-p) !important; font-weight: 800; font-size: 14px; }

.ns-footer { margin-top: 40px; text-align: center; }
.ns-social { display: flex; justify-content: center; gap: 12px; }
.ns-social a { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--card); color: var(--p); box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06); }
.ns-made { margin: 18px 0 0; font-size: 12px; opacity: 0.6; }
.ns-made a { text-decoration: underline !important; }

.ns-wa-float {
  position: fixed;
  right: max(16px, calc(50% - 240px + 16px));
  bottom: 20px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #25d366;
  color: #fff !important;
  box-shadow: 0 10px 24px rgba(37, 211, 102, 0.45);
  z-index: 10;
}
.ns-preview .ns-wa-float { position: absolute; right: 16px; }

/* Pix: chave com botão de copiar */
.ns-pixkey { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin: 10px 0 6px; }
.ns-pixkey code { flex: 1 1 180px; padding: 10px 12px; border-radius: 12px; background: color-mix(in srgb, var(--p) 8%, #fff); font: 600 14px ui-monospace, Menlo, Consolas, monospace; word-break: break-all; }
.ns-pixcopy { display: inline-flex; gap: 6px; align-items: center; padding: 10px 16px; border: 0; border-radius: 999px; background: var(--p); color: var(--on-p); font: 700 13.5px inherit; cursor: pointer; }
