/* === RESET GLOBAL === */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

body {
  background: #fffdf9;
  color: #333;
  line-height: 1.6;
}

/* === CABEÇALHO === */
header {
  position: sticky;
  top: 0;
  background: #ff7043;
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 5%;
  z-index: 10;
  box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.logo {
  font-size: 1.6rem;
  font-weight: 700;
}

nav ul {
  display: flex;
  gap: 2rem;
  list-style: none;
}

nav a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  transition: 0.3s;
}

nav a:hover, nav a.ativo {
  color: #ffe0b2;
  border-bottom: 2px solid #ffe0b2;
}

/* === BANNER === */
.banner {
  background: url('https://source.unsplash.com/1600x700/?kitchen,food') center/cover no-repeat;
  color: white;
  text-align: center;
  padding: 7rem 2rem;
}

.banner-content {
  background: rgba(0,0,0,0.5);
  display: inline-block;
  padding: 2rem 3rem;
  border-radius: 15px;
}

.banner h1 {
  font-size: 2.8rem;
  margin-bottom: 1rem;
}

.banner p {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
}

.btn {
  background: #ff7043;
  color: white;
  padding: 0.8rem 1.6rem;
  border-radius: 25px;
  text-decoration: none;
  font-weight: bold;
  transition: 0.3s;
}

.btn:hover {
  background: #ff5722;
}

/* === SEÇÃO DESTAQUES === */
.destaques {
  padding: 4rem 5%;
  text-align: center;
}

.destaques h2 {
  margin-bottom: 2rem;
  font-size: 2rem;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.card {
  background: white;
  border-radius: 15px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  overflow: hidden;
  transition: 0.3s;
}

.card:hover {
  transform: translateY(-5px);
}

.card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.card h3 {
  margin: 1rem;
  font-size: 1.2rem;
}

.card p {
  padding: 0 1rem;
  color: #555;
}

.btn-card {
  display: inline-block;
  margin: 1rem;
  padding: 0.6rem 1rem;
  background: #ff7043;
  color: white;
  border-radius: 20px;
  text-decoration: none;
  transition: 0.3s;
}

.btn-card:hover {
  background: #ff5722;
}

/* === CATEGORIAS === */
.categorias {
  background: #fff3e0;
  text-align: center;
  padding: 4rem 5%;
}

.grid-cat {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.cat {
  background: white;
  padding: 1rem;
  border-radius: 12px;
  font-weight: bold;
  transition: 0.3s;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.cat:hover {
  background: #ff7043;
  color: white;
}

/* === NEWSLETTER === */
.newsletter {
  text-align: center;
  padding: 4rem 5%;
}

.newsletter h2 {
  margin-bottom: 1rem;
}

.newsletter form {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.newsletter input {
  padding: 0.8rem;
  width: 300px;
  border: 1px solid #ccc;
  border-radius: 5px;
}

.newsletter button {
  background: #ff7043;
  color: white;
  border: none;
  padding: 0.8rem 1.2rem;
  border-radius: 5px;
  cursor: pointer;
  transition: 0.3s;
}

.newsletter button:hover {
  background: #ff5722;
}

/* === RODAPÉ === */
footer {
  background: #333;
  color: #eee;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  padding: 3rem 5%;
}

footer h3 {
  margin-bottom: 1rem;
}

footer a {
  color: #eee;
  text-decoration: none;
  transition: 0.3s;
}

footer a:hover {
  color: #ff7043;
}

.copy {
  background: #222;
  color: #aaa;
  text-align: center;
  padding: 1rem;
  font-size: 0.9rem;
}

/* === RESPONSIVO === */
@media (max-width: 768px) {
  .banner h1 {
    font-size: 2rem;
  }

  header {
    flex-direction: column;
    text-align: center;
  }

  nav ul {
    flex-wrap: wrap;
    justify-content: center;
  }
}
