*  {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  display: grid;
  gap: 20px;
  min-height: 100vh;
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
  color: #000000;
  background-color: #ebebeb;
}


h1 {
  font-size: 2rem;
  margin: 24px 0 8px;
}

h2 {
  font-size: 1.5rem;
  margin: 70px 0 8px;
}

h3 {
  font-size: 1.2rem;
  margin: 18px 0 8px;
}

p {
  margin: 0 0 16px;
}


.centro {
  text-align: center;
}

header {
  background-color: #cd1b1b;
  color: #FFFFFF;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 5%;
  position: relative;
}

header img {
  border-radius: 50%;
}

nav {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

nav ul {
  gap: 8rem;
  display: flex;
  list-style: none;
}

nav a {
  color: #FFFFFF;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3;
}

nav a:hover {
  color: #000000;
}


.container-produtos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin: 20px auto;
  max-width: 1200px;
}


.card-produto {
  display: flex;
  align-items: space-between;
  justify-content: center;
  border: 1px solid #FFFFFF;
  border-radius: 8px;
  padding: 12px;
  background-color: #FFFFFF;
  max-width: 500px;
  flex-basis: calc(50% - 10px);
  flex-grow: 1;
  transition: transform 0.2s ease;
  box-sizing: border-box;
}

.card-produto:hover {
  transform: scale(1.03);
}

.card-produto img {
  width: 100px;
  border-radius: 6px;
}

.info-produto {
  flex: 1;
  margin-left: 10px;
}

.info-produto h3 {
  font-size: 16px;
  color: #000000;
  margin-bottom: 5px;
}

.info-produto p {
  font-size: 14px;
  color: #555;
  line-height: 1.4;
  margin-bottom: 5px;
}

.preco {
  font-weight: bold;
  color: #cd1b1b;
  font-size: 15px;
}


footer {
  background-color: #cd1b1b;
  color: #FFFFFF;
  padding: 20px 10px;
  text-align: center;
  font-family: Arial, sans-serif;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  align-items: center;
  gap: 2rem
}

.logo img {
  width: 4px 0;
  border-radius: 50%;
  margin-bottom: 8px;
}

.footer p {
  margin: 4px 0;
  font-size: 14px;
}

.container {
  width: 100%;
  max-width: 100%;
  padding: 1rem;
  margin: 0 auto;
  font-size: 1rem;
  height: auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

@media (min-width: 375px) {
  .container {
    max-width: 360px;
  }
}

@media (min-width: 768px) {
  .container {
    max-width: 720px;
  }
}

@media (min-width: 1024px) {
  .container {
    max-width: 960px;
  }
}

@media (min-width: 1280px) {
  .container {
    max-width: 1920px;
  }
}

@media (max-width: 420px) {
  .btn-topo {
    right: 12px;
    bottom: 16px;
    width: 40px;
    height: 40px;
    font-size: 18px;
  }
}

.card-produto {
  border-radius: 10px;
  overflow: hidden;
  transition: transform .3s ease, box-shadow .3s ease;
}

.card-produto:hover {
  transform: translateY(-6px) scale(1.03);
  box-shadow: 0px 8px 20px rgba(0, 0, 0, 0.25);
}

.card-produto img {
  transition: transform .4s ease;
}

.card-produto:hover img {
  transform: scale(1.1);
}


.lista-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  padding: 20px 0;
}

.card-produto {
  background: #fff;
  border-radius: 12px;
  width: 350px;
  padding: 15px;
  display: flex;
  gap: 15px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: 0.3s ease;
}

.card-produto img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 10px;
}

.info-produto h3 {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 5px;
}

.info-produto p {
  font-size: 14px;
  margin-bottom: 8px;
}

.preco {
  font-weight: bold;
  color: #cd1b1b;
  font-size: 18px;
}

.card-produto:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
}


.btn-topo {
  position: fixed;
  right: 20px;
  bottom: 24px;
  z-index: 9999;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 8px;
  border: none;
  background: linear-gradient(180deg, #cd1b1b, #cd1b1b);
  color: #fff;
  font-size: 20px;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
  opacity: 0;
  transform: translateY(12px) scale(.98);
  transition: opacity .32s ease, transform .32s cubic-bezier(.2, .9, .2, 1);
  backdrop-filter: blur(4px);
}


.btn-topo.show {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.btn-topo:focus {
  outline: 3px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28), 0 0 0 4px rgba(201, 0, 0, 0.12);
}

.btn-topo:hover {
  transform: translateY(-4px) scale(1.04);
}


.footerContainer {
  background: #cd1b1b;
  padding: 20px 0;
}

.socialIcons {
  display: flex;
  align-items: center;
  gap: 15px;
}

.socialIcons a {
  text-decoration: none;
}

.icon {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  padding: 8px;
  background: #fff;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: #fff;
  transition: transform .2s ease;
}

.socialIcons img.icon {
  object-fit: cover;

  .icon:hover {
    transform: scale(1.12);
  }
} 
