/* ================= CSS (styles.css) ================= */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Inter', sans-serif;
}

body {
  background: #dfdfdf;
  color: #333;
  padding-top: 90px;
  /* altura da navbar */
}

/* NAVBAR */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 40px;
  background: #ffffff;

  /* FIXAR NO TOPO */
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;

  /* FICAR NA FRENTE DE TUDO */
  z-index: 1000;

  /* SOMBRA PROFISSIONAL */
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

/* BLOCO LOGO + TEXTO */
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* IMAGEM */
.brand-logo {
  height: 60px;
  /* ajusta tamanho */
}

/* TEXTO EM COLUNA */
.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

/* JR (em cima) */
.brand-top {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 2px;
}

/* REPRESENTAÇÃO (embaixo) */
.brand-bottom {
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 1px;
}

.logo {
  font-weight: 600;
  letter-spacing: 1px;
  font-size: 18px;
  color: #111;
}

.logo img {
  height: 80px;
  /* tamanho da logo */
  width: auto;
}

.nav-links a {
  margin-left: 30px;
  text-decoration: none;
  color: #555;
  font-weight: 400;
  transition: 0.3s;
}

.nav-links a:hover {
  color: #000;
}

/* LINKS DIREITA */
.nav-links {
  display: flex;
  align-items: center;
  gap: 25px;
}

/* BOTÃO CONTATO */
.nav-contact {
  display: flex;
  align-items: center;
  gap: 8px;
  background: none;
  border: none;
  font-size: 15px;
  cursor: pointer;
  font-weight: 500;
}

/* ÍCONES */
.nav-contact img {
  width: 20px;
  height: 20px;
}

/* DROPDOWN */
.dropdown {
  position: relative;
}

.dropdown-content {
  display: none;
  position: absolute;
  top: 40px;
  right: 0;
  background: #ffffff;
  min-width: 180px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  padding: 10px;
}

.dropdown-content a {
  display: block;
  text-decoration: none;
  color: #333;
  padding: 6px 10px;
  font-size: 14px;
}

.dropdown-content a:hover {
  background: #f2f2f2;
  border-radius: 5px;
}

/* MOSTRAR */
.dropdown-content.show {
  display: block;
}

/* ===== MOBILE ===== */
@media (max-width: 768px) {

  /* Navbar continua lado a lado */
  .navbar {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 10px 15px;
  }

  /* Logo menor */
  .brand-logo {
    height: 40px;
  }

  /* Texto menor */
  .brand-top {
    font-size: 14px;
  }

  .brand-bottom {
    font-size: 12px;
  }

  /* CONTATOS EM COLUNA */
  .nav-links {
    display: flex;
    flex-direction: column;
    /* <- Whats em cima / Email embaixo */
    align-items: flex-end;
    /* alinhado à direita */
    gap: 5px;
  }

  /* Ajuste botão */
  .nav-contact {
    font-size: 13px;
    gap: 5px;
  }

  .nav-contact img {
    width: 16px;
    height: 16px;
  }

}

/* HERO PADRÃO */
.hero {
  text-align: center;
  padding: 50px 20px;
  background: #f5f5f5;
}

/* LOGO */
.hero .logo {
  max-width: 420px;
  width: 100%;
  height: auto;
  margin-bottom: 20px;
}

/* TÍTULO */
.hero h1 {
  font-size: 32px;
  margin-bottom: 10px;
}

/* TEXTO */
.hero p {
  color: #666;
  font-size: 18px;
}

/* GRID */
.brands {
  max-width: 1200px;
  margin: 40px auto 80px;
  padding: 0 20px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

/* ===== RESPONSIVO GRID ===== */

@media (max-width: 1024px) {
  .brands {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {

  .hero {
    padding: 30px 15px;
  }

  .hero .logo {
    max-width: 260px;
    /* diminui no mobile */
  }

  .hero h1 {
    font-size: 24px;
  }

  .hero p {
    font-size: 15px;
  }

  .catalogo-card img {
    width: 160px;
  }

}


/* ===== CARROSSEL MOBILE ===== */

@media (max-width: 480px) {

  .brands {
    display: flex;
    overflow-x: auto;
    gap: 20px;
    scroll-snap-type: x mandatory;
    padding-bottom: 10px;
  }

  .brands::-webkit-scrollbar {
    display: none;
  }

  .card {
    min-width: 80%;
    flex: 0 0 auto;
    scroll-snap-align: center;
  }
}

.card {
  background: #ffffff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
  transition: 0.3s ease;
  cursor: pointer;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.1);
}

.card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  background: #ffffff;
}

.card-name {
  padding: 18px;
  text-align: center;
  font-weight: 500;
  letter-spacing: 2px;
  color: #444;
}

/* FOOTER */
footer {
  text-align: center;
  padding: 30px;
  color: #888;
  font-size: 14px;
}

/* LOGIN MODAL */
.modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  display: none;
  align-items: center;
  justify-content: center;
}

