/* Reset básico */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Montserrat", sans-serif;
  background-color: #f5f7fa;
  color: #000;
  line-height: 1.6;
}

/* Cabeçalho */
.topo {
  background-color: #0a1f44;
  color: #f5f7fa;
  padding: 1.5rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.topo h1 {
  font-family: "Orbitron", sans-serif;
  font-size: 2.5rem;
}

/* Menu */
.menu ul {
  list-style: none;
  display: flex;
  gap: 1rem;
  font-size: 1rem;
  flex-wrap: wrap;
}

.menu ul li {
  position: relative;
}

.menu ul li a,
.menu-btn {
  color: #f5f7fa;
  text-decoration: none;
  padding: 0.5rem 0.8rem;
  display: inline-block;
  background: none;
  border: none;
  font-size: 1rem;
  cursor: pointer;
}

/* .menu ul li:not(:last-child)::after {
  content: "|";
  margin-left: 0.5rem;
  color: #ccc;
} */

.menu-btn:hover,
.menu ul li a:hover {
  background-color: #00c853;
  border-radius: 4px;
}

/* Submenu */
.submenu {
  display: none !important;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #0a1f44;
  padding: 0.8rem;
  border-radius: 6px;
  min-width: 180px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  z-index: 1000;
}

.submenu.ativo {
  display: block !important;
}

.submenu li a {
  color: #fff;
  text-decoration: none;
  font-size: 0.9rem;
  display: block;
  margin: 0.5rem 0;
}

.submenu li a:hover {
  color: #00c853;
}

/* Apresentação */
.apresentacao {
  padding: 2rem;
  background-color: #fff;
  text-align: center;
}

.apresentacao h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #0a1f44;
}

.apresentacao p {
  max-width: 800px;
  margin: 0 auto 2rem;
  font-size: 1.1rem;
}

/* Ícones sociais */
.social-icons {
  display: flex;
  justify-content: center;
  gap: 20px;
  font-size: 18px;
  margin-top: 20px;
}

.social-icons a {
  color: #0a1f44;
  transition: color 0.3s ease;
}

.social-icons a:hover {
  color: #00c853;
}

.icone {
  text-decoration: none;
  color: #333;
  font-size: 18px;
}

.icone i {
  margin-right: 8px;
  font-size: 22px;
  color: #0078d4;
}


/* Seções */
section {
  padding: 2rem;
  border-bottom: 1px solid #ddd;
}

section h2 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  color: #0a1f44;
}

section p,
section ul {
  font-size: 1rem;
  max-width: 800px;
  margin: 0 auto;
}

/* Rodapé */
footer {
  background-color: #0a1f44;
  color: #f5f7fa;
  padding: 1.5rem;
  text-align: center;
  font-size: 0.9rem;
}

.footer-links {
  margin-top: 0.5rem;
}

.footer-links a {
  color: #f5f7fa;
  text-decoration: none;
  margin: 0 0.5rem;
}

.footer-links a:hover {
  color: #00c853;
}

/* Seções ocultas */
.info-oculta {
  display: none;
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  padding: 2rem;
  background-color: #fff;
  border-top: 1px solid #ccc;
  transition: all 0.5s ease;
}

.info-oculta.ativo {
  display: block;
  opacity: 1;
  max-height: 500px;
}
.info-oculta h2 {
  font-size: 1.6rem;
  margin-bottom: 1rem;
  color: #0a1f44;
}

.info-oculta p {
  font-size: 1rem;
  max-width: 800px;
  margin: 0 auto;
}

.produtos {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  padding: 20px;
  justify-content: center;
}

/* Produtos */
.produto {
  border: 1px solid #ccc;
  padding: 15px;
  width: 280px;
  background-color: #f9f9f9;
  border-radius: 8px;
  text-align: center;
}

.produto img {
  max-width: 100%;
  height: auto;
  border-radius: 4px;
}

.botao {
  background-color: #0078d4;
  color: white;
  padding: 10px 15px;
  text-decoration: none;
  border-radius: 5px;
  display: inline-block;
  margin-top: 10px;
  font-weight: bold;
}


/* Aviso */
.aviso {
  background-color: #ffeeba;
  color: #856404;
  padding: 10px;
  text-align: center;
  font-size: 14px;
  border-radius: 5px;
  margin-bottom: 20px;
}

