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

body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  background: linear-gradient(#a51313dc,#7a0f0f, #4d0909);
  color: #fff;
  text-align: center;
}

header {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  height:fit-content;
  padding: 20px 10px;
  border-bottom: 2px solid #fff;
}

header .link-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0 auto;
}

header .brand {
  font-size: 2rem;
  font-weight: bold;
  margin-right: 20px;
}

header nav {
  display: flex;
  gap: 20px;
}

header nav a {
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  padding: 8px 12px;
  border-radius: 8px;
  transition: all 0.3s ease;
}

header nav a:hover {
  background-color: #fff;
  color: #000000;
  transform: scale(1.05);
}

header nav a.cta {
  background: #fff;
  color: #000000;
  padding: 8px 16px;
}

header nav a.cta:hover {
  background: #f0f8ff;
  transform: scale(1.05);
}


.sobre-container {
  display: flex;
  flex-direction: column;
  width: 70vw;
  align-items: center;
  justify-content: center;
}

.sobre-texto h1 {
  font-size: 3rem;
  margin-top: 2vh;
}

.sobre-texto p{
  font-size: 1.3rem;
  margin: 50px 0px;
}

.sobre-links .cta {
  background: #fff;
  color: #000000;
  padding: 8px 16px;
  border-radius: 8px;
  text-decoration: none;
  margin-right: 10px;
  transition: 0.3s;
}

.sobre-links .cta:hover {
  background: #f0f8ff;
  transform: scale(1.05);
}

.endereco {
  display: block;
  margin-top: 8px;
  font-size: 0.9rem;
  color: #f0f8ff;
}

.card-resumo {
  background: rgba(255,255,255,0.2);
  padding: 20px;
  border-radius: 15px;
  max-width: 500px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.5);
  transition: transform 0.3s ease;
  text-align: center;
}


.section {
  margin: 50px auto;
  padding: 0 20px;
}



.section h2 {
  margin-bottom: 25px;
  font-size: 2rem;
}

.card-sobre{
  height: fit-content;
  margin: 15vh 0px;
}

.card-sobre p{
  font-size: 1.3rem;
  text-align: justify;
  margin: 0px 12vw;
}

.cards-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  justify-items: center;
}

.card-produtos,
.card-departamento {
  background: rgba(255,255,255,0.2);
  padding: 20px;
  border-radius: 15px;
  width: 100%;
  max-width: 300px;
  text-decoration: none;
  color: #fff;
  box-shadow: 0 4px 10px rgba(0,0,0,0.5);
  transition: transform 0.3s, box-shadow 0.3s, background 0.3s;
  text-align: center;
}

.card-produtos:hover,
.card-departamento:hover {
  transform: translateY(-8px) scale(1.02);
  background: rgba(255,255,255,0.35);
  box-shadow: 0 8px 20px rgba(0,0,0,0.6);
}

button.cta {
  background: #fff;
  color: #1e3c72;
  border: none;
  padding: 10px 20px;
  border-radius: 8px;
  cursor: pointer;
  margin-top: 15px;
  transition: 0.3s;
}

button.cta:hover {
  background: #f0f8ff;
  transform: scale(1.05);
}

footer {
  margin: 30px 0;
  text-align: center;
}
