/* Reset básico */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Fonte geral */
body {
  font-family: 'Poppins', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: linear-gradient(135deg, #e8def8, #f8e6f0); /* lilás para rosa suave */
  color: #4a4a6a; /* azul escuro suave */
  line-height: 1.6;
  min-height: 100vh;
}

/* Container centralizado */
main {
  max-width: 1100px;
  margin: 40px auto;
  padding: 0 20px;
}

/* Header estilizado */
header {
  background: linear-gradient(90deg, #9b7ed9, #f29ec2); /* azul lilás para rosa */
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 40px;
  box-shadow: 0 4px 15px rgba(155, 126, 217, 0.4);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-radius: 0 0 15px 15px;
  font-weight: 600;
  letter-spacing: 0.03em;
  transition: background 0.4s ease;
  gap: 20px;
}

header:hover {
  background: linear-gradient(90deg, #8761c0, #e876a1);
}

/* Logo */
.logo img {
  max-height: 50px; /* altura máxima da logo */
  width: auto;
  cursor: pointer;
  border-radius: 8px;
  transition: transform 0.3s ease;
}

.logo img:hover {
  transform: scale(1.1);
}

/* Título */
header h1 {
  flex-grow: 1;
  font-size: 2rem;
  cursor: pointer;
  font-weight: 700;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  text-shadow: 1px 1px 4px rgba(0,0,0,0.15);
  text-align: center;
  margin: 0 20px;
  color: #fff;
}

/* Navegação */
nav a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  padding: 7px 14px;
  border-radius: 12px;
  transition: background-color 0.3s ease, color 0.3s ease;
  font-size: 1rem;
  box-shadow: 0 2px 5px rgba(0,0,0,0.12);
}

nav a:hover {
  background-color: #f8e6f0; /* rosa suave */
  color: #7a4a8f; /* lilás escuro */
  box-shadow: 0 4px 12px rgba(154, 106, 177, 0.5);
}

/* Texto principal */
main p {
  font-size: 1.3rem;
  text-align: center;
  margin-top: 60px;
  color: #6a5977; /* lilás médio */
  max-width: 650px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.8;
  font-weight: 400;
}

/* Footer */
footer {
  text-align: center;
  padding: 25px 15px;
  background: linear-gradient(90deg, #9b7ed9, #f29ec2);
  color: #fdf9fb;
  margin-top: 80px;
  font-size: 0.95rem;
  border-radius: 15px 15px 0 0;
  font-weight: 500;
  box-shadow: 0 -4px 15px rgba(155, 126, 217, 0.3);
}

footer a {
  color: #fdf9fb;
  text-decoration: underline;
  transition: color 0.3s ease;
}

footer a:hover {
  color: #e8d0e6;
}

/* Responsividade */
@media (max-width: 768px) {
  header {
    flex-direction: column;
    padding: 20px;
    border-radius: 0;
    gap: 12px;
  }

  .logo {
    margin-bottom: 10px;
  }

  header h1 {
    margin: 0;
    text-align: center;
  }

  nav a {
    margin-top: 10px;
  }
}

@media (max-width: 400px) {
  header h1 {
    font-size: 1.5rem;
  }

  nav a {
    font-size: 0.9rem;
    margin-left: 14px;
    padding: 5px 8px;
  }

  main p {
    font-size: 1.1rem;
    margin-top: 40px;
  }
}

/* Destaques */

.destaques {
  max-width: 1100px;
  margin: 40px auto;
  padding: 0 20px;
  text-align: center;
}

.destaques h2 {
  font-weight: 700;
  color: #7a4a8f; /* lilás */
  margin-bottom: 25px;
  font-size: 2rem;
}

/* Carrossel estilo simples */
.carrossel {
  display: flex;
  overflow-x: auto;
  scroll-behavior: smooth;
  gap: 20px;
  padding-bottom: 10px;
}

/* Oculta barra de rolagem no Firefox e Chrome */
.carrossel::-webkit-scrollbar {
  display: none;
}
.carrossel {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.card-produto {
  background: #fff;
  border-radius: 15px;
  min-width: 220px;
  box-shadow: 0 6px 15px rgba(154, 106, 177, 0.3);
  padding: 15px;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.card-produto:hover {
  transform: scale(1.05);
}

.card-produto img {
  width: 100%;
  border-radius: 12px;
  margin-bottom: 15px;
}

.card-produto h3 {
  color: #4a4a6a;
  font-weight: 600;
  margin-bottom: 10px;
  font-size: 1.2rem;
}

.card-produto p {
  color: #7a4a8f;
  font-weight: 700;
  margin-bottom: 15px;
  font-size: 1.1rem;
}

.btn-detalhes {
  display: inline-block;
  background-color: #9b7ed9;
  color: white;
  padding: 8px 18px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.3s ease;
}

.btn-detalhes:hover {
  background-color: #7a4a8f;
}
