/*Inter Titulos*/
@import url("https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap");
/*Poppins Textos*/
@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");
/*CSS IMPORT*/
@import url(mobile.css);
@import url(Prestador/css/index.css);
@import url(Prestador/css/perfil.css);
@import url(Prestador/css/servicos.css);
@import url(Suporte/css/suporte.css);
@import url(Conta/css/cadastro.css);
@import url(Conta/css/login.css);
@import url(Dashboard/css/index.css);
@import url(footer.css);

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

#overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0,0,0,0.4); /* escurece o fundo */
  z-index: 9998; /* atrás do popup */
}

.hidden {
  display: none !important;
}

:root {
  --primary-color: #109cfb; 
  --primary-hover: #3fa7fe;
  --azul-overlay: #b0d5f3;
  --fundo: #f5f5f5;
  --cor-secundaria: #615E5E;
  --text-dark: #202e3b;
  --text-light: #707474;
  --background-light: #f8f9fa;
  --white: #ffffff;
  --shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
  --shadow-hover: 0 8px 30px rgba(0, 0, 0, 0.15);
  --transition: all 0.3s ease;
  --border-radius: 12px;
  --border-color: #D9D9E3;
}

body {
  font-family: "Poppins", sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  overflow-x: hidden;
  background-color: #f5f5f5;
  /*background: linear-gradient(
    to bottom,
    #ffffff 0%,      
    #fefefe 6%,  
    #fafafa 20%,    
    #f5f5f5 50%    
  );*/
}
.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}

.logo-img {
  height: 100%; /* ocupa toda a altura do menu */
  max-height: 40px !important; /* limite da imagem */
  width: auto; /* largura automática proporcional */
  object-fit: contain;
}

/* Botão base */
    .btn {
      position: relative;
      background: var(--primary-color);
      color: #fff;
      font-size: 16px;
      font-weight: 600;
      padding: 14px 24px;
      border: none;
      border-radius: 10px;
      cursor: pointer;
      overflow: hidden;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      transition: background 0.3s, transform 0.2s;
      width: calc(100% - 20px);
      height: 60px;
      margin: auto;
    }

    .btn:hover {
      background: var(--primary-hover);
      transform: translateY(-2px);
    }

    .btn:disabled {
      opacity: 0.8;
      cursor: not-allowed;
    }

    /* Efeito ripple */
    .ripple {
      position: absolute;
      border-radius: 50%;
      transform: scale(0);
      animation: ripple 600ms linear;
      background-color: rgba(255, 255, 255, 0.6);
      pointer-events: none;
    }

    @keyframes ripple {
      to {
        transform: scale(4);
        opacity: 0;
      }
    }

    /* Loader */
    .loader {
      border: 3px solid rgba(255, 255, 255, 0.4);
      border-top: 3px solid #fff;
      border-radius: 50%;
      width: 18px;
      height: 18px;
      animation: spin 1s linear infinite;
    }

    @keyframes spin {
      to {
        transform: rotate(360deg);
      }
    }

/* Header - Menu*/
.header {
  position: fixed;
  top: 0;
  width: 100%;
  background: var(--fundo);
  z-index: 1000;
  transition: var(--transition);
}

.header.scrolled {
  background-color: var(--fundo) !important; /* cor fixa do menu */
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  transition: background-color 0.3s, box-shadow 0.3s;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 10px;
  max-width: 1140px;
  margin: 0 auto;
  border: var(--shadow);
  background-color: var(--fundo);
  position: relative; /* necessário para centralizar h1 */
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Centraliza o h1 no centro da navbar */
.navbar h1 {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  margin: 0;
  font-size: 18px;
  color: var(--text-dark);
  text-align: center;
}

.nav-menu {
  display: flex;
  list-style: none;
  align-items: center;
  gap: 2rem;
}

.nav-menu a {
  text-decoration: none;
  color: var(--text-dark);
  font-weight: 400;
  font-size: 0.9rem;
  transition: var(--transition);
}

.nav-brand h2 {
  color: var(--primary-hover);
}

.nav-menu a:hover {
  color: var(--primary-color);
}

.btn-entrar {
    padding: 0.5rem 1.5rem !important;
    border: 2px solid var(--primary-color);
    border-radius: 25px;
    color: var(--primary-color) !important;
    transition: var(--transition);
}

.btn-entrar:hover {
    background: var(--primary-hover);
    color: var(--white) !important;
}

/* Hamburger Menu */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 4px;
}

