* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Montserrat', sans-serif;
  background-color: #fafafa;
  color: #111827;
}

.header {
  height: 9vh;
  background-color: rgba(255, 255, 255, 0.514);
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
  display: flex;
  margin-top: 0;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 999;
  width: 100%;
  justify-content: space-between;
  align-items: center;
  padding: 0 10%;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.iconimg {
  width: 75px;
}

nav {
  display: flex;
  align-items: center;
  gap: 30px;
}

.navitens {
  text-decoration: none;
  color: #333;
  font-weight: bold;
}

/*HOUVER LUZ VERDE - BOTÃO PRETO*/
.shiny-cta1:hover {
  transform: translateY(-4px);
  box-shadow: rgba(20, 206, 61, 0.4) 0px 1px 1px inset, rgba(20, 206, 61, 0.4) 0px -2px 6px inset, rgba(20, 206, 61, 0.6) 0px 12px 24px -8px;
}

.shiny-cta1:active {
  transform: translateY(-1px);
  box-shadow: rgba(20, 206, 61, 0.3) 0px 1px 1px inset, rgba(20, 206, 61, 0.3) 0px -2px 6px inset, rgba(20, 206, 61, 0.4) 0px 8px 16px -6px;
}

/*ANIMAÇÃO DE BOTÃO (BOTÃO PRETO COM LUZES)*/
@property --gradient-angle {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}

.shiny-cta1 {
  --gradient-angle: 0deg;
  --gradient-angle-offset: 0deg;
  --gradient-shine: #10b981;
  --bg-color-top: #1c2421;
  --bg-color-bottom: #0a0a0a;

  color: rgb(255, 255, 255);
  isolation: isolate;
  z-index: 1;
  position: relative;
  padding: 10px 20px;
  cursor: pointer;
  box-shadow: rgba(255, 255, 255, 0.15) 0px 1px 1px inset, rgba(0, 0, 0, 0.2) 0px -2px 6px inset, rgba(0, 0, 0, 0.5) 0px 10px 15px -8px;
  background: linear-gradient(var(--bg-color-top), var(--bg-color-bottom)) padding-box, conic-gradient(from calc(var(--gradient-angle) - var(--gradient-angle-offset)),
      transparent 0%, #047857 5%, var(--gradient-shine) 15%, #047857 30%, transparent 40%, transparent 100%) border-box;
  border-width: 1px;
  border-style: solid;
  border-color: rgba(0, 0, 0, 0);
  border-radius: 9999px;
  transition: box-shadow 0.3s, transform 0.3s;
  animation: border-spin 2.5s linear infinite;
  overflow: hidden;
}

/* CAMADA DAS BOLINHAS VERDES*/
.shiny-cta1::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 9999px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.95) 0.5px, transparent 0.8px) 0 0 / 4px 4px;
  -webkit-mask-image: linear-gradient(to right, transparent 60%, rgba(0, 0, 0, 1) 75%);
  mask-image: linear-gradient(120deg,
      transparent 30%,
      rgba(0, 0, 0, 1) 48%,
      rgba(0, 0, 0, 1) 52%,
      transparent 70%);
  pointer-events: none;
  z-index: 1;
}

.shiny-cta1::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg,
      transparent,
      rgba(255, 255, 255, 0.25),
      transparent);
  transform: skewX(-25deg);
  animation: shimmer 9s infinite;
  z-index: 2;
}

.shiny-cta-content1 {
  z-index: 3;
  justify-content: center;
  align-items: center;
  display: inline-flex;
  position: relative;
  border-radius: 99px;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 15px;
}

@keyframes border-spin {
  0% {
    --gradient-angle: 0deg;
  }
  100% {
    --gradient-angle: 360deg;
  }
}

@keyframes shimmer {
  0% { left: -100%; }
  20% { left: 200%; }
  100% { left: 200%; }
}

.designloginnav {
  font-weight: bold;
  text-decoration: none;
}

/* CORPO CENTRALIZADO */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 10px 20px 30px 20px;
  width: 100%;
}

.header-topo {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 25px;
  background: transparent;
  padding: 0;
  margin-top: -10px;
  border: none;
  box-shadow: none;
}

.header-topo h2 {
  font-size: 2.2em;
  font-weight: 600;
  color: #111827;
  margin-bottom: 4px;
}

.header-topo small {
  color: #414141;
  margin-top: 6px;
  font-size: 1em;
}

