/* Reset e variáveis principais */
:root {
  --azul-br7: #00aefe;
  --preto: #000;
  --cinza-claro: #f2f2f2;
  --prata-escuro: #d1d1d1;
  --branco: #fff;
}

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

body {
  
  font-family: 'Poppins', sans-serif;
  background-color: var(--cinza-claro);
  color: var(--preto);
  margin: 0;
}

/* TELA DE CARREGAMENTO */
#loader {
  position: fixed;
  z-index: 9999;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #000;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: white;
  font-family: 'Arial', sans-serif;
}

.loader-content {
  text-align: center;
}

.logo-br7 {
  width: 120px;
  margin-bottom: 20px;
}

.frase {
  font-size: 1.2rem;
  margin-bottom: 20px;
  color: #00aefe;
  font-weight: 500;
}

.progress-bar {
  width: 200px;
  height: 6px;
  background-color: #444;
  border-radius: 3px;
  overflow: hidden;
  margin: 0 auto;
}

.progress {
  width: 0%;
  height: 100%;
  background-color: #00aefe;
  animation: loadProgress 2.5s ease-out forwards;
}

@keyframes loadProgress {
  to {
    width: 100%;
  }
}

/* Rodapé */
.loader-footer {
  position: absolute;
  bottom: 40px;
  text-align: center;
}

.loader-footer p {
  font-size: 0.9rem;
  margin-bottom: 8px;
  color: #ccc;
}

.logo-nexus {
  width: 160px;
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.1); opacity: 0.7; }
}

/* Esconde loader após o carregamento */
.fade-out {
  opacity: 0;
  transition: opacity 0.4s ease;
}


header {
  background-color: var(--preto);
  color: var(--branco);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  position: sticky;
  top: 0;
  z-index: 100; /* aumentei para garantir que fique acima de tudo */
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2); /* sombra suave */
}

.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  transition: transform 0.3s ease;
}

.navbar.mostrar {
  transform: translateY(0);
}

.navbar.esconder {
  transform: translateY(-100%);
}

.espaco-navbar {
  height: 80px; /* ou a altura exata da sua navbar */
}

.logo{
  max-height: 50px;
  height: auto;
  width: auto;
}


.menu-btn {
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--branco);
}

header .carrinho {
  position: relative;
  font-size: 1.5rem;
  cursor: pointer;
}

.badge-carrinho {
  position: absolute;
  top: -5px;
  right: -10px;
  background-color: red;
  color: white;
  border-radius: 50%;
  padding: 2px 6px;
  font-size: 0.7rem;
}


/* Menu lateral */
.menu-lateral {
  position: fixed;
  top: 0;
  left: -250px;
  width: 250px;
  height: 100%;
  background: var(--preto);
  display: flex;
  flex-direction: column;
  padding-top: 3rem;
  transition: left 0.3s ease;
  z-index: 1000;
  box-shadow: 2px 0 8px rgba(0, 0, 0, 0.4);
  overflow-y: auto;
}

/* Links principais e de marcas */
.menu-lateral a {
  color: var(--branco);
  padding: 1rem 1.5rem;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 16px;
  transition: background 0.2s;
  display: block;
}

.menu-lateral a:hover {
  background-color: rgba(255, 255, 255, 0.08);
}

/* Submenus ocultos inicialmente */
.menu-lateral .submenu {
  display: none;
  flex-direction: column;
  margin-top: 0.5rem;
  background-color: rgba(255, 255, 255, 0.08);
}

/* Links dentro de submenus (como as marcas) */
.menu-lateral .submenu a {
  color: #ccc;
  font-size: 15px;
  padding-left: 2rem; /* indentação para diferenciar */
  border-radius: 4px;
  border-bottom: none; /* remove borda inferior no último nível */
}

.menu-lateral .submenu a:hover {
  background-color: rgba(0, 174, 254, 0.15);
  color: #00aefe;
}

/* Botão para abrir submenu */
.menu-lateral button.toggle-submenu {
  background: none;
  border: none;
  color: white;
  cursor: pointer;
  padding: 0.8rem 1.5rem;
  text-align: left;
  font-size: 16px;
  width: 100%;
  transition: background 0.2s;
}

