/* Reset e configurações gerais */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Montserrat', sans-serif; color: #000; background: #fff; line-height: 1.6; min-height: 100vh; display: flex; flex-direction: column; }

/* Cabeçalho */
header { display: flex; flex-direction: column; align-items: center; padding-top: 40px !important; padding-bottom: 0 !important; margin: 0 !important; border: 0; position: fixed; top: 0; left: 0; width: 100%; z-index: 1000; background: rgba(255, 255, 255, 0.98); transition: all 0.3s ease; }
.logo-container { text-align: center; margin-bottom: 10px; }
.site-title { font-size: 2.8rem; text-decoration: none; color: #000; display: inline-block; font-weight: 800; text-shadow: 0.5px 0.5px 0 #000, -0.5px -0.5px 0 #000, 0.5px -0.5px 0 #000, -0.5px 0.5px 0 #000; margin-top: 25px; margin-bottom: 8px; line-height: 1; letter-spacing: -1px; }
.dropdown-container { position: relative; text-align: center; margin-top: 5px; }
.dropdown-icon { background: none; border: none; font-size: 1.8rem; cursor: pointer; color: #000; padding: 8px; transition: all 0.3s ease; display: inline-flex; align-items: center; justify-content: center; width: 50px; height: 50px; border-radius: 50%; }
.dropdown-icon:hover { background: #f5f5f5; transform: translateY(-2px); }
.dropdown-menu { position: absolute; top: 100%; left: 50%; transform: translateX(-50%) translateY(10px); background: #fff; border: 1px solid #eee; box-shadow: 0 10px 30px rgba(0,0,0,0.08); min-width: 200px; opacity: 0; visibility: hidden; transition: all 0.3s ease; z-index: 1001; }
.dropdown-container:hover .dropdown-menu { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.dropdown-menu a { display: block; padding: 15px 25px; text-decoration: none; color: #000; font-weight: 400; border-bottom: 1px solid #f5f5f5; transition: all 0.2s ease; text-align: center; }
.dropdown-menu a:last-child { border-bottom: none; }
.dropdown-menu a:hover { background: #f9f9f9; padding-left: 30px; }

/* Conteúdo principal */
main { flex: 1; padding: 180px 30px 100px; max-width: 1400px; margin: 0 auto; width: 100%; }
.page-title { font-weight: 600; font-size: 2.8rem; margin-bottom: 60px; letter-spacing: -1.5px; text-align: center; }

/* Grid de produtos */
.products-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 60px; margin-top: 40px; }
.product-item { position: relative; text-decoration: none; color: inherit; display: block; overflow: hidden; cursor: pointer; }
.product-image { width: 100%; height: 400px; background: #f5f5f5; overflow: hidden; position: relative; }
.product-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1); }
.product-item:hover .product-image img { transform: scale(1.05); }

/* Overlay do nome do produto */
.product-overlay { position: absolute; bottom: 0; left: 0; right: 0; background: rgba(255, 255, 255, 0.92); padding: 25px; transform: translateY(100%); transition: transform 0.5s cubic-bezier(0.165, 0.84, 0.44, 1); text-align: center; pointer-events: none; }
.product-item:hover .product-overlay { transform: translateY(0); }
.product-name { font-weight: 600; font-size: 1.3rem; margin-bottom: 8px; }
.product-price { font-weight: 400; color: #666; font-size: 1.1rem; }

/* Rodapé */
footer { background: #f9f9f9; padding: 50px 30px; text-align: center; font-weight: 300; margin-top: auto; border-top: 1px solid #eee; }
.footer-content { max-width: 1400px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; gap: 30px; }
.social-icons { display: flex; gap: 30px; margin: 20px 0; }
.social-icon { display: flex; align-items: center; justify-content: center; width: 50px; height: 50px; border-radius: 50%; background: #000; color: #fff; text-decoration: none; font-size: 1.5rem; transition: all 0.3s ease; border: 1px solid #000; }
.social-icon:hover { transform: translateY(-5px); box-shadow: 0 10px 20px rgba(0,0,0,0.1); background: #fff; color: #000; }
.copyright { font-size: 0.9rem; color: #777; margin-top: 20px; }
.contact-info { font-size: 0.9rem; color: #666; margin-top: 10px; }

/* Página do produto (simulação) */
.product-detail { max-width: 1200px; margin: 0 auto; }
.product-detail-image { width: 100%; height: 600px; background: #f5f5f5; margin-bottom: 50px; overflow: hidden; }
.product-detail-image img { width: 100%; height: 100%; object-fit: cover; }
.product-info { max-width: 800px; margin: 0 auto; }
.product-title { font-weight: 600; font-size: 2.5rem; margin-bottom: 20px; }
.product-price-large { font-weight: 400; font-size: 1.8rem; color: #666; margin-bottom: 40px; display: block; }
.specs-section { margin-bottom: 50px; }
.specs-title { font-weight: 600; font-size: 1.3rem; margin-bottom: 20px; padding-bottom: 10px; border-bottom: 1px solid #eee; }
.specs-list { list-style: none; }
.specs-list li { padding: 12px 0; border-bottom: 1px solid #f5f5f5; display: flex; justify-content: space-between; }
.specs-list li:last-child { border-bottom: none; }
.spec-name { font-weight: 400; color: #666; }
.spec-value { font-weight: 400; }
.back-button { display: inline-block; padding: 15px 30px; background: #000; color: #fff; text-decoration: none; font-weight: 400; margin-top: 30px; transition: all 0.3s ease; border: none; cursor: pointer; }
.back-button:hover { background: #333; transform: translateY(-2px); }

/* Responsividade */
@media (max-width: 1024px) {
    .products-grid { grid-template-columns: repeat(2, 1fr); gap: 50px; }
}
@media (max-width: 768px) {
    .products-grid { grid-template-columns: 1fr; gap: 60px; }
    header { padding: 15px 25px 10px; }
    .site-title { font-size: 1.8rem; margin-bottom: 10px; }
    main { padding: 160px 20px 80px; }
    .page-title { font-size: 2.2rem; margin-bottom: 50px; }
    .product-image { height: 350px; }
    .product-detail-image { height: 450px; }
    .product-title { font-size: 2rem; }
    .dropdown-icon { width: 45px; height: 45px; font-size: 1.6rem; }
    .social-icons { gap: 20px; }
    .social-icon { width: 45px; height: 45px; font-size: 1.3rem; }
}
@media (max-width: 480px) {
    .products-grid { gap: 50px; }
    .product-image { height: 300px; }
    .page-title { font-size: 1.8rem; }
    .product-detail-image { height: 350px; }
    .product-title { font-size: 1.6rem; }
    .product-price-large { font-size: 1.4rem; }
    .dropdown-icon { width: 40px; height: 40px; font-size: 1.4rem; }
    .social-icons { gap: 15px; flex-wrap: wrap; justify-content: center; }
    .social-icon { width: 40px; height: 40px; font-size: 1.2rem; }
}

/* =========================================
   ESTILOS DA PÁGINA SOBRE (CORRIGIDO E CENTRALIZADO)
   ========================================= */

/* Container principal da página - Mantém tudo no meio da tela */
.about-page { 
    max-width: 1000px; 
    margin: 0 auto; /* O comando principal que centraliza a página */
    padding: 150px 30px 100px; 
    width: 100%; 
    box-sizing: border-box;
}

/* Configuração da Imagem com Bordas */
.about-hero-image { 
    width: 100%; 
    height: 450px; 
    margin: 0 auto 50px auto; /* Centraliza a caixa da imagem */
    border: 5px solid #d3d3d3; /* Cria a borda cinza (pode mudar a cor aqui) */
    border-radius: 6px; /* Arredonda levemente os cantos da borda */
    overflow: hidden; 
    box-shadow: 0 8px 20px rgba(0,0,0,0.1); /* Dá um leve destaque na tela */
}

.about-hero-image img { 
    width: 100%; 
    height: 100%; 
    object-fit: cover; 
    object-position: center; /* Garante que o meio da foto apareça */
}

/* Container que segura o Título e os Textos */
.about-content { 
    max-width: 800px; 
    margin: 0 auto; /* Força o bloco de texto a ficar centralizado abaixo da imagem */
    display: flex;
    flex-direction: column;
    align-items: center; /* Centraliza o título SOBRE e o Botão */
}

/* Título */
.about-title { 
    font-weight: 800; 
    font-size: 2.2rem; 
    margin-bottom: 30px; 
    text-align: center; /* Centraliza a palavra */
    width: 100%;
}

/* Parágrafos de texto */
.about-text { 
    width: 100%;
}

.about-text p { 
    margin-bottom: 25px; 
    text-align: justify; /* Deixa o texto alinhado perfeitamente dos dois lados */
    font-weight: 400; 
    font-size: 1.05rem; 
    line-height: 1.8; 
    color: #333; 
}

/* Botão de voltar (centralizado automaticamente pelo align-items do .about-content) */
.back-button { 
    display: inline-flex; 
    align-items: center; 
    gap: 10px; 
    padding: 15px 30px; 
    background: #000; 
    color: #fff; 
    text-decoration: none; 
    font-weight: 600; 
    border-radius: 4px; 
    margin-top: 40px; 
    transition: 0.3s ease; 
}

.back-button:hover { 
    background: #444; 
}