/* BOTÃO VOLTAR MODERNO */
.btn-voltar {
  background: #111827;
  color: #fff;
  text-decoration: none;
  padding: 10px 18px;
  border-radius: 9999px;
  font-weight: 600;
  font-size: 0.9em;
  transition: background 0.2s, transform 0.2s;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.btn-voltar:hover {
  background: #1f2937;
  transform: translateY(-1px);
}

/* FILTROS E BUSCA */
.filtros-container {
  background: transparent;
  padding: 0;
  border: none;
  margin-bottom: 30px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.filtros-container input {
  background: #fff;
  padding: 14px 20px 14px 45px;
  border: 1px solid #e5e7eb;
  border-radius: 9999px;
  font-size: 0.95em;
  width: 100%;
  max-width: 420px;
  outline: none;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02);
  transition: border-color 0.2s, box-shadow 0.2s;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%239ca3af' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M21 21l-6-6m2-5a7 7 0 11-14 0 7 7 0 0114 0z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: 16px center;
  background-size: 18px 18px;
}

.filtros-container input:focus {
  border-color: #10b981;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

/* CATEGORIAS PILLS */
.categorias-pills {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}

/*FILTRO DE SERVIÇO*/
.pill-btn {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  color: #4b5563;
  padding: 8px 18px;
  border-radius: 9999px;
  font-size: 0.9em;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02);
}

.pill-btn:hover {
  background: #f3f4f6;
  color: #111827;
}

.pill-btn.active,
.pill-btn:active {
  background: #111827;
  color: #ffffff;
  border-color: #111827;
  font-weight: 500;
}
/* GRID DE CARDS */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 24px;
}
/* BOTÃO SABER MAIS */
.btn-saber-mais {
  background: transparent;
  color: #3faf6e;
  padding: 6px 16px;
  border-radius: 9999px;
  font-weight: 600;
  font-size: 0.85em;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: none;
  margin-top: 15px;
  margin-right: 10px;
  transition: all 0.2s ease;
}

.btn-saber-mais:hover {
  color: #04782b;
}

/*HOUVER LUZ VERDE - BOTÃO PRETO*/
.shiny-cta3:hover {
  transform: translateY(-4px);
  box-shadow: rgba(20, 206, 61, 0.4) 0px 1px 1px inset, rgba(20, 206, 61, 0.4) 0px -2px 6px inset, rgba(20, 206, 61, 0.6) 0px 12px 24px -8px;
}

.shiny-cta3:active {
  transform: translateY(-1px);
  box-shadow: rgba(20, 206, 61, 0.3) 0px 1px 1px inset, rgba(20, 206, 61, 0.3) 0px -2px 6px inset, rgba(20, 206, 61, 0.4) 0px 8px 16px -6px;
}

/*ANIMAÇÃO DE BOTÃO (BOTÃO PRETO COM LUZES)*/
.shiny-cta3{
  --gradient-angle: 0deg;
  --gradient-angle-offset: 0deg;
  --gradient-shine: #10b981;
  --bg-color-top: #1c2421;
  --bg-color-bottom: #0a0a0a;

  color: rgb(255, 255, 255);
  isolation: isolate;
  z-index: 1;
  position: relative;
  padding: 12px 18px;
  cursor: pointer;
  font-family: 'Montserrat', sans-serif; font-weight: 600;
  box-shadow: rgba(255, 255, 255, 0.15) 0px 1px 1px inset, rgba(0, 0, 0, 0.2) 0px -2px 6px inset, rgba(0, 0, 0, 0.5) 0px 10px 15px -8px;
  background: linear-gradient(var(--bg-color-top), var(--bg-color-bottom)) padding-box, conic-gradient(from calc(var(--gradient-angle) - var(--gradient-angle-offset)),
      transparent 0%, #047857 5%, var(--gradient-shine) 15%, #047857 30%, transparent 40%, transparent 100%) border-box;
  border-width: 1px;
  border-style: solid;
  border-color: rgba(0, 0, 0, 0);
  border-radius: 99px;
  transition: box-shadow 0.3s, transform 0.3s;
  animation: border-spin 2.5s linear infinite;
  overflow: hidden;
}

/* CAMADA DAS BOLINHAS VERDES*/
.shiny-cta3::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 9999px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.95) 0.5px, transparent 0.8px) 0 0 / 4px 4px;
  -webkit-mask-image: linear-gradient(to right, transparent 60%, rgba(0, 0, 0, 1) 75%);
  mask-image: linear-gradient(120deg,
      transparent 30%,
      rgba(0, 0, 0, 1) 48%,
      rgba(0, 0, 0, 1) 52%,
      transparent 70%);
  pointer-events: none;
  z-index: 1;
}

