/* RESET BÁSICO */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #111;
}

/* VARIÁVEIS DE TAMANHO */
:root {
  --logo-width: 300px;
  --brand-logo-height: 60px;
}

/* CONTAINER */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* HEADER */
.site-header {
  background: #fff;
  padding: 1rem 0;
  border-bottom: 1px solid #e0e0e0;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo img {
  width: var(--logo-width);
  height: auto;
  margin-top: 14px;
}

.site-nav ul {
  list-style: none;
  display: flex;
  gap: 2rem;
}

.site-nav a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.search {
  padding: 0.5rem 1rem;
  border: 1px solid #ccc;
  border-radius: 100px;
  width: 300px;
}

.icon-btn {
  font-size: 1.2rem;
  text-decoration: none;
}

/* HERO */
.hero {
  background: #f5f5f5;
  padding: 4rem 0;
}

.hero-inner {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.hero-copy {
  flex: 1;
}

.hero-copy h1 {
  font-size: 3rem;
  font-weight: bold;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.hero-copy p {
  max-width: 500px;
  margin-bottom: 2rem;
  color: #555;
}

/* Botão primário (Comprar agora) */
.btn-primary {
  display: inline-block;
  padding: 0.75rem 2rem;
  background: #111;
  color: #fff;
  text-decoration: none;
  border-radius: 50px;
  font-weight: bold;
  margin-bottom: 2rem;
  border: 1px solid transparent;
  /* mantém layout ao inverter */
  transition: background .16s ease, color .16s ease, border-color .16s ease, transform .16s ease, box-shadow .16s ease;
}

.btn-primary:hover {
  background: #fff;
  /* invertido: branco */
  color: #111;
  /* detalhe preto */
  border-color: #111;
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, .08);
}

.btn-primary:focus-visible {
  outline: 2px solid #111;
  outline-offset: 2px;
}

.stats {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.stats li {
  text-align: center;
}

.stats strong {
  display: block;
  font-size: 1.5rem;
}

.hero-image img {
  width: 100%;
  max-width: 500px;
  border-radius: 8px;
  object-fit: cover;
}

/* BRANDS */
.brands {
  background: #111;
  padding: 2rem 0;
}

.brands-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brands-inner img {
  max-height: var(--brand-logo-height);
  filter: brightness(0) invert(1);
  width: auto;
}

/* NEW ARRIVALS */
.new-arrivals {
  padding: 4rem 0;
}

.new-arrivals h2 {
  text-align: center;
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 2rem;
}

.arrivals-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  align-items: start;
}

/* Card de produto CLICÁVEL + hover inflar (apenas em New Arrivals) */
.new-arrivals .card {
  display: flex;
  /* ainda flex para centralizar conteúdo */
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: #f5f5f5;
  border-radius: 12px;
  padding: 1rem;
  text-decoration: none;
  /* remove sublinhado do <a> */
  color: inherit;
  /* mantém cores do texto */
  border: 1px solid #e5e5e5;
  transition: transform .16s ease, box-shadow .16s ease, background .16s ease;
  will-change: transform;
}

.new-arrivals .card:hover {
  transform: scale(1.03);
  box-shadow: 0 12px 28px rgba(0, 0, 0, .08);
  cursor: pointer;
}

.new-arrivals .card:focus-visible {
  outline: 2px solid #111;
  outline-offset: 2px;
}

.card img {
  height: 200px;
  max-width: 100%;
  object-fit: contain;
  display: block;
  margin: 0 auto 1rem;
  border-radius: 8px;
}

.card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.rating {
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  color: #f5a623;
}

.rating span {
  color: #555;
  margin-left: 0.5rem;
}

.price {
  font-weight: bold;
  font-size: 1rem;
  color: #111;
}

.old-price {
  text-decoration: line-through;
  color: #777;
  font-weight: normal;
  margin-left: 0.5rem;
}

.discount {
  background: #fdecea;
  color: #e12d2d;
  padding: 0.1rem 0.5rem;
  border-radius: 4px;
  font-size: 0.8rem;
  margin-left: 0.5rem;
}

/* Botão "Ver todos" com inversão no hover */
.view-all {
  text-align: center;
  margin-top: 2rem;
}

.btn-outline {
  display: inline-block;
  padding: 0.5rem 1.5rem;
  border: 1px solid #111;
  border-radius: 50px;
  text-decoration: none;
  color: #111;
  font-weight: 500;
  transition: background .16s ease, color .16s ease, border-color .16s ease, transform .16s ease, box-shadow .16s ease;
}

.btn-outline:hover {
  background: #111;
  /* fundo preto */
  color: #fff;
  /* texto branco */
  border-color: #fff;
  /* borda branca (invertendo) */
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, .1);
}

.btn-outline:focus-visible {
  outline: 2px solid #111;
  outline-offset: 2px;
}

/* FOOTER NEWSLETTER */
.footer-newsletter {
  background: #111;
  color: #fff;
  padding: 2rem 0;
  margin-top: 4rem;
  border-radius: 8px;
}

.newsletter-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.footer-newsletter h3 {
  font-size: 1.5rem;
  font-weight: bold;
  line-height: 1.2;
}

.newsletter-form {
  display: flex;
  gap: 0.5rem;
}

.newsletter-form input {
  padding: 0.5rem 1rem;
  border: none;
  border-radius: 50px;
  width: 250px;
}

.newsletter-form button {
  padding: 0.6rem 1.5rem;
  background: #fff;
  color: #111;
  border: none;
  border-radius: 50px;
  font-weight: bold;
  cursor: pointer;
}

/* FOOTER MAIN */
.footer-main {
  background: #f5f5f5;
  padding: 4rem 0;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: space-between;
}

.footer-col {
  flex: 1 1 140px;
  min-width: 140px;
}

.footer-col.about {
  flex: 2 1 280px;
}

.footer-col h4 {
  font-size: 1rem;
  font-weight: bold;
  margin-bottom: 1rem;
}

.footer-col p {
  font-size: 0.9rem;
  line-height: 1.4;
  margin-bottom: 1rem;
  color: #555;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 0.5rem;
}

.footer-col ul li a {
  text-decoration: none;
  color: #333;
  font-size: 0.9rem;
}

.social-icons {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.social-icons img {
  width: 24px;
  height: 24px;
}

/* FOOTER BOTTOM */
.footer-bottom {
  border-top: 1px solid #ddd;
  background: #f5f5f5;
  padding: 1rem 0;
}

.bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  color: #777;
}

.payments img {
  height: 60px;
  margin-left: 0.75rem;
}