/* Responsividade para telas pequenas */
@media (max-width: 600px) {
  .topo {
    flex-direction: column;
    text-align: center;
    padding: 1rem;
  }

  .topo h1 {
    font-size: 2rem;
    margin-bottom: 1rem;
  }

  .menu ul {
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
  }

  .apresentacao h2 {
    font-size: 1.5rem;
  }

  .apresentacao p {
    font-size: 1rem;
    padding: 0 1rem;
  }

  .produtos {
    flex-direction: column;
    align-items: center;
  }

  .produto {
    width: 90%;
    margin-bottom: 20px;
  }
  
  .botao {
    font-size: 1rem;
    padding: 12px 20px;
  }

  .social-icons {
    flex-direction: column;
    gap: 10px;
  }

  .footer-links {
    flex-direction: column;
    gap: 10px;
    margin-top: 1rem;
  }

  .footer-links a {
    display: block;
    margin: 0.3rem 0;
  }

  .info-oculta {
    padding: 1rem;
  }

  .info-oculta h2 {
    font-size: 1.4rem;
  }

  .info-oculta p {
    font-size: 0.95rem;
  }
}

/* Modal Instagram */
.modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(15, 23, 42, 0.85);
  z-index: 9999;
  justify-content: center;
  align-items: center;
  animation: fadeIn 0.5s ease-out;
}

.modal-box {
  background-color: #0f172a;
  color: #e2e8f0;
  border: 1px solid #334155;
  border-radius: 12px;
  padding: 24px;
  max-width: 400px;
  width: 90%;
  box-shadow: 0 8px 16px rgba(0,0,0,0.4);
  font-family: 'Segoe UI', sans-serif;
  animation: slideUp 0.5s ease-out;
}

.modal-box h2 {
  margin-top: 0;
  font-size: 20px;
  color: #93c5fd;
}

.modal-box p {
  margin: 12px 0;
  font-size: 15px;
  line-height: 1.4;
}

.modal-buttons {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 20px;
}

.modal-buttons button {
  background-color: #2563eb;
  color: white;
  border: none;
  padding: 10px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 15px;
  transition: background-color 0.3s ease;
}

.modal-buttons button:hover {
  background-color: #1d4ed8;
}

@keyframes slideUp {
  from {
    transform: translateY(40px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes fadeIn {
  from {
    background-color: rgba(15, 23, 42, 0);
  }
  to {
    background-color: rgba(15, 23, 42, 0.85);
  }
}

/* Responsivo para celular */
@media (max-width: 480px) {
  .modal-box {
    padding: 20px;
    font-size: 14px;
  }

  .modal-buttons button {
    font-size: 14px;
    padding: 8px;
  }
}

.modal-box ol {
  margin: 12px 0;
  padding-left: 20px;
}

.modal-box ol li {
  margin-bottom: 8px;
  font-size: 15px;
}

.dot-container {
  position: relative;
  width: 50px;
  height: 50px;
  margin: 20px auto;
}

.dots {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
}

.dots span {
  width: 6px;
  height: 6px;
  background-color: #2563eb;
  border-radius: 50%;
}

.pulse-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 50px;
  height: 50px;
  border: 2px solid #2563eb;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  animation: pulse 1.5s infinite ease-in-out, rotate 3s linear infinite;
}

@keyframes pulse {
  0% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.8;
  }
  50% {
    transform: translate(-50%, -50%) scale(1.2);
    opacity: 0.4;
  }
  100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.8;
  }
}

