/* ==================== GERAL ==================== */
body {
  background-color: #e0dbff;
  font-family: "Montserrat", sans-serif;
  margin: 0;
  padding: 0;
}

/* ==================== CABEÇALHO ==================== */
.cabecalho {
  background-color: #6b4eff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 50px;
  color: white;
  flex-wrap: wrap;
  gap: 20px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 20px;
}

.logo-img {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid white;
  box-shadow: 0 0 15px rgba(255,255,255,0.4);
}


.logo-redondo {
  width: 90px;          
  height: 90px;         
  object-fit: contain;  
  border-radius: 50%;   
  background: rgba(253, 253, 253, 0.3); 
  padding: 10px;        
  box-shadow: 0 0 30px rgba(255, 255, 255, 0.8); 
}

/* Menu */
.indice {
  list-style: none;
  display: flex;
  gap: 40px;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
}

.indice a {
  color: white;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  transition: all 0.3s;
}

.indice a:hover {
  color: #e0d9ff;
  transform: translateY(-2px);
}

/* Barra de busca */
.search-form {
  display: flex;
}

.search-form input {
  padding: 10px 14px;
  border-radius: 8px 0 0 8px;
  border: none;
  outline: none;
  font-size: 14px;
}

.search-form button {
  background-color: #836fff;
  color: white;
  border: none;
  padding: 10px 18px;
  border-radius: 0 8px 8px 0;
  cursor: pointer;
  transition: background-color 0.3s;
}

.search-form button:hover {
  background-color: #5f48e0;
}

/*  PÁGINA INICIAL - HERO COM LOGO GRANDE */
.hero {
  position: relative;
  height: 90vh;
  background: linear-gradient(135deg, #7b61ff 0%, #5e3bff 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  padding: 20px;
}

.hero-conteudo {
  max-width: 1000px;
}

.logo-hero {
  width: 220px;
  height: 220px;
  border-radius: 50%;
  border: 8px solid rgba(255,255,255,0.3);
  box-shadow: 0 15px 40px rgba(0,0,0,0.3);
  margin-bottom: 30px;
  object-fit: cover;
  animation: flutuar 6s ease-in-out infinite;
}

@keyframes flutuar {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-15px); }
}

.hero h1 {
  font-size: 52px;
  margin: 20px 0;
  text-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.hero p {
  font-size: 24px;
  margin-bottom: 40px;
  opacity: 0.95;
}

.botao-grande {
  background: white;
  color: #6b4eff;
  padding: 18px 50px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 20px;
  text-decoration: none;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
  transition: all 0.3s;
}

.botao-grande:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

/*  LISTA DE PRODUTOS */
.conteudo {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
  padding: 50px 20px;
  min-height: 70vh;
}

.foto {
  width: 300px;
  background-color: white;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  text-align: center;
  transition: all 0.3s ease;
}

.foto:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 25px rgba(107, 78, 255, 0.3);
}

.foto img {
  width: 100%;
  height: 250px;
  object-fit: contain;
  background-color: #f9f9ff;
  transition: transform 0.4s ease;
}

.foto:hover img {
  transform: scale(1.08);
}

.titulo {
  color: #5a3eff;
  font-weight: 700;
  font-size: 18px;
  margin: 16px 16px 8px;
}

.texto {
  color: #555;
  font-size: 14px;
  padding: 0 20px;
  margin-bottom: 16px;
  line-height: 1.5;
}