.shiny-cta3::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 180%;
  background: linear-gradient(90deg,
      transparent,
      rgba(255, 255, 255, 0.25),
      transparent);
  transform: skewX(-25deg);
  animation: shimmer 9s infinite;
  z-index: 2;
}

.shiny-cta-content3 {
  z-index: 3;
  justify-content: center;
  align-items: center;
  display: inline-flex;
  position: relative;
  border-radius: 99px;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 15px;
}
/* MODAL DE PROPOSTA (Tamanho original/padrão) */
.modal-overlay {
  display: none;
  opacity: 0;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  justify-content: center;
  align-items: center;
  z-index: 2000;
  padding: 20px;
  transition: opacity 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.modal-overlay.ativo {
  display: flex;
  opacity: 1;
}

.modal-content {
  background: #ffffff;
  padding: 35px;
  border-radius: 20px;
  border: 1px solid rgba(129, 129, 129, 0.15);
  width: 100%;
  max-width: 560px !important; /* Volta ao tamanho original do modal de proposta */
  max-height: calc(100vh - 40px);
  overflow-y: auto;
  box-shadow: 0 25px 35px rgba(0, 0, 0, 0.18);
  transform: translateY(25px) scale(0.95);
  transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1), opacity 0.4s ease;
}

.modal-overlay.ativo .modal-content {
  transform: translateY(0) scale(1);
}

/* MODAL DE SABER MAIS (Largo com 2 colunas) */
#modalSaberMais .modal-content {
  max-width: 850px !important;
}
.no-scrollbar::-webkit-scrollbar {
  display: none !important;
}
.no-scrollbar {
  -ms-overflow-style: none !important;
  scrollbar-width: none !important;
}

/* BLOCOS DE RESUMO E SOBRE (Roxo) */
.modal-bloco-texto {
  max-height: 140px;
  overflow-y: auto;
  padding: 14px 18px;
  background-color: #ffffff;
  border: 1px solid #ccc;
  border-radius: 16px;
  margin-top: 6px;
  font-size: 0.9em;
  color: #444;
  line-height: 1.5;
  word-break: break-word;
  overflow-wrap: break-word;
  transition: all 0.3s ease-in-out;
}

.modal-bloco-texto:hover {
  border-color: #3faf80 !important;
  box-shadow: 0 0 6px rgba(36, 148, 32, 0.4) !important;
}

/* QUADRADINHOS DE SERVIÇOS INDIVIDUAIS (Azul / Verde) */
.modal-servico-card {
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  padding: 12px 16px;
  margin-bottom: 10px;
  transition: all 0.2s ease;
  word-break: break-word;
}

.modal-servico-card:hover {
  border-color: #3faf80;
  background: #ffffff;
  box-shadow: 0 4px 12px rgba(63, 175, 110, 0.1);
}

/* CAMPOS DE FORMULÁRIO DO MODAL COM HOVER E BORDAS ARREDONDADAS */
#formModalProposta input[type="text"],
#formModalProposta input[type="number"],
#formModalProposta textarea {
  width: 100%;
  padding: 13px 15px;
  border: 1px solid #ccc;
  border-radius: 20px;
  font-size: 0.9rem;
  font-family: 'Montserrat', sans-serif;
  outline: none;
  background-color: #ffffff;
  transition: all 0.3s ease-in-out;
  margin-top: 6px;
}

#formModalProposta input[type="text"]:hover,
#formModalProposta input[type="number"]:hover,
#formModalProposta textarea:hover,
#formModalProposta input[type="text"]:focus,
#formModalProposta input[type="number"]:focus,
#formModalProposta textarea:focus {
  border-color: #3faf80 !important;
  box-shadow: 0 0 6px rgba(36, 148, 32, 0.6), 0 0 6px rgba(62, 206, 93, 0.3) !important;
  outline: none;
}

#formModalProposta textarea {
  max-height: 140px;
  resize: vertical;
}

