/* ==========================================================================
   Vitrine da Feira — estilos (mobile-first)
   Paleta e elementos de marca ainda herdados; serão substituídos pelo design system.
   ========================================================================== */

/* Montserrat hospedada no próprio site (fonte variável 400–900, licença OFL) */

@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url("../fonts/montserrat-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url("../fonts/montserrat-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  /* Marca (do logotipo) */
  --azul: #00a3dc;
  --azul-700: #0a6e9c;      /* botões e links: contraste AA com branco */
  --azul-50: #eaf7fd;
  --laranja: #f2791e;
  --laranja-700: #b35205;   /* texto laranja sobre branco */
  --laranja-50: #fff3ea;

  --ink: #152033;
  --muted: #566174;
  --line: #e5e9ef;
  --soft: #f6f8fb;
  --white: #fff;
  --wa: #128c4a;
  --wa-hover: #0e753d;

  --v-primaria: var(--azul-700); /* sobrescrita por vitrine */

  --font: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(21, 32, 51, .06), 0 6px 20px rgba(21, 32, 51, .06);
  --shadow-lg: 0 18px 50px rgba(21, 32, 51, .16);
  --gutter: 20px;
  --max: 1160px;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--azul-700); text-underline-offset: 3px; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3 { line-height: 1.2; margin: 0; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
ul[role="list"], ol[role="list"] { list-style: none; margin: 0; padding: 0; }
:focus-visible { outline: 3px solid var(--laranja); outline-offset: 2px; border-radius: 6px; }

.i { width: 1.15em; height: 1.15em; flex: none; vertical-align: -.2em; }
.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;
}
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px;
}
.skip-link:focus { top: 12px; }
.text-center { text-align: center; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 760px; }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 48px; padding: 12px 22px;
  border: 2px solid transparent; border-radius: 999px;
  font-weight: 700; font-size: .95rem; line-height: 1.2; text-decoration: none; text-align: center;
  transition: background-color .15s, border-color .15s, color .15s, transform .1s;
}
.btn:active { transform: translateY(1px); }
.btn--sm { min-height: 44px; padding: 9px 16px; font-size: .88rem; }
.btn--lg { min-height: 54px; padding: 14px 28px; font-size: 1rem; }
.btn--block { width: 100%; }
.btn--primary { background: var(--v-primaria); color: #fff; }
.btn--primary:hover { filter: brightness(.92); }
.btn--outline { border-color: var(--azul-700); color: var(--azul-700); background: #fff; }
.btn--outline:hover { background: var(--azul-50); }
.btn--ghost { border-color: var(--line); color: var(--ink); background: #fff; }
.btn--ghost:hover { border-color: var(--ink); }
.btn--whatsapp { background: var(--wa); color: #fff; }
.btn--whatsapp:hover { background: var(--wa-hover); }
.btn--muted, .btn:disabled, .btn.is-disabled {
  background: var(--soft); color: #8a93a3; border-color: var(--line); cursor: not-allowed; filter: none;
}
.btn.is-added { background: #fff; color: var(--v-primaria); border-color: var(--v-primaria); }
.icon-btn {
  display: inline-grid; place-items: center; width: 44px; height: 44px;
  border: 0; border-radius: 50%; background: var(--soft); color: var(--ink);
}
.icon-btn:hover { background: var(--line); }
.icon-btn .i { width: 22px; height: 22px; }
.link-btn { background: none; border: 0; padding: 8px 0; color: var(--muted); text-decoration: underline; font-size: .88rem; }

.eyebrow {
  font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--laranja-700); margin-bottom: .6em;
}
.badge {
  position: absolute; display: inline-block; padding: 4px 10px; border-radius: 999px;
  font-size: .72rem; font-weight: 700; line-height: 1.4; background: #fff; color: var(--ink);
  box-shadow: 0 1px 4px rgba(0,0,0,.12);
}
.badge--draft { top: 12px; left: 12px; background: var(--laranja-50); color: var(--laranja-700); }
.badge--order { top: 12px; left: 12px; background: var(--laranja-50); color: var(--laranja-700); }
.badge--off { top: 12px; left: 12px; background: var(--ink); color: #fff; }
.badge--count { bottom: 12px; right: 12px; background: rgba(21,32,51,.72); color: #fff; box-shadow: none; }

.avatar {
  display: inline-grid; place-items: center; flex: none;
  width: 64px; height: 64px; border-radius: 50%;
  background: var(--v-primaria); color: #fff; font-weight: 800; font-size: 1.3rem; letter-spacing: .02em;
}
.avatar--lg { width: 96px; height: 96px; font-size: 1.9rem; }
.avatar--xl { width: 76px; height: 76px; font-size: 1.6rem; border: 4px solid #fff; box-shadow: var(--shadow); }

/* ---------- Seções ---------- */
.section { padding: 56px 0; }
.section--tight { padding: 40px 0; }
.section--soft { background: var(--soft); }
.section-head { margin-bottom: 28px; }
.section-head--center { text-align: center; }
.section-title { font-size: clamp(1.55rem, 5.5vw, 2.2rem); font-weight: 800; }
.section-title--sm { font-size: 1.35rem; }
.filter-note { margin-top: 10px; color: var(--muted); font-size: .92rem; }

/* ---------- Barra Superior (Topbar) ---------- */
.vf-topbar {
  background: #FFFFFF;
  border-bottom: 1px solid var(--line, #EEE7DC);
  font-size: .76rem;
  font-weight: 400;
  color: var(--muted, #46655C);
  padding: 5px 0;
  position: relative;
  z-index: 31;
}
.vf-topbar__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 4px 16px;
}
.vf-topbar__frase {
  margin: 0;
  color: var(--muted, #46655C);
  font-weight: 400;
  letter-spacing: 0;
}
.vf-topbar__contatos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 12px;
}
.vf-topbar__link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--muted, #46655C);
  text-decoration: none;
  font-weight: 400;
  transition: color .15s ease;
}
.vf-topbar__link:hover {
  color: var(--laranja-700, #A24625);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.vf-topbar__link .i {
  width: 13px;
  height: 13px;
  color: var(--muted, #46655C);
  opacity: .85;
}
.vf-topbar__link:hover .i {
  color: var(--laranja-700, #A24625);
  opacity: 1;
}
.vf-topbar__divisor {
  color: var(--muted, #7D928C);
  opacity: .35;
  user-select: none;
}
@media (max-width: 767px) {
  .vf-topbar {
    padding: 5px 0;
  }
  .vf-topbar__inner {
    flex-direction: column;
    text-align: center;
    justify-content: center;
    gap: 3px;
  }
  .vf-topbar__contatos {
    justify-content: center;
    font-size: .72rem;
    gap: 3px 8px;
  }
}

/* ---------- Header do site ---------- */
.site-header {
  position: sticky; top: 0; z-index: 30;
  background: rgba(255,255,255,.94); backdrop-filter: saturate(1.4) blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 15px 0; }
.brand img { height: 72px; width: auto; object-fit: contain; }
/* Marca em texto enquanto o logotipo definitivo não é aplicado (config: logo) */
.brand__text { font-weight: 800; font-size: 1.15rem; letter-spacing: -.01em; color: var(--ink); text-decoration: none; }
.brand, .site-footer__logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img.brand__symbol, .site-footer__logo img.brand__symbol { width: 36px; height: 36px; border-radius: 9px; }
/* Menu principal (templates/components/menu.php) — o mesmo em todas as páginas.
   Celular e tablet: botão "Menu" abre a lista num painel sob o cabeçalho; a partir de 900px, itens em linha. */
.menu { --menu-marca: var(--laranja); --menu-hover: var(--soft); }
.menu__lista { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; margin: 0; padding: 0; list-style: none; }
.menu__link {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; border-radius: 999px;
  color: var(--ink); font-size: .9rem; font-weight: 500; text-decoration: none; white-space: nowrap;
}
.menu__link:hover { background: var(--menu-hover); }
.menu__link[aria-current="page"] { position: relative; font-weight: 600; }
.menu__link[aria-current="page"]::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: 5px; height: 3px; border-radius: 2px; background: var(--menu-marca);
}
.menu__destaque { margin-left: 6px; white-space: nowrap; font-weight: 600; }
.menu__destaque[aria-current="page"] { box-shadow: inset 0 -3px 0 var(--menu-marca); }
.menu__botao {
  display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 14px; border: 1px solid var(--line);
  border-radius: 999px; background: transparent; color: var(--ink); font: inherit; font-size: .88rem; font-weight: 500; cursor: pointer;
}
.menu__botao .i { width: 20px; height: 20px; }
.menu__icone-fechar, .menu.is-aberto .menu__icone-abrir { display: none; }
.menu.is-aberto .menu__icone-fechar { display: inline-flex; }
@media (max-width: 899px) {
  /* Com JavaScript: lista fechada num painel sob o cabeçalho (o cabeçalho sticky é a referência) */
  .menu.is-pronto .menu__lista {
    display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0;
    padding: 8px var(--gutter) 18px; background: var(--white); border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
  }
  .menu.is-pronto.is-aberto .menu__lista { display: flex; }
  .menu.is-pronto .menu__link { display: flex; min-height: 48px; padding: 0 4px; border-bottom: 1px solid var(--line); border-radius: 0; font-size: 1rem; }
  .menu.is-pronto .menu__link[aria-current="page"]::after { left: 4px; right: auto; width: 32px; bottom: 8px; }
  .menu.is-pronto .menu__destaque { margin: 14px 0 0; min-height: 48px; }
}
@media (min-width: 900px) {
  .menu__botao { display: none; }
  .menu__lista { flex-wrap: nowrap; }
}

/* ---------- Hero (Abertura Editorial com Direção de Arte) ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 24px 0 36px;
  background: #ffffff;
}

/* Formas orgânicas fluidas no fundo */
.hero__blob {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  filter: blur(36px);
}
.hero__blob--left {
  left: 20%;
  top: 10%;
  width: 360px;
  height: 360px;
  background: radial-gradient(circle, rgba(0, 163, 220, 0.12) 0%, rgba(234, 247, 253, 0.4) 50%, rgba(255, 255, 255, 0) 75%);
}
.hero__blob--right {
  right: -80px;
  top: 2%;
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, rgba(255, 243, 234, 0.9) 0%, rgba(254, 235, 221, 0.5) 45%, rgba(255, 255, 255, 0) 72%);
}

.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 28px;
  align-items: center;
}

.hero__content {
  display: flex;
  flex-direction: column;
}

/* Assinatura Principal */
.hero__signature {
  margin: 0 0 18px;
  font-family: var(--font);
  font-weight: 900;
  text-transform: uppercase;
}
.hero__headline-line1 {
  display: block;
  color: #11253e; /* Azul-marinho */
  font-size: clamp(1.85rem, 4.3vw, 3.45rem);
  font-weight: 900;
  letter-spacing: -.035em;
  line-height: 1.02;
  margin-bottom: 4px;
}
.hero__headline-line2 {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.22em;
  font-size: clamp(2.65rem, 6.15vw, 4.85rem);
  font-weight: 900;
  letter-spacing: -.04em;
  line-height: .96;
}
.hero__word-tem {
  position: relative;
  display: inline-block;
  color: var(--laranja);
}
.hero__brush-underline {
  position: absolute;
  left: 1px;
  bottom: -6px;
  width: 104%;
  height: 14px;
  pointer-events: none;
  overflow: visible;
}
.hero__word-aqui {
  color: var(--azul);
}

.hero__tagline {
  margin: 0 0 12px;
  font-size: clamp(1.15rem, 2.7vw, 1.38rem);
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -.015em;
  color: var(--ink);
}
.hero__description {
  margin: 0 0 26px;
  font-size: clamp(.98rem, 2vw, 1.05rem);
  line-height: 1.58;
  color: var(--muted);
  max-width: 32em;
}

/* CTAs com nova direção de cor e energia */
.hero__actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.hero__btn-primary {
  background: var(--laranja);
  color: #fff;
  font-weight: 700;
  border-radius: 999px;
  box-shadow: 0 8px 24px rgba(242, 121, 30, .32);
  transition: transform .15s, box-shadow .15s, background-color .15s;
}
.hero__btn-primary:hover {
  background: #e06810;
  box-shadow: 0 12px 28px rgba(242, 121, 30, .42);
  transform: translateY(-1px);
}
.hero__btn-secondary {
  border: 2px solid var(--azul);
  color: var(--azul-700);
  background: #fff;
  font-weight: 700;
  border-radius: 999px;
  transition: all .15s;
}
.hero__btn-secondary:hover {
  border-color: var(--azul-700);
  background: var(--azul-50);
}

/* Composição Visual / Collage */
.hero__visual {
  position: relative;
  width: 100%;
}
.hero__backdrop {
  position: absolute;
  inset: -14px -30px -30px -20px;
  z-index: 0;
  pointer-events: none;
}
.hero__backdrop-shapes {
  width: 100%;
  height: 100%;
  display: block;
}
.hero__sunburst {
  position: absolute;
  left: 18px;
  top: -16px;
  width: 34px;
  height: 34px;
  z-index: 5;
  pointer-events: none;
}
.hero__collage {
  position: relative;
  width: 100%;
  margin: 0 auto;
}

/* Base das Fotos com contorno branco e cantos orgânicos */
.hero__photo {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  background: var(--soft);
  box-shadow: 0 14px 36px -8px rgba(21, 32, 51, .15);
  border: 4px solid #fff;
}
.hero__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Selos TEM! discretos e elegantes */
.hero__pill {
  position: absolute;
  top: 8px;
  right: 8px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 8px 3px 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  box-shadow: 0 2px 8px rgba(21, 32, 51, .12);
  border: 1px solid rgba(255, 255, 255, .85);
  z-index: 5;
  pointer-events: none;
}
.hero__pill-tag {
  background: var(--laranja);
  color: #fff;
  font-weight: 800;
  font-size: .68rem;
  letter-spacing: .02em;
  padding: 1.5px 6px;
  border-radius: 999px;
  line-height: 1.2;
}
.hero__pill-label {
  font-size: .7rem;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -.01em;
}

/* Nota caligráfica com respiro orgânico: Gente da nossa cidade */
.hero__note {
  position: absolute;
  z-index: 5;
  color: var(--azul-700);
  font-family: "Caveat", "Segoe Print", "Brush Script MT", cursive, sans-serif;
  font-size: 1.65rem;
  font-weight: 700;
  line-height: 1.05;
  transform: rotate(-9deg);
  text-shadow: 0 1px 3px rgba(255, 255, 255, .95);
  pointer-events: none;
}
.hero__note-stroke {
  display: block;
  width: 72px;
  height: 9px;
  margin-top: 3px;
}

/* Mobile: foto principal ampla como âncora + 1 foto secundária integrada */
@media (max-width: 759px) {
  .hero__collage {
    display: flex;
    align-items: flex-end;
    gap: 12px;
    padding-top: 8px;
  }
  .hero__photo--main {
    flex: 1.35;
    aspect-ratio: 4 / 4.4;
    border-radius: 24px;
    border-width: 4px;
  }
  .hero__photo--gastronomia {
    flex: 0.85;
    aspect-ratio: 4 / 3.6;
    border-radius: 18px;
    border-width: 3px;
    margin-bottom: 10px;
  }
  .hero__photo--artesanato,
  .hero__photo--servicos,
  .hero__note {
    display: none;
  }
}

/* ---------- Categorias ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.cat-tile {
  display: flex; flex-direction: column; gap: 4px; height: 100%;
  padding: 18px; border: 1px solid var(--line); border-radius: var(--radius);
  text-decoration: none; color: var(--ink); background: #fff;
  transition: border-color .15s, box-shadow .15s;
}
.cat-tile:hover { border-color: var(--azul); box-shadow: var(--shadow); }
.cat-tile.is-active { border-color: var(--azul-700); background: var(--azul-50); }
.cat-tile__icon {
  display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 8px;
  border-radius: 12px; background: var(--laranja-50); color: var(--laranja-700);
}
.cat-tile__icon .i { width: 24px; height: 24px; }
.cat-tile__name { font-weight: 700; }
.cat-tile__count { font-size: .82rem; color: var(--muted); }

/* ---------- Vitrines (home) ---------- */
.vitrines-grid { display: grid; gap: 20px; }
.biz-card {
  position: relative; display: flex; flex-direction: column;
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff;
  transition: box-shadow .2s, transform .2s;
}
.biz-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.biz-card__media { position: relative; display: block; aspect-ratio: 4 / 3; background: var(--soft); overflow: hidden; }
.biz-card__media > img { width: 100%; height: 100%; object-fit: cover; }
.biz-card__fallback {
  display: grid; place-items: center; width: 100%; height: 100%;
  background:
    radial-gradient(circle at 20% 20%, color-mix(in srgb, var(--v-primaria) 14%, #fff) 0 30%, transparent 31%),
    radial-gradient(circle at 85% 90%, var(--laranja-50) 0 28%, transparent 29%),
    var(--soft);
}
.biz-card__fallback img { width: 120px; height: 120px; object-fit: contain; border-radius: 50%; background: #fff; }
.biz-card__body { display: flex; flex-direction: column; gap: 6px; padding: 20px; flex: 1; }
.biz-card__cat { margin: 0; font-size: .78rem; font-weight: 700; color: var(--laranja-700); text-transform: uppercase; letter-spacing: .08em; }
.biz-card__title { font-size: 1.3rem; font-weight: 800; }
.biz-card__title a { color: var(--ink); text-decoration: none; }
.biz-card__title a::after { content: ""; position: absolute; inset: 0; } /* card inteiro clicável */
.biz-card__desc { color: var(--muted); margin: 0; }
.biz-card__meta { margin: 0; font-size: .88rem; color: var(--muted); display: flex; align-items: center; gap: 6px; }
.biz-card__link { margin-top: auto; padding-top: 10px; font-weight: 700; color: var(--azul-700); display: inline-flex; align-items: center; gap: 6px; }
.biz-card:hover .biz-card__link .i { transform: translateX(3px); }
.biz-card__link .i { transition: transform .15s; }

.join-card {
  display: flex; flex-direction: column; align-items: flex-start; gap: 10px;
  padding: 26px; border-radius: var(--radius);
  border: 2px dashed #cfe6f2; background: linear-gradient(160deg, var(--azul-50), #fff 70%);
}
.join-card__icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: #fff; color: var(--azul-700); box-shadow: var(--shadow); }
.join-card__icon .i { width: 28px; height: 28px; }
.join-card__title { font-size: 1.2rem; font-weight: 800; }
.join-card p { color: var(--muted); margin: 0 0 8px; }

.empty-note { padding: 28px; border-radius: var(--radius); background: var(--soft); }
.empty-note h3 { font-size: 1.25rem; margin: 10px 0; }
.empty-note p { color: var(--muted); }
.empty-note__icon { color: var(--laranja); }
.empty-note__icon .i { width: 32px; height: 32px; }

/* ---------- Sobre ---------- */
.about { display: grid; gap: 18px; }
.about__text { font-size: 1.05rem; color: var(--muted); max-width: 40em; }
.about__lead { font-size: 1.3rem; font-weight: 700; color: var(--ink); line-height: 1.4; }
.about__punch strong { color: var(--laranja-700); }

/* ---------- Como funciona ---------- */
.steps { display: grid; gap: 16px; counter-reset: step; }
.step { padding: 26px; border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); }
.step__num {
  display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 14px;
  border-radius: 50%; background: var(--azul-50); color: var(--azul-700); font-weight: 800; font-size: 1.1rem;
}
.step__num--wa { background: #e5f5ec; color: var(--wa); }
.step__num--wa .i { width: 22px; height: 22px; }
.step__title { font-size: 1.1rem; font-weight: 800; margin-bottom: 6px; }
.step p { color: var(--muted); }

/* ---------- Faixa "participe" ---------- */
.join-band {
  display: grid; gap: 24px; padding: 32px 24px; border-radius: 24px;
  background: var(--ink); color: #fff; position: relative; overflow: hidden;
}
.join-band::after {
  content: ""; position: absolute; right: -50px; top: -50px; width: 130px; height: 130px;
  border-radius: 40px; background: var(--laranja); opacity: .9; transform: rotate(18deg);
}
.join-band > * { position: relative; z-index: 1; }
.join-band .section-title { color: #fff; margin-bottom: 12px; }
.join-band p { color: #cfd6e2; max-width: 34em; }
.join-band__note { font-weight: 700; color: #fff !important; }

/* ---------- Rodapé do site ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 40px 0 28px; font-size: .92rem; }
.site-footer__inner { display: grid; gap: 24px; }
.site-footer__logo img { height: 64px; width: auto; }
.site-footer__brand p { margin-top: 10px; color: var(--muted); }
.site-footer__nav { display: flex; flex-wrap: wrap; gap: 0 22px; align-content: flex-start; }
.site-footer__nav a { color: var(--ink); text-decoration: none; padding: 8px 0; }
.site-footer__nav a:hover { color: var(--azul-700); text-decoration: underline; }
.site-footer__bottom {
  display: flex; flex-direction: column; gap: 4px; margin-top: 28px; padding-top: 20px;
  border-top: 1px solid var(--line); color: var(--muted); font-size: .84rem;
}

/* ---------- Páginas de texto ---------- */
.prose h2 { font-size: 1.15rem; margin: 1.8em 0 .6em; }
.prose p { color: #3a4557; }

/* ==========================================================================
   Vitrine
   ========================================================================== */
.vt-bar { position: sticky; top: 0; z-index: 30; background: rgba(255,255,255,.95); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.vt-bar__inner { display: flex; align-items: center; justify-content: space-between; height: 56px; }
.vt-bar__brand { display: inline-flex; align-items: center; gap: 8px; font-size: .84rem; color: var(--muted); text-decoration: none; }
.vt-bar__brand strong { color: var(--ink); }
.vt-bar__brand:hover strong { color: var(--azul-700); }
.vt-bar__bag {
  position: relative; display: grid; place-items: center; width: 46px; height: 46px;
  border: 0; border-radius: 50%; background: var(--soft); color: var(--ink);
}
.vt-bar__bag .i { width: 22px; height: 22px; }
.vt-bar__count, .bag-bar__count {
  position: absolute; top: 2px; right: 0; min-width: 20px; height: 20px; padding: 0 5px;
  border-radius: 999px; background: var(--laranja); color: #fff; font-size: .72rem; font-weight: 800;
  display: grid; place-items: center; line-height: 1;
}
.vt-bar__count:empty, .vt-bar__count[data-zero] { display: none; }

.draft-banner { background: var(--laranja-50); color: #6b3303; font-size: .86rem; padding: 10px 0; border-bottom: 1px solid #f7d8bf; }

.showcase-head { padding-bottom: 8px; }
.showcase-head__cover { width: 100%; height: clamp(170px, 42vw, 380px); overflow: hidden; background: var(--soft); }
.showcase-head__cover img { width: 100%; height: 100%; object-fit: cover; }
.showcase-head__inner { padding-top: 28px; }
.has-cover .showcase-head__inner { padding-top: 0; position: relative; }
.has-cover .showcase-head__id > :first-child { margin-top: -38px; }
.showcase-head__id { display: flex; align-items: center; gap: 16px; margin-bottom: 16px; }
.showcase-head__logo { width: 76px; height: 76px; border-radius: 50%; object-fit: cover; border: 4px solid #fff; box-shadow: var(--shadow); background: #fff; }
.has-cover .showcase-head__id { align-items: flex-end; }
.showcase-head__cat {
  margin: 4px 0 0; font-size: .95rem; font-weight: 600; line-height: 1.3; color: var(--v-primaria);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.showcase-head__title { font-size: clamp(1.6rem, 6.5vw, 2.4rem); font-weight: 800; }
.showcase-head__about { color: var(--muted); max-width: 42em; font-size: 1.02rem; }
.showcase-head__meta { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 0 0 18px !important; font-size: .9rem; color: var(--muted); }
.showcase-head__meta li { display: flex; align-items: center; gap: 6px; }

.showcase-head__name { flex: 1; min-width: 0; }
.showcase-head__contact { display: flex; gap: 8px; flex: none; align-self: center; }
.has-cover .showcase-head__contact { align-self: flex-end; }

/* Contatos discretos ao lado do título */
.contact-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  width: 44px; height: 44px; border-radius: 999px;
  border: 1.5px solid var(--line); background: #fff; color: var(--ink);
  font-size: .86rem; font-weight: 700; text-decoration: none;
}
.contact-btn .i { width: 20px; height: 20px; }
.contact-btn:hover { border-color: var(--ink); }
.contact-btn--wa { color: var(--wa); background: #eaf7ef; border-color: color-mix(in srgb, var(--wa) 60%, #fff); }
.contact-btn--wa:hover { background: #dcf2e5; border-color: var(--wa); }
.contact-btn__label { display: none; }

/* Passo a passo: 1 → 2 → 3 */
.order-steps { margin-bottom: 28px; padding: 16px; border-radius: var(--radius); background: var(--soft); }
.order-steps__list { display: flex; align-items: flex-start; }
.order-steps__item {
  position: relative; flex: 1; display: flex; flex-direction: column; align-items: center; gap: 6px;
  text-align: center; font-size: .8rem; font-weight: 600; line-height: 1.3; color: var(--ink);
}
.order-steps__item + .order-steps__item::before {
  content: ""; position: absolute; left: -9px; top: 9px; width: 10px; height: 10px;
  border-top: 2px solid #b7c0cc; border-right: 2px solid #b7c0cc; transform: rotate(45deg);
}
.order-steps__num {
  display: grid; place-items: center; flex: none; width: 30px; height: 30px; border-radius: 50%;
  background: var(--v-primaria); color: #fff; font-weight: 800; font-size: .9rem;
}
.order-steps__note {
  display: flex; gap: 8px; align-items: flex-start; margin: 14px 0 0; padding-top: 12px;
  border-top: 1px solid var(--line); font-size: .8rem; line-height: 1.45; color: var(--muted);
}
.order-steps__note .i { margin-top: 1px; color: var(--muted); }

.section--catalog { padding-top: 12px; }
.catalog-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.catalog-count { margin: 0; font-size: .86rem; color: var(--muted); }

.catalog-tools {
  position: sticky; top: 56px; z-index: 20; display: grid; gap: 12px;
  margin: 0 calc(var(--gutter) * -1) 16px; padding: 12px var(--gutter);
  background: rgba(255,255,255,.96); backdrop-filter: blur(8px);
}
.search { position: relative; }
.search__icon { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.search__input {
  width: 100%; height: 50px; padding: 0 48px 0 46px;
  border: 1.5px solid var(--line); border-radius: 999px; background: var(--soft); font-size: 1rem;
}
.search__input:focus { outline: none; border-color: var(--v-primaria); background: #fff; }
.search__input::-webkit-search-cancel-button { display: none; }
.search__clear { position: absolute; right: 4px; top: 50%; transform: translateY(-50%); width: 42px; height: 42px; border: 0; background: none; border-radius: 50%; color: var(--muted); display: grid; place-items: center; }
.chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin: 0 calc(var(--gutter) * -1); padding: 2px var(--gutter); }
.chips::-webkit-scrollbar { display: none; }
.chip {
  flex: none; min-height: 40px; padding: 8px 16px; border-radius: 999px;
  border: 1.5px solid var(--line); background: #fff; font-size: .88rem; font-weight: 600; white-space: nowrap;
}
.chip:hover { border-color: var(--ink); }
.chip.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }

.notice {
  display: flex; gap: 10px; align-items: flex-start;
  padding: 14px 16px; border-radius: var(--radius-sm); background: var(--azul-50);
  font-size: .86rem; line-height: 1.5; color: #1d3a4d;
}
.notice .i { color: var(--azul-700); margin-top: 2px; }
.notice--inline { margin-bottom: 20px; }

/* Grade de produtos: 1 coluna no celular (fotos grandes) */
.product-grid, .service-grid { display: grid; gap: 20px; }
.product-card, .service-card {
  display: flex; flex-direction: column; border-radius: var(--radius); overflow: hidden;
  background: #fff; border: 1px solid var(--line);
}
.product-card[hidden], .service-card[hidden] { display: none; }
.product-card__media {
  position: relative; display: block; width: 100%; padding: 0; border: 0;
  aspect-ratio: 1 / 1; background: var(--soft); overflow: hidden;
}
.product-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.product-card__media:hover img { transform: scale(1.03); }
.img-placeholder {
  display: grid; place-content: center; justify-items: center; gap: 6px; width: 100%; height: 100%;
  color: #9aa4b3; font-size: .82rem; font-weight: 600;
  background: repeating-linear-gradient(135deg, var(--soft) 0 14px, #eef2f6 14px 28px);
}
.img-placeholder .i { width: 40px; height: 40px; }
.product-card__body { display: flex; flex-direction: column; gap: 6px; padding: 16px 18px 18px; flex: 1; }
.product-card__title { font-size: 1.08rem; font-weight: 700; }
.product-card__title button { padding: 0; border: 0; background: none; text-align: left; font-weight: inherit; }
.product-card__title button:hover { color: var(--v-primaria); }
.product-card__desc { margin: 0; font-size: .9rem; color: var(--muted); }
.product-card__vars { margin: 0; font-size: .8rem; color: var(--muted); }
.product-card__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 10px; }
/* Produto já na sacola: borda + selo, para a pessoa não se perder */
.product-card { transition: border-color .2s, box-shadow .2s; }
.product-card.in-bag { border-color: var(--v-primaria); box-shadow: 0 0 0 1px var(--v-primaria); }
.badge--inbag {
  top: 12px; right: 12px; display: inline-flex; align-items: center; gap: 5px;
  background: var(--ink); color: #fff;
}
.badge--inbag .i { width: 14px; height: 14px; }
.product-dialog__inbag {
  display: flex; gap: 8px; align-items: flex-start; margin: 0;
  padding: 10px 12px; border-radius: var(--radius-sm); font-size: .86rem; line-height: 1.45;
  background: color-mix(in srgb, var(--v-primaria) 8%, #fff); color: var(--ink);
}
.product-dialog__inbag .i { color: var(--v-primaria); margin-top: 2px; }
.is-unavailable .product-card__media img { filter: grayscale(.8); opacity: .7; }

.price { margin: 0; font-weight: 800; font-size: 1.1rem; color: var(--ink); line-height: 1.2; }
.price small { display: block; font-size: .72rem; font-weight: 600; color: var(--muted); }
.price--ask { font-size: .86rem; font-weight: 700; color: var(--muted); }
.price--lg { font-size: 1.5rem; }

.service-card__media { aspect-ratio: 3 / 2; background: var(--soft); }
.service-card__media img { width: 100%; height: 100%; object-fit: cover; }
.service-card__body { display: flex; flex-direction: column; gap: 8px; padding: 20px; flex: 1; }
.service-card__title { font-size: 1.15rem; font-weight: 800; }
.service-card__desc { margin: 0; color: var(--muted); font-size: .94rem; }
.service-card__obs { margin: 0; font-size: .84rem; color: var(--muted); display: flex; gap: 6px; }
.service-card__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 12px; }

.catalog-empty { text-align: center; padding: 40px 0; color: var(--muted); }

.vt-footer { margin-top: 32px; padding: 32px 0 120px; background: var(--soft); font-size: .9rem; text-align: center; }
.vt-footer__small { font-size: .8rem; color: var(--muted); max-width: 40em; margin-left: auto; margin-right: auto; }
.vt-footer a { color: var(--muted); }

/* ---------- Diálogos (bottom sheet no celular) ---------- */
.sheet {
  width: 100%; max-width: 100%; max-height: 92dvh; margin: auto 0 0; padding: 0;
  border: 0; border-radius: 22px 22px 0 0; background: #fff; color: var(--ink);
  box-shadow: var(--shadow-lg); overflow: auto; overscroll-behavior: contain;
}
.sheet::backdrop { background: rgba(21, 32, 51, .5); }
.sheet[open] { animation: sheet-up .25s ease-out; }
@keyframes sheet-up { from { transform: translateY(40px); opacity: 0; } to { transform: none; opacity: 1; } }
.sheet__close-form { position: sticky; top: 0; z-index: 3; height: 0; }
.sheet__close { position: absolute; top: 12px; right: 12px; background: rgba(255,255,255,.92); box-shadow: var(--shadow); }
body.has-dialog { overflow: hidden; }

/* Produto */
.product-dialog__grid { display: grid; }
.gallery { position: relative; background: var(--soft); }
.gallery__track {
  display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  aspect-ratio: 1 / 1;
}
.gallery__track::-webkit-scrollbar { display: none; }
.gallery__track > * { flex: 0 0 100%; scroll-snap-align: center; }
.gallery__track img { width: 100%; height: 100%; object-fit: cover; }
.gallery__nav { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,.9); box-shadow: var(--shadow); display: none; }
.gallery__nav--prev { left: 10px; }
.gallery__nav--next { right: 10px; }
.gallery__thumbs { display: flex; gap: 8px; padding: 10px 12px; overflow-x: auto; justify-content: center; }
.gallery__thumbs:empty { display: none; }
.gallery__thumbs button { flex: none; width: 52px; height: 52px; padding: 0; border: 2px solid transparent; border-radius: 10px; overflow: hidden; background: #fff; opacity: .65; }
.gallery__thumbs button[aria-current="true"] { border-color: var(--v-primaria); opacity: 1; }
.gallery__thumbs img { width: 100%; height: 100%; object-fit: cover; }

.product-dialog__info { padding: 22px 20px 28px; display: flex; flex-direction: column; gap: 12px; }
.product-dialog__status { margin: 0; font-size: .78rem; font-weight: 700; color: var(--laranja-700); text-transform: uppercase; letter-spacing: .06em; }
.product-dialog__status:empty { display: none; }
.product-dialog__title { font-size: 1.45rem; font-weight: 800; padding-right: 40px; }
.product-dialog__desc { color: var(--muted); font-size: .96rem; white-space: pre-line; }
.product-dialog__obs { margin: 0; font-size: .86rem; color: var(--muted); padding-left: 12px; border-left: 3px solid var(--laranja); }

.variations { display: grid; gap: 18px; }
.variations:empty { display: none; }
.var-group { border: 0; margin: 0; padding: 0; min-width: 0; }
.var-group legend, .field label { font-weight: 700; font-size: .9rem; margin-bottom: 8px; padding: 0; }
.var-group legend .req { color: var(--laranja-700); font-weight: 600; font-size: .8rem; }
.var-options { display: flex; flex-wrap: wrap; gap: 8px; }
.var-option { position: relative; }
.var-option input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.var-option span {
  display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 9px 16px;
  border: 1.5px solid var(--line); border-radius: 12px; font-size: .9rem; font-weight: 600; background: #fff;
}
.var-option span small { font-weight: 600; color: var(--muted); }
.var-option input:checked + span { border-color: var(--v-primaria); background: color-mix(in srgb, var(--v-primaria) 8%, #fff); box-shadow: inset 0 0 0 1px var(--v-primaria); }
.var-option input:focus-visible + span { outline: 3px solid var(--laranja); outline-offset: 2px; }

/* Opções com quantidade própria (produto com um único grupo de opções) */
.var-list { display: grid; gap: 8px; }
.var-row {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 8px 8px 8px 14px; border: 1.5px solid var(--line); border-radius: 12px; background: #fff;
}
.var-row.is-selected { border-color: var(--v-primaria); background: color-mix(in srgb, var(--v-primaria) 6%, #fff); }
.var-row__info { display: flex; flex-direction: column; min-width: 0; line-height: 1.3; }
.var-row__name { font-weight: 600; font-size: .92rem; }
.var-row__price { font-size: .82rem; color: var(--muted); }
.var-row .qty { background: #fff; }
.var-row .qty__val { min-width: 26px; text-align: center; font-weight: 700; }
.var-row.is-selected .qty__val { color: var(--v-primaria); }

.field { display: grid; }
.field input, .field textarea {
  width: 100%; min-height: 48px; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 12px;
  background: #fff; font-size: 1rem;
}
.field textarea { resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--v-primaria); box-shadow: 0 0 0 3px color-mix(in srgb, var(--v-primaria) 18%, transparent); }
.field small { color: var(--muted); font-size: .78rem; margin-top: 4px; }

.product-dialog__buy {
  display: flex; gap: 10px; align-items: stretch; margin-top: 6px;
  position: sticky; bottom: 0; padding: 12px 0 4px; background: #fff;
}
.qty { display: flex; align-items: center; border: 1.5px solid var(--line); border-radius: 999px; flex: none; }
.qty__btn { width: 44px; height: 48px; border: 0; background: none; display: grid; place-items: center; border-radius: 999px; }
.qty__btn:hover { background: var(--soft); }
.qty__input { width: 36px; border: 0; text-align: center; font-weight: 700; background: none; -moz-appearance: textfield; appearance: textfield; }
.qty__input::-webkit-outer-spin-button, .qty__input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty--sm .qty__btn { width: 36px; height: 36px; }
.qty--sm .qty__input, .qty--sm .qty__val { width: 26px; text-align: center; font-weight: 700; font-size: .9rem; }
.form-error { margin: 0; color: #b42318; font-size: .88rem; font-weight: 600; }

/* Sacola */
/* Só a sacola ABERTA vira flex; fechada, vale o display:none padrão do <dialog> */
.cart { flex-direction: column; }
.cart[open] { display: flex; }
.cart__head {
  position: sticky; top: 0; z-index: 2; display: flex; align-items: center; justify-content: space-between;
  padding: 14px 16px 14px 20px; background: #fff; border-bottom: 1px solid var(--line);
}
.cart__title { font-size: 1.15rem; font-weight: 800; display: flex; align-items: center; gap: 8px; }
.cart__body { padding: 16px 20px 24px; }
.cart__empty { text-align: center; padding: 40px 0; color: var(--muted); }
.cart__empty-icon .i { width: 44px; height: 44px; color: #c3cad5; margin-bottom: 10px; }
.cart__items { display: grid; gap: 14px; }
.cart-item { display: grid; grid-template-columns: 64px 1fr; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.cart-item__img { width: 64px; height: 64px; border-radius: 10px; object-fit: cover; background: var(--soft); display: grid; place-items: center; color: #aab3c0; }
.cart-item__name { font-weight: 700; font-size: .95rem; line-height: 1.3; }
.cart-item__var { font-size: .8rem; color: var(--muted); margin: 2px 0 0; }
.cart-item__row { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 8px; }
.cart-item__price { font-size: .86rem; text-align: right; }
.cart-item__price strong { display: block; font-size: .95rem; }
.cart-item__price span { color: var(--muted); font-size: .78rem; }
.cart-item__remove { width: 36px; height: 36px; border: 0; background: none; color: var(--muted); border-radius: 50%; display: grid; place-items: center; }
.cart-item__remove:hover { background: var(--soft); color: #b42318; }
.cart__total { display: flex; justify-content: space-between; align-items: baseline; padding: 16px 0 4px; font-weight: 700; }
.cart__total strong { font-size: 1.3rem; }
.cart__total-note { font-size: .8rem; color: var(--muted); margin: 0; }
.order-form { display: grid; gap: 14px; margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); }
.order-form__intro { margin: 0; font-size: .88rem; color: var(--muted); }
.cart__links { display: flex; justify-content: space-between; align-items: center; font-size: .86rem; }
.cart__links a { color: var(--muted); }

/* Barra fixa da sacola */
.bag-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 25;
  padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
  background: linear-gradient(to top, rgba(255,255,255,1) 60%, rgba(255,255,255,0));
}
.bag-bar[hidden] { display: none; }
.bag-bar__btn {
  display: flex; align-items: center; gap: 12px; width: 100%; max-width: 520px; margin: 0 auto;
  min-height: 56px; padding: 8px 20px 8px 10px; border: 0; border-radius: 999px;
  background: var(--v-primaria); color: #fff; font-weight: 700; box-shadow: var(--shadow-lg);
}
.bag-bar__icon { position: relative; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: rgba(255,255,255,.18); }
.bag-bar__icon .i { width: 22px; height: 22px; }
.bag-bar__count { top: -4px; right: -6px; }
.bag-bar__label { flex: 1; text-align: left; }

.wa-float {
  position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 25;
  display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%;
  background: var(--wa); color: #fff; box-shadow: var(--shadow-lg);
}
.wa-float .i { width: 30px; height: 30px; }

.toast {
  position: fixed; left: 50%; bottom: calc(86px + env(safe-area-inset-bottom)); z-index: 40;
  transform: translateX(-50%); display: flex; align-items: center; gap: 10px;
  width: max-content; max-width: calc(100% - 32px);
  padding: 10px 10px 10px 16px; border-radius: 999px; background: var(--ink); color: #fff;
  font-size: .9rem; font-weight: 600; box-shadow: var(--shadow-lg);
  animation: sheet-up .2s ease-out;
}
.toast[hidden] { display: none; }
.toast .i { color: #7ee2a8; }
.toast__action { border: 0; background: rgba(255,255,255,.14); color: #fff; font-weight: 700; padding: 8px 14px; border-radius: 999px; font-size: .84rem; }

/* ---------- Chat "Quero minha vitrine" ---------- */
.join-chat { height: 80dvh; }
.join-chat[open] { display: flex; flex-direction: column; }
.join-chat__head {
  display: flex; align-items: center; gap: 12px; padding: 14px 14px 14px 18px;
  border-bottom: 1px solid var(--line); background: #fff;
}
.join-chat__head > div { flex: 1; }
.join-chat__title { font-size: 1.05rem; font-weight: 800; }
.join-chat__sub { margin: 0; font-size: .78rem; color: var(--muted); }
.join-chat__body {
  flex: 1; overflow-y: auto; display: flex; flex-direction: column; gap: 10px;
  padding: 18px 16px; background: var(--soft);
}
.chat-msg {
  max-width: 82%; margin: 0; padding: 10px 14px; font-size: .95rem; line-height: 1.45;
  border-radius: 18px; animation: sheet-up .2s ease-out;
}
.chat-msg--bot { align-self: flex-start; background: #fff; border-bottom-left-radius: 6px; box-shadow: 0 1px 2px rgba(21,32,51,.08); }
.chat-msg--user { align-self: flex-end; background: var(--azul-700); color: #fff; border-bottom-right-radius: 6px; }
.chat-msg.is-typing { display: inline-flex; gap: 4px; padding: 14px 16px; }
.chat-msg.is-typing span { width: 7px; height: 7px; border-radius: 50%; background: #b7c0cc; animation: typing 1s infinite ease-in-out; }
.chat-msg.is-typing span:nth-child(2) { animation-delay: .15s; }
.chat-msg.is-typing span:nth-child(3) { animation-delay: .3s; }
@keyframes typing { 0%, 60%, 100% { transform: translateY(0); opacity: .5; } 30% { transform: translateY(-4px); opacity: 1; } }
.join-chat__quick { display: flex; flex-wrap: wrap; gap: 8px; padding: 10px 16px 0; background: #fff; border-top: 1px solid var(--line); }
.join-chat__form { display: flex; gap: 8px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--line); }
.join-chat__quick:not([hidden]) + .join-chat__form { border-top: 0; }
.join-chat__form input {
  flex: 1; min-width: 0; height: 48px; padding: 0 16px; font-size: 1rem;
  border: 1.5px solid var(--line); border-radius: 999px; background: var(--soft);
}
.join-chat__form input:focus { outline: none; border-color: var(--azul-700); background: #fff; }
.join-chat__send {
  display: grid; place-items: center; width: 48px; height: 48px; flex: none;
  border: 0; border-radius: 50%; background: var(--azul-700); color: #fff;
}
.join-chat__send .i { width: 22px; height: 22px; }
.join-chat__done { display: grid; gap: 4px; justify-items: center; padding: 14px 16px calc(12px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--line); }

/* ---------- Aviso de cookies (LGPD) ---------- */
.cookie-banner {
  position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 45;
  display: grid; gap: 12px; padding: 16px; border-radius: var(--radius);
  background: #fff; color: var(--ink); border: 1px solid var(--line); box-shadow: var(--shadow-lg);
  animation: sheet-up .25s ease-out;
}
.cookie-banner__text { margin: 0; font-size: .86rem; line-height: 1.5; color: #3a4557; }
.cookie-banner__text a { color: var(--ink); font-weight: 600; }
.cookie-banner__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.cookie-banner__actions .btn { border-color: #c9d0da; }
.cookie-banner__actions .btn:hover { border-color: var(--ink); }

/* ---------- Painel administrativo ---------- */
.page-admin { background: var(--soft); }
.admin-login { min-height: 100dvh; display: grid; place-items: center; padding: 24px 16px; }
.admin-login__box { width: 100%; max-width: 360px; padding: 32px 28px; border-radius: 20px; background: #fff; box-shadow: var(--shadow); text-align: center; }
.admin-login__box img { margin: 0 auto 8px; width: 120px; height: auto; }
.admin-login__title { font-size: 1.2rem; margin-bottom: 20px; }
.admin-login__form { display: grid; gap: 14px; text-align: left; }
.admin-login__msg { font-size: .9rem; color: var(--muted); }
.admin-login__code { display: block; padding: 10px; border-radius: 8px; background: var(--soft); font-size: .85rem; word-break: break-all; }
.admin-bar { background: var(--ink); color: #fff; }
.admin-bar__inner { display: flex; align-items: center; justify-content: space-between; height: 56px; }
.admin-bar .link-btn { color: #cfd6e2; }
.admin { padding-top: 24px; padding-bottom: 48px; }
.admin__filtro { display: flex; align-items: center; gap: 10px; margin-bottom: 20px; }
.admin__filtro label { font-weight: 700; font-size: .9rem; }
.admin__filtro select { min-height: 44px; padding: 0 12px; border: 1.5px solid var(--line); border-radius: 10px; background: #fff; font-weight: 600; }
.admin-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-bottom: 28px; }
.admin-card { display: flex; flex-direction: column; gap: 4px; padding: 16px; border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); }
.admin-card span { font-size: .78rem; color: var(--muted); font-weight: 600; }
.admin-card strong { font-size: 1.8rem; line-height: 1.1; }
.admin-card--destaque { background: var(--ink); color: #fff; }
.admin-card--destaque span { color: #cfd6e2; }
.admin-secao { margin-bottom: 32px; }
.admin-secao h2 { font-size: 1.1rem; margin-bottom: 12px; }
.admin-secao__link { font-size: .85rem; font-weight: 600; margin-left: 8px; }
.admin-tabela { overflow-x: auto; border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); }
.admin-tabela table { width: 100%; border-collapse: collapse; font-size: .88rem; white-space: nowrap; }
.admin-tabela th, .admin-tabela td { padding: 12px 14px; text-align: right; border-bottom: 1px solid var(--line); }
.admin-tabela thead th { font-size: .74rem; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); background: var(--soft); }
.admin-tabela th[scope="row"], .admin-tabela td:first-child, .admin-tabela thead th:nth-child(-n+2) { text-align: left; }
.admin-tabela tbody tr:last-child > * { border-bottom: 0; }
.admin-tabela tr.is-atual { background: var(--azul-50); }
.admin-tabela a { color: var(--ink); font-weight: 700; }
.admin__nota { font-size: .8rem; color: var(--muted); max-width: 60em; }
@media (min-width: 760px) { .admin-cards { grid-template-columns: repeat(5, 1fr); } }

/* ==========================================================================
   Breakpoints
   ========================================================================== */
/* ---------- Ajustes finos no celular ---------- */
@media (max-width: 759px) {
  .showcase-head__id { gap: 12px; }
  .showcase-head__logo, .showcase-head .avatar--xl { width: 64px; height: 64px; font-size: 1.35rem; }
  .has-cover .showcase-head__id > :first-child { margin-top: -30px; }
  .showcase-head__title { font-size: 1.5rem; }
  .showcase-head__cat { font-size: .86rem; }
  .contact-btn { width: 42px; height: 42px; }

  .section-title--sm { font-size: 1.22rem; }
  .catalog-count { font-size: .8rem; }
  .chip { min-height: 38px; padding: 7px 14px; font-size: .82rem; }

  .product-card__body { padding: 14px 16px 16px; gap: 4px; }
  .product-card__title { font-size: .98rem; }
  .product-card__desc { font-size: .84rem; }
  .product-card__vars { font-size: .74rem; }
  .product-card .price { font-size: 1rem; }
  .product-card .price small { font-size: .68rem; }
  .product-card__foot .btn--sm { min-height: 42px; padding: 8px 14px; font-size: .82rem; }
}

/* Celulares estreitos (360px): garante o subtítulo da vitrine em uma linha */
@media (max-width: 380px) {
  .showcase-head__id { gap: 10px; }
  .showcase-head__logo, .showcase-head .avatar--xl { width: 56px; height: 56px; font-size: 1.2rem; }
  .showcase-head__title { font-size: 1.35rem; }
  .showcase-head__cat { font-size: .76rem; }
}

@media (min-width: 520px) {
  .hero__actions { flex-direction: row; flex-wrap: wrap; }
  .product-grid, .service-grid { grid-template-columns: repeat(2, 1fr); }
  .cat-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 760px) {
  :root { --gutter: 32px; }
  .section { padding: 80px 0; }
  .section--tight { padding: 56px 0; }
  .site-header__inner { padding: 15px 0; }
  .brand img { height: 84px; }
  .hero { padding: 56px 0 72px; }
  .hero__inner { grid-template-columns: 1.15fr 1fr; gap: 40px; align-items: center; }
  .hero__headline-line1 {
    white-space: nowrap;
  }
  .hero__collage {
    min-height: 520px;
    max-width: 630px;
    position: relative;
    margin-left: auto;
  }
  /* Foto 1: Artesã em ação como Âncora Visual dominante */
  .hero__photo--main {
    position: absolute;
    left: 8%;
    top: 0;
    width: 67%;
    aspect-ratio: 4 / 4.6;
    border-radius: 36px;
    border: 6px solid #fff;
    box-shadow: 0 24px 50px -10px rgba(21, 32, 51, .16);
    z-index: 2;
  }
  /* Foto 2: Gastronomia reduzida no topo direito */
  .hero__photo--gastronomia {
    position: absolute;
    right: 0;
    top: 14px;
    width: 33%;
    aspect-ratio: 4 / 3.1;
    border-radius: 20px;
    border: 4px solid #fff;
    box-shadow: 0 12px 30px -6px rgba(21, 32, 51, .13);
    z-index: 3;
  }
  /* Foto 3: Artesanato reduzido na lateral direita, quebrando alinhamento rígido */
  .hero__photo--artesanato {
    position: absolute;
    right: 3%;
    top: 45%;
    width: 30%;
    aspect-ratio: 4 / 3.5;
    border-radius: 20px;
    border: 4px solid #fff;
    box-shadow: 0 12px 30px -6px rgba(21, 32, 51, .13);
    z-index: 3;
    display: block;
  }
  /* Foto 4: Serviços reduzido, sobrepondo suavemente a base */
  .hero__photo--servicos {
    position: absolute;
    left: 36%;
    bottom: 0;
    width: 35%;
    aspect-ratio: 4 / 3.2;
    border-radius: 22px;
    border: 4px solid #fff;
    box-shadow: 0 16px 36px -6px rgba(21, 32, 51, .18);
    z-index: 4;
    display: block;
  }
  .hero__photo--servicos .hero__pill {
    top: 8px;
    left: 8px;
    right: auto;
  }
  /* Gente da nossa cidade com amplo respiro e posicionamento natural */
  .hero__note {
    display: block;
    left: -16px;
    bottom: 40px;
  }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .join-band { grid-template-columns: 1fr auto; align-items: center; padding: 48px; }
  .about { grid-template-columns: 1fr 1.4fr; gap: 48px; }
  .site-footer__inner { grid-template-columns: 1fr 1.2fr; }
  .site-footer__nav { justify-content: flex-end; }
  .site-footer__bottom { flex-direction: row; justify-content: space-between; }

  .vitrines-grid { grid-template-columns: repeat(2, 1fr); }
  .vitrines-grid--empty { grid-template-columns: 1.6fr 1fr; }
  /* Uma única vitrine: card largo em destaque + convite ao lado */
  .vitrines-grid--1 { grid-template-columns: 2fr 1fr; }
  .biz-card--wide { flex-direction: row; }
  .biz-card--wide .biz-card__media { flex: 1.1; aspect-ratio: auto; min-height: 320px; }
  .biz-card--wide .biz-card__body { flex: 1; padding: 32px; justify-content: center; }
  .biz-card--wide .biz-card__title { font-size: 1.7rem; }
  .biz-card--wide .biz-card__link { margin-top: 12px; }

  .catalog-tools { grid-template-columns: minmax(260px, 380px) 1fr; align-items: center; margin-left: 0; margin-right: 0; padding-left: 0; padding-right: 0; }
  .catalog-tools .chips { margin: 0; padding: 2px; }
  .contact-btn__label { display: inline; }
  .contact-btn--wa { width: auto; padding: 0 16px 0 12px; }
  .order-steps { padding: 16px 20px; }
  .order-steps__list { gap: 56px; }
  .order-steps__item { flex: 0 1 auto; flex-direction: row; align-items: center; text-align: left; gap: 10px; font-size: .92rem; }
  .order-steps__item + .order-steps__item::before { left: -34px; top: 10px; }
  .section--catalog { padding-top: 16px; }
  .showcase-head__name { flex: 0 1 auto; }
  .showcase-head__contact { margin-left: 12px; }

  /* Diálogos centralizados */
  .sheet { width: min(960px, calc(100% - 48px)); max-height: 88vh; margin: auto; border-radius: 22px; }
  .product-dialog__grid { grid-template-columns: 1.1fr 1fr; }
  .gallery__nav { display: grid; }
  .product-dialog__info { padding: 32px; }
  .sheet--side { width: 440px; max-width: 100%; height: 100dvh; max-height: 100dvh; margin: 0 0 0 auto; border-radius: 22px 0 0 22px; }
  .sheet--side[open] { animation: sheet-left .25s ease-out; }
  @keyframes sheet-left { from { transform: translateX(40px); opacity: 0; } to { transform: none; opacity: 1; } }
  .bag-bar { left: auto; right: 24px; bottom: 24px; padding: 0; background: none; }
  .bag-bar__btn { width: auto; }
  .toast { bottom: 100px; }
  .vt-footer { padding-bottom: 48px; }
  .cookie-banner { left: 24px; right: auto; bottom: 24px; width: 420px; }
  .join-chat { width: 400px; height: min(620px, calc(100dvh - 48px)); margin: auto 24px 24px auto; border-radius: 22px; }
}

@media (min-width: 1000px) {
  .vitrines-grid--2, .vitrines-grid--3 { grid-template-columns: repeat(3, 1fr); }
  .product-grid, .service-grid { grid-template-columns: repeat(3, 1fr); }
  .cat-grid { grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