@keyframes rotate {
  0% {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  100% {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

.produtos-container {
  padding: 2rem;
  background-color: #fff;
}

.produtos-controles {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
  justify-content: center;
}

.produtos-controles input,
.produtos-controles button {
  padding: 10px;
  font-size: 1rem;
  border-radius: 6px;
  border: 1px solid #ccc;
}

.filtro-alfabeto {
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transform: translateY(-10px);
  transition: opacity 0.3s ease, max-height 0.3s ease, transform 0.3s ease;
}

.filtro-alfabeto.ativo {
  opacity: 1;
  max-height: 300px; /* ajuste conforme necessário */
  transform: translateY(0);
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-bottom: 20px;
}

.filtro-alfabeto span {
  background-color: #e2e8f0;
  color: #0a1f44;
  padding: 6px 12px;
  border-radius: 4px;
  cursor: pointer;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.filtro-alfabeto span:hover,
.filtro-alfabeto .ativo {
  background-color: #2563eb;
  color: #fff;
}

#produtos.grade {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

#produtos.lista {
  display: block;
}

#produtos.lista .produto {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 20px;
}

#produtos.lista .produto img {
  width: 120px;
  height: auto;
  border-radius: 4px;
}

.produto {
  border: 1px solid #ccc;
  padding: 15px;
  width: 280px;
  background-color: #f9f9f9;
  border-radius: 8px;
  text-align: center;
}

.produto img {
  max-width: 100%;
  height: auto;
  border-radius: 4px;
}

.produto h3 {
  margin: 10px 0;
  font-size: 1.1rem;
}

.produto p {
  font-size: 0.95rem;
  margin-bottom: 10px;
}

.botao {
  background-color: #0078d4;
  color: white;
  padding: 10px 15px;
  text-decoration: none;
  border-radius: 5px;
  display: inline-block;
  font-weight: bold;
}

/* Responsivo */
@media (max-width: 600px) {
  .produtos-controles {
    flex-direction: column;
    align-items: center;
  }

  #produtos.grade {
    flex-direction: column;
    align-items: center;
  }

  .produto {
    width: 90%;
  }

  #produtos.lista .produto {
    flex-direction: column;
    text-align: center;
  }

  #produtos.lista .produto img {
    width: 100%;
  }
}

/* Estilo para preço e categorias */
.produto .categoria {
  font-size: 0.85rem;
  color: #555;
  margin-bottom: 6px;
}

.produto .preco {
  font-size: 1.1rem;
  color: #00c853;
  font-weight: bold;
  margin-bottom: 10px;
}

/* Filtro de categorias */
.filtro-categorias {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-bottom: 20px;
}

.filtro-categorias span {
  background-color: #e2e8f0;
  color: #0a1f44;
  padding: 6px 12px;
  border-radius: 4px;
  cursor: pointer;
  font-weight: bold;
  transition: background-color 0.3s ease;
}
.filtro-categorias span[data-categoria="Oferta Relâmpago"] {
  background-color: #ff4d4d;
  font-weight: bold;
}

.filtro-categorias span:hover,
.filtro-categorias .ativo {
  background-color: #00c853;
  color: #fff;
}

.balao-voltar {
  display: inline-block;
  background-color: #00c853; /* verde vibrante */
  color: #fff;
  padding: 10px 16px;
  border-radius: 30px;
  font-weight: bold;
  text-decoration: none;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.balao-voltar:hover {
  background-color: #009624;
  transform: translateY(-2px);
}

@media (max-width: 600px) {
  .balao-voltar {
    display: block;
    margin: 10px auto;
    text-align: center;
    font-size: 1rem;
  }
}
  
.riscado {
  text-decoration: line-through;
  color: #999;
  margin-right: 8px;
}
  
  .preco strong {
  color: #d60000;
  font-size: 1.1em;
}
  
.botao-legal {
  background-color: #004080;
  color: #fff;
  padding: 10px 16px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-weight: bold;
  margin: 20px 0;
}

.modal-legal {
  display: none;
  position: fixed;
  z-index: 999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.6);
}

.modal-conteudo {
  background-color: #fff;
  margin: 10% auto;
  padding: 20px;
  border-radius: 8px;
  width: 90%;
  max-width: 600px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.fechar-modal {
  float: right;
  font-size: 24px;
  font-weight: bold;
  cursor: pointer;
}

.balao-voltar {
  display: inline-block;
  background-color: #00c853; /* verde claro vibrante */
  color: #fff;
  padding: 10px 16px;
  border-radius: 30px;
  font-weight: bold;
  text-decoration: none;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.balao-voltar:hover {
  background-color: #009624;
  transform: translateY(-2px);
    }

@media (max-width: 600px) {
  .balao-voltar {
    display: block;
    margin: 10px auto;
    text-align: center;
    font-size: 1rem;
  }
}