.btn-cancelar-modal {
  background: #f3f4f6;
  color: #414141;
  border: 1px solid #d1d5db;
  padding: 12px 18px;
  border-radius: 9999px;
  font-weight: 600;
  font-size: 0.85em;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-cancelar-modal:hover {
  background: #e5e7eb;
  color: #111827;
  transform: translateY(-2px);
}

/* CARD MEI */
.card-mei {
  position: relative;
  overflow: hidden;
  padding: 30px !important;
  border-radius: 20px;
  border: 1px solid rgba(65, 65, 65, 0.12);
  background: rgba(255, 255, 255, 0.9) !important;
  backdrop-filter: blur(4px) !important;
  -webkit-backdrop-filter: blur(8px) !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease !important;
}

.card-mei::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(280px circle at var(--mouse-x, -500px) var(--mouse-y, -500px),
      rgba(63, 175, 110, 0.22),
      transparent 65%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  z-index: 1;
}

.card-mei:hover::before {
  opacity: 1;
}

.card-mei>* {
  position: relative;
  z-index: 2;
}

.card-mei:hover {
  transform: translateY(-5px) !important;
  box-shadow: 0 16px 32px rgba(63, 175, 110, 0.12) !important;
}

.card-mei h4 {
  margin: 0 0 6px 0;
  color: #111827;
  font-size: 1.15em;
  font-weight: 700;
}

.card-mei p {
  margin: 4px 0;
  color: #4b5563;
  font-size: 0.9em;
}

.badge-cat {
  display: inline-block;
  background: #ffffff;
  color: #2574eb;
  border: 1px solid #2574eb;
  padding: 4px 12px;
  border-radius: 99px;
  font-size: 0.75em;
  font-weight: 600;
  margin-bottom: 12px;
  width: fit-content;
}

.btn-acao {
  background: transparent;
  color: #3faf6e;
  border: none;
  padding: 0;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.9em;
  margin-top: 18px;
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 0.2s;
  text-align: left;
}

.btn-acao:hover {
  color: #04782b;
}

#bannerAviso {
  display: none;
  padding: 12px 20px;
  margin-bottom: 20px;
  border-radius: 8px;
  font-weight: 600;
}

.aviso-sucesso {
  background: #dcfce7;
  color: #166534;
  border: 1px solid #bbf7d0;
}

