/* ================= RESET ================= */
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #fff;
  color: #111;
}

a {
  color: inherit;
  text-decoration: none;
}

/* ================= HEADER ================= */

.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  border-bottom: 1px solid #eee;
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 10px 16px;

  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* LEFT / CENTER / RIGHT */
.header-left,
.header-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header-center {
  display: flex;
  justify-content: center;
  flex: 1;
}

/* LOGO */
.logo img {
  height: 24px;
  width: auto;
  display: block;
}

/* BOTÕES HEADER */
.menu-btn,
.icon-btn {
  width: 40px;
  height: 40px;
  padding: 0;

  background: transparent;
  border: none;
  cursor: pointer;

  display: flex;
  align-items: center;
  justify-content: center;
}

/* ÍCONES (TRAVADOS) */
.menu-btn img,
.icon-btn img {
  width: 22px;
  height: 22px;
  object-fit: contain;
  display: block;
  opacity: 0.85;
}

/* HOVER DESKTOP */
@media (hover: hover) {
  .menu-btn img:hover,
  .icon-btn img:hover {
    opacity: 1;
  }
}

/* ================= HERO ================= */

.hero {
  position: relative;
  height: 70vh;
  overflow: hidden;
}

.hero img,
.hero video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-content {
  position: absolute;
  bottom: 18%;
  left: 16px;
  right: 16px;
  max-width: 520px;
  color: #fff;
}

.hero-content h1 {
  font-size: 32px;
  font-weight: 800;
  margin: 0 0 12px;
}

.hero-content p {
  font-size: 16px;
  margin: 0 0 20px;
}

.btn-primary {
  display: inline-block;
  background: #000;
  color: #fff;
  padding: 14px 22px;
  border-radius: 12px;
  font-weight: 700;
}

/* ================= HOME PRODUCTS ================= */

.products {
  padding: 24px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.product-card img {
  width: 100%;
  border-radius: 14px;
  display: block;
}

.product-info h3 {
  font-size: 16px;
  margin: 8px 0 4px;
  font-weight: 600;
}

.product-info span {
  font-weight: 700;
}

/* ================= PRODUCT PAGE ================= */

.product-page {
  padding: 16px;
}

.product-gallery img {
  width: 100%;
  border-radius: 16px;
  display: block;
}

.product-details h1 {
  font-size: 24px;
  margin: 20px 0 8px;
}

.price {
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 16px;
}

.description {
  font-size: 14px;
  color: #444;
  margin-bottom: 16px;
}

.btn-buy {
  width: 100%;
  padding: 16px;
  background: #000;
  color: #fff;
  border: none;
  border-radius: 14px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
}

/* ================= DESKTOP ================= */

@media (min-width: 768px) {
  .products {
    grid-template-columns: repeat(3, 1fr);
    padding: 60px;
  }

  .product-page {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    padding: 60px;
  }
}
