/* ========================= */
/* RESET */
/* ========================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* ========================= */
/* BODY */
/* ========================= */
body {
  background: linear-gradient(#cc0000, #990000);
  color: white;
  text-align: center;
  padding: 10px;
  font-family: Arial, sans-serif;
}

/* ========================= */
/* TOPO */
/* ========================= */
.topo {
  background: linear-gradient(180deg, #cc0000, #990000);
  padding: 15px;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.logo-area {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.logo-area img {
  width: 60px;
  height: 60px;
}

.textos h1 {
  font-size: 24px;
}

.textos p {
  font-size: 14px;
  margin-top: 4px;
}

/* ========================= */
/* BUSCA */
/* ========================= */
.busca {
  margin: 15px 0;
}

#searchInput {
  width: 100%;
  padding: 12px;
  border-radius: 10px;
  border: none;
  font-size: 16px;
}

/* RESULTADOS */
#resultados {
  background: white;
  color: black;
  border-radius: 10px;
  margin-top: 5px;
  overflow: hidden;
}

/* ========================= */
/* LETRAS */
/* ========================= */
#letras {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

#letras button {
  margin: 2px;
  padding: 6px 10px;
  border-radius: 8px;
  border: none;
  background: white;
  color: #b30000;
  font-weight: bold;
  cursor: pointer;
}

/* ========================= */
/* BOTÕES */
/* ========================= */
.botoes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.botoes button {
  padding: 15px;
  font-size: 14px;
  border-radius: 10px;
  border: none;
  background: white;
  color: #b30000;
  font-weight: bold;
  cursor: pointer;
  box-shadow: 0 3px 6px rgba(0,0,0,0.2);
}

.botoes button:hover {
  transform: scale(1.05);
}

/* ========================= */
/* ÁREA PRINCIPAL */
/* ========================= */
#area {
  margin-top: 15px;
  background: white;
  color: black;
  padding: 20px;
  border-radius: 12px;
  text-align: left;

  min-height: 150px;
  box-shadow: 0 3px 8px rgba(0,0,0,0.2);

  font-family: "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

/* 🔥 CORREÇÃO GLOBAL (resolve INTRODUÇÃO e qualquer HTML externo) */
#area,
#area * {
  color: black !important;
  font-family: "Segoe UI", Arial, sans-serif !important;
}

#area {
  background: white !important;
}

/* TEXTOS */
#area p {
  margin-bottom: 15px;
}

#area h2,
#area h3,
#area h4 {
  margin-top: 20px;
  margin-bottom: 10px;
}

/* LISTAS */
#area ul,
#area ol {
  margin-left: 18px;
  margin-bottom: 15px;
}

#area li {
  margin-bottom: 6px;
}

/* IMAGENS */
#area img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 15px auto;
  border-radius: 10px;
}

/* ========================= */
/* BOTÃO AZUL */
/* ========================= */
.btn-comprar {
  display: inline-block;
  margin-top: 12px;
  padding: 12px 20px;
  background: #0057ff;
  color: white;
  text-decoration: none;
  font-weight: bold;
  border-radius: 12px;
  width: 70%;
  max-width: 220px;
  text-align: center;

  animation: pulse 1.5s infinite;
}

.btn-comprar:hover {
  transform: scale(1.05);
}

/* ANIMAÇÃO */
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(0, 87, 255, 0.6); }
  70% { box-shadow: 0 0 0 12px rgba(0, 87, 255, 0); }
  100% { box-shadow: 0 0 0 0 rgba(0, 87, 255, 0); }
}

/* ========================= */
/* PRODUTOS */
/* ========================= */
.produtos {
  display: grid;
  gap: 20px;
  margin-top: 20px;
}

.produto-card {
  background: #f5f5f5;
  border-radius: 15px;
  padding: 15px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

.produto-card h3 {
  margin-bottom: 10px;
  font-size: 16px;
  color: #333;
}

.produto-card img {
  width: 100%;
  max-width: 260px;
  border-radius: 10px;
}

/* ========================= */
/* LINKS (CORRIGIDO) */
/* ========================= */
.links {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.banner-link {
  position: relative;
  display: block;
  border-radius: 12px;
  overflow: hidden;
}

.banner-link img {
  width: 100%;
  height: 80px;
  object-fit: cover;
  display: block;
}

.banner-link span {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 8px;
  background: rgba(0,0,0,0.6);
  color: white;
  font-weight: bold;
  text-align: center;
}

/* BOTÃO PRETO */
.sem-imagem {
  display: block;
  background: black;
  color: white;
  padding: 15px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: bold;
}

/* ========================= */
/* INSTALAR APP */
/* ========================= */
.install-btn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #0057ff;
  color: white;
  border: none;
  padding: 15px;
  border-radius: 50%;
  font-size: 18px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.ios-msg {
  position: fixed;
  bottom: 80px;
  left: 10px;
  right: 10px;
  background: white;
  color: black;
  padding: 10px;
  border-radius: 10px;
}

/* ========================= */
/* RESPONSIVO */
/* ========================= */
@media (min-width: 600px) {
  .botoes {
    grid-template-columns: repeat(4, 1fr);
  }
}