.aviso-erro {
  background: #fee2e2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

/* FOOTER */
.footer {
  background-color: #171717;
  height: auto;
  margin-top: 10vh;
  padding: 50px 20px 30px 20px;
  z-index: 999;
  color: #fff;
}

.bloco2footer {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.footer-icon img {
  width: 60px;
  margin-top: 10px;
}

.footer-text1 {
  margin-top: 10px;
  color: #ffffff;
}

.footer-text2 {
  margin-top: 10px;
  color: #919191;
  font-weight: 400;
  text-align: center;
}

.linhafooter {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  margin-top: 40px;
}

.linha {
  width: 70%;
  height: 1px;
  background-color: rgba(255, 255, 255, 0.1);
  margin-bottom: 20px;
}

.direitosautorais {
  color: #919191;
  font-size: 14px;
  text-align: center;
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
}

.menu-icon-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 1000;
}

.menu-icon-hamburger span {
  display: block;
  width: 26px;
  height: 3px;
  background-color: #333;
  border-radius: 2px;
  transition: all 0.3s ease;
}

nav {
  display: flex;
  align-items: center;
  gap: 30px;
}

/* =========================================================
   BOTÃO DE TEMA (Modo Claro)
========================================================= */
@property --gradient-angle {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}
/* --- MODO CLARO --- */
.btn-tema-toggle {
  --gradient-angle: 0deg;
  --gradient-angle-offset: 0deg;
  --gradient-shine: #3faf6e; /* Mesma cor exata do sol */
  /* Bordinha cinza sutil nativa + Linha verde translúcida rodando no gradiente */
  border: 1px solid rgba(0, 0, 0, 0.12) !important;
  background: 
    linear-gradient(#ffffff, #ffffff) padding-box, 
    conic-gradient(from calc(var(--gradient-angle) - var(--gradient-angle-offset)),
      transparent 0%, rgba(63, 175, 110, 0.2) 5%, rgba(63, 175, 110, 0.85) 15%, rgba(63, 175, 110, 0.2) 25%, transparent 35%, transparent 100%) border-box !important;
  border-radius: 9999px;
  width: 44px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: relative;
  isolation: isolate;
  z-index: 1;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.04);
  transition: box-shadow 0.3s cubic-bezier(0.25, 1, 0.5, 1), 
              transform 0.3s cubic-bezier(0.25, 1, 0.5, 1);
  animation: border-spin 2.5s linear infinite;
  overflow: hidden;
  box-sizing: border-box;
}
/* Hover Modo Claro */
.btn-tema-toggle:hover {
  transform: translateY(-4px) !important;
  box-shadow: rgba(63, 175, 110, 0.25) 0px 1px 1px inset, 
              rgba(63, 175, 110, 0.25) 0px -2px 6px inset, 
              rgba(63, 175, 110, 0.4) 0px 10px 20px -6px !important;
  transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1) !important;
}
.btn-tema-toggle:active {
  transform: translateY(-1px) !important;
  box-shadow: rgba(63, 175, 110, 0.15) 0px 1px 1px inset, 
              rgba(63, 175, 110, 0.15) 0px -2px 6px inset, 
              rgba(63, 175, 110, 0.25) 0px 6px 12px -6px !important;

}
/* --- MODO ESCURO (100% Intacto) --- */
[data-theme="dark"] .btn-tema-toggle {
  --gradient-shine: #3faf6e;
  border: 1px solid transparent !important;
  background: 
    linear-gradient(#1c2421, #0a0a0a) padding-box, 
    conic-gradient(from calc(var(--gradient-angle) - var(--gradient-angle-offset)),
      transparent 0%, #047857 5%, var(--gradient-shine) 15%, #047857 30%, transparent 40%, transparent 100%) border-box !important;
  box-shadow: rgba(255, 255, 255, 0.15) 0px 1px 1px inset,
              rgba(0, 0, 0, 0.2) 0px -2px 6px inset, 
              rgba(0, 0, 0, 0.5) 0px 10px 15px -8px !important;

}
[data-theme="dark"] .btn-tema-toggle::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 9999px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.95) 0.5px, transparent 0.8px) 0 0 / 4px 4px;
  -webkit-mask-image: linear-gradient(to right, transparent 60%, rgba(0, 0, 0, 1) 75%);
  mask-image: linear-gradient(120deg,
      transparent 30%,
      rgba(0, 0, 0, 1) 48%,
      rgba(0, 0, 0, 1) 52%,
      transparent 70%);
  pointer-events: none;
  z-index: 1;
}
[data-theme="dark"] .btn-tema-toggle:hover {
  transform: translateY(-4px) !important;
  box-shadow: rgba(20, 206, 61, 0.25) 0px 1px 1px inset, 
              rgba(20, 206, 61, 0.25) 0px -2px 6px inset, 
              rgba(20, 206, 61, 0.4) 0px 12px 24px -8px !important;
  transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1) !important;
}

/* --- ÍCONES --- */
.theme-icon-container {
  position: relative;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}
.theme-icon {
  width: 20px;
  height: 20px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.4s ease;
}
.sun-icon {
  opacity: 1;
  transform: translate(-50%, -50%) rotate(0deg) scale(1);
  color: #3faf6e !important; 
}
.moon-icon {
  opacity: 0;
  transform: translate(-50%, -50%) rotate(-90deg) scale(0.5);
  color: #3faf6e;
}
[data-theme="dark"] .sun-icon {
  opacity: 0;
  transform: translate(-50%, -50%) rotate(90deg) scale(0.5);
}
[data-theme="dark"] .moon-icon {
  opacity: 1;
  transform: translate(-50%, -50%) rotate(0deg) scale(1);
  color: #3faf6e !important;
}

/*FILTRO DE SERVIÇO - Fixado para não pular */
.pill-btn {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  color: #4b5563;
  padding: 8px 18px;
  border-radius: 9999px;
  font-size: 0.9em;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02);
  min-width: 120px;
  text-align: center;
  white-space: nowrap;
}

.pill-btn:hover {
  background: #f3f4f6;
  color: #111827;
}

.pill-btn.active,
.pill-btn:active {
  background: #111827;
  color: #ffffff;
  border-color: #111827;
  font-weight: 500;
}

/* =========================================================
   VARIÁVEIS DE TEMA E MODO ESCURO PADRONIZADO (CATÁLOGO)
========================================================= */
:root {
  --bg-color: #fafafa;
  --text-color: #111827;
  --text-muted: #414141;
  --header-bg: rgba(255, 255, 255, 0.514);
  --card-bg: rgba(255, 255, 255, 0.9);
  --card-border: rgba(65, 65, 65, 0.12);
  --card-text: #111827;
  --input-bg: #ffffff;
  --input-border: #e5e7eb;
  --input-text: #111827;
  --verde-principal: #3faf6e;
}