.modal-content {
  background: #fff;
  padding: 30px;
  border-radius: 12px;
  width: 320px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  animation: fadeIn 0.3s ease;
}

.modal-content h2 {
  margin-bottom: 15px;
  font-weight: 500;
}

.modal-content input {
  width: 100%;
  padding: 10px;
  margin: 8px 0;
  border: 1px solid #ddd;
  border-radius: 8px;
}

.modal-content button {
  width: 100%;
  padding: 10px;
  border: none;
  background: #111;
  color: #fff;
  border-radius: 8px;
  margin-top: 10px;
  cursor: pointer;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }

}

/* ===== HEADER MARCA ===== */
.marca-header {
  text-align: center;
  padding: 40px;
}

.marca-logo {
  width: 180px;
  margin-bottom: 15px;
}

.marca-header h1 {
  font-size: 30px;
}

/* SOBRE */
.brand-about {
  max-width: 900px;
  margin: auto;
  padding: 60px 20px;
  text-align: center;
}

.brand-about h2 {
  font-size: 26px;
  margin-bottom: 20px;
}

.brand-about p {
  line-height: 1.7;
  color: #555;
}


/* CATÁLOGO */

.catalogos {
  padding: 60px 20px;
  text-align: center;
}

/* LINHA */
.catalogos-linha {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
  /* quebra se faltar espaço */
}

.catalogo-card {
  text-align: center;
}

.catalogo-card img {
  width: 220px;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  transition: .3s;
}

.catalogo-card img:hover {
  transform: scale(1.05);
}

.catalogo-card p {
  margin-top: 10px;
  font-weight: 600;
}

.btn-download {
  padding: 12px 24px;
  background: #111;
  color: #fff;
  text-decoration: none;
  border-radius: 8px;
  transition: .3s;
}

.btn-download:hover {
  background: #444;
}


/* BOTÃO VOLTAR */
.navbar {
  width: 100%;
}

.brand {
  display: flex;
  align-items: center;
  width: 100%;          /* faz ocupar toda a barra */
}

/* EMPURRA O BOTÃO */
.btn-voltar {
  margin-left: auto;   /* joga pra direita */
  display: flex;
  align-items: center;
}

.btn-voltar img {
  width: 25px;
  height: auto;
  cursor: pointer;
  transition: 0.2s;
}

.btn-voltar img:hover {
  transform: scale(1.1);
}


/* RODAPÉ */
.footer {
  text-align: center;
  padding: 20px;
  background: #111;
  color: #fff;
  font-size: 14px;
}

.card {
  text-decoration: none;
}

.politicas {
  padding: 60px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.box-politicas {
  max-width: 900px;
  background: #f9f9f9;
  padding: 30px 40px;
  border-radius: 16px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  line-height: 1.7;
}

.box-politicas h3 {
  margin-top: 25px;
  margin-bottom: 8px;
  font-size: 18px;
  color: #111;
}

.box-politicas p {
  margin-bottom: 10px;
  color: #444;
}

@media (max-width: 768px) {

  .box-politicas {
    padding: 25px 20px;
  }

}

.box-politicas {
  border-left: 6px solid #111;
}

.site-oficial {
  text-align: center;
  margin: 40px 0;
}

.btn-site {
  display: inline-block;
  padding: 14px 28px;
  background: #111;
  color: #fff;
  text-decoration: none;
  border-radius: 10px;
  font-weight: 600;
  transition: .3s;
}

.btn-site:hover {
  background: #444;
  transform: translateY(-2px);
}

@media (max-width: 768px) {

  .btn-site {
    width: 100%;
    max-width: 300px;
  }

}

/* BOTÃO SOBRE */

.btn-sobre {
  display: inline-block;
  margin-top: 20px;
  padding: 12px 26px;

  background: #000;   /* cor da marca */
  color: #fff;

  text-decoration: none;
  font-weight: bold;
  border-radius: 8px;

  transition: 0.3s;
}

.btn-sobre:hover {
  background: #333;
  transform: translateY(-2px);
}

