/* ===== RESET BÁSICO ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, Helvetica, sans-serif;
}

body {
  background-color: #f8f9fa;
  color: #333;
  line-height: 1.6;
}

/* ===== CABEÇALHO ===== */
header {
  background: #0077b6;
  color: #fff;
  padding: 15px 20px;
  display: flex;
  justify-content: center;
  align-items: center;
}

header h1 {
  font-size: 1.6rem;
  text-align: center;
}

header nav a {
  color: #fff;
  text-decoration: none;
  margin-left: 15px;
  font-weight: bold;
  transition: color 0.3s;
}

header nav a:hover {
  color: #ffd60a;
}

/* ===== HERO (INDEX) ===== */
.hero {
  text-align: center;
  padding: 40px 20px;
  background: linear-gradient(135deg, #0096c7, #00b4d8);
  color: #fff;
}

.hero h1 {
  font-size: 1.8rem;
  margin-bottom: 10px;
}

.hero p {
  font-size: 1.1rem;
  margin-bottom: 20px;
}

.hero button {
  padding: 12px 24px;
  background: #ffd60a;
  color: #333;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 1rem;
  transition: background 0.3s;
}

.hero button:hover {
  background: #ffcd00;
}

/* ===== SELETOR DE PRODUTOS (INDEX) ===== */
#seletor-produtos {
  text-align: center;
  margin: 20px auto;
  padding: 20px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  max-width: 400px;
}

#seletor-produtos button {
  margin: 5px;
  padding: 10px 20px;
  background: #0077b6;
  color: #fff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background 0.3s;
}

#seletor-produtos button:hover {
  background: #005f87;
}

/* Botão cancelar dentro do seletor */
#seletor-produtos button[style*="background:#ccc"] {
  background: #ccc !important;
  color: #333 !important;
}

#seletor-produtos button[style*="background:#ccc"]:hover {
  background: #999 !important;
}

/* ===== PRODUCTS (INDEX) ===== */
.products {
  display: flex;
  justify-content: center;
  gap: 20px;
  padding: 30px 20px;
  flex-wrap: wrap;
}

.product {
  background: #fff;
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  text-align: center;
  width: 250px;
  transition: transform 0.2s;
}

.product:hover {
  transform: scale(1.03);
}

.product h3 {
  margin-bottom: 10px;
}

.product button {
  padding: 10px 20px;
  background: #0077b6;
  color: #fff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background 0.3s;
}

.product button:hover {
  background: #005f87;
}

/* ===== SEO Conteudo (INDEX) ===== */
.seo-conteudo {
  max-width: 1000px;
  margin: 40px auto;
  padding: 20px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.seo-conteudo h2,
.seo-conteudo h3 {
  color: #0077b6;
  margin-bottom: 15px;
}

.seo-conteudo p {
  margin-bottom: 15px;
  font-size: 1rem;
  line-height: 1.6;
}

.seo-conteudo ul {
  margin: 15px 0;
  padding-left: 20px;
}

.seo-conteudo ul li {
  margin-bottom: 8px;
}

.faq h4 {
  margin-top: 15px;
  font-size: 1.05rem;
  color: #333;
}

/* ===== BOTÃO VOLTAR ===== */
.voltar-btn {
  display: inline-block;
  margin: 15px 0;
  background: #ccc;
  padding: 8px 16px;
  border-radius: 5px;
  border: none;
  cursor: pointer;
  font-size: 0.9rem;
}

.voltar-btn:hover {
  background: #bbb;
}

/* ===== CONTAINERS DE PRODUTOS (PÁGINAS) ===== */
.produto-container {
  max-width: 1000px;
  margin: 20px auto;
  padding: 20px;
}

.produto-box {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  background: #fff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.produto-img img {
  max-width: 300px;
  width: 100%;
  border-radius: 8px;
}

.produto-info {
  flex: 1;
  min-width: 280px;
}

.produto-info h2 {
  color: #0077b6;
  margin-bottom: 10px;
}

/* ===== FORMULÁRIOS E BOTÕES ===== */
.formulario-pedido {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 15px;
}

.formulario-pedido select,
.formulario-pedido input {
  padding: 8px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 1rem;
}

.formulario-pedido button,
button[type="button"] {
  background: #0077b6;
  color: #fff;
  padding: 12px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 1rem;
  transition: background 0.3s;
}

.formulario-pedido button:hover,
button[type="button"]:hover {
  background: #005f87;
}

/* ===== QUANTIDADE ===== */
.quantidade-container {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.quantidade-box {
  display: flex;
  align-items: center;
  background: #f1f1f1;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid #ccc;
  width: fit-content;
}

.qtd-btn {
  background: #0077b6;
  color: #fff;
  border: none;
  padding: 8px 12px;
  cursor: pointer;
  font-size: 1.2rem;
  transition: background 0.3s;
}

.qtd-btn:hover {
  background: #005f87;
}

#quantidade {
  width: 50px;
  text-align: center;
  border: none;
  font-size: 1rem;
  background: transparent;
}

/* ===== LISTA DE PRODUTOS (TODOS.HTML) ===== */
.lista-produtos {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  padding: 0;
}

.lista-produtos li {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s;
}

.lista-produtos li:hover {
  transform: scale(1.03);
}

.lista-produtos a {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.thumb-produto {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.lista-produtos div {
  padding: 15px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex-grow: 1;
}

.lista-produtos h3 {
  font-size: 1.1rem;
  margin-bottom: 5px;
  color: #0077b6;
}

.lista-produtos p {
  font-size: 0.9rem;
  margin-bottom: 10px;
}

.lista-produtos button {
  padding: 10px;
  background: #0077b6;
  color: #fff;
  border: none;
  border-radius: 4px;
  font-size: 0.9rem;
  cursor: pointer;
  transition: background 0.3s;
}

.lista-produtos button:hover {
  background: #005f87;
}

/* ===== PAGAMENTO INFO ===== */
.pagamento-info {
  margin: 10px 0;
}

.pagamento-info img {
  width: 40px;
  height: auto;
  margin-right: 5px;
}

/* ===== BOTÃO WHATSAPP ===== */
.whatsapp {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 100;
  background-color: #25D366; /* verde oficial */
  padding: 10px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.whatsapp img {
  display: block;
  width: 48px;
  height: 48px;
}

/* ===== RODAPÉ ===== */
footer {
  background: #0077b6;
  color: #fff;
  text-align: center;
  padding: 15px;
  font-size: 0.9rem;
  margin-top: 30px;
}

/* ===== RESPONSIVIDADE ===== */
@media (max-width: 768px) {
  .produto-box {
    flex-direction: column;
    align-items: center;
  }

  .produto-img img {
    max-width: 100%;
  }

  .products {
    flex-direction: column;
    align-items: center;
  }

  .lista-produtos {
    grid-template-columns: 1fr;
  }
}