[data-theme="dark"] {
  --bg-color: #121212;
  --text-color: #f1f1f1;
  --text-muted: #e0e0e0;
  --header-bg: rgba(18, 18, 18, 0.85);
  --card-bg: rgba(30, 30, 30, 0.85); /* Efeito vidro translúcido elegante */
  --card-border: rgba(255, 255, 255, 0.08);
  --card-text: #ffffff;
  --input-bg: #1a1a1a;
  --input-border: rgba(255, 255, 255, 0.15);
  --input-text: #ffffff;
  --verde-principal: #2e8b57;
}

body {
  background-color: var(--bg-color) !important;
  color: var(--text-color) !important;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.header {
  background-color: var(--header-bg) !important;
}

[data-theme="dark"] .navitens {
  color: #ffffff !important;
}

[data-theme="dark"] .header-topo h2 {
  color: #ffffff !important;
}

[data-theme="dark"] .header-topo small {
  color: #a1a1a1 !important;
}

/* Ajuste das Pills no Dark Mode */
[data-theme="dark"] .pill-btn {
  background: #1a1a1a !important;
  border-color: rgba(255, 255, 255, 0.15) !important;
  color: #e0e0e0 !important;
}

[data-theme="dark"] .pill-btn.active,
[data-theme="dark"] .pill-btn:active {
  background: #1a1a1a !important;
  color: #e0e0e0 !important;
  border-color: #2e8b57 !important;
}

/* Input de Busca no Dark Mode */
[data-theme="dark"] .filtros-container input {
  background-color: var(--input-bg) !important;
  border-color: var(--input-border) !important;
  color: var(--input-text) !important;
}

/* Cards MEI no Dark Mode (Com efeito vidro translúcido) */
[data-theme="dark"] .card-mei {
  background: rgba(30, 30, 30, 0.85) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  backdrop-filter: blur(8px) !important;
  -webkit-backdrop-filter: blur(8px) !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4) !important;
}

[data-theme="dark"] .card-mei h4 {
  color: #ffffff !important;
}

[data-theme="dark"] .card-mei p,
[data-theme="dark"] .card-mei small,
[data-theme="dark"] .card-mei strong {
  color: #e0e0e0 !important;
}

[data-theme="dark"] .badge-cat {
  background: #161616 !important;
  color: #38bdf8 !important;
  border-color: #38bdf8 !important;
}

/* Modais no Dark Mode */
[data-theme="dark"] .modal-content {
  background: #1e1e1e !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  color: #ffffff !important;
}

[data-theme="dark"] .modal-bloco-texto {
  background-color: #161616 !important;
  border-color: rgba(255, 255, 255, 0.15) !important;
  color: #e0e0e0 !important;
}

[data-theme="dark"] .modal-servico-card {
  background: #161616 !important;
  border-color: rgba(255, 255, 255, 0.1) !important;
  color: #e0e0e0 !important;
}

[data-theme="dark"] #formModalProposta input,
[data-theme="dark"] #formModalProposta textarea {
  background-color: #161616 !important;
  border-color: rgba(255, 255, 255, 0.2) !important;
  color: #ffffff !important;
}

/* =========================================================
   CARD DE AVISO FLUTUANTE (SUBSTITUTO MODERNO DO ALERT)
========================================================= */
#bannerAviso {
  display: none;
  position: fixed;
  top: 25px;
  right: 25px;
  z-index: 99999;
  min-width: 320px;
  max-width: 420px;
  padding: 16px 20px;
  border-radius: 16px;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.95em;
  font-weight: 600;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  animation: slideInAviso 0.3s cubic-bezier(0.25, 0.8, 0.25, 1) forwards;
  transition: opacity 0.3s ease;
}

#bannerAviso.sucesso {
  background: rgba(220, 252, 231, 0.95);
  color: #166534;
  border: 1px solid rgba(187, 247, 208, 0.8);
  border-left: 5px solid #10b981;
}

#bannerAviso.erro {
  background: rgba(254, 226, 226, 0.95);
  color: #991b1b;
  border: 1px solid rgba(254, 202, 202, 0.8);
  border-left: 5px solid #ef4444;
}

