/* RESET GERAL */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* CONFIGURAÇÕES GERAIS */
body {
    font-family: 'Abel', sans-serif;
    font-size: 14px; /* Tamanho maior da fonte */
    font-weight: 300; /* Fonte leve */
    margin: 0;
}

ul {
    list-style: none;
}


.logo-home img {
    width: 70px;
    height: auto;
}

.home {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 10;
    background-color: transparent;
    display: flex;
    align-items: center; /* Centraliza verticalmente */
    justify-content: space-between; /* Espaça os elementos */
    padding: 15px 30px;
}

.container {
    display: flex;
    align-items: center; /* Alinha os itens verticalmente */
    justify-content: space-between; /* Garante que o logo e a animação fiquem em extremos */
    width: 100%;
}

.logo-menu {
    display: flex;
    align-items: center; /* Alinha logo e menu na mesma linha */
    gap: 20px; /* Espaçamento entre o logo e o menu-div */
}

.logo-home img {
    height: 70px;
    width: auto;
}

.menu-div img {
    height: 30px;
    width: auto;
    cursor: pointer;
}

.menu-div img:hover {
    transform: scale(1.1); /* Aumenta ligeiramente a imagem no hover */
    opacity: 0.8; /* Reduz a opacidade no hover para efeito sutil */
}

/* Estilo para o slideshow dentro da menu */
.menu-slideshow {
    position: absolute;
    right: 0;
    top: 0;
    width: 50%; /* Metade direita da tela */
    height: 100%; /* Altura total */
    overflow: hidden;
    z-index: 2; /* Acima do fundo, mas atrás das opções do menu */
}

.slideshow-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Garante que as imagens cubram toda a área */
    opacity: 0; /* Inicialmente invisíveis */
    transition: opacity 1s ease-in-out; /* Transição suave */
}

.slideshow-image.active {
    opacity: 1; /* A imagem ativa fica visível */
    z-index: 1;
}


.animation-container {
    width: 30px;
    height: 30px;
    cursor: pointer;
    display: inline-block;
    position: relative;
    z-index: 11; /* Sempre acima do popup */
}

.animation-container:hover {
    transform: scale(1.1); /* Aumenta ligeiramente a imagem no hover */
    opacity: 0.8; /* Reduz a opacidade no hover para efeito sutil */
}

.search-popup {
    position: absolute;
    top: 49%; /* Centraliza verticalmente */
    right: 3%; /* Alinha exatamente ao lado da lupa */
    transform: translateY(-50%) translateX(110%); /* Ajusta para que a animação fique dentro */
    opacity: 0; /* Invisível no início */
    transition: transform 0.3s ease, opacity 0.3s ease; /* Animação suave */
    z-index: 10;
}

.search-popup.active {
    transform: translateY(-50%) translateX(10%); /* Levemente para a direita */
    opacity: 1; /* Torna visível */
}

.search-input {
    border: 2px solid #ccc;
    border-radius: 4px;
    padding: 6px 10px;
    font-size: 14px;
    width: 250px; /* Largura da caixinha */
    height: 45px; /* Altura da caixinha */
    outline: none;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}


/* Menu Stuff */

.menu {
    opacity: 0.3;
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    padding: 0px 50px;
    position: fixed;
    top: -100%;
    align-items: center;
    background-color: rgb(255, 255, 255);
    z-index: 12;
    transition: top 0.5s ease-in-out;

}

.nav {
    opacity: 0;
    margin-bottom: -20px;
    background-color: transparent;
}

.nav-link {
    color: black;
    text-decoration: none;
    font-size: 3rem;
    transition: all 0.2s ease-in-out;
}

.nav-link:hover {
    color: #a69e8f;
    transition: all 0.2s ease-in-out;
}

.background {
    position: absolute;
    font-size: 15rem;
    font-weight: 600;
    color: rgb(235, 235, 235);
    user-select: none;
    z-index: 1;
}

.small-number {
    font-size: 1.2rem;
}

.exit {
    cursor: pointer;
    position: absolute;
    right: 40px;
    top: 40px;
    z-index: 11;
}

.exit:hover {
    transform: scale(1.5); /* Aumenta ligeiramente a imagem no hover */
    opacity: 0.8; /* Reduz a opacidade no hover para efeito sutil */
}

.menu-container {
    z-index: 3;
}