.hamburger .bar {
  width: 30px;
  height: 3px;
  background: var(--text-dark);
  transition: var(--transition);
}

.hamburger.active .bar:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active .bar:nth-child(2) {
  opacity: 0;
}

.hamburger.active .bar:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -6px);
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 300px;
  height: 100vh;
  background: var(--white);
  box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
  transition: var(--transition);
  z-index: 1001;
}

.mobile-menu.active {
  right: 0;
}

.mobile-menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem;
  border-bottom: 1px solid #eee;
}

.close-btn {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text-dark);
}

.mobile-nav-links {
  list-style: none;
  padding: 1rem 0;
}

.mobile-nav-links a {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.5rem;
  text-decoration: none;
  color: var(--text-dark);
  transition: var(--transition);
}

.mobile-nav-links a:hover {
  background: var(--background-light);
  color: var(--primary-color);
}

.mobile-login {
    margin: 1rem 1.5rem;
    padding: 0.75rem 1.5rem;
    border: 2px solid var(--primary-color);
    border-radius: 25px;
    text-align: center;
    color: var(--primary-color);
}


/* Categories Section */
.categories {
  margin: 20px 10px;
  padding: 30px 0 40px;
  background: var(--white);
  border-radius: 40px;
  box-shadow: var(--shadow-hover);
}

.categories-title {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-dark);
  letter-spacing: 0.5px;
  text-align: center;
  padding: 5px 0; /* opcional para ajustar o fundo */
  margin-bottom: 30px;
}

.categories-p {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--text-light);
  letter-spacing: 0.5px;
  text-align: center;
  padding: 5px 0; /* opcional para ajustar o fundo */
}

.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 1rem;
  width: 100%;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  min-width: 0; /* evita que itens "estourem" em layouts dentro de grid */
}

.category-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  padding: 1.5rem 1rem;
  background: var(--white);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
  border: 2px solid transparent; /* <- aqui está o segredo */
}

.category-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
 border-color: var(--border-color); /* apenas muda a cor */
 background: var(--primary-color);
}

.category-icon {
  position: relative; /* necessário para o glow funcionar */
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  z-index: 1; /* garante que o ícone fique acima do glow */
  background: var(--primary-color);
}

.category-card:hover .category-icon {
  transform: scale(1.1);
}

.category-icon i {
  font-size: 1.25rem;
  color: var(--white);
}

.category-card:hover span {
  color: var(--white);
}

.category-card span,
a {
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--text-dark);
  line-height: 1.3;
  text-align: center;
  text-decoration: none;
}


/* Hero Section */
.hero {
  background: var(--primary-color) !important;
  border-radius: 25px 0 25px 0;
  margin: 20px 10px;
  padding: 30px 0;
}

.hero-content {
  max-width: 1140px;
  margin-top: -40px;
  margin-bottom: 10px;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 2.2fr 1fr; /* texto maior, imagem menor */
  gap: 2rem;
  align-items: center;
  text-align: center;
}


.hero-text h1 {
  font-size: 2rem;
  font-weight: 300;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  color: var(--text-dark);
   text-align: left;
   margin-top: -30px;
}

.hero-text h5 {
  font-size: 1.2rem;
  font-weight: 500;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  color: var(--white);
   text-align: left;
   margin-top: -25px;
}


.highlight {
  color: var(--primary-color);
}

.hero-text p {
  font-weight: 400;
  font-size: 1.1rem;
  color: var(--text-light);
  margin-bottom: 2rem;
  line-height: 1.6;
  text-align: left;
}