[data-theme="dark"] #bannerAviso.sucesso {
  background: rgba(20, 83, 45, 0.95);
  color: #dcfce7;
  border: 1px solid rgba(34, 197, 94, 0.3);
  border-left: 5px solid #22c55e;
}

[data-theme="dark"] #bannerAviso.erro {
  background: rgba(127, 29, 29, 0.95);
  color: #fee2e2;
  border: 1px solid rgba(239, 68, 68, 0.3);
  border-left: 5px solid #ef4444;
}

/* =========================================================
   CORREÇÃO COMPLETA DE TEXTOS E LABELS NOS MODAIS (DARK MODE)
========================================================= */
[data-theme="dark"] #modalSaberMais strong,
[data-theme="dark"] #modalSaberMais span,
[data-theme="dark"] #modalSaberMais label {
  color: #e0e0e0 !important;
}

[data-theme="dark"] #modalSaberMais .linha-modal {
  border-top: #2a2a2a !important;
}
 
[data-theme="dark"] #modalSaberMais .modal-bloco-texto {
  background-color: #161616 !important;
  border-color:rgba(255, 255, 255, 0.15) !important;
  color: #f1f1f1 !important;
}
 
[data-theme="dark"] #modalSaberMais .btn-cancelar-modal {
  background: #2a2a2a !important;
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
}
 
[data-theme="dark"] #modalSaberMais .btn-cancelar-modal:hover {
  background: #3a3a3a !important;
} 
 
/* Garante o formulário de proposta também caso abra depois */
[data-theme="dark"] #formModalProposta label {
  color: #e0e0e0 !important;
}
 
[data-theme="dark"] #formModalProposta input::placeholder,
[data-theme="dark"] #formModalProposta textarea::placeholder {
  color: #888888 !important;
}
 

@keyframes slideInAviso {
  from {
    opacity: 0;
    transform: translateY(-20px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.escondido {
  opacity: 0;
  transform: translateY(50px);
}

.animar-ao-rolar {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
  will-change: transform, opacity;
}

@media (max-width: 768px) {
  .header {
    padding: 0 5%;
    height: 60px;
    position: fixed;
    background-color: rgba(255, 255, 255, 0.95);
  }

  .iconimg {
    width: 60px;
    z-index: 91;
  }

  .menu-icon-hamburger {
    display: flex;
  }

  nav {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    padding-top: calc(8vh + 25px);
    padding-bottom: 25px;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    gap: 25px;
    align-items: center;
    z-index: 90;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.25, 1, 0.5, 1), visibility 0.3s;
  }

  #menu-toggle:checked~nav {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .navitens {
    font-size: 18px;
    width: 100%;
    text-align: center;
    display: block;
  }

  .shiny-cta1 {
    padding: 12px 25px;
    font-size: 14px;
    width: 90%;
    text-align: center;
    margin-top: 10px;
  }

  #menu-toggle:checked~.menu-icon-hamburger span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
  }

  #menu-toggle:checked~.menu-icon-hamburger span:nth-child(2) {
    opacity: 0;
  }

  #menu-toggle:checked~.menu-icon-hamburger span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
  }

  .modal-overlay,
  .modal-overlay-custom {
    padding: 12px;
  }

  .modal-content,
  .modal-content-custom {
    padding: 24px 18px;
    border-radius: 24px;
    max-width: 100% !important;
    max-height: calc(100vh - 24px);
  }

  /* No celular, empilha as colunas do modal se faltar espaço horizontal */
  #modalSaberMais .no-scrollbar[style*="grid-template-columns"] {
    grid-template-columns: 1fr !important;
  }
}

/* =========================================================
   FILTROS DO CATALOGO
   Linha 1: busca + estado + cidade + atendimento
   Linha 2: categorias
   Linha 3: quantos apareceram + atalhos
========================================================= */
.filtros-container {
  gap: 14px;
  margin-bottom: 28px;
}