/* Botão com hover */
.menu-lateral button.toggle-submenu:hover {
  background-color: rgba(255, 255, 255, 0.08);
}

/* Quando submenu está ativo */
.submenu.ativo {
  display: flex;
}

/* Estilo item ativo */
.menu-lateral a.menu-ativo,
.menu-lateral .submenu a.menu-ativo {
  background-color: rgba(255, 255, 255, 0.08);
  color: #00aefe;
}



.animar-scroll {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animar-scroll.visivel {
  opacity: 1;
  transform: translateY(0);
}

.footer-br7 {
  background-color: #c7c5c53d;
  color: #3d3b3b;
  padding: 2rem 1rem 1rem;
  
}

.footer-wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-column {
  flex: 1 1 220px;
  min-width: 200px;
}

.footer-column h4 {
  color: #000000;
  margin-bottom: 0.75rem;
  font-size: 1.1rem;
  text-transform: uppercase;

}

.footer-column p {
  margin: 0.3rem 0;
  font-size: 0.95rem;
}

.footer-icons img {
  height: 28px;
  margin-right: 10px;
  margin-top: 10px;
}

.footer-icons-rs {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap; /* Caso queira quebrar em telas pequenas */
  gap: 10px; /* Espaço entre ícones */
  margin-top: 18px;
}

.footer-icons-rs img {
  height: 18px;
  margin-top: 13px;
}

.footer-icons a:hover img,
.footer-icons img:hover {
  transform: scale(1.1);
}

.footer-bottom {
  text-align: center;
  margin-top: 2rem;
  font-size: 0.85rem;
  color: #aaa;
  
  padding-top: 1rem;
}

.footer-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-column ul li {
  margin-bottom: 0.4rem;
}

.footer-column ul li a {
  color: #3d3b3b;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-column ul li a:hover {
  color: #00aefe;
}





.tabela-parcelas {
  width: 100%;
  max-width: 500px;
  margin: 1.5rem auto;
  border-collapse: collapse;
  background-color: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  font-size: 0.95rem;
}

.tabela-parcelas th,
.tabela-parcelas td {
  padding: 1rem;
  text-align: center;
}

.tabela-parcelas thead {
  background-color: #00aefe;
  color: white;
}

.tabela-parcelas tbody tr:nth-child(even) {
  background-color: #f5f5f5;
}

.tabela-parcelas tbody tr:hover {
  background-color: #e8f7ff;
}





/* 1. MAIN CENTRALIZADO */
main {
  max-width: 600px;
  margin: 2rem auto;
  padding: 1.5rem;
  font-family: Arial, sans-serif;
  background-color: #f9f9f9;
  box-sizing: border-box;

  display: flex;
  flex-direction: column;
  align-items: center;
}

/* CARROSSEL */
.carrossel {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.carrossel-imagem-wrapper {
  width: 100%;
  height: 350px;
  border-radius: 12px;
  background-color: #fff;
  position: relative;
  overflow: hidden;
}

.imagem-carrossel {
  display: none;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.imagem-carrossel.ativo {
  display: block;
}

.carrossel-controles {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.seta-carrossel {
  background: none;
  border: none;
  font-size: 1.4rem;
  cursor: pointer;
  color: #333;
  padding: 4px 8px;
}

.seta-carrossel:hover {
  color: #000;
}

.carrossel-indicadores {
  display: flex;
  gap: 6px;
  align-items: center;
}

.indicador {
  width: 7px;
  height: 7px;
  background-color: #ccc;
  border-radius: 50%;
  cursor: pointer;
  transition: background-color 0.3s;
}

.indicador.ativo {
  background-color: #333;
}


/* TÍTULO DO PRODUTO */
h2 {
  font-size: 1.8rem;
  margin-bottom: 0.3rem;
  color: #111;
  text-transform: uppercase;
}

.preco {
  font-size: 2rem;
  color: #111; /* Preto escuro e moderno */
  font-weight: 800;
  margin-bottom: 1rem;
  text-shadow: 0 1px 2px rgba(0,0,0,0.1);
  letter-spacing: 0.5px;
  padding: 0.25rem 0.5rem;
  border-radius: 6px;
  
  display: inline-block;
}




/* 4. OPÇÕES DE SELEÇÃO (seleção única com deseleção) */

.grupo-opcoes {
  width: 100%;
}

.opcoes {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0.5rem 0 1rem 0;
  justify-content: center;
}

/* Ajustei a classe para "caixa-opcao" */
.caixa-opcao {
  padding: 10px 14px;
  border: 2px solid #ccc;
  border-radius: 6px;
  cursor: pointer;
  font-weight: bold;
  background-color: #fff;
  color: #111;
  transition: all 0.3s ease;
  user-select: none;
  flex: 1 1 90px;
  text-align: center;
  box-shadow: 0 2px 6px rgb(0 0 0 / 0.05);
  user-select: none;
  max-width: 140px;
}

.caixa-opcao.selecionado {
  background-color: #000000;
  color: white;
  border-color: #000000;
}

/* FORMULÁRIO */
form label {
  display: block;
  margin: 1rem 0 0.3rem;
  font-weight: bold;
}

/* BOTÃO */
.btn {
  background-color: #00aefe;
  color: #fff;
  padding: 0.8rem 1.2rem;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-weight: bold;
  font-size: 1rem;
  margin-top: 1rem;
  width: 100%;
  transition: background-color 0.3s ease;
}

.btn:hover {
  background-color: #008ccf;
}

.card-tabela {
  width: 100%;
  overflow-x: auto;
}

.card-tabela table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed; /* Distribui colunas igualmente */
}

/* 2. TABELA MODERNA */
.tabela-medidas {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0 10px;
  margin: 2rem 0;
  font-size: 0.95rem;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
  table-layout: fixed;
}
.tabela-medidas th,
.tabela-medidas td {
  padding: 0.75rem 1rem;
  text-align: center;
  word-wrap: break-word;
}


.tabela-medidas th {
  background-color: #00aefe;
  color: white;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.85rem;
}

.tabela-medidas tr:hover td {
  background-color: #e1f5fe;
  transition: background-color 0.3s ease;
}

/* AVISO LEGAL */
.aviso-legal {
  background-color: #fff3cd;
  color: #856404;
  padding: 1rem;
  border: 1px solid #ffeeba;
  border-radius: 6px;
  margin: 2rem 0;
  font-size: 0.95rem;
}

.aviso-legal a {
  color: #00aefe;
  text-decoration: underline;
  cursor: pointer;
}

/* 5. CARDS INFORMATIVOS ESTILO NOVO */

.cards-info {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-top: 2rem;
  width: 100%;
}



@media(min-width: 480px) {
  .cards-info {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media(min-width: 768px) {
  .cards-info {
    grid-template-columns: repeat(4, 1fr);
  }
}

.card {
  background: #fff;
  border-radius: 12px;
  color: #333;
  padding: 1.2rem 1rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  text-align: center;
  font-size: 0.95rem;
}
.card h4 {
  margin-bottom: 0.4rem;
  font-weight: bold;
  font-size: 1.1rem;
}
.card p {
  font-size: 0.95rem;
  color: #555;
}


/* 6. DESCRIÇÃO ESTILIZADA */
.descricao {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 4px 12px rgb(0 0 0 / 0.1);
  padding: 1.8rem 2rem;
  margin: 2rem 0;
  width: 100%;
  color: #333;
  font-size: 1rem;
  line-height: 1.5;
  font-family: 'Arial', sans-serif;
}

.descricao h3 {
  margin-bottom: 1rem;
  color: #00aefe;
  font-weight: 700;
  font-size: 1.4rem;
  border-bottom: 2px solid #00aefe;
  padding-bottom: 0.5rem;
}

.descricao p {
  margin-bottom: 1rem;
}

/* Para links dentro da descrição */
.descricao a {
  color: #008ccf;
  text-decoration: underline;
  cursor: pointer;
}