/* Media Query */
@media screen and (max-width: 660px) {
    .menu {
        flex-direction: column;
        justify-content: center;
    }

    .right {
        display: none;
    }
}

/* MAIN CONTENT */
.main-content {
    display: flex;
    height: 100vh;
}

.content-left {
    width: 50%;
    height: 100%;
    background-color: white;
    display: flex;
    justify-content: center;
    align-items: center;
}

.small-image img {
    display: block;
    margin: 0 auto; /* Centraliza horizontalmente */
    width: 80%;
    height: auto; /* Mantém a proporção da imagem */
}


.small-image-icon img {
    width: 120px; /* Tamanho maior do ícone */
    height: auto;
}

.image-right {
    width: 50%;
    height: 100%;
    position: relative;
    z-index: 1;
}

.image-right img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.logo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
}

.logo img {
    width: 250px; /* Tamanho inicial */
    opacity: 0; /* Logo inicialmente invisível */
}


/* Estilo da seção de fotos */
.photo-section {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 15px; /* Espaçamento entre os itens */
    padding: 20px;
    background-color: white; 
}

/* Cada item de foto */
.photo-item {
    position: relative;
    overflow: hidden;
    width: 270px; /* Largura fixa */
    height: 700px; /* Altura maior */
    border-radius: 10px; /* Cantos arredondados */
}

/* Imagens */
.photo-item img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ajusta a imagem para cobrir o espaço */
}

/* Camada preta semi-transparente */
.photo-item::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6); /* Fundo preto com opacidade de 60% */
    transition: opacity 0.3s ease; /* Transição suave */
    z-index: 1; /* Coloca acima da imagem */
}

/* Efeito hover: remove o fundo preto */
.photo-item:hover::before {
    opacity: 0; /* Torna a camada invisível no hover */
}

/* Nome rotacionado (de cima para baixo) */
.photo-label {
    position: absolute;
    top: 4%; /* Ajusta para começar no topo */
    left: 40px; /* Distância da borda esquerda */
    transform: rotate(90deg); /* Rotaciona o texto de cima para baixo */
    transform-origin: top left; /* Define o ponto de rotação */
    color: #fff;
    font-size: 2rem; /* Ajusta o tamanho do texto */
    font-weight: bold;
    text-transform: uppercase;
    z-index: 2; /* Mantém o texto acima da camada preta */
    pointer-events: none; /* Evita interação com o texto */
    white-space: nowrap; /* Evita quebra de linha */
}

