:root {
  --bg: #f3eee4;
  --ink: #1a1714;
  --muted: #5e584f;
  --line: #ddd4c6;
  --card: #fffdf8;
  --accent: #b8432f;
  --accent-ink: #fff8f5;
  --chip: #efe7da;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  padding-top: env(safe-area-inset-top, 0);
  background: var(--bg);
  color: var(--ink);
  font-family: "Source Sans 3", "Segoe UI", sans-serif;
  font-size: 1.0625rem;
  line-height: 1.55;
}
a { color: inherit; }
img { max-width: 100%; }
.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--accent);
  color: white;
  padding: 0.5rem 0.8rem;
}
.skip:focus { top: 0.5rem; }
.wrap { width: min(1080px, calc(100% - 2rem)); margin: 0 auto; }
.top {
  position: sticky;
  top: env(safe-area-inset-top, 0);
  z-index: 20;
  background: rgba(243, 238, 228, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(8px);
}
.top-row { display: flex; align-items: center; gap: 2rem; min-height: 4.25rem; }
.brand { display: flex; align-items: flex-end; text-decoration: none; gap: 10pt; flex-shrink: 0; margin-right: 1rem; }
.logo { height: 2.85rem; width: auto; display: block; }
.nav { display: flex; gap: 0.25rem; }
.nav a, .btn, .btn-ghost {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  padding: 0 0.85rem;
  text-decoration: none;
  border-radius: 999px;
}
.nav a { color: var(--muted); }
.nav-drop { position: relative; display: flex; align-items: center; }
.nav-drop-menu { display: none; position: absolute; top: 100%; left: 0; min-width: 14rem; z-index: 40; background: var(--card); border: 1px solid var(--line); border-radius: 0.8rem; padding: 0.35rem; box-shadow: 0 10px 24px rgba(36, 24, 21, 0.08); }
.nav-drop:hover .nav-drop-menu, .nav-drop:focus-within .nav-drop-menu { display: flex; flex-direction: column; }
.nav-drop-menu a { border-radius: 0.55rem; white-space: nowrap; color: var(--ink); }
.nav-drop-menu a:hover { color: var(--accent); }

.nav a[aria-current="page"], .nav a:hover { color: var(--ink); }
.nav-busca { display: flex; align-items: center; gap: 0.35rem; margin-left: 0.45rem; }
.nav-busca input { width: 8.6rem; min-height: 2.2rem; margin: 0; padding: 0.2rem 0.75rem; border-radius: 999px; }
.nav-busca button { min-height: 2.2rem; padding: 0 0.8rem; }
.resultado { display: grid; gap: 0.15rem; text-decoration: none; color: inherit; padding: 0.85rem 0; border-bottom: 1px solid var(--line); }
.resultado strong { font-size: 1.05rem; }
.resultado .meta { margin: 0; }
.resultado mark { background: #f3c14b; color: #1a1714; padding: 0 0.15em; border-radius: 0.2em; font-weight: 700; }
.cam-grade .shot { width: 100%; aspect-ratio: 4 / 3; object-fit: contain; background: #111; display: block; }
.cam-tela { position: relative; background: #111; border-radius: 0.7rem; overflow: hidden; }
.cam-ao-vivo { position: absolute; top: 0.55rem; left: 0.55rem; z-index: 1; background: #e10600; color: #fff; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.06em; padding: 0.15rem 0.45rem; border-radius: 0.25rem; }
.cam-tela video.shot { width: 100%; aspect-ratio: 16 / 9; object-fit: contain; background: #111; display: block; }
.btn { background: var(--accent); color: white; font-weight: 650; border: 0; cursor: pointer; }
.btn-whatsapp, .btn-whatsapp:hover { background: #25D366; color: #fff; }
.btn-whatsapp {
  min-height: 3.4rem;
  padding: 0.85rem 1.4rem;
  font-size: 1.15rem;
  font-weight: 700;
  border-radius: 999px;
  box-shadow: 0 8px 20px rgba(18, 140, 80, 0.28);
}
.btn-whatsapp:hover { background: #1ebe5d; }
.btn-ghost { border: 1px solid var(--line); background: transparent; font-weight: 650; cursor: pointer; }
.menu-btn { display: none; margin-left: auto; }
.hero { padding: 2.5rem 0 1rem; }
.kicker {
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
h1, h2, h3 { font-family: Fraunces, Georgia, serif; font-weight: 650; letter-spacing: -0.03em; line-height: 1.12; }
h1 { font-size: clamp(2.4rem, 6vw, 4.6rem); margin: 0.35rem 0 0.8rem; }
h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); margin: 0 0 0.4rem; }
.lede { font-size: 1.25rem; max-width: 40rem; color: var(--muted); margin: 0; }
.layout { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.9fr) minmax(0, 0.8fr); gap: 1.5rem; padding-bottom: 3rem; }
.layout.sem-destaque { grid-template-columns: minmax(0, 1.6fr) minmax(0, 0.85fr); }
.layout > *, .grid-2 > *, .grid-3 > * { min-width: 0; }
.card, .note, .ad {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 1.1rem;
}
.card { padding: 1.15rem 1.2rem 1.25rem; }
.card + .card, .stack > * + * { margin-top: 0.8rem; }
.grid-2 > .card, .grid-3 > .card { margin-top: 0; }
img, video, canvas, iframe { max-width: 100%; }
.card h3 { margin: 0.35rem 0; font-size: 1.45rem; }
.card h3 a { text-decoration: none; }
.card p, .prose p { margin: 0.4rem 0 0; }
.shot { width: 100%; aspect-ratio: 16/9; object-fit: cover; border-radius: 0.9rem; display: block; background: var(--chip); }
figure { margin: 1rem 0 0.4rem; }
figcaption { color: var(--muted); font-size: 0.92rem; margin-top: 0.45rem; }
.card .shot { margin-bottom: 0.75rem; }
.chip {
  display: inline-flex;
  align-items: center;
  min-height: 1.7rem;
  padding: 0 0.55rem;
  border-radius: 999px;
  background: var(--chip);
  font-size: 0.78rem;
  font-weight: 700;
}
.side h2 { font-size: 1.35rem; }
.fact { display: flex; justify-content: space-between; gap: 1rem; padding: 0.7rem 0; border-top: 1px solid var(--line); }
.fact b { font-variant-numeric: tabular-nums; }
.section { padding: 0.5rem 0 3rem; }
.filters { display: flex; flex-wrap: wrap; gap: 0.4rem; margin: 1rem 0; }
.filters a { text-decoration: none; }
.filters a[aria-current="true"] { background: var(--ink); color: var(--bg); }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.8rem; align-items: stretch; }
.service h3 { font-size: 1.2rem; }
.phone { font-variant-numeric: tabular-nums; font-weight: 700; }
.prose { max-width: 42rem; }
.prose p { margin: 0.9rem 0; font-size: 1.12rem; }
.ad { padding: 1rem 1.1rem; display: flex; justify-content: space-between; gap: 1rem; align-items: center; }
.ad strong { font-family: Fraunces, Georgia, serif; font-size: 1.25rem; }
form .row { margin-top: 0.85rem; }
label { display: block; font-weight: 650; font-size: 0.95rem; }
input, textarea, select {
  width: 100%;
  margin-top: 0.35rem;
  border: 1px solid var(--line);
  background: white;
  color: var(--ink);
  border-radius: 0.8rem;
  padding: 0.75rem 0.8rem;
  font: inherit;
}
textarea { min-height: 8rem; resize: vertical; }
.alert { background: #f8e7e2; border-radius: 0.8rem; padding: 0.8rem 1rem; }
.ok { background: #e5f0e6; }
.hp { position: absolute; left: -9999px; }
table { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
th, td { text-align: left; padding: 0.65rem 0.4rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.footer { border-top: 1px solid var(--line); padding: 2rem 0 3rem; color: var(--muted); }
.footer a { color: var(--ink); }
.actions { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.plano-opcao { display: block; cursor: pointer; }
.plano-opcao input { width: auto; margin: 0 0.45rem 0.4rem 0; }
.destaque-vazio { color: var(--muted); }
@media (max-width: 1100px) {
  .layout { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .layout > :first-child { grid-column: 1 / -1; }
}
.top .wrap { display: flex; align-items: center; gap: 0.6rem; min-height: 4.25rem; }
.busca-topo { margin-left: auto; flex-shrink: 0; }
.busca-topo button { background: var(--accent); color: #fff; border: 0; border-radius: 50%; width: 2.2rem; height: 2.2rem; cursor: pointer; display: flex; align-items: center; justify-content: center; padding: 0; }
.menu-btn { display: none; margin-left: 0.4rem; border: 1px solid var(--line); background: #fff; color: var(--ink); border-radius: 999px; min-height: 2.4rem; padding: 0 0.9rem; font: inherit; font-weight: 700; cursor: pointer; }
@media (max-width: 800px) {
  .menu-btn { display: inline-flex; align-items: center; margin-left: 0.4rem; }
  .top .wrap { position: relative; flex-wrap: nowrap; }
  .busca-topo { order: 0; flex: 1 1 auto; margin: 0 0 0 auto; }
  .busca-topo input { flex: 1; width: 6.5rem; min-width: 0; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--bg); border-bottom: 1px solid var(--line); padding: 0.4rem 1rem 0.8rem; flex-direction: column; z-index: 30; }
  .nav.open { display: flex; }
  .nav-drop.aberto .nav-drop-menu { display: flex; position: static; box-shadow: none; }
  .layout, .grid-3, .layout.sem-destaque { grid-template-columns: minmax(0, 1fr); }
  .ad { flex-direction: column; align-items: flex-start; }
}

.table-wrap { overflow-x: auto; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.4rem 0.8rem; align-items: stretch; }
fieldset { border: 1px solid var(--line); border-radius: 1rem; margin-top: 1rem; padding: 0.2rem 1rem 1rem; }
legend { font-family: Fraunces, Georgia, serif; padding: 0 0.35rem; }
.galeria { margin: 1rem 0 1.2rem; max-width: 42rem; }
.galeria-grande { width: 100%; max-height: 34rem; object-fit: contain; background: var(--chip); border-radius: 0.9rem; display: block; }
.temas { display: grid; grid-template-columns: repeat(auto-fill, minmax(9.2rem, 1fr)); gap: 0.55rem; }
.tema { border: 1px solid var(--line); border-radius: 0.8rem; padding: 0.45rem; background: var(--card); display: block; }
.amostra { height: 2.5rem; border-radius: 0.45rem; margin-bottom: 0.3rem; }
.banco-grade { display: grid; grid-template-columns: repeat(auto-fill, minmax(7.4rem, 1fr)); gap: 0.45rem; }
.banco-grade label { font-size: 0.82rem; display: block; }
.cartao-folha { display: grid; grid-template-columns: 1fr 1fr; width: min(100%, 42rem); min-height: 18rem; height: auto; margin: 0.6rem 0 1rem; padding: 0; overflow: visible; background: #fffdf8; border: 0; border-radius: 0.91rem; box-shadow: 0 10px 24px rgba(36, 24, 21, 0.08); }
.cartao-lado-logo { display: flex; align-items: center; justify-content: center; background: #fff; border: 0; padding: 0.8rem; text-decoration: none; color: var(--ink); min-width: 0; border-radius: 0.91rem 0 0 0.91rem; }
.cartao-lado-logo img { width: auto; max-width: 100%; height: auto; max-height: 14rem; object-fit: contain; }
.cartao-lado-logo strong { font-size: 1.2rem; text-align: center; }
.cartao-lado-dados { display: flex; flex-direction: column; align-items: center; justify-content: center; min-width: 0; padding: 0.55rem 0.7rem; text-align: center; }
.cartao-dados { display: flex; flex-direction: column; align-items: center; text-decoration: none; color: inherit; min-height: 0; width: 100%; }
.checks-cartao { display: grid; grid-template-columns: 1fr 1fr; gap: 0.55rem 1.2rem; margin: 0.6rem 0 0.2rem; }
.checks-cartao label { display: flex; align-items: center; gap: 0.55rem; font-weight: 500; margin: 0; }
.checks-cartao input { width: 1.05rem; height: 1.05rem; margin: 0; flex: 0 0 auto; padding: 0; }
.cartao-texto { display: flex; flex-direction: column; align-items: center; gap: 0.05rem; width: 100%; }
.cartao-texto strong, .cartao-nome { font-size: 0.92rem; color: var(--ink); line-height: 1.15; }
.cartao-responsavel { font-size: calc(0.92rem - 2pt); color: var(--muted); }
.cartao-texto span, .cartao-endereco { font-size: 0.68rem; color: var(--muted); font-style: normal; line-height: 1.25; }
.cartao-baixar { margin-top: 0.25rem; font-size: 0.72rem; font-weight: 650; color: var(--accent); }
.cartao-endereco { margin-top: 0.2rem; text-align: center; }
.cartao-qr img { width: 3.1rem; height: 3.1rem; display: block; background: #fff; }
.cartao-zap { margin-top: 0.4rem; align-self: center; justify-content: center; min-height: 2rem; width: min(100%, 11rem); padding: 0 0.7rem; font-size: 0.88rem; }
.galeria-minis { display: flex; flex-wrap: wrap; gap: 0.45rem; margin-top: 0.55rem; }
.galeria-minis button { width: 5.6rem; padding: 0; border: 1px solid var(--line); border-radius: 0.6rem; background: var(--chip); cursor: pointer; }
.galeria-minis img { width: 100%; height: 4.2rem; object-fit: cover; display: block; border-radius: 0.55rem; }
.photos { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.45rem; margin-top: 0.8rem; }
.photos img { width: 100%; height: 120px; object-fit: cover; border-radius: 0.7rem; }
input[type="file"] { margin-top: 0.45rem; }
.tipo-escolha { display: grid; grid-template-columns: 1fr 1fr; gap: 0.7rem; margin-top: 0.4rem; }
.tipo-escolha label { border: 1px solid var(--line); border-radius: 0.9rem; padding: 0.85rem 0.9rem; cursor: pointer; background: white; }
.tipo-escolha label span { display: block; color: var(--muted); font-weight: 400; font-size: 0.92rem; }
.tipo-escolha input { width: auto; margin: 0 0.45rem 0 0; }
.tipo-escolha label.ativo { border-color: var(--accent); background: #fff6f3; }
input[readonly] { background: #f6f1ea; }
.cep-uf { max-width: 7rem; }
.mapa { width: 100%; height: 190px; border: 0; border-radius: 0.8rem; margin-top: 0.7rem; background: #efe6dc; }
.mapa-vivo { height: 240px; z-index: 0; }
.mapa-grande { height: 380px; }
.check-linha { display: flex; gap: 0.55rem; align-items: flex-start; font-weight: 400; margin: 0.4rem 0 0.8rem; }
.check-linha input { width: 1.05rem; height: 1.05rem; margin: 0.15rem 0 0; flex: 0 0 auto; padding: 0; }
@media (max-width: 800px) {
  .grid-2, .photos, .tipo-escolha, .checks-cartao { grid-template-columns: 1fr; }
}
.agenda-item { display: grid; grid-template-columns: 6.2rem 1fr; gap: 0.85rem; align-items: start; }
.agenda-quando { background: var(--chip); border-radius: 0.8rem; text-align: center; padding: 0.55rem 0.35rem; }
.agenda-quando b { display: block; font-family: Fraunces, Georgia, serif; font-size: 1.25rem; line-height: 1.05; }
.agenda-quando span { color: var(--muted); font-size: 0.75rem; }
@media (max-width: 640px) {
  .agenda-item { grid-template-columns: 1fr; }
}

#chat-portal { position: fixed; right: 1rem; bottom: 1rem; z-index: 40; }
#chat-portal.chat-esq { right: auto; left: 1rem; }
#chat-abrir { background: var(--chat-cor, #b8432f); color: white; border: 0; border-radius: 999px; min-height: 3rem; padding: 0 1rem; font: inherit; cursor: pointer; }
#chat-caixa { width: min(22rem, calc(100vw - 2rem)); background: #fffdf8; border: 1px solid #ddd4c6; border-radius: 1rem; margin-top: 0.5rem; padding: 0.8rem; box-shadow: 0 12px 30px rgba(36,24,21,.12); }
#chat-caixa header { display: flex; justify-content: space-between; align-items: center; }
#chat-fio { max-height: 16rem; overflow: auto; margin: 0.6rem 0; }
#chat-caixa label, #chat-caixa input, #chat-caixa button { display: block; width: 100%; margin-top: 0.4rem; font: inherit; }
.kanban { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0.6rem; overflow-x: auto; }
.kanban-col { background: #efe7da; border-radius: 0.8rem; padding: 0.6rem; min-width: 0; }
.kanban-col .card { margin: 0.5rem 0; }
@media (max-width: 800px) { .kanban { grid-template-columns: 1fr; } }

body.painel { margin: 0; display: flex; min-height: 100vh; background: var(--bg, #f7f3ee); }
.painel-side {
  width: 15.5rem;
  flex: 0 0 15.5rem;
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
  background: #2a1f1c;
  color: #f3eee4;
  padding: 1.1rem 0.8rem 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}
.painel-side .brand { color: #fff; text-decoration: none; display: flex; flex-direction: column; padding: 0.2rem 0.6rem 0.6rem; }
.painel-side .brand strong { font-size: 1.15rem; }
.painel-side .brand span { color: #d7cfc6; font-size: 0.85rem; }
.painel-nav { display: flex; flex-direction: column; gap: 0.15rem; }
.painel-nav a {
  color: #efe7de;
  text-decoration: none;
  padding: 0.45rem 0.7rem;
  border-radius: 0.5rem;
  font-weight: 600;
}
.painel-nav a:hover, .painel-nav a[aria-current="page"] { background: #b8432f; color: #fff; }
.painel-nav .nav-drop { display: flex; flex-direction: column; }
.painel-nav .nav-drop { width: 100%; } .painel-nav .nav-drop-menu { display: flex; flex-direction: column; position: static; background: transparent; border: 0; box-shadow: none; padding: 0; width: 100%; }
.painel-nav .nav-drop-menu a { font-weight: 500; font-size: 0.92rem; padding-left: 1.2rem; }
.painel-side form { margin-top: auto; }
.painel-side .btn-ghost { color: #f3eee4; border-color: #6b5a54; width: 100%; }
.painel-main { flex: 1; min-width: 0; padding: 1.5rem 1.6rem 3rem; }
@media (max-width: 800px) {
  body.painel { flex-direction: column; }
  .painel-side { width: 100%; height: auto; position: static; flex-basis: auto; }
}

.brand { align-items: flex-end; }
.brand-text { display: flex; align-items: flex-end; margin: 0 0 0.05rem; }
.brand-text strong { font-family: Fraunces, Georgia, serif; font-size: 0.96rem; color: var(--ink); font-weight: 650; }

.credito { margin-top: 1.4rem; text-align: right; }
.credito a { display: inline-flex; align-items: center; gap: 0.6rem; text-decoration: none; color: var(--muted); font-size: 0.85rem; }
.credito img { height: 1.6rem; width: auto; display: block; }

.footer-menu { display: flex; flex-wrap: wrap; gap: 0.8rem 1.2rem; margin-bottom: 1rem; }
.footer-menu a { color: var(--ink); text-decoration: none; font-weight: 600; }
.footer-menu a:hover { color: var(--accent); }

.credito { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; text-align: left; }
.credito .copy { color: var(--muted); font-size: 0.85rem; }
.credito a { margin-left: auto; }

#chat-caixa header { display: flex; align-items: center; justify-content: flex-end; gap: 0.6rem; }
#chat-caixa header strong { margin-right: auto; }
#chat-fechar { display: inline-block !important; width: auto !important; background: transparent; border: 0; color: inherit; font-size: 2.4rem; line-height: 1; cursor: pointer; padding: 0 0.4rem; margin: 0 0 0 auto !important; }

.nav .nav-drop { position: relative; }
.nav .nav-drop-menu { display: none; position: absolute; top: 100%; left: 0; background: #fffdf8; border: 1px solid var(--line); border-radius: 0.6rem; min-width: 11rem; padding: 0.3rem; z-index: 20; }
.nav .nav-drop:hover .nav-drop-menu, .nav .nav-drop:focus-within .nav-drop-menu { display: flex; flex-direction: column; }
.nav .nav-drop-menu a { padding: 0.35rem 0.6rem; }
.lista-guia { display: grid; gap: 0.8rem; }
.guia-item { background: var(--card); border: 1px solid var(--line); border-radius: 0.8rem; padding: 0.8rem 1rem; }
.guia-item p { margin: 0.15rem 0; }

.footer-menu { align-items: flex-start; }
.footer-guia { display: flex; flex-direction: column; gap: 0.25rem; }
.footer-guia > a { font-weight: 700; }
.footer-guia-sub { display: flex; flex-direction: column; gap: 0.15rem; padding-left: 0.4rem; }
.footer-guia-sub a { font-weight: 500; font-size: 0.9rem; }

.btn-lupa { padding: 0 0.7rem; min-width: 2.75rem; }
.btn-lupa svg { display: block; }