.botao-ver {
  display: inline-block;
  background-color: #6b4eff;
  color: white;
  padding: 12px 24px;
  margin-bottom: 24px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.botao-ver:hover {
  background-color: #5f48e0;
  transform: scale(1.05);
}

/*  PÁGINA DE PRODUTO INDIVIDUAL  */
.produto-detalhes {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 60px;
  padding: 60px 40px;
  background-color: #f9f9ff;
  flex-wrap: wrap;
}

.produto-imagem img {
  width: 420px;
  max-width: 100%;
  height: auto;
  object-fit: contain;
  background-color: white;
  padding: 20px;
  border-radius: 16px;
  box-shadow: 0 6px 16px rgba(0,0,0,0.1);
}

.produto-info {
  max-width: 560px;
  background-color: white;
  padding: 40px;
  border-radius: 16px;
  box-shadow: 0 6px 16px rgba(0,0,0,0.1);
}

.produto-info h1 {
  color: #6b4eff;
  font-size: 32px;
  margin-bottom: 16px;
}

.descricao {
  color: #333;
  line-height: 1.7;
  margin-bottom: 24px;
  text-align: justify;
  font-size: 16px;
}

.especificacoes {
  list-style: none;
  padding: 0;
  margin: 24px 0;
}

.especificacoes li {
  margin-bottom: 12px;
  color: #444;
  font-size: 15px;
}

.especificacoes strong {
  color: #6b4eff;
}

.preco {
  font-size: 32px;
  font-weight: 700;
  color: #6b4eff;
  margin: 24px 0;
}

.botao-carrinho {
  background-color: #6b4eff;
  color: white;
  padding: 14px 28px;
  border: none;
  border-radius: 12px;
  font-size: 18px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
}

.botao-carrinho:hover {
  background-color: #5f48e0;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(107, 78, 255, 0.4);
}

.voltar {
  display: inline-block;
  margin-top: 30px;
  color: #6b4eff;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  transition: all 0.3s;
}

.voltar:hover {
  text-decoration: underline;
  color: #5f48e0;
}

/*  PÁGINAS SOBRE E CONTATO */
.sobre-conteudo, .contato-conteudo {
  padding: 80px 40px;
  text-align: center;
  max-width: 1000px;
  margin: 0 auto;
}

.sobre-conteudo h1, .contato-conteudo h1 {
  font-size: 40px;
  color: #6b4eff;
  margin-bottom: 40px;
}

.sobre-conteudo p {
  font-size: 18px;
  line-height: 1.8;
  color: #444;
}

.valores {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  margin-top: 60px;
}

.valor {
  background: white;
  padding: 30px;
  border-radius: 16px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  width: 280px;
}

.valor i {
  font-size: 40px;
  color: #6b4eff;
  margin-bottom: 16px;
}

.form-contato input,
.form-contato textarea {
  width: 100%;
  padding: 14px;
  margin-bottom: 20px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-family: 'Montserrat', sans-serif;
}

/*  RODAPÉ  */
.rodape {
  background-color: #f8f5ff;
  margin-top: 0;
  font-size: 14px;
}

.rodape-topo {
  background-color: #e8e3ff;
  padding: 50px 40px;
  text-align: center;
}

.rodape-links {
  display: flex;
  justify-content: center;
  gap: 80px;
  flex-wrap: wrap;
  max-width: 1300px;
  margin: 0 auto;
}

.rodape-coluna h4 {
  color: #6b4eff;
  font-weight: 700;
  font-size: 16px;
  margin-bottom: 16px;
}

.rodape-coluna ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.rodape-coluna a {
  color: #555;
  text-decoration: none;
  line-height: 2;
  transition: color 0.3s;
}

.rodape-coluna a:hover {
  color: #6b4eff;
}

.rodape-meio {
  background-color: #e0dbff;
  padding: 40px 40px;
  text-align: center;
}

.rodape-meio-conteudo {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 100px;
  flex-wrap: wrap;
  max-width: 1000px;
  margin: 0 auto;
}

.pagamento p, .seguranca p {
  color: #6b4eff;
  font-weight: 700;
  margin-bottom: 16px;
  font-size: 15px;
}

.bandeiras img, .selos img {
  height: 38px;
  margin: 0 10px;
  transition: transform 0.3s;
}

.bandeiras img:hover, .selos img:hover {
  transform: scale(1.15);
}

.rodape-baixo {
  background-color: #6b4eff;
  color: white;
  padding: 40px 60px;
}

.rodape-baixo-conteudo {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 40px;
  max-width: 1300px;
  margin: 0 auto;
  text-align: center;
}

.logo-rodape {
  height: 100px;
  border-radius: 50%;
  border: 5px solid white;
  box-shadow: 0 0 25px rgba(255,255,255,0.5);
}

.rodape-esquerda {
  display: flex;
  align-items: center;
  gap: 20px;
}

.rodape-esquerda p {
  margin: 0;
  font-size: 14px;
  opacity: 0.95;
}

.redes-sociais a {
  color: white;
  font-size: 28px;
  margin: 0 15px;
  transition: all 0.3s;
}

.redes-sociais a:hover {
  transform: translateY(-5px);
  opacity: 0.8;
}

/*  RESPONSIVO  */
@media (max-width: 768px) {
  .cabecalho { padding: 16px 20px; }
  .indice { gap: 16px; font-size: 14px; }
  .conteudo { gap: 24px; padding: 30px 10px; }
  .foto { width: 90%; max-width: 320px; }
  .produto-detalhes { padding: 40px 20px; gap: 40px; }
  .rodape-links { gap: 40px; }
  .rodape-esquerda { flex-direction: column; text-align: center; }
  .logo-rodape, .logo-hero { height: 80px !important; width: 80px !important; }
  .hero h1 { font-size: 38px; }
  .hero p { font-size: 18px; }
}

.carrinho-pagina {
  padding: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.carrinho-pagina h1 {
  text-align: center;
  color: #6b4eff;
  margin-bottom: 40px;
  text-transform: lowercase;
  font-size: 32px;
}

.carrinho-container {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  justify-content: center;
}

.carrinho-main {
  max-width: 1200px;
  margin: 40px auto;
  padding: 0 20px;
}

.carrinho-main h1 {
  text-align: left;
  color: #6b4eff;
  font-size: 32px;
  margin-bottom: 40px;
  text-transform: lowercase;
}

.carrinho-flex {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
}

.itens-lista {
  flex: 2;
  min-width: 600px;
}

.resumo {
  flex: 1;
  min-width: 320px;
  background: #f8f5ff;
  padding: 30px;
  border-radius: 16px;
  height: fit-content;
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.item {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid #eee;
}

.item img {
  width: 80px;
  height: 80px;
  object-fit: contain;
  border-radius: 8px;
}

.item-info {
  flex: 1;
}

.nome {
  font-weight: 600;
  margin: 0;
  font-size: 16px;
}

.variacao {
  color: #888;
  font-size: 14px;
  margin: 4px 0 0;
}

.quantidade input {
  width: 70px;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 8px;
  text-align: center;
}

.remover {
  background: none;
  border: none;
  color: #ccc;
  font-size: 18px;
  cursor: pointer;
}

.preco-item {
  font-weight: bold;
  color: #6b4eff;
  font-size: 18px;
  min-width: 90px;
  text-align: right;
}

.resumo h3 {
  color: #6b4eff;
  margin-bottom: 20px;
}

.linha-resumo {
  display: flex;
  justify-content: space-between;
  margin: 15px 0;
  font-size: 16px;
}

.total-resumo {
  font-size: 20px;
  padding-top: 15px;
  border-top: 2px solid #6b4eff;
  margin-top: 20px;
}

.botao-continuar {
  width: 100%;
  background: #6b4eff;
  color: white;
  border: none;
  padding: 18px;
  border-radius: 12px;
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
  margin-top: 20px;
}

.cupom-text {
  text-align: center;
  font-size: 13px;
  color: #888;
  margin-top: 20px;
}
.carrinho-link {
  margin-left: auto;
  background: white;
  color: #6b4eff !important;
  padding: 10px 20px;
  border-radius: 30px;
  font-weight: 600;
}

.badge {
  background: #ff4757;
  color: white;
  border-radius: 50%;
  padding: 2px 8px;
  font-size: 12px;
  margin-left: 8px;
}

.carrinho-link {
  margin-left: auto;
  background: white;
  color: #6b4eff !important;
  padding: 10px 20px;
  border-radius: 30px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
}

.carrinho-link:hover {
  background: #f0e8ff;
}
/* ÍCONE DE LOGIN NO HEADER */
.login-icon {
  margin-left: 20px;
  font-size: 28px;
  color: white;
  text-decoration: none;
  transition: all 0.3s;
}

.login-icon:hover {
  color: #e0d9ff;
  transform: scale(1.1);
}

/* Em telas menores, esconde a busca e deixa só o ícone */
@media (max-width: 900px) {
  .search-form { display: none; }
  .login-icon { margin-left: 15px; font-size: 24px; }
}