/* Input + botão lado a lado */
.input-button-wrapper {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

/* Input container (com dropdown) */
.input-wrapper {
  position: relative;
  flex: 1;
  min-width: 250px;
  
}

/* Campo de texto */
.search-box input {
  width: 100%;
  padding: 1rem 1.5rem;
  font-size: 20px;
  border: 1px solid #ccc;
  border-radius: 4px;
  outline: none;
  box-sizing: border-box;
}

/* Dropdown de sugestões */
#sugestoes {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: white;
  z-index: 9999;
  border: 1px solid #ccc;
  display: none;
  max-height: 250px;
  overflow-y: auto;
  border-radius: 0 0 4px 4px;
}

/* Botão de busca */
.search-box button {
  width: 100% !important;
  height: 58px;
  padding: 0 1.5rem;
  background: var(--primary-color);
  color: var(--white);
  font-size: 18px;
  border: none;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.search-suggestions {
  width: 100%;
  margin: 10px 0;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  font-size: 0.97rem;
}

.suggestion-label {
  color: var(--text-dark);
  font-weight: 600;
  font-size: 1rem;
  margin: 0 10px;
}

.suggestion-list {
  display: flex;
  gap: 0.8rem;
  list-style: none;
  margin: 20px 0;
  padding: 0 10px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.suggestion-list::-webkit-scrollbar {
  display: none;
}

.suggestion-list li {
  display: flex;
  flex-direction: column;   /* ícone em cima, texto embaixo */
  align-items: flex-start;  /* alinhado à esquerda */
  justify-content: flex-start;
  gap: 6px;

  background: #fff;
  color: var(--text-dark);
  border-radius: 16px;
  padding: 12px;
  font-weight: 500;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.25s ease;
  border: 1px solid var(--border-color);
  flex-shrink: 0;

  /* todos com mesmo tamanho */
  width: 140px;
  height: 110px;

  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}

.suggestion-list li i {
  font-size: 1.2rem;
  color: var(--primary-color);
  margin: 5px;
}

.suggestion-list li span {
  text-align: left;
  white-space: normal;
  word-wrap: break-word;
  overflow: hidden;
  line-height: 1.2;
  max-width: 100%;
  padding-top: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;   /* máximo 2 linhas */
  -webkit-box-orient: vertical;
}

.suggestion-list li:hover {
  background: var(--primary-color);
  color: #fff;
  border-color: var(--primary-color);
  transform: translateY(-3px);
}

.suggestion-list li:hover i {
  color: #fff;
}

#saudacao {
  font-size: 2.5rem;
  font-weight: 600;
  color: var(--white);
  text-align: left;
}

/* Hero Image */
.hero-image {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  background: transparent;
  margin-top: -80px; /*Remover esse margin quando slider patrocinador ativado*/
}

.professional-showcase {
  position: relative;
}

.professional-img {
  width: 300px;
  height: 300px;
  border-radius: 20px;
  object-fit: cover;
  box-shadow: var(--shadow-hover);
  margin-top: -20px;
  background: transparent;
  right: 20px;
}

.floating-card {
  position: absolute;
  bottom: -50px;
  right: -20px;
  animation: float 3s ease-in-out infinite;
  z-index: 10;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-15px);
  }
}

.professional-card {
  background: var(--white);
  padding: 1rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-hover);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 200px;
}

.professional-card img {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  object-fit: cover;
}

.card-info h4 {
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0.25rem;
}

.card-info p {
  color: var(--text-light);
  font-size: 0.8rem;
  margin-bottom: 0.25rem;
}

.card-info .year {
  font-size: 0.75rem;
  color: var(--text-light);
}

.rating {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.25rem;
}

.stars {
  color: #ffd700;
  font-size: 0.8rem;
}

.score {
  font-weight: 600;
  color: var(--text-dark);
  font-size: 0.8rem;
}

/* Footer */
.footer {
  background: var(--text-dark);
  color: var(--white);
  padding: 10px 0 0px;
}

.footer-content {
  display: flex;
  justify-content: space-between; /* Um item em cada ponta */
  align-items: flex-start; /* Alinhamento vertical */
  flex-wrap: wrap; /* Quebra se for tela pequena */
  gap: 2rem; /* Espaçamento entre eles */
}

.footer-section h3,
.footer-section h4 {
  margin-bottom: 1rem;
  color: var(--white);
}

.footer-section p {
  color: #bdc3c7;
  line-height: 1.6;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 0.5rem;
}

