/* app-publico.css - visual "app" do site publico: barra superior de vidro, menu inferior,
   telas que deslizam, botoes com toque, modais como bottom sheet no celular. */

:root {
  --app-grad: linear-gradient(135deg, color-mix(in srgb, var(--cor-primaria) 88%, white) 0%, color-mix(in srgb, var(--cor-primaria) 72%, black) 100%);
  --app-grad-suave: linear-gradient(135deg, color-mix(in srgb, var(--cor-primaria) 10%, white), color-mix(in srgb, var(--cor-secundaria) 9%, white));
  --app-sombra: 0 14px 30px -16px rgb(15 23 42 / .30);
  --app-nav-altura: 4.6rem;
}

/* ---------- Base de app ---------- */
html { -webkit-tap-highlight-color: transparent; scroll-behavior: smooth; }
html, body { max-width: 100%; overflow-x: hidden; }
body { overscroll-behavior-x: none; -webkit-font-smoothing: antialiased; }
a, button, summary, label { touch-action: manipulation; }
img { -webkit-user-drag: none; }
:focus-visible { outline: 2px solid var(--cor-primaria); outline-offset: 2px; border-radius: .5rem; }

/* ---------- Barra superior ---------- */
.app-topo {
  position: sticky; top: 0; z-index: 40;
  background: rgb(255 255 255 / .86);
  backdrop-filter: saturate(180%) blur(14px); -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid rgb(15 23 42 / .06);
  padding-top: env(safe-area-inset-top);
}
.app-link-topo { padding: .5rem .85rem; border-radius: 999px; transition: background-color .15s, color .15s, transform .12s; white-space: nowrap; }
.app-link-topo:hover { background: rgb(15 23 42 / .05); }
.app-link-topo.ativo { color: var(--cor-primaria); background: color-mix(in srgb, var(--cor-primaria) 10%, white); font-weight: 600; }
.app-icone-topo { width: 2.5rem; height: 2.5rem; display: grid; place-items: center; border-radius: 999px; font-size: 1.2rem; color: #334155; transition: background-color .15s, transform .12s; }
.app-icone-topo:active { transform: scale(.9); background: rgb(15 23 42 / .08); }

/* ---------- Botoes, cards, campos ---------- */
.btn-primario { background-image: var(--app-grad); }
.btn-secundario { background-image: linear-gradient(135deg, var(--cor-secundaria), color-mix(in srgb, var(--cor-secundaria) 70%, black)); }
.btn-primario, .btn-secundario { box-shadow: 0 10px 20px -12px color-mix(in srgb, var(--cor-primaria) 85%, transparent); }
.botao-elevado, .btn-primario, .btn-secundario { transition: transform .12s ease, opacity .15s, box-shadow .15s; }
button:not(:disabled):active, a.botao-elevado:active, a.btn-primario:active, a.btn-secundario:active { transform: scale(.97); }
button:disabled { cursor: not-allowed; }
.card-elevado { border-radius: 1.25rem; box-shadow: var(--app-sombra), 0 2px 6px rgb(0 0 0 / .03); border-color: rgb(255 255 255 / .85); }
a.card-elevado { transition: transform .18s ease, box-shadow .18s ease; }
a.card-elevado:hover { transform: translateY(-3px); }
a.card-elevado:active { transform: scale(.985); }
.campo-base { border-radius: .95rem; }

/* ---------- Menu inferior (celular) ---------- */
.app-nav { display: none; }
@media (max-width: 767px) {
  body { padding-bottom: calc(var(--app-nav-altura) + env(safe-area-inset-bottom)); }
  .app-nav {
    display: grid; grid-template-columns: repeat(5, 1fr); align-items: end;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 45;
    padding: .3rem .25rem calc(.3rem + env(safe-area-inset-bottom));
    background: rgb(255 255 255 / .92);
    backdrop-filter: saturate(180%) blur(16px); -webkit-backdrop-filter: saturate(180%) blur(16px);
    border-top: 1px solid rgb(15 23 42 / .06);
    box-shadow: 0 -12px 30px -20px rgb(15 23 42 / .4);
  }
  .app-nav a, .app-nav button {
    display: flex; flex-direction: column; align-items: center; gap: .12rem;
    padding: .4rem 0 .2rem; border: 0; background: none; border-radius: 1rem;
    font-size: .64rem; font-weight: 600; color: #64748b; line-height: 1.1;
    transition: color .18s, transform .12s;
  }
  .app-nav a:active, .app-nav button:active { transform: scale(.92); }
  .app-nav i { font-size: 1.32rem; transition: transform .22s cubic-bezier(.2, .9, .3, 1.4); }
  .app-nav .ativo { color: var(--cor-primaria); }
  .app-nav .ativo i { transform: translateY(-2px) scale(1.14); }
  .app-nav .ativo::after { content: ""; width: 1.25rem; height: .22rem; border-radius: 99px; background: var(--app-grad); margin-top: .05rem; }
  .app-nav .app-fab { color: #475569; }
  .app-nav .app-fab__bola {
    width: 3.4rem; height: 3.4rem; margin-top: -1.55rem; display: grid; place-items: center; border-radius: 50%;
    background: var(--app-grad); color: #fff; font-size: 1.45rem; border: 4px solid #fff;
    box-shadow: 0 12px 22px -8px color-mix(in srgb, var(--cor-primaria) 85%, transparent);
    transition: transform .15s;
  }
  .app-nav .app-fab:active .app-fab__bola { transform: scale(.92); }
  .app-nav .app-fab.ativo::after { display: none; }
  .app-nav .app-fab.ativo { color: var(--cor-primaria); }
  .app-nav .app-fab.ativo i { transform: none; }

  #toast-container { left: 1rem; right: 1rem; bottom: calc(var(--app-nav-altura) + env(safe-area-inset-bottom) + .75rem) !important; }
}

/* ---------- Bottom sheet "Mais" ---------- */
.app-sheet { position: fixed; inset: 0; z-index: 60; display: none; }
.app-sheet.aberto { display: block; }
.app-sheet__fundo { position: absolute; inset: 0; background: rgb(15 23 42 / .45); backdrop-filter: blur(4px); animation: app-fade .2s ease both; }
.app-sheet__painel {
  position: absolute; left: 0; right: 0; bottom: 0; max-height: 86vh; overflow-y: auto;
  background: #fff; border-radius: 1.75rem 1.75rem 0 0;
  padding: .6rem 1rem calc(1.1rem + env(safe-area-inset-bottom));
  box-shadow: 0 -20px 50px -20px rgb(15 23 42 / .5);
  animation: app-subir .32s cubic-bezier(.2, .9, .3, 1) both;
}
.app-sheet__alca { width: 2.6rem; height: .3rem; border-radius: 99px; background: #cbd5e1; margin: .2rem auto .9rem; }
.app-sheet__titulo { font-weight: 800; font-size: 1.05rem; margin: 0 .25rem .8rem; }
.app-sheet__grade { display: grid; grid-template-columns: repeat(3, 1fr); gap: .65rem; }
.app-sheet__item {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .45rem;
  padding: 1rem .35rem; border-radius: 1.15rem; background: var(--app-grad-suave); border: 0;
  font-size: .74rem; font-weight: 600; text-align: center; color: #1e293b; transition: transform .12s;
}
.app-sheet__item:active { transform: scale(.95); }
.app-sheet__item i { font-size: 1.55rem; color: var(--cor-primaria); }
.app-sheet__links { display: flex; flex-wrap: wrap; gap: .4rem 1rem; justify-content: center; margin-top: 1rem; font-size: .74rem; color: #64748b; }
.app-sheet__links a { padding: .3rem .2rem; }

/* ---------- Modais: bottom sheet no celular, vidro no desktop ---------- */
[data-modal-overlay] { backdrop-filter: blur(6px); animation: app-fade .18s ease both; }
[data-modal-overlay] > div { border-radius: 1.75rem !important; animation: app-pop .3s cubic-bezier(.2, .9, .3, 1.15) both; box-shadow: 0 30px 60px -20px rgb(15 23 42 / .5) !important; }
[data-modal-overlay] button { border-radius: .9rem; }
@media (max-width: 767px) {
  [data-modal-overlay] { align-items: flex-end !important; padding: 0 !important; }
  [data-modal-overlay] > div { max-width: none !important; border-radius: 1.75rem 1.75rem 0 0 !important; padding-bottom: calc(1.5rem + env(safe-area-inset-bottom)); animation: app-subir .32s cubic-bezier(.2, .9, .3, 1) both; }
}

/* ---------- Toasts ---------- */
#toast-container { z-index: 70 !important; }
#toast-container > div { border-radius: 1rem !important; font-weight: 600; padding: .85rem 1.1rem !important; box-shadow: 0 14px 30px -10px rgb(0 0 0 / .35) !important; border: 1px solid rgb(255 255 255 / .18); }
#toast-container .bg-green-600 { background-image: linear-gradient(135deg, #16a34a, #0d9488); }
#toast-container .bg-red-600 { background-image: linear-gradient(135deg, #ef4444, #be123c); }
#toast-container .bg-amber-500 { background-image: linear-gradient(135deg, #f59e0b, #ea580c); }
#toast-container .bg-blue-600 { background-image: var(--app-grad); }

/* ---------- Barra de progresso de navegacao ---------- */
.app-progresso { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 100; overflow: hidden; opacity: 0; pointer-events: none; transition: opacity .2s; }
.app-progresso.ativo { opacity: 1; }
.app-progresso i { display: block; height: 100%; width: 40%; background: var(--app-grad); border-radius: 0 99px 99px 0; animation: app-progresso 1s ease-in-out infinite; }
html.app-saindo main { opacity: .6; transition: opacity .15s; }

/* ---------- Troca de telas (View Transitions entre paginas) ---------- */
@view-transition { navigation: auto; }
.app-topo { view-transition-name: app-topo; }
.app-nav { view-transition-name: app-nav; }
::view-transition-group(app-topo), ::view-transition-group(app-nav) { animation-duration: 0s; }
::view-transition-old(root), ::view-transition-new(root) { mix-blend-mode: normal; animation-timing-function: cubic-bezier(.22, .8, .2, 1); }
::view-transition-old(root) { animation: .22s both app-tela-sai; }
::view-transition-new(root) { animation: .34s both app-tela-entra; }
:root:active-view-transition-type(voltar)::view-transition-old(root) { animation-name: app-tela-sai-volta; }
:root:active-view-transition-type(voltar)::view-transition-new(root) { animation-name: app-tela-entra-volta; }

/* Sem View Transitions: so uma entrada suave */
@supports not (selector(:active-view-transition-type(voltar))) {
  main { animation: app-entrada .35s cubic-bezier(.2, .8, .2, 1) backwards; }
}

@keyframes app-tela-sai { to { opacity: 0; transform: translateX(-14%); } }
@keyframes app-tela-entra { from { opacity: 0; transform: translateX(18%); } }
@keyframes app-tela-sai-volta { to { opacity: 0; transform: translateX(14%); } }
@keyframes app-tela-entra-volta { from { opacity: 0; transform: translateX(-18%); } }
@keyframes app-entrada { from { opacity: 0; transform: translateY(10px); } }
@keyframes app-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes app-pop { from { opacity: 0; transform: translateY(14px) scale(.95); } to { opacity: 1; transform: none; } }
@keyframes app-subir { from { transform: translateY(100%); } to { transform: none; } }
@keyframes app-progresso { 0% { transform: translateX(-110%); } 100% { transform: translateX(280%); } }

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

/* ======================================================================
   v1.2.0 - cabecalho em 3 niveis (faixa fina + linha principal + barra escura),
   mega menu "Mais departamentos" e menu lateral no celular
   ====================================================================== */

/* Faixa fina com os menus do portal */
.app-faixa { background: #f1f5f9; border-bottom: 1px solid rgb(15 23 42 / .06); font-size: .75rem; max-height: 2.2rem; overflow: hidden; transition: max-height .25s ease, opacity .2s ease; }
.app-faixa__texto { color: #64748b; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.app-faixa__link { display: inline-flex; align-items: center; gap: .35rem; padding: .5rem .7rem; color: #475569; white-space: nowrap; transition: color .15s, background-color .15s; }
.app-faixa__link:hover { color: var(--cor-primaria); background: rgb(255 255 255 / .7); }
.app-faixa__link.ativo { color: var(--cor-primaria); font-weight: 700; }
.app-faixa__link i { font-size: .85rem; opacity: .75; }
html.app-rolou .app-faixa { max-height: 0; opacity: 0; border-bottom-width: 0; }

/* Busca do topo (desktop) */
.app-busca { flex: 1; max-width: 30rem; align-items: center; gap: .6rem; padding: 0 1rem; height: 2.6rem; border-radius: 999px; background: #f1f5f9; border: 1px solid transparent; transition: background-color .15s, border-color .15s, box-shadow .15s; }
.app-busca:focus-within { background: #fff; border-color: var(--cor-primaria); box-shadow: 0 0 0 3px color-mix(in srgb, var(--cor-primaria) 15%, transparent); }
.app-busca i { color: #94a3b8; }
.app-busca input { flex: 1; min-width: 0; background: transparent; border: 0; outline: 0; font-size: .875rem; }

/* Barra escura de departamentos */
.app-deptos { background: linear-gradient(90deg, #0f172a 0%, color-mix(in srgb, var(--cor-primaria) 32%, #0f172a) 100%); color: #e2e8f0; }
/* Itens que nao cabem quebram para uma 2a linha escondida (corte limpo, sem item pela metade);
   o JS manda esses departamentos para o "Mais departamentos". */
.app-deptos__lista { display: flex; flex-wrap: wrap; flex: 1; min-width: 0; height: 3rem; overflow: hidden; }
.app-depto { display: inline-flex; align-items: center; gap: .45rem; padding: .8rem .85rem; font-size: .8rem; font-weight: 600; white-space: nowrap; color: #e2e8f0; background: none; border: 0; border-bottom: 3px solid transparent; transition: color .15s, background-color .15s, border-color .15s; cursor: pointer; }
.app-depto:hover { color: #fff; background: rgb(255 255 255 / .07); }
.app-depto.ativo { color: #fff; border-bottom-color: var(--cor-secundaria); }
.app-depto svg { opacity: .85; }
.app-depto--mais { flex-shrink: 0; color: var(--cor-secundaria); }
.app-depto--mais[aria-expanded="true"] { color: #fff; background: rgb(255 255 255 / .1); border-bottom-color: var(--cor-secundaria); }
.app-seta { font-size: .7rem; transition: transform .2s; }
.app-depto--mais[aria-expanded="true"] .app-seta { transform: rotate(180deg); }

/* Mega menu: lista de grupos a esquerda, especialidades a direita */
.app-mega { position: absolute; left: 1rem; right: 1rem; top: 100%; z-index: 41; display: grid; grid-template-columns: 17rem 1fr; background: #fff; color: #1e293b; border-radius: 0 0 1.4rem 1.4rem; box-shadow: 0 30px 60px -20px rgb(15 23 42 / .5); border: 1px solid rgb(15 23 42 / .06); border-top: 0; overflow: hidden; animation: app-mega-entra .2s ease both; }
.app-mega[hidden] { display: none; }
.app-mega__grupos { max-height: 22rem; overflow-y: auto; padding: .6rem; background: #f8fafc; border-right: 1px solid rgb(15 23 42 / .06); }
.app-mega__grupo { display: flex; align-items: center; justify-content: space-between; gap: .5rem; padding: .6rem .8rem; border-radius: .8rem; font-size: .85rem; font-weight: 600; color: #334155; transition: background-color .12s, color .12s; }
.app-mega__grupo i { font-size: .7rem; opacity: .5; }
.app-mega__grupo.ativo, .app-mega__grupo:hover { background: #fff; color: var(--cor-primaria); box-shadow: 0 4px 12px -8px rgb(15 23 42 / .4); }
.app-mega__painel { max-height: 22rem; overflow-y: auto; padding: 1.1rem 1.4rem; }
.app-mega__titulo { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: .7rem; padding-bottom: .6rem; border-bottom: 1px solid #e2e8f0; font-weight: 800; font-size: 1rem; }
.app-mega__titulo a { font-size: .75rem; font-weight: 600; color: var(--cor-primaria); white-space: nowrap; }
.app-mega__lista { columns: 3; column-gap: 1.5rem; list-style: none; margin: 0; padding: 0; }
.app-mega__lista li { break-inside: avoid; }
.app-mega__lista a { display: block; padding: .35rem 0; font-size: .85rem; color: #475569; transition: color .12s, transform .12s; }
.app-mega__lista a:hover { color: var(--cor-primaria); transform: translateX(3px); }
.app-mega__vazio { font-size: .85rem; color: #94a3b8; padding: .5rem; }
.app-mega__todos { grid-column: 1 / -1; display: flex; align-items: center; gap: .5rem; padding: .85rem 1.4rem; border-top: 1px solid #e2e8f0; font-size: .85rem; font-weight: 700; color: var(--cor-primaria); background: #fff; }
.app-mega__todos:hover i { transform: translateX(4px); }
.app-mega__todos i { transition: transform .15s; }
@keyframes app-mega-entra { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }

/* Botao X (gaveta "Mais" e menu lateral) */
.app-fechar { width: 2.4rem; height: 2.4rem; display: grid; place-items: center; flex-shrink: 0; border: 0; border-radius: 999px; background: #f1f5f9; color: #334155; font-size: 1rem; transition: transform .12s, background-color .15s; }
.app-fechar:hover { background: #e2e8f0; }
.app-fechar:active { transform: scale(.88) rotate(90deg); }
.app-sheet__cabeca { display: flex; align-items: center; justify-content: space-between; margin-bottom: .8rem; }
.app-sheet__cabeca .app-sheet__titulo { margin: 0 .25rem; }

/* Menu lateral (celular) */
.app-drawer { position: fixed; inset: 0; z-index: 70; display: none; }
.app-drawer.aberto { display: block; }
.app-drawer__fundo { position: absolute; inset: 0; background: rgb(15 23 42 / .5); backdrop-filter: blur(4px); animation: app-fade .2s ease both; }
.app-drawer__painel { position: absolute; top: 0; right: 0; bottom: 0; width: min(88vw, 23rem); display: flex; flex-direction: column; background: #fff; border-radius: 1.75rem 0 0 1.75rem; box-shadow: -20px 0 50px -20px rgb(15 23 42 / .5); padding-top: env(safe-area-inset-top); animation: app-entra-direita .3s cubic-bezier(.2, .9, .3, 1) both; }
.app-drawer__topo { display: flex; align-items: center; justify-content: space-between; padding: 1rem 1rem .6rem 1.25rem; }
.app-drawer__corpo { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: .25rem 1rem calc(1.2rem + env(safe-area-inset-bottom)); }
.app-drawer__cta { display: flex; align-items: center; justify-content: center; gap: .6rem; padding: .9rem; border-radius: 1.1rem; color: #fff; font-weight: 700; font-size: .9rem; margin-bottom: .8rem; }
.app-drawer__links { display: flex; flex-direction: column; gap: .15rem; }
.app-drawer__links a, .app-drawer__links button { display: flex; align-items: center; gap: .85rem; width: 100%; padding: .7rem .75rem; border: 0; background: none; border-radius: .95rem; font-size: .9rem; font-weight: 600; color: #1e293b; text-align: left; transition: background-color .12s, transform .12s; }
.app-drawer__links a:active, .app-drawer__links button:active { transform: scale(.98); background: #f1f5f9; }
.app-drawer__links i { width: 2.1rem; height: 2.1rem; display: grid; place-items: center; border-radius: .7rem; background: var(--app-grad-suave); color: var(--cor-primaria); font-size: 1rem; flex-shrink: 0; }
.app-drawer__titulo { margin: 1.2rem .5rem .5rem; font-size: .7rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #94a3b8; }
.app-drawer__todos { display: flex; align-items: center; gap: .5rem; margin: .8rem .5rem 0; font-size: .85rem; font-weight: 700; color: var(--cor-primaria); }
.app-acc { border-radius: .95rem; }
.app-acc > summary { display: flex; align-items: center; justify-content: space-between; gap: .5rem; padding: .7rem .75rem; list-style: none; cursor: pointer; font-size: .88rem; font-weight: 600; color: #1e293b; border-radius: .95rem; }
.app-acc > summary::-webkit-details-marker { display: none; }
.app-acc > summary::after { content: "\f282"; font-family: bootstrap-icons; font-size: .7rem; color: #94a3b8; transition: transform .2s; }
.app-acc[open] > summary { background: #f8fafc; color: var(--cor-primaria); }
.app-acc[open] > summary::after { transform: rotate(180deg); }
.app-acc ul { list-style: none; margin: 0; padding: .3rem .75rem .6rem 1.25rem; }
.app-acc li a { display: block; padding: .45rem 0; font-size: .84rem; color: #475569; }
.app-acc .app-acc { margin-left: .5rem; }
.app-acc--mais > summary { color: var(--cor-secundaria); font-weight: 800; }

@keyframes app-entra-direita { from { transform: translateX(100%); } to { transform: none; } }

/* ---------- v1.3.0: barra de departamentos arrastavel no celular ---------- */
@media (max-width: 767px) {
  .app-deptos__lista { flex-wrap: nowrap; height: auto; overflow-x: auto; overflow-y: hidden; scrollbar-width: none; -webkit-overflow-scrolling: touch; scroll-snap-type: x proximity; }
  .app-deptos__lista::-webkit-scrollbar { display: none; }
  .app-deptos__lista .app-depto { scroll-snap-align: start; padding: .75rem .8rem; }
  .app-deptos .max-w-6xl { padding-left: .35rem; padding-right: 0; }
  .app-depto--mais, .app-mega { display: none !important; }
  .app-deptos { position: relative; }
  .app-deptos::after { content: ""; position: absolute; right: 0; top: 0; bottom: 0; width: 2rem; pointer-events: none; background: linear-gradient(90deg, transparent, #0f172a); }
}

/* ---------- Home: hero ---------- */
.hero-app { position: relative; z-index: 3; overflow: visible; color: #fff; background:
  radial-gradient(60rem 28rem at 85% -10%, color-mix(in srgb, var(--cor-secundaria) 38%, transparent), transparent 60%),
  radial-gradient(40rem 24rem at -5% 110%, color-mix(in srgb, var(--cor-primaria) 70%, #fff) 0%, transparent 60%),
  linear-gradient(160deg, #0b1220 0%, color-mix(in srgb, var(--cor-primaria) 45%, #0b1220) 100%); }
.hero-app__conteudo { position: relative; max-width: 56rem; margin: 0 auto; padding: 3.5rem 1rem 3rem; text-align: center; }
@media (min-width: 768px) { .hero-app__conteudo { padding: 6rem 1rem 5rem; } }
.hero-app h1 { font-size: 2rem; line-height: 1.12; font-weight: 800; letter-spacing: -.02em; margin: 0 0 1rem; }
@media (min-width: 768px) { .hero-app h1 { font-size: 3.4rem; } }
.hero-app__texto { max-width: 38rem; margin: 0 auto 2.25rem; color: rgb(255 255 255 / .8); font-size: 1rem; line-height: 1.6; }
@media (min-width: 768px) { .hero-app__texto { font-size: 1.15rem; margin-bottom: 2.75rem; } }
.hero-busca { display: grid; gap: .75rem; text-align: left; position: relative; z-index: 5; }
@media (min-width: 768px) { .hero-busca { grid-template-columns: 1.5fr 1fr auto; gap: .9rem; } }
.hero-campo { position: relative; }
.hero-campo > i { position: absolute; left: 1.15rem; top: 50%; transform: translateY(-50%); font-size: 1.15rem; color: var(--cor-primaria); pointer-events: none; }
.hero-campo input { width: 100%; height: 3.6rem; padding: 0 1.2rem 0 3rem; border: 0; border-radius: 999px; background: #fff; color: #0f172a; font-size: 1rem; box-shadow: 0 18px 36px -18px rgb(0 0 0 / .6); transition: box-shadow .2s, transform .15s; }
.hero-campo input::placeholder { color: #94a3b8; }
.hero-campo input:focus { outline: 0; box-shadow: 0 0 0 4px color-mix(in srgb, var(--cor-secundaria) 55%, transparent), 0 18px 36px -18px rgb(0 0 0 / .6); }
.hero-botao { height: 3.6rem; padding: 0 2.2rem; border: 0; border-radius: 999px; font-size: 1rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: #fff; display: inline-flex; align-items: center; justify-content: center; gap: .55rem; background-image: linear-gradient(135deg, var(--cor-secundaria), color-mix(in srgb, var(--cor-secundaria) 72%, #000)); box-shadow: 0 18px 32px -14px color-mix(in srgb, var(--cor-secundaria) 90%, transparent); cursor: pointer; }
.hero-botao:hover { filter: brightness(1.08); }
.hero-sug { position: absolute; left: 0; right: 0; top: calc(100% + .4rem); z-index: 20; background: #fff; color: #0f172a; border-radius: 1.2rem; box-shadow: 0 24px 50px -16px rgb(0 0 0 / .5); max-height: 14rem; overflow-y: auto; padding: .35rem; }
.hero-sug button { display: block; width: 100%; text-align: left; padding: .65rem .9rem; border-radius: .8rem; font-size: .9rem; }
.hero-sug button:hover { background: #f1f5f9; }
.hero-orcamento { display: inline-flex; align-items: center; gap: .4rem; margin-top: 1.4rem; font-size: .9rem; font-weight: 600; color: rgb(255 255 255 / .85); padding: .5rem .9rem; border-radius: 999px; }
.hero-orcamento:hover { color: #fff; background: rgb(255 255 255 / .1); }

/* Categorias mais buscadas: passam sozinhas */
.hero-chips { margin-top: 2rem; position: relative; z-index: 1; }
.hero-chips__titulo { font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: rgb(255 255 255 / .6); margin-bottom: .8rem; }
.chips-faixa { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.chips-trilho { display: flex; width: max-content; gap: .6rem; animation: chips-andar 70s linear infinite; }
.chips-trilho:hover, .chips-trilho:active { animation-play-state: paused; }
.chip { flex: none; display: inline-flex; align-items: center; padding: .55rem 1.05rem; border-radius: 999px; font-size: .85rem; font-weight: 600; white-space: nowrap; color: #fff; background: rgb(255 255 255 / .1); border: 1px solid rgb(255 255 255 / .18); backdrop-filter: blur(6px); transition: background-color .15s, transform .12s; }
.chip:hover { background: rgb(255 255 255 / .22); }
.chip:active { transform: scale(.95); }
@keyframes chips-andar { to { transform: translateX(-50%); } }
/* a regra global de reduced-motion zeraria a animacao: mantem o desfile lento */
.chips-trilho { animation-duration: 70s !important; animation-iteration-count: infinite !important; }

/* Mais procurados: cards-botao arrastaveis */
.carrossel-wrap { position: relative; }
.carrossel { display: flex; gap: .9rem; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: .5rem .25rem 1.4rem; margin: 0 -.25rem; cursor: grab; -webkit-overflow-scrolling: touch; }
.carrossel::-webkit-scrollbar { display: none; }
.carrossel.arrastando { cursor: grabbing; scroll-snap-type: none; scroll-behavior: auto; }
.carrossel.arrastando a { pointer-events: none; }
.cartao-botao { flex: none; width: 7.4rem; scroll-snap-align: start; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: .7rem; padding: 1.2rem .6rem 1rem; border-radius: 1.4rem; color: #fff; background: var(--app-grad); box-shadow: 0 16px 28px -16px color-mix(in srgb, var(--cor-primaria) 90%, transparent); user-select: none; -webkit-user-select: none; transition: transform .15s, box-shadow .2s, filter .2s; }
@media (min-width: 768px) { .cartao-botao { width: 8.6rem; } }
.cartao-botao:hover { transform: translateY(-5px); filter: brightness(1.1); box-shadow: 0 24px 34px -16px color-mix(in srgb, var(--cor-primaria) 100%, transparent); }
.cartao-botao:active { transform: scale(.93); }
.cartao-botao__bolha { display: grid; place-items: center; color: #fff; transition: transform .25s cubic-bezier(.2,.9,.3,1.5); }
.cartao-botao__bolha svg { width: 2.8rem; height: 2.8rem; }
.cartao-botao:hover .cartao-botao__bolha { transform: scale(1.15) rotate(-6deg); }
.cartao-botao__nome { font-size: .76rem; font-weight: 700; line-height: 1.2; color: #fff; }
.carrossel-seta { position: absolute; top: 42%; transform: translateY(-50%); z-index: 2; width: 2.8rem; height: 2.8rem; display: none; place-items: center; border-radius: 50%; border: 0; background: #fff; color: var(--cor-primaria); font-size: 1.1rem; box-shadow: 0 10px 24px -8px rgb(15 23 42 / .5); transition: transform .12s, opacity .2s; }
@media (min-width: 768px) { .carrossel-seta { display: grid; } }
.carrossel-seta:active { transform: translateY(-50%) scale(.9); }
.carrossel-seta[disabled] { opacity: 0; pointer-events: none; }
.carrossel-seta--ant { left: -1.2rem; }
.carrossel-seta--prox { right: -1.2rem; }

/* ---------- Todas as categorias: cards vivos e links clicaveis ---------- */
.cat-grupo { position: relative; padding: 1.2rem 1.2rem 1rem; border-radius: 1.4rem; background: linear-gradient(160deg, #fff 0%, color-mix(in srgb, var(--cor-primaria) 7%, #fff) 100%); border: 1px solid color-mix(in srgb, var(--cor-primaria) 12%, white); box-shadow: 0 14px 28px -20px rgb(15 23 42 / .4); transition: opacity .5s ease, transform .5s cubic-bezier(.2,.9,.3,1), box-shadow .2s; }
.html-anima .cat-grupo:not(.visivel) { opacity: 0; transform: translateY(18px); }
.cat-grupo.visivel { opacity: 1; transform: none; }
.cat-grupo:hover { box-shadow: 0 22px 36px -20px color-mix(in srgb, var(--cor-primaria) 55%, transparent); }
.cat-grupo__titulo { display: flex; align-items: center; gap: .65rem; font-weight: 800; font-size: .95rem; margin-bottom: .7rem; color: #0f172a; }
.cat-grupo__icone { flex: none; width: 2.3rem; height: 2.3rem; display: grid; place-items: center; border-radius: .8rem; color: #fff; background: var(--app-grad); transition: transform .25s cubic-bezier(.2,.9,.3,1.5); }
.cat-grupo__titulo:hover .cat-grupo__icone { transform: rotate(-8deg) scale(1.12); }
.cat-grupo ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .1rem; }
.cat-link { display: flex; align-items: center; gap: .55rem; padding: .42rem .5rem; border-radius: .8rem; font-size: .85rem; color: #475569; transition: background-color .15s, color .15s, transform .15s; }
.cat-link i { flex: none; width: 1.3rem; height: 1.3rem; display: grid; place-items: center; border-radius: 50%; font-size: .65rem; color: var(--cor-primaria); background: color-mix(in srgb, var(--cor-secundaria) 22%, white); transition: background-color .15s, color .15s, transform .2s; }
.cat-link:hover { background: color-mix(in srgb, var(--cor-primaria) 9%, white); color: var(--cor-primaria); transform: translateX(4px); }
.cat-link:hover i { background: var(--cor-secundaria); color: #fff; transform: translateX(2px); }
.cat-link:active { transform: scale(.97); }

/* Carrosseis de cards (depoimentos e blog): 1 por vez no celular, 3 no computador */
.snap-item { flex: none; width: 88%; scroll-snap-align: start; }
@media (min-width: 768px) { .snap-item { width: calc((100% - 2.5rem) / 3); } }
.carrossel > .snap-item { margin-bottom: .2rem; }

/* ---------- Busca do topo com sugestoes ---------- */
.app-busca { position: relative; }
.app-busca-movel { position: relative; padding: 0 .9rem .7rem; }
.app-busca-movel[hidden] { display: none; }
.app-busca--movel { display: flex; max-width: none; height: 2.9rem; background: #f1f5f9; animation: app-pop .2s ease both; }
.app-sugestoes { position: absolute; left: 0; right: 0; top: calc(100% + .45rem); z-index: 60; background: #fff; border-radius: 1.2rem; padding: .35rem; box-shadow: 0 24px 50px -16px rgb(15 23 42 / .5); border: 1px solid rgb(15 23 42 / .06); max-height: 18rem; overflow-y: auto; animation: app-pop .16s ease both; }
.app-busca-movel .app-sugestoes { left: .9rem; right: .9rem; top: calc(100% - .2rem); }
.app-sugestoes[hidden] { display: none; }
.app-sugestoes button { display: flex; align-items: center; gap: .6rem; width: 100%; text-align: left; padding: .6rem .8rem; border: 0; background: none; border-radius: .8rem; font-size: .88rem; color: #334155; cursor: pointer; transition: background-color .12s, color .12s; }
.app-sugestoes button i { color: var(--cor-primaria); font-size: .85rem; }
.app-sugestoes button:hover, .app-sugestoes button.ativo { background: color-mix(in srgb, var(--cor-primaria) 9%, white); color: var(--cor-primaria); }
.app-sugestoes mark { background: none; color: var(--cor-primaria); font-weight: 800; }

/* ---------- v1.5.0: hero compacto, topo de pagina e migalhas ---------- */
.hero-app--compacto .hero-app__conteudo { padding-top: 2.8rem; padding-bottom: 2.8rem; }
@media (min-width: 768px) { .hero-app--compacto .hero-app__conteudo { padding-top: 4rem; padding-bottom: 4rem; } .hero-app--compacto h1 { font-size: 2.6rem; } }
.topo-pagina { padding: 2.2rem 0 2rem; background: linear-gradient(120deg, color-mix(in srgb, var(--cor-secundaria) 16%, #fff) 0%, #fff 45%, color-mix(in srgb, var(--cor-primaria) 10%, #fff) 100%); border-bottom: 1px solid rgb(15 23 42 / .05); }
@media (min-width: 768px) { .topo-pagina { padding: 3rem 0 2.6rem; } }
.topo-pagina__etiqueta { font-size: .72rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--cor-secundaria); margin-bottom: .5rem; }
.topo-pagina h1 { font-size: 1.8rem; line-height: 1.15; font-weight: 800; letter-spacing: -.02em; color: #0f172a; max-width: 40rem; }
@media (min-width: 768px) { .topo-pagina h1 { font-size: 2.5rem; } }
.topo-pagina__texto { margin-top: .7rem; max-width: 34rem; color: #64748b; }
.app-migalhas { background: #fff; border-bottom: 1px solid rgb(15 23 42 / .05); }
.app-migalhas ol { display: flex; align-items: center; gap: .15rem; max-width: 72rem; margin: 0 auto; padding: .55rem 1rem; list-style: none; overflow-x: auto; white-space: nowrap; scrollbar-width: none; font-size: .78rem; color: #64748b; }
.app-migalhas ol::-webkit-scrollbar { display: none; }
.app-migalhas li { display: inline-flex; align-items: center; gap: .15rem; }
.app-migalhas li > i { font-size: .6rem; opacity: .5; }
.app-migalhas a { display: inline-flex; align-items: center; gap: .3rem; padding: .2rem .5rem; border-radius: 999px; transition: background-color .15s, color .15s; }
.app-migalhas a:hover { background: color-mix(in srgb, var(--cor-primaria) 9%, white); color: var(--cor-primaria); }
.app-migalhas [aria-current] { padding: .2rem .5rem; font-weight: 700; color: #0f172a; }

/* Submenu de cada departamento (barra escura) */
.app-sub { position: absolute; top: 100%; z-index: 42; min-width: 15rem; max-width: 22rem; background: #fff; color: #1e293b; border-radius: 0 0 1.1rem 1.1rem; padding: .4rem; box-shadow: 0 24px 44px -18px rgb(15 23 42 / .55); border: 1px solid rgb(15 23 42 / .06); border-top: 0; animation: app-mega-entra .16s ease both; }
.app-sub[hidden] { display: none; }
.app-sub__item { display: flex; align-items: center; gap: .6rem; padding: .6rem .8rem; border-radius: .8rem; font-size: .86rem; font-weight: 600; transition: background-color .12s, color .12s, transform .12s; }
.app-sub__item i { flex: none; width: 1.3rem; height: 1.3rem; display: grid; place-items: center; border-radius: 50%; font-size: .6rem; color: var(--cor-primaria); background: color-mix(in srgb, var(--cor-secundaria) 22%, white); transition: background-color .15s, color .15s; }
.app-sub__item:hover { background: color-mix(in srgb, var(--cor-primaria) 9%, white); color: var(--cor-primaria); transform: translateX(3px); }
.app-sub__item:hover i { background: var(--cor-secundaria); color: #fff; }
.app-sub__todos { display: flex; align-items: center; gap: .4rem; margin: .3rem .3rem .2rem; padding: .65rem .6rem 0; border-top: 1px solid #e2e8f0; font-size: .82rem; font-weight: 800; color: var(--cor-secundaria); }
.app-sub__todos:hover i { transform: translateX(4px); }
.app-sub__todos i { transition: transform .15s; }

/* ---------- v1.6.0: lista de fornecedores em tela cheia, Mostrar mais e bloco SEO ---------- */
.hero-app--calmo .hero-app__conteudo { padding-top: 2.2rem; padding-bottom: 2.2rem; }
.hero-app--calmo h1 { font-size: 1.7rem; margin-bottom: .6rem; }
.hero-app--calmo .hero-app__texto { margin-bottom: 1.5rem; font-size: .95rem; }
@media (min-width: 768px) { .hero-app--calmo .hero-app__conteudo { padding-top: 2.8rem; padding-bottom: 2.8rem; } .hero-app--calmo h1 { font-size: 2.2rem; } }

.lista-forn { max-width: 90rem; margin: 0 auto; padding: 2rem 1rem 1rem; }
@media (min-width: 1024px) { .lista-forn { padding: 2.5rem 2rem 1.5rem; } }
.lista-forn__topo { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.4rem; }
.lista-forn__titulo { display: flex; align-items: center; gap: .65rem; font-family: 'Manrope', sans-serif; font-size: 1.3rem; font-weight: 800; color: #0f172a; }
.lista-forn__icone { display: grid; place-items: center; width: 2.4rem; height: 2.4rem; border-radius: .85rem; color: #fff; background: var(--app-grad); }
.btn-nova-busca { display: inline-flex; align-items: center; gap: .5rem; height: 2.75rem; padding: 0 1.3rem; border-radius: 999px; font-size: .9rem; font-weight: 800; color: #fff; background-image: var(--app-grad); box-shadow: 0 12px 22px -12px color-mix(in srgb, var(--cor-primaria) 90%, transparent); transition: transform .12s, box-shadow .2s, filter .2s; }
.btn-nova-busca:hover { filter: brightness(1.1); transform: translateY(-2px); }
.btn-nova-busca:active { transform: scale(.95); }
.btn-nova-busca i { transition: transform .35s; }
.btn-nova-busca:hover i { transform: rotate(-180deg); }

.grade-forn { display: grid; grid-template-columns: 1fr; gap: 1rem; }
@media (min-width: 640px) { .grade-forn { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .grade-forn { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1360px) { .grade-forn { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.card-fornecedor { position: relative; display: flex; flex-direction: column; gap: .5rem; min-width: 0; padding: 1.1rem 1.2rem; border-radius: 1.3rem; background: #fff; border: 1px solid rgb(15 23 42 / .06); box-shadow: 0 14px 28px -20px rgb(15 23 42 / .45); transition: transform .18s, box-shadow .2s, border-color .2s; }
.card-fornecedor:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--cor-primaria) 35%, white); box-shadow: 0 22px 34px -20px color-mix(in srgb, var(--cor-primaria) 55%, transparent); }
.card-fornecedor:active { transform: scale(.98); }
.card-fornecedor__topo { display: flex; align-items: center; gap: .8rem; min-width: 0; }
.card-fornecedor__logo { flex: none; width: 2.75rem; height: 2.75rem; border-radius: .85rem; object-fit: contain; background: #f8fafc; border: 1px solid #eef0f6; padding: .15rem; }
.card-fornecedor__inicial { flex: none; display: grid; place-items: center; width: 2.75rem; height: 2.75rem; border-radius: .85rem; color: #fff; font-weight: 800; font-size: .9rem; background: var(--app-grad); }
.card-fornecedor__cat { font-size: .68rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--cor-secundaria); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card-fornecedor__nome { font-family: 'Manrope', sans-serif; font-weight: 800; font-size: .98rem; line-height: 1.25; color: #0f172a; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card-fornecedor__cidade { font-size: .8rem; color: #64748b; display: flex; align-items: center; gap: .35rem; }
.card-fornecedor__cidade i { color: var(--cor-primaria); }
.card-fornecedor__desc { font-size: .83rem; line-height: 1.45; color: #64748b; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; flex: 1; }
.card-fornecedor__ver { display: inline-flex; align-items: center; gap: .35rem; margin-top: .2rem; font-size: .8rem; font-weight: 800; color: var(--cor-primaria); }
.card-fornecedor__ver i { transition: transform .15s; }
.card-fornecedor:hover .card-fornecedor__ver i { transform: translateX(4px); }
.card-entra { animation: app-entrada .4s cubic-bezier(.2,.8,.2,1) backwards; }

.mostrar-mais { display: flex; justify-content: center; margin: 2rem 0 .5rem; }
.btn-mostrar-mais { display: inline-flex; align-items: center; gap: .6rem; padding: .95rem 2rem; border: 0; border-radius: 999px; font-size: 1rem; font-weight: 800; color: #fff; cursor: pointer; background-image: linear-gradient(135deg, var(--cor-secundaria), color-mix(in srgb, var(--cor-secundaria) 70%, #000)); box-shadow: 0 16px 28px -14px color-mix(in srgb, var(--cor-secundaria) 90%, transparent); transition: transform .12s, filter .2s; }
.btn-mostrar-mais small { font-size: .72rem; font-weight: 600; opacity: .85; padding: .15rem .55rem; border-radius: 99px; background: rgb(0 0 0 / .15); }
.btn-mostrar-mais:hover { filter: brightness(1.08); transform: translateY(-2px); }
.btn-mostrar-mais.carregando i { animation: gira 1s linear infinite; }
.btn-mostrar-mais:disabled { opacity: .75; }
@keyframes gira { to { transform: rotate(360deg); } }

.seo-bloco { max-width: 90rem; margin: 0 auto; padding: 1.5rem 1rem 3rem; }
@media (min-width: 1024px) { .seo-bloco { padding: 2rem 2rem 4rem; } }
.seo-bloco__card { padding: 1.6rem 1.4rem; border-radius: 1.6rem; background: linear-gradient(135deg, color-mix(in srgb, var(--cor-primaria) 6%, #fff), color-mix(in srgb, var(--cor-secundaria) 8%, #fff)); border: 1px solid rgb(15 23 42 / .05); }
@media (min-width: 1024px) { .seo-bloco__card { padding: 2.2rem 2.6rem; } }
.seo-bloco__etiqueta { display: inline-flex; align-items: center; gap: .45rem; margin-bottom: 1rem; font-size: .75rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--cor-primaria); }
.seo-bloco__texto { color: #475569; font-size: .92rem; line-height: 1.75; }
@media (min-width: 1024px) { .seo-bloco__texto { column-count: 2; column-gap: 3rem; } }
.seo-bloco__texto h1, .seo-bloco__texto h2, .seo-bloco__texto h3 { font-family: 'Manrope', sans-serif; font-weight: 800; color: #0f172a; margin: 1.2rem 0 .5rem; font-size: 1.05rem; break-after: avoid; }
.seo-bloco__texto h1:first-child, .seo-bloco__texto h2:first-child { margin-top: 0; }
.seo-bloco__texto p { margin-bottom: .8rem; }
.seo-bloco__texto ol, .seo-bloco__texto ul { padding-left: 1.2rem; margin-bottom: .8rem; }
.seo-bloco__texto ol { list-style: decimal; } .seo-bloco__texto ul { list-style: disc; }

/* 1.7.1 - listas de sugestoes sempre por cima de tudo (nao cortadas pelo hero/cabecalho) */
.hero-sug, #sugestoes-categoria { z-index: 80 !important; }
.app-busca { position: relative; z-index: 60; }
.app-topo .app-sugestoes { z-index: 90; }
.app-deptos { position: relative; z-index: 1; }
.grade-carregando { opacity: .6; transition: opacity .15s; }

/* ===== Areas logadas (cliente e fornecedor): visual de app ===== */
.conta-pagina { max-width: 42rem; margin: 0 auto; padding: 1rem 1rem 6rem; }
.conta-topo { display: flex; align-items: center; gap: .75rem; padding: .9rem 1rem; border-radius: 1.25rem; color: #fff; background: linear-gradient(135deg, var(--cor-primaria, #1E3A8A) 0%, #0f172a 130%); box-shadow: 0 18px 36px -22px rgb(15 23 42 / .7); }
.conta-avatar { flex: none; width: 2.6rem; height: 2.6rem; border-radius: 999px; display: grid; place-items: center; font-weight: 800; font-size: 1.05rem; background: linear-gradient(135deg, #fde047, #f59e0b); color: #1e293b; }
.conta-topo__texto { min-width: 0; flex: 1; display: flex; flex-direction: column; line-height: 1.25; }
.conta-topo__texto strong { font-size: .95rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.conta-topo__texto small { font-size: .74rem; opacity: .75; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.conta-icone-btn { flex: none; width: 2.1rem; height: 2.1rem; border-radius: .7rem; display: grid; place-items: center; border: 0; cursor: pointer; background: rgb(255 255 255 / .14); color: #fff; font-size: .95rem; transition: background .15s, transform .15s; }
.conta-icone-btn:hover { background: rgb(255 255 255 / .26); transform: translateY(-1px); }
.conta-abas { display: flex; gap: .4rem; overflow-x: auto; padding: .8rem 0 .2rem; margin: 0; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.conta-abas::-webkit-scrollbar { display: none; }
.conta-aba { flex: none; display: inline-flex; align-items: center; gap: .35rem; padding: .45rem .85rem; border-radius: 999px; font-size: .78rem; font-weight: 600; color: #475569; background: #fff; border: 1px solid rgb(15 23 42 / .08); transition: all .15s; }
.conta-aba:hover { border-color: var(--cor-primaria, #1E3A8A); color: var(--cor-primaria, #1E3A8A); }
.conta-aba.ativa { background: var(--cor-primaria, #1E3A8A); border-color: var(--cor-primaria, #1E3A8A); color: #fff; box-shadow: 0 8px 18px -10px var(--cor-primaria, #1E3A8A); }
.conta-aba--destaque { background: #facc15; border-color: #facc15; color: #1e293b; }
.conta-aba--destaque:hover { color: #1e293b; filter: brightness(.96); }
.conta-card { background: #fff; border-radius: 1.1rem; padding: 1rem; border: 1px solid rgb(15 23 42 / .06); box-shadow: 0 12px 26px -20px rgb(15 23 42 / .45); margin-top: .8rem; }
.conta-card__titulo { display: flex; align-items: center; gap: .45rem; margin: 0 0 .8rem; font-size: .72rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: #64748b; }
.conta-card__titulo i { color: var(--cor-primaria, #1E3A8A); font-size: .95rem; }
.conta-campo { display: block; margin-bottom: .85rem; }
.conta-campo > span { display: block; margin-bottom: .3rem; font-size: .74rem; font-weight: 700; color: #475569; }
.conta-campo input, .conta-campo textarea, .conta-campo select { width: 100%; height: 2.7rem; padding: 0 .85rem; border-radius: .8rem; border: 1px solid #e2e8f0; background: #f8fafc; font-size: .9rem; color: #0f172a; transition: border-color .15s, box-shadow .15s, background .15s; }
.conta-campo textarea { height: auto; padding: .65rem .85rem; }
.conta-campo input:focus, .conta-campo textarea:focus, .conta-campo select:focus { outline: 0; background: #fff; border-color: var(--cor-primaria, #1E3A8A); box-shadow: 0 0 0 3px rgb(30 58 138 / .14); }
.conta-campo input[readonly] { background: #f1f5f9; color: #64748b; cursor: not-allowed; }
.conta-campo input.invalido { border-color: #dc2626; box-shadow: 0 0 0 3px rgb(220 38 38 / .12); }
.conta-campo small { display: block; margin-top: .3rem; font-size: .7rem; color: #94a3b8; }
.conta-campo .com-icone { position: relative; }
.conta-campo .com-icone > i { position: absolute; left: .8rem; top: 50%; transform: translateY(-50%); color: #94a3b8; font-size: .95rem; pointer-events: none; }
.conta-campo .com-icone > input { padding-left: 2.35rem; }
.conta-grade { display: grid; grid-template-columns: 1fr; gap: 0 .8rem; }
@media (min-width: 560px) { .conta-grade--2 { grid-template-columns: 1fr 1fr; } .conta-grade--3 { grid-template-columns: 1fr 1fr 1fr; } }
.conta-btn { display: inline-flex; align-items: center; justify-content: center; gap: .4rem; height: 2.6rem; padding: 0 1.2rem; border: 0; border-radius: .8rem; font-size: .85rem; font-weight: 700; cursor: pointer; color: #fff; background: var(--cor-primaria, #1E3A8A); box-shadow: 0 12px 22px -14px var(--cor-primaria, #1E3A8A); transition: transform .15s, filter .15s; }
.conta-btn:hover { transform: translateY(-1px); filter: brightness(1.08); }
.conta-btn:disabled { opacity: .6; cursor: wait; transform: none; }
.conta-btn--bloco { width: 100%; }
.conta-btn--suave { background: #eef2ff; color: var(--cor-primaria, #1E3A8A); box-shadow: none; }
@media (min-width: 560px) { .conta-btn--bloco { width: auto; } }
.conta-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: .6rem; margin-top: .8rem; }
.conta-tiles--2x2 { grid-template-columns: repeat(2, 1fr); }
@media (min-width: 640px) { .conta-tiles--2x2 { grid-template-columns: repeat(4, 1fr); } }
.conta-tile { background: #fff; border-radius: 1rem; padding: .75rem; border: 1px solid rgb(15 23 42 / .06); box-shadow: 0 12px 26px -22px rgb(15 23 42 / .5); }
.conta-tile i { display: grid; place-items: center; width: 1.9rem; height: 1.9rem; border-radius: .6rem; font-size: .95rem; margin-bottom: .45rem; }
.conta-tile strong { display: block; font-size: 1.35rem; line-height: 1.1; color: #0f172a; }
.conta-tile small { display: block; font-size: .68rem; color: #64748b; margin-top: .15rem; }
.conta-filtros { display: flex; gap: .35rem; overflow-x: auto; margin-top: .8rem; scrollbar-width: none; }
.conta-filtros::-webkit-scrollbar { display: none; }
.conta-filtro { flex: none; border: 1px solid rgb(15 23 42 / .1); background: #fff; color: #475569; border-radius: 999px; padding: .3rem .75rem; font-size: .74rem; font-weight: 700; cursor: pointer; }
.conta-filtro.ativo { background: #0f172a; border-color: #0f172a; color: #fff; }
.pedido-card { position: relative; background: #fff; border-radius: 1.1rem; padding: .9rem .9rem .9rem 1.1rem; margin-top: .65rem; border: 1px solid rgb(15 23 42 / .06); box-shadow: 0 12px 26px -22px rgb(15 23 42 / .5); overflow: hidden; }
.pedido-card::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: .28rem; background: var(--faixa, #cbd5e1); }
.pedido-card__linha { display: flex; justify-content: space-between; align-items: flex-start; gap: .6rem; }
.pedido-card h3 { margin: 0; font-size: .92rem; font-weight: 700; color: #0f172a; word-break: break-word; }
.pedido-card__meta { margin: .15rem 0 0; font-size: .72rem; color: #94a3b8; }
.pedido-card__msg { margin: .55rem 0 0; font-size: .82rem; line-height: 1.45; color: #475569; word-break: break-word; }
.selo { flex: none; display: inline-flex; align-items: center; gap: .28rem; padding: .22rem .6rem; border-radius: 999px; font-size: .68rem; font-weight: 800; white-space: nowrap; }
.passos { display: flex; align-items: center; gap: .3rem; margin-top: .7rem; font-size: .66rem; color: #94a3b8; }
.passos span { display: inline-flex; align-items: center; gap: .25rem; }
.passos i.bolinha { width: .55rem; height: .55rem; border-radius: 999px; background: #e2e8f0; }
.passos .feito { color: #0f172a; font-weight: 700; }
.passos .feito i.bolinha { background: #22c55e; }
.passos .linha { flex: 1; height: 2px; background: #e2e8f0; border-radius: 2px; }
.passos .linha.feito { background: #22c55e; }
.conta-vazio { text-align: center; padding: 2rem 1rem; }
.conta-vazio i { font-size: 2.2rem; color: #cbd5e1; }
.conta-vazio p { margin: .5rem 0 1rem; font-size: .85rem; color: #94a3b8; }
.conta-medidor { height: .5rem; border-radius: 999px; background: #e2e8f0; overflow: hidden; }
.conta-medidor > span { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, #22c55e, #facc15); transition: width .6s ease; }
.conta-atalhos { display: grid; grid-template-columns: repeat(2, 1fr); gap: .6rem; margin-top: .8rem; }
.conta-atalho { display: flex; align-items: center; gap: .6rem; background: #fff; border: 1px solid rgb(15 23 42 / .06); border-radius: 1rem; padding: .7rem .8rem; font-size: .8rem; font-weight: 700; color: #0f172a; box-shadow: 0 12px 26px -22px rgb(15 23 42 / .5); transition: transform .15s; }
.conta-atalho:hover { transform: translateY(-2px); }
.conta-atalho i { flex: none; display: grid; place-items: center; width: 2rem; height: 2rem; border-radius: .65rem; background: #eef2ff; color: var(--cor-primaria, #1E3A8A); }

input.invalido, textarea.invalido, select.invalido { border-color: #dc2626 !important; box-shadow: 0 0 0 3px rgb(220 38 38 / .12) !important; }

/* visitas no canto dos cards de empresas */
.grade-forn > * { position: relative; }
.forn-visitas { position: absolute; right: .9rem; bottom: .8rem; white-space: nowrap; display: inline-flex; align-items: center; gap: .25rem; font-size: .68rem; color: #94a3b8; font-weight: 600; }

/* visitas da pagina ao lado do botao Nova busca */
.lista-visitas { display: inline-flex; align-items: center; gap: .3rem; font-size: .75rem; font-weight: 600; color: #94a3b8; white-space: nowrap; }
.lista-ordem { border: 1px solid #e2e8f0; background: #fff; border-radius: .6rem; padding: .35rem .6rem; font-size: .8rem; color: #334155; }