/* Estilo geral da seção */
.newest-products {
    background-color: #f4f4f4;
    padding: 50px 20px;
    text-align: center;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.title {
    font-size: 3rem;
    font-weight: bold;
    text-transform: uppercase;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.animated-text {
    display: inline-block;
    font-size: 3.5rem;
    color: #000;
    position: relative;
}

.view-all {
    text-decoration: none;
    color: #000;
    font-size: 1rem;
    font-weight: bold;
    display: flex;
    align-items: center;
}

.view-all:hover {
    transform: scale(1.1); /* Aumenta ligeiramente a imagem no hover */
    opacity: 0.8; /* Reduz a opacidade no hover para efeito sutil */
}

.arrow:hover {
    margin-left: 5px;
}

.arrow:hover {
    transform: scale(1.1); /* Aumenta ligeiramente a imagem no hover */
    opacity: 0.8; /* Reduz a opacidade no hover para efeito sutil */
}


/* Estilo dos produtos */
.products {
    display: flex;
    justify-content: center;
    gap: 30px;
}

.product-card {
    width: 250px; /* Tamanho fixo */
    height: 350px; /* Altura fixa */
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease;
    position: relative;
    text-align: left;
}

.product-card:hover {
    transform: scale(1.05);
}

.product-card img {
    width: 100%;
    height: 75%; /* Fixa o tamanho da imagem dentro do card */
    object-fit: cover;
    transition: opacity 0.3s ease;
}

.product-info {
    padding: 15px;
}

.product-name {
    font-size: 1.2rem;
    font-weight: bold;
}

.product-price {
    color: #555;
    font-size: 1rem;
    margin-top: 5px;
}


/* Estilo da Seção de Pesquisa */
.search-results {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 40px 20px;
    background-color: #f4f4f4;
}

.results-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    max-width: 1200px;
    width: 100%;
}

.search-item {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    text-align: left;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.search-item:hover {
    transform: scale(1.05);
}

.search-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.search-info {
    padding: 15px;
}

.search-info strong {
    display: block;
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.search-info p {
    font-size: 0.9rem;
    color: #666;
}

/* Fundo escuro e estilo global */


/* Navbar minimalista */
.error-header {
    position: absolute;
    top: 20px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    padding: 0 40px;
    font-size: 1.2rem;
    font-weight: bold;
}


/* Texto gigante do erro 404 */
.error-404 {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh;
    text-transform: uppercase;
    font-weight: bold;
}

.error-title {
    font-size: 8vw; /* Tamanho proporcional à tela */
    line-height: 1;
    text-align: center;
    max-width: 90%;
    font-weight: 900;
}

.line {
    display: block;
}

.error-message {
    font-size: 1.2rem;
    color: #bbb;
    margin-top: 20px;
    font-weight: bold;
}

/* Responsividade */
@media (max-width: 768px) {
    .error-title {
        font-size: 10vw;
    }
    .nav-link {
        font-size: 1rem;
    }
}















/* Estilo do footer */
.footer {
    background-image: url('assents/footer.png'); /* Substitua pelo caminho da sua imagem */
    background-size: cover;
    background-position: center;
    text-align: center;
    padding: 40px 20px;
    color: #fff;
    font-family: 'Abel', sans-serif; /* Aplica a fonte Abel */
}

/* Logo centralizado */
.footer-logo img {
    width: 100px; /* Ajuste o tamanho do logo conforme necessário */
    margin-bottom: 20px;
}

/* Redes sociais com texto adicional */
.footer-socials {
    margin: 20px 0;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap; /* Permite quebra de linha se necessário */
    gap: 10px; /* Espaçamento entre os elementos */
}

.footer-socials a {
    text-decoration: none;
    color: #fff;
    font-size: 14px;
    margin: 0 10px;
    transition: color 0.3s ease;
}

.footer-socials a:hover {
    color: #ccc; /* Cor ao passar o mouse */
}

/* Estilo do texto "Sobre Nós" */
.sobre-nos {
    color: rgba(255, 255, 255, 0.5); /* Branco com opacidade reduzida */
    font-size: 12px;
    margin: 0 5px; /* Espaçamento entre os textos */
}

/* Linha divisória entre redes sociais e informações do footer */
.footer-divider {
    width: 80%;
    height: 1px;
    margin: 20px auto; /* Espaçamento e centralização */
    background-color: rgba(255, 255, 255, 0.3); /* Cor branca com opacidade fraca */
    border: none;
}

/* Linha final */
.footer-info {
    margin-top: 20px;
    font-size: 12px;
}

.footer-info a {
    text-decoration: none;
    color: #fff;
    transition: color 0.3s ease;
}

.footer-info a:hover {
    color: #ccc; /* Cor ao passar o mouse */
}

.footer-info span {
    margin: 0 5px; /* Espaçamento entre elementos */
}

.spacer {
    height: 80px; /* Ajuste a altura conforme necessário */
    background-color: transparent;
  }

  
  /* Botão 404 */
.error-btn {
    display: inline-block;
    margin-top: 20px;
    padding: 12px 24px;
    font-size: 1.2rem;
    font-weight: bold;
    color: #0a0a0a;
    background: #f5f5f5;
    text-decoration: none;
    border-radius: 5px;
    transition: background 0.3s ease, transform 0.2s ease;
}

.error-btn:hover {
    background: #d4d4d4;
    transform: scale(1.05);
}

/* === FORMATAÇÃO DOS TERMOS E CONDIÇÕES === */
.termos-condicoes {
  width: 90%;
  max-width: 900px;
  margin: 0 auto;
  background-color: #fff;
  color: #111;
  padding: 60px 40px;
  border-radius: 8px;
  box-shadow: 0 0 25px rgba(0, 0, 0, 0.05);
  line-height: 1.7;
  font-family: "Poppins", sans-serif;
  text-align: left;
  z-index: 2;
}

/* compensar efeitos visuais do wrapper da animação */
.animation-container-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center !important;
  justify-content: flex-start !important;
  padding-top: 60px;
}

/* títulos */
.termos-condicoes h1 {
  font-size: 2rem;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.termos-condicoes h2 {
  font-size: 1.2rem;
  margin-top: 35px;
  color: #444;
}

/* links */
.termos-condicoes a {
  color: #111;
  text-decoration: underline;
}

/* melhorar espaçamento no fim */
.termos-condicoes p:last-child {
  margin-bottom: 0;
}











/* ---------- SECÇÃO DE PRODUTO COM GALERIA MAIOR ---------- */

.produto {
  display: flex;
  justify-content: center;
  padding: 80px 20px;
  margin-top: 100px;
}

.produto-container {
  max-width: 1150px; /* ligeiramente mais largo */
  width: 100%;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 80px;
}

/* --- GALERIA --- */
.galeria {
  position: relative;
  width: 100%;
  max-width: 550px; /* imagem principal maior */
}

.galeria .imagem-principal {
  width: 100%;
  border-radius: 6px;
  transition: opacity 0.3s ease;
}

.galeria .imagem-principal.fade {
  opacity: 0.4;
}

.miniaturas {
  position: absolute;
  top: 15px;
  right: 15px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.miniatura {
  width: 90px;
  height: 90px;
  object-fit: cover;
  border-radius: 4px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: border 0.2s ease, transform 0.2s ease;
}

.miniatura:hover {
  border: 2px solid #000;
  transform: scale(1.05);
}

/* --- Detalhes do produto --- */
.produto-detalhes {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.produto-nome {
  font-size: 2.2rem;
  font-weight: 600;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  margin-bottom: 15px;
}

.produto-descricao {
  font-size: 1rem;
  line-height: 1.7;
  color: #444;
  max-width: 520px;
  margin-bottom: 30px;
}

.produto-opcoes {
  margin-bottom: 25px;
}

.produto-opcoes label {
  font-weight: 500;
  margin-right: 10px;
}

.produto-opcoes select {
  padding: 8px 14px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-family: inherit;
  background-color: #f9f9f9;
}

.btn-comprar {
  background: #000;
  color: #fff;
  border: none;
  padding: 14px 28px;
  border-radius: 4px;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.3s ease;
  width: fit-content;
}

.btn-comprar:hover {
  opacity: 0.85;
}

.produto-info-extra {
  margin-top: 25px;
  font-size: 0.85rem;
  color: #666;
}

/* ---------- RESPONSIVO ---------- */
@media (max-width: 900px) {
  .produto-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 50px;
  }

  .produto-detalhes {
    align-items: center;
  }

  .btn-comprar {
    width: 100%;
  }

  .galeria {
    max-width: 100%;
  }

  .miniaturas {
    flex-direction: row;
    position: relative;
    justify-content: center;
    top: 10px;
    right: 0;
    margin-top: 10px;
  }

  .miniatura {
    width: 80px;
    height: 80px;
  }
}









.sobre-nos-section {
  padding: 8rem 5%;
  background: #fff;
  color: #111;
  text-align: center;
}

.sobre-titulo {
  font-size: 3rem;
  margin-bottom: 2rem;
  letter-spacing: 1px;
}

.sobre-texto {
  max-width: 800px;
  margin: 1rem auto;
  line-height: 1.7;
  font-size: 1.1rem;
}

.sobre-imagens {
  margin-top: 3rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}

.sobre-img {
  width: 300px;
  border-radius: 8px;
}







/* === PRODUTOS === */
.produtos-section {
  padding: 8rem 5%;
  background: #fff;
  text-align: center;
}

.produtos-titulo {
  font-size: 3rem;
  margin-bottom: 4rem;
  letter-spacing: 1px;
}

.produtos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  justify-items: center;
}

.produto-card {
  position: relative;
  width: 220px;
  cursor: pointer;
  overflow: hidden;
  border-radius: 8px;
  transition: transform 0.3s ease;
}

.produto-card:hover {
  transform: translateY(-5px);
}

.produto-img {
  width: 100%;
  display: block;
  transition: opacity 0.4s ease;
}

.produto-img.hover {
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
}

.produto-card:hover .produto-img.hover {
  opacity: 1;
}

.produto-card:hover .produto-img.normal {
  opacity: 0;
}

.produto-nome {
  font-size: 1.1rem;
  margin-top: 0.8rem;
  letter-spacing: 0.5px;
}

/* ===== TABELA DE MEDIDAS ===== */
.produto-preco {
  font-size: 1.6rem;
  font-weight: 600;
  margin-bottom: 20px;
}

.tabela-medidas {
  margin-top: 40px;
  width: 100%;
  max-width: 600px;
  background: #fafafa;
  padding: 25px 20px;
  border-radius: 10px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
}

.tabela-titulo {
  text-transform: uppercase;
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 20px;
  letter-spacing: 0.5px;
  color: #111;
  text-align: center;
}

.tabela-wrapper {
  overflow-x: auto;
}

.tabela-tamanhos {
  width: 100%;
  border-collapse: collapse;
  text-align: center;
  font-size: 0.9rem;
}

.tabela-tamanhos th {
  background-color: #000;
  color: #fff;
  padding: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.tabela-tamanhos td {
  padding: 8px;
  color: #333;
  border-bottom: 1px solid #e0e0e0;
}

.tabela-tamanhos tr:nth-child(even) {
  background-color: #f8f8f8;
}

.tabela-tamanhos tr:hover {
  background-color: #efefef;
  transition: background 0.3s ease;
}

.tabela-tamanhos th:first-child,
.tabela-tamanhos td:first-child {
  text-align: left;
  font-weight: 600;
  color: #111;
}


/* ==== AJUSTE VISUAL DA TABELA DE MEDIDAS ==== */
.tabela-medidas {
  width: 100%;
  overflow-x: auto;
  margin-top: 30px;
}

.tabela-medidas table {
  width: 100%;
  min-width: 520px; /* garante largura mínima */
  border-collapse: collapse;
  border-spacing: 0; /* evita duplas linhas */
  text-align: center;
  font-size: 0.9rem;
}

.tabela-medidas th,
.tabela-medidas td {
  padding: 10px 15px; /* espaçamento generoso */
  border-bottom: 1px solid #ddd; /* linha subtil para separar */
}

.tabela-medidas th {
  background-color: #f8f8f8; /* destaque de cabeçalho */
  font-weight: 600;
}

.tabela-medidas td:first-child {
  text-align: left;
  font-weight: 500;
  color: #222;
}

/* === Mobile Friendly === */
@media (max-width: 700px) {
  .tabela-medidas table {
    font-size: 0.8rem;
  }

  .tabela-medidas th,
  .tabela-medidas td {
    padding: 8px 10px; /* reduz padding mas mantém espaço */
  }

  .tabela-medidas thead th {
    font-size: 0.75rem;
  }

  .tabela-medidas {
    -webkit-overflow-scrolling: touch; /* scroll suave no iOS */
  }
}

/* ======== TABELA DE MEDIDAS — AJUSTADA PARA MOBILE ======== */

.tabela-medidas-wrapper {
  width: 100%;
  margin-top: 20px;
}

.tabela-medidas {
  width: 100%;
  overflow-x: auto;
  margin-top: 15px;
  display: none;
  transition: max-height 0.3s ease, opacity 0.3s ease;
  max-height: 0;
  opacity: 0;
}

.tabela-medidas.active {
  display: block;
  max-height: 1000px;
  opacity: 1;
}

.toggle-tabela {
  background: #000;
  color: #fff;
  padding: 12px 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  text-transform: uppercase;
  font-weight: 600;
  font-size: 0.9rem;
  transition: background 0.3s ease, transform 0.2s ease;
}

.toggle-tabela:hover {
  background: #333;
  transform: scale(1.03);
}

/* === TABELA INTERNA === */
.tabela-medidas table {
  width: 100%;
  border-collapse: collapse;
  text-align: center;
  font-size: 0.9rem;
  border: 1px solid #e2e2e2;
}

.tabela-medidas th,
.tabela-medidas td {
  padding: 10px 14px;
  border-bottom: 1px solid #ddd;
}

.tabela-medidas th {
  background-color: #f8f8f8;
  font-weight: 600;
  white-space: nowrap;
}

.tabela-medidas tr:nth-child(even) {
  background-color: #fafafa;
}

.tabela-medidas td:first-child {
  text-align: left;
  font-weight: bold;
  background-color: #f5f5f5;
  white-space: nowrap;
}

/* === MOBILE FIX === */
@media (max-width: 700px) {
  .tabela-medidas {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .tabela-medidas table {
    width: 100%;
    max-width: 100%;
    min-width: 400px; /* reduzimos muito a largura mínima */
    font-size: 0.8rem;
  }

  .tabela-medidas th,
  .tabela-medidas td {
    padding: 8px 10px;
  }

  .toggle-tabela {
    width: 100%;
    font-size: 0.85rem;
  }
}