:root {
  --laranja: #F9A825;
  --vermelho: #C62828;
  --cinza: #616161;
  --preto: #000;
  --branco: #fff;
  --radius: 8px;
  --max-width: 1200px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.logo img {
  height: 300px; /* ou 100px, depende do que quiser */
  width: auto;  /* mantém a proporção */
}

body {
  font-family: Arial, sans-serif;
  background: #f4f4f4;
  color: var(--preto);
}

.container {
  max-width: var(--max-width);
  margin: auto;
  padding: 0 16px;
}

/* -------- Header -------- */
header {
  background: var(--preto);
  color: var(--branco);
  padding: 20px 0;
  text-align: center;
  /* Centraliza o texto */
}


header .container {
  display: flex;
  flex-direction: column;
  align-items: center;

}

header .logo {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: center;
}

header .logo img {
  height: 60px;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 24px;
  margin-top: 10px;
  padding: 0;
  justify-content: center;
}

nav a {
  color: var(--branco);
  text-decoration: none;
  font-weight: bold;
}

nav a:hover {
  color: var(--laranja);
}


/* -------- Hero -------- */
.hero {
  background: var(--vermelho);
  color: var(--branco);
  text-align: center;
  padding: 60px 20px;
}

.hero h1 {
  font-size: 32px;
  margin-bottom: 8px;
}

.hero p {
  font-size: 18px;
}

/* -------- Busca -------- */
.search-bar {
  margin: 20px 0;
  text-align: center;
}

.search-bar input {
  width: 80%;
  max-width: 400px;
  padding: 10px;
  border-radius: var(--radius);
  border: 1px solid var(--cinza);
}

/* -------- Cards -------- */
.section-title {
  text-align: center;
  font-size: 28px;
  margin: 40px 0 24px;
  color: var(--vermelho);
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 24px;
}

.card {
  background: var(--branco);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .1);
  display: flex;
  flex-direction: column;
}

.card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
}

.card-body {
  padding: 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.card h3 {
  font-size: 18px;
  margin: 0 0 8px 0;
}

.card p {
  font-size: 14px;
  color: var(--cinza);
  margin: 0 0 12px 0;
}

.btn {
  background: var(--laranja);
  color: var(--branco);
  padding: 10px 14px;
  border: none;
  border-radius: var(--radius);
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}

.btn:hover {
  background: #d48c00;
}

/* -------- Faixa -------- */
.banner-faixa {
  background: var(--laranja);
  color: var(--branco);
  text-align: center;
  padding: 30px 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.banner-faixa div {
  font-weight: bold;
}

/* -------- Footer -------- */
footer {
  background: var(--preto);
  color: var(--branco);
  text-align: center;
  padding: 30px 16px;
  font-size: 14px;
}

footer a {
  color: var(--laranja);
  text-decoration: none;
}

.promo-slider {
  background-color: #1e1e1e;
  color: #fff;
  padding: 15px;
  text-align: center;
  font-size: 1.2rem;
  font-weight: bold;
  overflow: hidden;
  height: 60px;
  position: relative;
}

.promo-slide {
  display: none;
  animation: fade 1s ease-in-out;
}

.promo-slide.ativo {
  display: block;
}

@keyframes fade {
  from { opacity: 0; }
  to { opacity: 1; }
}