.barra-filtros {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  padding: 6px;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 999px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.barra-filtros:focus-within {
  border-color: #10b981;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

/* a busca vira parte da barra: sem borda propria */
.filtros-container .barra-filtros .busca-catalogo {
  flex: 1 1 220px;
  max-width: none;
  min-width: 0;
  border: none;
  box-shadow: none;
  background-color: transparent;
  padding: 10px 14px 10px 42px;
}

.filtros-container .barra-filtros .busca-catalogo:focus {
  box-shadow: none;
}

.filtros-local {
  display: flex;
  gap: 6px;
}

.filtros-local .select-custom {
  width: 160px;
}

/* atendimento: controle segmentado */
.segmentado {
  display: inline-flex;
  gap: 2px;
  padding: 3px;
  background: #f3f4f6;
  border-radius: 999px;
}

.segmentado .pill-btn {
  min-width: 0;
  padding: 7px 14px;
  border: none;
  background: transparent;
  box-shadow: none;
  font-size: 13px;
  color: #4b5563;
  font-weight: 600;
}

.segmentado .pill-btn:hover {
  background: rgba(17, 24, 39, 0.06);
  color: #111827;
}

.segmentado .pill-btn.active {
  background: #111827;
  color: #ffffff;
}

/* categorias: mais leves, em uma linha so (rola no celular) */
#containerCategorias {
  flex-wrap: nowrap;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 2px 0;
}

#containerCategorias::-webkit-scrollbar {
  display: none;
}

#containerCategorias .pill-btn {
  flex: 0 0 auto;
  min-width: 0;
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 550;
}

/* resumo: contagem + atalhos */
.resumo-filtros {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  min-height: 28px;
  font-size: 13px;
  color: #6b7280;
}

#contadorResultados strong {
  color: #111827;
}

.chip-atalho {
  padding: 5px 12px;
  border: 1px solid rgba(63, 175, 110, 0.4);
  border-radius: 999px;
  background: rgba(63, 175, 110, 0.1);
  color: #2e8b57;
  font-family: inherit;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.chip-atalho:hover {
  background: rgba(63, 175, 110, 0.2);
}

.link-limpar {
  padding: 0;
  border: none;
  background: none;
  color: #6b7280;
  font-family: inherit;
  font-size: 13px;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.link-limpar:hover {
  color: #2e8b57;
}

.chip-atalho:focus-visible,
.link-limpar:focus-visible,
.segmentado .pill-btn:focus-visible,
#containerCategorias .pill-btn:focus-visible {
  outline: 2px solid #3faf6e;
  outline-offset: 2px;
}

/* etiqueta de presencial/remoto nos cards */
.etiqueta-modalidade {
  display: inline-block;
  margin-left: 6px;
  padding: 2px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.3px;
  vertical-align: middle;
}

.etiqueta-presencial { background: rgba(214, 158, 46, 0.18); color: #b7791f; }
.etiqueta-remoto     { background: rgba(66, 153, 225, 0.18); color: #2b6cb0; }
.etiqueta-ambos      { background: rgba(63, 175, 110, 0.18); color: #2e8b57; }

/* ---------- celular: a barra vira um cartao empilhado ---------- */
@media (max-width: 760px) {
  .barra-filtros {
    border-radius: 18px;
    padding: 8px;
  }

  .filtros-container .barra-filtros .busca-catalogo {
    flex-basis: 100%;
  }

  .filtros-local {
    flex: 1 1 100%;
  }

  .filtros-local .select-custom {
    flex: 1 1 0;
    width: auto;
  }

  .segmentado {
    flex: 1 1 100%;
  }

  .segmentado .pill-btn {
    flex: 1 1 0;
  }
}
.navitens.nav-clientes {
  color: #3faf6e !important;
}

[data-theme="dark"] .navitens.nav-clientes {
  color: #3faf6e !important;
}
/* ---------- tema escuro (o CSS antigo usa !important nas pills) ---------- */
[data-theme="dark"] .barra-filtros {
  background: #1a1a1a;
  border-color: rgba(255, 255, 255, 0.12);
}

[data-theme="dark"] .filtros-container .barra-filtros .busca-catalogo {
  background-color: transparent !important;
  border: none !important;
  color: #f1f1f1 !important;
}

[data-theme="dark"] .segmentado {
  background: #262626;
}

[data-theme="dark"] .segmentado .pill-btn {
  background: transparent !important;
  border: none !important;
  color: #c4c4c4 !important;
}

[data-theme="dark"] .segmentado .pill-btn.active {
  background: #2e8b57 !important;
  color: #ffffff !important;
}

[data-theme="dark"] .resumo-filtros,
[data-theme="dark"] .link-limpar {
  color: #a0a0a0;
}

[data-theme="dark"] #contadorResultados strong {
  color: #f1f1f1;
}
