@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  background: #fff6f3;
  color: #2b1b1b;
}

a {
  text-decoration: none;
  color: inherit;
}

/* HEADER */
.header {
  width: 100%;
  padding: 16px 5%;
  background: #ffe1e7;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 6px 20px rgba(130, 75, 75, 0.12);
}

.brand {
  display: flex;
  align-items: center;
  gap: 16px;
}

.logo-header,
.brand img {
  width: 82px;
  height: 82px;
  object-fit: cover;
  border-radius: 50%;
}

.brand h1 {
  font-size: 2rem;
  color: #d94f64;
  line-height: 1;
}

.brand p {
  font-size: 1rem;
  color: #b47a2c;
  font-weight: 800;
}

/* HERO */
.hero {
  min-height: 520px;
  background:
    linear-gradient(
      90deg,
      rgba(255, 246, 243, 0.96),
      rgba(255, 246, 243, 0.80),
      rgba(255, 246, 243, 0.35)
    ),
    url('banner.jpg');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center 40px;
  padding: 60px 5%;
}

.hero-overlay {
  max-width: 1250px;
  margin: auto;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 40px;
}

.hero-text span {
  display: inline-block;
  background: #ffd6dc;
  color: #d94f64;
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 800;
  margin-bottom: 18px;
}

.hero-text h2 {
  font-size: clamp(2.4rem, 6vw, 5rem);
  color: #321616;
  line-height: 0.95;
  margin-bottom: 20px;
}

.hero-text h2::first-line {
  color: #d94f64;
}

.hero-text p {
  max-width: 540px;
  font-size: 1.1rem;
  line-height: 1.6;
  color: #674444;
  margin-bottom: 28px;
}

.btn-hero {
  display: inline-block;
  background: linear-gradient(135deg, #e64f69, #f5a623);
  color: white;
  padding: 16px 32px;
  border-radius: 999px;
  font-weight: 900;
  box-shadow: 0 14px 30px rgba(230, 79, 105, 0.35);
}

.hero-logo {
  display: flex;
  justify-content: flex-start;
  margin-left: -40px;
  margin-top: 55px;
}

.hero-logo img {
  max-width: 380px;
  width: 100%;
  border-radius: 32px;
  box-shadow: 0 20px 45px rgba(121, 61, 61, 0.25);
}

/* SEÇÕES */
.section {
  width: 90%;
  max-width: 1200px;
  margin: 55px auto;
}

.section h2 {
  font-size: 2rem;
  margin-bottom: 22px;
  color: #2b1b1b;
}

.stores {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}

.store-card {
  background: white;
  padding: 22px 14px;
  border-radius: 20px;
  text-align: center;
  font-weight: 900;
  box-shadow: 0 10px 25px rgba(130, 75, 75, 0.12);
  transition: 0.3s;
}

.store-card:hover {
  transform: translateY(-5px);
  background: #fff0f3;
}

.store-card.destaque {
  background: linear-gradient(135deg, #e64f69, #f5a623);
  color: white;
}

.categories {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}

.categories div {
  background: white;
  padding: 20px;
  border-radius: 20px;
  text-align: center;
  font-weight: 800;
  box-shadow: 0 10px 25px rgba(130, 75, 75, 0.1);
}

.title-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.title-row a {
  color: #d94f64;
  font-weight: 900;
}

/* PRODUTOS */
.products {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.product-card {
  background: white;
  padding: 18px;
  border-radius: 24px;
  position: relative;
  box-shadow: 0 12px 30px rgba(130, 75, 75, 0.12);
  overflow: hidden;
}

.discount {
  position: absolute;
  right: 14px;
  top: 14px;
  background: #111;
  color: white;
  padding: 8px 12px;
  border-radius: 12px;
  font-weight: 900;
  z-index: 2;
}

/* CORREÇÃO DA IMAGEM DO PRODUTO */
.product-img {
  width: 100%;
  height: 220px;
  background: #fff1f3;
  border-radius: 18px;
  overflow: hidden;
  margin-bottom: 16px;
  display: block;
}

.product-img img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.product-card small {
  color: #d94f64;
  font-weight: 800;
}

.product-card h3 {
  font-size: 1rem;
  margin: 10px 0;
  min-height: 42px;
}

.old-price {
  color: #999;
  text-decoration: line-through;
  font-size: 0.9rem;
}

.price {
  font-size: 1.5rem;
  font-weight: 900;
  color: #111;
  margin: 6px 0 14px;
}

.btn-product {
  display: block;
  text-align: center;
  background: #2b1b1b;
  color: white;
  padding: 12px;
  border-radius: 14px;
  font-weight: 900;
}

/* FOOTER */
.footer {
  margin-top: 70px;
  padding: 50px 5%;
  background: #2b1b1b;
  color: white;
  text-align: center;
}

.footer h3 {
  font-size: 2rem;
  color: #ff8ea0;
}

.footer p {
  margin: 10px 0 22px;
  color: #f7c97c;
  font-weight: 800;
}

.social {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-bottom: 26px;
  flex-wrap: wrap;
}

.social a {
  background: white;
  color: #2b1b1b;
  padding: 12px 18px;
  border-radius: 999px;
  font-weight: 900;
}

.footer small {
  display: block;
  max-width: 750px;
  margin: auto;
  color: #e7d5d5;
  line-height: 1.6;
}

/* MOBILE */
@media (max-width: 900px) {
  .hero-overlay {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-text p {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-logo {
    justify-content: center;
    margin-left: 0;
    margin-top: 30px;
  }

  .stores,
  .categories {
    grid-template-columns: repeat(2, 1fr);
  }

  .products {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-logo img {
    max-width: 280px;
  }
}

@media (max-width: 520px) {
  .header {
    padding: 12px 4%;
  }

  .logo-header,
  .brand img {
    width: 62px;
    height: 62px;
  }

  .brand h1 {
    font-size: 1.4rem;
  }

  .brand p {
    font-size: 0.85rem;
  }

  .hero {
    min-height: auto;
    padding: 45px 5%;
    background-position: center top;
  }

  .stores,
  .categories,
  .products {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .store-card,
  .categories div {
    padding: 18px 10px;
    font-size: 0.9rem;
  }

  .product-card {
    padding: 12px;
    border-radius: 18px;
  }

  .product-img {
    height: 150px;
  }

  .price {
    font-size: 1.25rem;
  }

  .btn-product {
    font-size: 0.9rem;
  }
}
