/* Serviços (nova) */
.sv-toolbar { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; justify-content: space-between; margin-bottom: 1.8rem; }
.sv-tabs {
  position: relative; display: flex; gap: 0.2rem; padding: 0.35rem; border-radius: 50px;
  background: #fff; border: 1px solid var(--cinza); box-shadow: var(--shadow-sm); overflow-x: auto; max-width: 100%;
  scrollbar-width: none;
}
.sv-tabs::-webkit-scrollbar { display: none; }
.sv-ind {
  position: absolute; top: 0.35rem; bottom: 0.35rem; left: 0; width: 0; border-radius: 50px; z-index: 0;
  background: linear-gradient(135deg, var(--verde-escuro), #0d7a2a); box-shadow: 0 6px 16px rgba(18, 158, 56, 0.3);
  transition: left 0.45s cubic-bezier(0.2, 0.8, 0.2, 1), width 0.45s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.sv-tab {
  position: relative; z-index: 1; border: 0; background: none; cursor: pointer; white-space: nowrap;
  font: inherit; font-weight: 600; font-size: 0.92rem; color: var(--preto);
  padding: 0.6rem 1.05rem; border-radius: 50px; transition: color 0.3s;
}
.sv-tab em { font-style: normal; font-size: 0.75rem; font-weight: 700; margin-left: 0.25rem; padding: 0.05rem 0.45rem; border-radius: 20px; background: rgba(13, 13, 13, 0.07); transition: background 0.3s; }
.sv-tab.sv-tab-on { color: #fff; }
.sv-tab.sv-tab-on em { background: rgba(255, 255, 255, 0.22); }
.sv-search {
  display: flex; align-items: center; gap: 0.6rem; flex: 1 1 280px; max-width: 380px;
  background: #fff; border: 1.5px solid var(--cinza); border-radius: 50px; padding: 0 1.1rem; transition: var(--transition);
}
.sv-search:focus-within { border-color: var(--verde-escuro); box-shadow: 0 0 0 4px rgba(18, 158, 56, 0.12); }
.sv-search i { color: var(--cinza-texto); }
.sv-search input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; font: inherit; font-size: 0.95rem; padding: 0.8rem 0; }

.sv-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.sv-card {
  --acc: var(--verde-escuro); --soft: rgba(18, 158, 56, 0.1);
  position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 0.35rem; text-align: left;
  padding: 1.3rem 1.2rem 1.25rem; border-radius: 18px; cursor: pointer; font: inherit; color: var(--preto);
  background: #fff; border: 1.5px solid var(--cinza); box-shadow: var(--shadow-sm);
  transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.3s, border-color 0.3s, background 0.3s;
  animation: bc-sv-in 0.45s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}
.sv-r { --acc: #6f8f00; --soft: rgba(111, 143, 0, 0.12); }
.sv-a { --acc: #0f8f6a; --soft: rgba(15, 143, 106, 0.1); }
.sv-t { --acc: #2a7faa; --soft: rgba(42, 127, 170, 0.11); }
.sv-d { --acc: #b8860b; --soft: rgba(184, 134, 11, 0.12); }
@keyframes bc-sv-in { from { opacity: 0; transform: translateY(14px) scale(0.97); } to { opacity: 1; transform: none; } }
.sv-card.sv-hide { display: none; }
.sv-card:hover { transform: translateY(-4px); border-color: var(--acc); box-shadow: 0 16px 34px rgba(10, 26, 13, 0.12); }
.sv-ic {
  width: 46px; height: 46px; border-radius: 13px; display: flex; align-items: center; justify-content: center;
  background: var(--soft); color: var(--acc); font-size: 1.15rem; margin-bottom: 0.5rem; transition: all 0.3s;
}
.sv-cat { font-size: 0.68rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--acc); }
.sv-card b { font-size: 1rem; font-weight: 800; line-height: 1.3; }
.sv-card small { font-size: 0.85rem; color: var(--cinza-texto); line-height: 1.4; }
.sv-check {
  position: absolute; top: 0.9rem; right: 0.9rem; width: 26px; height: 26px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; font-size: 0.75rem; color: transparent;
  border: 2px solid #d5ddd2; transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.sv-card.sv-sel { border-color: var(--acc); background: linear-gradient(180deg, #fff, var(--soft)); box-shadow: 0 0 0 3px var(--soft), 0 14px 30px rgba(10, 26, 13, 0.1); }
.sv-card.sv-sel .sv-check { background: var(--acc); border-color: var(--acc); color: #fff; transform: scale(1.12); }
.sv-card.sv-sel .sv-ic { background: var(--acc); color: #fff; }
.sv-empty { display: none; text-align: center; padding: 2.5rem 1rem; color: var(--cinza-texto); }
.sv-empty.sv-show { display: block; }
.sv-empty a { color: var(--verde-escuro); font-weight: 700; }

/* barra de seleção */
.sv-bar {
  position: fixed; left: 50%; bottom: 1.4rem; z-index: 950; width: min(720px, calc(100% - 2rem));
  display: flex; align-items: center; gap: 1rem; padding: 0.7rem 0.7rem 0.7rem 1.3rem; border-radius: 60px;
  background: rgba(6, 19, 10, 0.94); color: #fff; backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35); border: 1px solid rgba(191, 232, 106, 0.25);
  transform: translate(-50%, 160%); transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.sv-bar.sv-bar-on { transform: translate(-50%, 0); }
.sv-bar-info { flex: 1; display: flex; align-items: center; gap: 0.7rem; font-weight: 600; font-size: 0.95rem; min-width: 0; }
.sv-bar-n {
  min-width: 34px; height: 34px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--verde-escuro), var(--verde-claro)); font-weight: 800;
}
.sv-bar-n.sv-bump { animation: bc-sv-bump 0.4s cubic-bezier(0.34, 1.56, 0.64, 1); }
@keyframes bc-sv-bump { 50% { transform: scale(1.3); } }
.sv-bar-clear { background: none; border: 0; color: rgba(255, 255, 255, 0.65); font: inherit; font-size: 0.88rem; cursor: pointer; padding: 0.4rem; }
.sv-bar-clear:hover { color: #fff; }
.sv-bar-go { padding: 0.8rem 1.4rem; }
.whats-float.sv-lift { transform: translateY(-84px); }

@media (max-width: 1100px) { .sv-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 820px) {
  .sv-grid { grid-template-columns: repeat(2, 1fr); }
  .sv-search { max-width: none; }
}
@media (max-width: 520px) {
  .sv-grid { grid-template-columns: 1fr 1fr; gap: 0.7rem; }
  .sv-card { padding: 1rem 0.9rem; }
  .sv-card small { display: none; }
  .sv-card b { font-size: 0.92rem; }
  .sv-bar { padding-left: 1rem; gap: 0.5rem; }
  .sv-bar-info span:last-child { display: none; }
  .sv-bar-go { padding: 0.75rem 1.1rem; font-size: 0.9rem; }
}
@media (prefers-reduced-motion: reduce) { .sv-card { animation: none; } }