.footer-section ul li a {
  color: #bdc3c7;
  text-decoration: none;
  transition: var(--transition);
}

.footer-section ul li a:hover {
  color: var(--primary-color);
}

/* Esconde as categorias extras */
.category-card.hidden {
  display: none;
}

.see-more-btn {
  display: block;
  margin: 18px auto 0 auto;
  background: transparent;
  color: var(--primary-color);
  border: none;
  border-radius: 24px;
  padding: 0.7rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
}

.see-more-btn:hover {
  color: var(--primary-hover);
}

/*Modal de buscando profissionais*/
#loading-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  justify-content: center;
  align-items: center;
}

.close-btn-modal {
  position: absolute;
  top: 10px;
  right: 15px;
  background: var(--primary-color);
  border-radius: 5px;
  border: none;
  font-size: 2.5rem;
  font-weight: bold;
  color: #fff;
  cursor: pointer;
  z-index: 10;
}

.close-btn-modal:hover {
  color: #ff4c4c; /* muda de cor ao passar o mouse */
}

/* container do modal ocupa toda a tela */
.loading-box {
  width: 100%;
  height: 100vh; /* altura total da tela */
  display: flex;
  flex-direction: column;
}

/* topo azul */
.loading-top {
  flex: 1; /* metade superior */
  background-color: var(--azul-overlay);
  display: flex;
  justify-content: center;
  align-items: center;
}

.loading-top img {
  max-width: 90%;
  height: auto;
}

/* parte de baixo branca */
.loading-bottom {
  flex: 1; /* metade inferior */
  background-color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  padding: 2rem 1rem;
  box-sizing: border-box;
}

/* texto */
.loading-text p {
  font-size: 20px !important;
  font-weight: bold;
  color: #002244;
  text-align: center;
  margin: 0;
}

/* barra de progresso */
.loading-progress {
  width: 90%;
  height: 8px;
  background: #e0ecf5;
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 15rem;
}

.loading-progress .bar {
  height: 100%;
  width: 100%;
  background: linear-gradient(90deg, #109cfb, #32a8f7 50%, #086cdd 100%);
  background-size: 200% 100%;
  animation: loading-gradient 1.5s linear infinite;
}

@keyframes loading-gradient {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

.tooltip {
  position: relative;
  display: inline-block;
  cursor: pointer;
  width: 100%;
}

.tooltip .tooltiptext {
  visibility: hidden;
  width: 100%;
  background-color: #333;
  color: #fff;
  text-align: center;
  padding: 6px;
  border-radius: 6px;
  position: absolute;
  z-index: 10;
  bottom: 125%; /* Posição acima */
  left: 50%;
  transform: translateX(-50%);
  opacity: 0;
  transition: opacity 0.3s;
  font-size: 0.8rem;
}

.tooltip:focus .tooltiptext,
.tooltip:hover .tooltiptext {
  visibility: visible;
  opacity: 1;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.categories-site {
  margin-top: 40px;
  padding: 60px 20px;
  background-color: var(--white);
  color: white;
  clip-path: polygon(0 8%, 100% 0, 100% 100%, 0 100%);
  box-shadow: var(--shadow-hover);
}

.container-interno {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  max-width: 1100px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.imagem-lado img {
  max-width: 100%;
  border-radius: 20px;
  width: 500px;
  height: auto;
  box-shadow: 0 0 20px rgba(0,0,0,0.2);
}

.texto-lado {
  flex: 1;
  min-width: 280px;
}

.texto-lado p {
  margin: 0.5em 0;
  font-size: 1rem;
  color: var(--text-dark);
}

.texto-lado a {
  color: var(--primary-color);
  font-weight: bold;
  text-decoration: underline;
}


/* modal que abre ao clicar na categoria */
/* modal que abre ao clicar na categoria */
.modalCategoria {
  position: fixed;
  z-index: 999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  display: flex;
  justify-content: center;
  align-items: center;
  box-sizing: border-box;
}

/* Modal centralizada com scroll interno se necessário */
.modal-categoria {
  position: relative;
  background-color: #fff;
  margin: 70px auto;
  width: 90%;
  max-width: 600px;
  max-height: 90vh; /* Limita altura máxima */
  overflow-y: auto;  /* Ativa scroll interno */
  padding: 20px;
  border-radius: 8px;
  box-sizing: border-box;
}

/* Remover marcadores e padding padrão */
.modal-categoria ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

/* Estilo tipo card */
.modal-categoria ul li {
  margin: 10px 0;
  padding: 15px 20px;
  background-color: #f9f9f9;
  border: 1px solid #ddd;
  border-radius: 6px;
  cursor: pointer;
  color: #333;
  text-decoration: none;
  transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  font-size: 16px;
}

/* Hover com destaque */
.modal-categoria ul li:hover {
  background-color: #f1f1f1;
  transform: translateY(-2px);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

/* Botão de fechar dentro do topo azul */
.close-btn-modal {
  position: absolute;
  top: 15px;
  right: 15px;
  background: rgba(255,255,255,0.2); /* leve transparência */
  border: none;
  font-size: 2rem;
  font-weight: bold;
  color: #000;
  padding: 0.2rem 0.6rem;
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.3s, color 0.3s;
  z-index: 10;
}

.close-btn-modal:hover {
  background: rgba(255,255,255,0.5);
  color: #ff4c4c;
}

/*POPUP SEM NET*/
.popup {
  position: absolute;
  left: 50%;
  top: 25%;
  visibility: hidden;
  width: 490px;
  border-radius: 5px;
  padding: 13px 17px 20px;
  background: #f3f1f1;
  display: flex;
  border-top: 3px solid #aa0420;
  transform: translateX(-50%);
  box-shadow: 0 10px 25px rgba(52,87,220,0.1);
  transition: all 0.25s ease;
}
.popup.show {
  top: 80px;
  visibility: visible;
  z-index: 1;
}
.popup.online {
  border-color: #2ECC71;
}
.popup .icon i {
  width: 40px;
  height: 40px;
  display: flex;
  color: #fff;
  margin-right: 15px;
  font-size: 1.2rem;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--primary-color);
}
.popup.online .icon i {
  background: #2ECC71;
}
.popup .title {
  font-size: 1.2rem;
  color: var(--primary-color);
}
.popup .desc {
  color: #474747;
  margin: 3px 0 10px;
  font-size: 1.04rem;
}
.popup .reconnect {
  border: none;
  outline: none;
  color: #fff;
  cursor: pointer;
  font-weight: 500;
  font-size: 0.95rem;
  padding: 8px 13px;
  border-radius: 4px;
  background: var(--primary-color);
}
.popup.online .reconnect {
  background: #bfbfbf;
  pointer-events: none;
}

/* POPUP DE INSTALAÇÃO */
.install-popup {
  position: fixed;
  top: 100px;
  right: 20px;
  width: 100%;
  max-width: 400px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  padding: 40px 20px 20px;
  text-align: center;
  z-index: 9999;
  overflow: visible; /* isso é essencial */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.icon-wrapper {
  position: absolute;
  top: -28px; /* empurra o ícone pra fora */
  width: 56px;
  height: 56px;
}

.install-popup img {
  width: 56px;
  height: 56px;
  border-radius: 200px;
  background: var(--primary-color);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.install-popup h3 {
  margin: 12px 0 6px;
  font-size: 17px;
  font-weight: 600;
}

.install-popup p {
  font-size: 1rem;
  color: #333;
  margin: 0 0 16px;
  font-weight: 300;
}

.install-popup .install-btn {
  width: 100%;
  padding: 12px;
  background: var(--primary-color);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
}

.install-popup .cancel-btn {
  margin-top: 12px;
  background: none;
  border: none;
  color: #2968c8;
  font-size: 14px;
  cursor: pointer;
}

/*COOKIES*/
.cookies-msg{
    max-width: 925px;
    width: 100%;
    background-color: var(--border-color);
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translate(-50%);
    display: none;
    z-index: 100;
}

.cookies-msg.mostrar{
    display: block;
}

.cookies-msg .cookies-txt{
    display: flex;
    align-items: center;
    text-align: justify;
    padding: 20px;
}

.cookies-msg .cookies-btn{
    margin-left: 30px;
}

.cookies-msg .cookies-btn button{
    background-color: var(--primary-color);
    color: #fff;
    font-weight: 700;
    font-size: 14px;
    padding: 10px 40px;
    cursor: pointer;
    transition: .2s;
    border: none;
    border-radius: 5px;
}

.cookies-msg .cookies-btn button:hover{
    transform: scale(0.9);
}

/*Slider patrocinador*/
.carousel-container {
    position: relative;
    overflow: hidden;
    max-width: 1140px;
    width: 100%;
    margin: 20px auto 3px auto;
  }

  .carousel-track {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
         -ms-overflow-style: none;  /* Remove no Internet Explorer e Edge antigo */
  scrollbar-width: none;     /* Remove no Firefox */
  }

  .carousel-track::-webkit-scrollbar {
  display: none;             /* Remove no Chrome, Safari e Edge moderno */
}

  .carousel-slide {
    flex: 0 0 auto;
    width: calc(100% / 5);
    scroll-snap-align: center;
    padding: 10px;
    box-sizing: border-box;
  }

  .carousel-slide img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    display: block;
  }

  /* Responsividade carrosel */
  @media (max-width: 1200px) {
    .carousel-slide { width: calc(100% / 3); }
  }

  @media (max-width: 768px) {
    .carousel-slide { width: calc(100% / 2); }
  }

  @media (max-width: 500px) {
    .carousel-slide { width: 100%; }
  }

  /* Bolinhas */
  .carousel-dots {
    text-align: center;
    margin-top: -10px;
  }

  .carousel-dots button {
    border: none;
    background: #bbb;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin: 4px;
    cursor: pointer;
    transition: background 0.3s;
  }

  .carousel-dots button.active {
    background: var(--primary-color);
  }

.search-container {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  max-width: 500px;
  margin: 20px auto;

  /* glassmorphism */
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 16px;

  padding: 12px 16px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.search-container:focus-within {
  transform: scale(1.02);
  box-shadow: 0 6px 16px rgba(16, 156, 251, 0.3);
  border: 1px solid var(--primary-color);
}

.search-icon {
  font-size: 1.2rem;
  color: var(--primary-color);
  margin-right: 10px;
  transition: color 0.3s;
}

.search-input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 1rem;
  color: #fff;
  background: transparent;
}

.search-input::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.clear-btn {
  background: rgba(255, 255, 255, 0.1);
  border: none;
  outline: none;
  cursor: pointer;
  display: none;
  color: #fff;
  font-size: 1rem;
  border-radius: 50%;
  width: 28px;
  height: 28px;

  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.25s;
}

.clear-btn:hover {
  background: rgba(255, 255, 255, 0.2);
}

/*SEARCH NOVO*/
.search-container {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  max-width: 500px;
  margin: 20px auto;
  padding: 26px;
  
  background: white;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.15);
  transition: all 0.3s ease;
}

.search-container:focus-within {
  border: 1px solid var(--primary);
  box-shadow: 0 4px 14px rgba(16,156,251,0.25);
}

.search-icon {
  font-size: 1.2rem;
  color: var(--primary-color);
  margin-right: 10px;
  transition: transform 0.3s ease, color 0.3s;
}

.search-container:focus-within .search-icon {
  transform: translateX(2px);
  color: #000;
}

.search-input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 1rem;
  color: #e90e0e;
  background: transparent;
  z-index: 1;
}

.search-label {
  position: absolute;
  left: 50px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-dark);
  font-size: 1rem;
  pointer-events: none;
  transition: all 0.3s ease;
}

.search-input:focus ~ .search-label,
.search-input:not(:placeholder-shown) ~ .search-label {
  top: 14px;
  font-size: 0.75rem;
  color: var(--primary-color);
}

/* Botão X */
.clear-btn {
  background: rgba(255,255,255,0.08);
  border: none;
  outline: none;
  cursor: pointer;
  display: none;
  color: var(--text-dark);
  font-size: 0.85rem;
  border-radius: 50%;
  width: 26px;
  height: 26px;

  align-items: center;
  justify-content: center;
  transition: transform 0.25s, background 0.25s;
}

.clear-btn:hover {
  transform: scale(1.1);
  background: rgba(255,255,255,0.25);
}