/* === 1. CONFIGURAÇÕES GERAIS E VARIÁVEIS === */
:root {
    --primary-color: #000543;
    --secondary-color: #f0f4ff;
    --text-dark: #333333;
    --text-light: #666666;
    --white-color: #ffffff;
    --border-color: #e0e0e0;
    --header-height: 80px;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'Poppins', sans-serif; line-height: 1.6; color: var(--text-dark); background-color: var(--white-color); }
.container { width: 90%; max-width: 1200px; margin: 0 auto; }
h1, h2, h3, h4, h5, h6 {
    font-weight: 600; /* Define um peso padrão para todos os títulos */
    line-height: 1.3;
    color: var(--text-dark);
}
h1 { font-size: 2.8rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }

/* Fim do novo código */

/* === 2. COMPONENTES GERAIS (Botões, etc.) === */
.btn { display: inline-block; padding: 12px 28px; border-radius: 5px; text-decoration: none; font-weight: 600; transition: all 0.3s ease; text-align: center; }
.btn-primary { background-color: var(--primary-color); color: var(--white-color); border: 2px solid var(--primary-color); }
.btn-primary:hover { background-color: #000431; border-color: #000431; }
.btn-secondary { background-color: var(--primary-color); color: var(--white-color); border: 2px solid var(--primary-color); }
.btn-secondary:hover { background-color: var(--primary-color); border-color: var(--secondary-color); }
.btn-primary-outline { background-color: transparent; color: var(--white-color); border: 2px solid var(--white-color); }
.btn-primary-outline:hover { background-color: var(--white-color); color: var(--primary-color); }
.btn-full { width: 100%; padding: 1rem; font-size: 1.1rem; }

/* === 3. CABEÇALHO E NAVEGAÇÃO === */
.header { background-color: var(--white-color); display: flex; align-items: center; position: sticky; top: 0; z-index: 1000; box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05); padding: 10px 0px;}
.nav-container { display: flex; justify-content: space-between; align-items: center; }
.logo img { height: 80px; display: block; }
.nav-links { list-style: none; display: flex; gap: 2.5rem; }
.nav-links a { color: var(--text-dark); text-decoration: none; font-weight: 500; position: relative; padding-bottom: 5px; }
.nav-links a::after { content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 2px; background-color: var(--primary-color); transition: width 0.3s ease; }
.nav-links a:hover::after { width: 100%; }
.menu-toggle { display: none; font-size: 2rem; background: none; border: none; cursor: pointer; color: var(--primary-color); }

/* === 4. ESTILOS DA PÁGINA INICIAL=== */
.hero { background: url('../img/hero-bg.webp') no-repeat center center/cover; color: var(--white-color); position: relative; }
.hero-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(0, 5, 67, 0.8); }
.hero-content { position: relative; z-index: 2; padding: 6rem 0; display: flex; align-items: center; gap: 2rem; }
.hero-text { flex: 1; }
.hero-text h1 { font-size: 3.5rem; line-height: 1.2; margin-bottom: 1rem; font-weight: 700; }
.hero-text p { font-size: 1.1rem; margin-bottom: 2rem; max-width: 550px; }
.hero-features { list-style: none; margin-bottom: 2.5rem; }
.hero-features li { margin-bottom: 0.75rem; font-weight: 500; }
.hero-buttons { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; background: rgba(255, 255, 255, 0.1); padding: 2rem; border-radius: 10px; backdrop-filter: blur(5px); }
.stat-card { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; background: rgba(255, 255, 255, 0.1); padding: 1rem; border-radius: 8px; }
.stat-number { font-size: 2.2rem; font-weight: 700; }
.stat-label { font-size: 0.9rem; }
.why-choose-us { padding: 6rem 0; background-color: var(--secondary-color); }
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 2rem; margin-top: 20px;}
.feature-card { background-color: var(--white-color); padding: 2rem; border-radius: 10px; text-align: center; border: 1px solid var(--border-color); transition: transform 0.3s ease, box-shadow 0.3s ease; }
.feature-card:hover { transform: translateY(-10px); box-shadow: 0 10px 20px rgba(0, 0, 0, 0.07); }
.feature-icon { display: inline-flex; justify-content: center; align-items: center; width: 60px; height: 60px; border-radius: 50%; background-color: var(--primary-color); color: var(--white-color); margin-bottom: 1.5rem; }
.feature-icon svg { width: 30px; height: 30px; }
.feature-card h3 { font-size: 1.25rem; margin-bottom: 0.5rem; }
.feature-card p { color: var(--text-light); }
.cta { background-color: var(--primary-color); color: var(--white-color); padding: 5rem 0; text-align: center; }
.cta-main { margin-bottom: 4rem; }
.cta h2 { font-size: 2.5rem; font-weight: 700; margin-bottom: 1rem; }
.cta .cta-main p { font-size: 1.1rem; max-width: 600px; margin: 0 auto 2.5rem auto; opacity: 0.9; }
.cta-features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; border-top: 1px solid rgba(255, 255, 255, 0.2); padding-top: 4rem; }
.cta-feature-item { text-align: center; }
.cta-icon { margin: 0 auto 1.5rem auto; display: flex; align-items: center; justify-content: center; width: 60px; height: 60px; border-radius: 50%; background-color: rgba(255, 255, 255, 0.1); }
.cta-icon svg { width: 30px; height: 30px; color: var(--white-color); }
.cta-feature-item h3 { font-size: 1.2rem; margin-bottom: 0.5rem; font-weight: 600; }
.cta-feature-item p { font-size: 0.9rem; opacity: 0.8; }
.footer { background-color: #111; color: var(--white-color); text-align: center; padding: 1.5rem 0; }
.footer p { opacity: 0.7; font-size: 0.85rem; }

/* === 5. ESTILOS DA PÁGINA DE LISTAGEM DE PRODUTOS === */
.page-header { background-color: var(--primary-color); color: var(--white-color); padding: 3rem 0; text-align: center; }
.page-header h1 { font-size: 2.8rem; font-weight: 700; margin-bottom: 0.5rem; }
.page-header p { font-size: 1.1rem; opacity: 0.9; }
.products-section { padding: 4rem 0; }
.products-container { display: grid; grid-template-columns: 2fr 1fr; gap: 3rem; align-items: flex-start; }
.products-controls { display: flex; gap: 1rem; margin-bottom: 2rem; }
#search-input { width: 100%; padding: 0.8rem 1rem; border: 1px solid var(--border-color); border-radius: 5px; font-size: 1rem; }
.filter-btn { padding: 0.8rem 1.5rem; background-color: var(--white-color); border: 1px solid var(--border-color); border-radius: 5px; cursor: pointer; display: flex; align-items: center; gap: 0.5rem; font-weight: 500; white-space: nowrap; }
.products-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
.product-card { background-color: var(--white-color); border: 1px solid var(--border-color); border-radius: 8px; padding: 1.5rem; transition: box-shadow 0.3s ease; }
.product-card:hover { box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08); }
.product-card-header { display: flex; justify-content: space-between; align-items: flex-start; border-bottom: 1px solid var(--border-color); padding-bottom: 1rem; margin-bottom: 1rem; }
.product-card-header h3 { font-size: 1.25rem; color: var(--primary-color); font-weight: 600; }
.product-card-header h3 a { color: inherit; text-decoration: none; }
.product-card-header h3 a:hover { text-decoration: underline; }
.product-card-header p { color: var(--text-light); font-size: 1rem; margin: 0; }
.product-card-chip { background-color: var(--secondary-color); color: var(--primary-color); font-size: 0.8rem; font-weight: 600; padding: 0.25rem 0.75rem; border-radius: 20px; white-space: nowrap; }
.product-card-details { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 1.5rem; }
.detail-item strong { display: block; color: var(--text-dark); font-weight: 500; font-size: 0.9rem; }
.detail-item span { color: var(--text-light); }
.product-card-footer { margin-top: 1rem; }
.quote-btn-list { background: none; border: none; color: var(--primary-color); font-weight: 600; cursor: pointer; font-size: 1rem; }
.quote-btn-list:hover { text-decoration: underline; }
.sticky-form { position: sticky; top: calc(var(--header-height) + 2rem); border: 1px solid var(--border-color); border-radius: 8px; padding: 2rem; }
.sticky-form h3 { font-size: 1.5rem; color: var(--text-dark); margin-bottom: 0.5rem; }
.sticky-form p { color: var(--text-light); margin-bottom: 2rem; }
.form-group { margin-bottom: 1.5rem; }
.form-group label { display: block; font-weight: 500; margin-bottom: 0.5rem; font-size: 0.9rem; }
.form-group input, .form-group textarea { width: 100%; padding: 0.8rem; border: 1px solid var(--border-color); border-radius: 5px; font-size: 1rem; }
.form-group input:focus, .form-group textarea:focus { outline: 2px solid var(--primary-color); border-color: var(--primary-color); }
.form-group input[readonly] { background-color: var(--secondary-color); cursor: default; }
.sticky-form small { display: block; text-align: center; margin-top: 1rem; color: var(--text-light); }

/* === 6. ESTILOS DA PÁGINA DE DETALHES DO PRODUTO (CORRIGIDO) === */
.product-detail-layout { display: grid; grid-template-columns: 2fr 1fr; gap: 3rem; align-items: flex-start; padding: 4rem 0; }
.product-intro { display: flex; gap: 2.5rem; margin-bottom: 3rem; align-items: flex-start; }
.product-image-container { flex: 0 0 40%; max-width: 300px; }
.product-image-container img { width: 100%; height: auto; border-radius: 8px; border: 1px solid var(--border-color); }
.product-main-info { flex: 1; }
.product-main-info h2 { font-size: 2.2rem; font-weight: 600; color: var(--primary-color); margin-bottom: 1.5rem; line-height: 1.2; }
.technical-data h3 { font-size: 1.2rem; color: var(--text-dark); margin-bottom: 1rem; padding-bottom: 0.5rem; border-bottom: 1px solid var(--border-color); }
.technical-data-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.technical-data p { font-size: 1rem; margin: 0; }
.technical-data strong { display: block; color: var(--text-dark); font-size: 0.9rem; margin-bottom: 0.25rem; }
.product-description { border-top: 1px solid var(--border-color); padding-top: 2rem; }
.product-description h3 { font-size: 1.5rem; color: var(--primary-color); margin-bottom: 1rem; }
.product-description p { color: var(--text-light); line-height: 1.8; }

/* === 7. RESPONSIVIDADE === */
@media (max-width: 1024px) {
    .hero-content { flex-direction: column; text-align: center; }
    .hero-content { padding: 3rem 0;}
    .hero-text p { margin: 0 auto 2rem auto; }
    .hero-features { text-align: left; display: inline-block; margin: 0 auto 2.5rem auto; }
    .hero-buttons { justify-content: center; }
}
@media (max-width: 992px) {
    .products-container, .product-detail-layout { grid-template-columns: 1fr; }
    .sticky-form { position: static; margin-top: 3rem; }
}
@media (max-width: 768px) {
    .section-title, .cta h2 { font-size: 2rem; }
    .hero-text h1 { font-size: 2.8rem; }
    .nav-links { 
        display: none; 
        flex-direction: column; 
        position: absolute; 
        top: var(--header-height); 
        right: 0; 
        width: 100%; 
        background-color: var(--white-color); 
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); 
        padding: 0.5rem 0; /* Reduzido para um visual mais compacto */
        text-align: center;
        gap: 0; /* <<< ADICIONADO PARA CORRIGIR O ESPAÇAMENTO PRINCIPAL */
    }
    .nav-links.active { display: flex; }
    .nav-links li { 
        padding: 0.75rem 1rem; /* <<< AJUSTADO PARA UM ESPAÇAMENTO MELHOR */
        width: 100%;
    }
    .menu-toggle { display: block; }
    .header .btn-primary { display: none; }
    .hero-stats { grid-template-columns: 1fr 1fr; }
    .cta-features { grid-template-columns: 1fr; border-top: none; padding-top: 0; }
    .cta-main { margin-bottom: 3rem; }
    .cta-feature-item { border-top: 1px solid rgba(255, 255, 255, 0.2); padding-top: 2rem; margin-top: 2rem; }
    .cta-feature-item:first-child { margin-top: 0; border-top: none; padding-top: 0; }
    .product-intro { flex-direction: column; }
    .product-image-container { max-width: 100%; }
}
@media (max-width: 480px) {
    .hero-text h1 { font-size: 2.2rem; }
    .hero-stats { 
        grid-template-columns: 1fr 1fr; /* <<< AQUI ESTÁ A MUDANÇA */
    }
    .hero-buttons { flex-direction: column; }
    .technical-data-grid { grid-template-columns: 1fr; }
}
/* === 8. ESTILOS DA PÁGINA SOBRE NÓS === */

.about-intro-section {
    padding: 4rem 0;
}

.about-intro-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-text h2 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.about-text p {
    color: var(--text-light);
    margin-bottom: 1rem;
    line-height: 1.8;
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.mvv-section {
    background-color: var(--secondary-color);
    padding: 4rem 0;
}

.mvv-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.mvv-card {
    background-color: var(--white-color);
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    text-align: center;
}

.mvv-card h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.mvv-card p {
    color: var(--text-light);
}

/* Responsividade da página Sobre */
@media (max-width: 992px) {
    .about-intro-content {
        grid-template-columns: 1fr;
    }
    .mvv-grid {
        grid-template-columns: 1fr;
    }
}
/* === 9. ESTILOS DA PÁGINA DE CONTATO === */
.contact-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    padding: 4rem 0;
    align-items: flex-start;
}

.contact-info h2 {
    font-size: 2rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.contact-info > p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 2.5rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.contact-item svg {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    color: var(--primary-color);
    margin-top: 5px;
}

.contact-item strong {
    display: block;
    font-size: 1.1rem;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
}

.contact-item p,
.contact-item a {
    font-size: 1rem;
    color: var(--text-light);
    text-decoration: none;
}

.contact-item a:hover {
    text-decoration: underline;
    color: var(--primary-color);
}

/* Responsividade da página de Contato */
@media (max-width: 992px) {
    .contact-section {
        grid-template-columns: 1fr;
    }
    .page-header {
    padding: 2rem 0;    
    }
    .page-header h1 {
    font-size: 2.2rem;
    }
    
}
/* Oculta os breadcrumbs (menu de navegação) da página de produto */
.breadcrumbs {
    display: none !important;
}
/* === ESTILOS PARA IMPRESSÃO DA FICHA TÉCNICA === */
@media print {

    /* Esconde elementos desnecessários */
    .header,
    .footer,
    .quote-form-container,
    .breadcrumbs,
    .related-products,
    .product-actions {
        display: none !important;
    }

    /* Ajusta o layout principal para ocupar a página inteira */
    .product-detail-layout {
        display: block;
    }

    /* Garante que a fonte seja preta e o fundo branco para economizar tinta */
    body, .page-header, .product-card, .technical-data {
        background: #ffffff !important;
        color: #000000 !important;
    }

    /* Remove sombras e bordas desnecessárias */
    .product-image-container, .technical-data {
        border: 1px solid #ccc !important;
        box-shadow: none !important;
    }

    .page-header {
        padding: 1rem 0;
        text-align: left;
    }

    /* Garante que os links não apareçam azuis e sublinhados */
    a {
        text-decoration: none !important;
        color: inherit !important;
    }
}
/* === 10. ESTILOS DA PÁGINA DE ERRO 404 === */
 .error-page-container {
     display: flex;
     flex-direction: column; /* Para alinhar os itens verticalmente */
     align-items: center;
     justify-content: center;
     text-align: center;
     padding: 4rem 1rem; /* Aumentei o padding top e bottom */
     min-height: calc(100vh - var(--header-height) - 100px); /* Mantém o mínimo para centralizar */
 }

 .error-content {
     margin-bottom: 2rem; /* Adicionado espaço abaixo do conteúdo principal */
 }

 .error-content h1 {
     font-size: 8rem;
     font-weight: 700;
     color: var(--primary-color);
     line-height: 1;
     margin-bottom: 0;
 }

 .error-content h2 {
     font-size: 2rem;
     font-weight: 600;
     color: var(--text-dark);
     margin-bottom: 1rem;
 }

 .error-content p {
     color: var(--text-light);
     max-width: 450px;
     margin: 0 auto 2.5rem auto;
 }

 .error-actions {
     display: flex;
     justify-content: center;
     gap: 1rem;
     flex-wrap: wrap;
 }

 .error-actions a {
     display: inline-block; /* Garante espaçamento correto entre os botões */
 }

 .error-actions .btn-secondary {
     border-color: var(--primary-color);
     color: #ffffff;
 }
 .error-actions .btn-secondary:hover {
     background-color: var(--secondary-color);
     color: var(--primary-color);
 }
 /* === 11. ESTILOS DA PÁGINA DE OBRIGADO === */
.thank-you-container {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 5rem 1rem;
    min-height: calc(100vh - var(--header-height) - 100px);
}

.thank-you-content h2 {
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.thank-you-content p {
    color: var(--text-light);
    max-width: 450px;
    margin: 0 auto 2.5rem auto;
    font-size: 1.1rem;
}

.thank-you-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.thank-you-actions .btn-secondary {
    border-color: var(--primary-color);
    color: var(--primary-color);
}
.thank-you-actions .btn-secondary:hover {
    background-color: var(--secondary-color);
}
/* Estilo para o link "Ver Produto" nos cards da lista */
.btn-ver-produto {
    color: var(--primary-color);
    font-family: 'Poppins', sans-serif;
    font-weight: 600; /* Deixa a fonte mais grossa */
    text-decoration: none; /* Remove o sublinhado padrão */
    background-color: transparent;
    padding: 0.5rem; /* Adiciona uma pequena área de clique para facilitar */
    margin-left: -0.5rem; /* Compensa o padding para alinhar visualmente */
    border-radius: 5px;
    transition: all 0.2s ease-in-out;
}

.btn-ver-produto:hover {
    text-decoration: underline; /* Adiciona sublinhado ao passar o mouse */
    background-color: var(--secondary-color); /* Adiciona um leve destaque ao passar o mouse */
}

/* --- Banner Padrão para Páginas Internas --- */
        .page-header-banner {
            background-color: #000033; /* Cor azul escuro do seu header */
            color: #ffffff;
            padding: 50px 10px;
            text-align: center;
        }

        .page-header-banner h1 {
            font-size: 3em;
            font-weight: 700;
            margin: 0;
            color: #ffffff; /* Garante a cor branca */
        }

        .page-header-banner .subtitle {
            font-size: 1.2em;
            font-weight: 400;
            margin-top: 10px;
            opacity: 0.9;
        }

        /* --- Estrutura Principal da Página de Velas --- */
        .vela-page-container {
            display: flex;
            flex-wrap: wrap;
            gap: 40px;
        }

        .vela-main-content {
            flex: 2; 
            min-width: 300px;
        }

        .vela-sidebar {
            flex: 1;
            min-width: 280px;
        }

        /* --- Estilos do Conteúdo Principal --- */
        .vela-main-content h2 {
            font-size: 1.8em;
            font-weight: 600;
            color: #333;
            margin-top: 30px;
            margin-bottom: 20px;
            border-bottom: 2px solid #f0f0f0;
            padding-bottom: 8px;
        }

        .vela-intro {
            font-size: 1.1em;
            line-height: 1.6;
            color: #555;
            margin-bottom: 25px;
        }

        /* --- Grade de Cores --- */
        .vela-colors-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
            gap: 25px 15px;
            margin: 25px 0;
            text-align: center;
        }

        .vela-color-item {
            display: flex;
            flex-direction: column;
            align-items: center;
        }

        .vela-color-swatch {
            width: 90px;
            height: 90px;
            border-radius: 8px; /* Quadrados com cantos arredondados */
            box-shadow: 0 4px 8px rgba(0,0,0,0.08);
            margin-bottom: 10px;
        }

        .vela-color-name {
            font-weight: 500;
            color: #444;
            font-size: 0.9em;
        }

        /* --- Container e Formulário na Sidebar (Padrão do Site) --- */
        .vela-form-container {
            background-color: #f7f7f7;
            padding: 30px;
            border-radius: 8px;
            border: 1px solid #e9e9e9;
            position: sticky;
            top: 40px;
        }

        .vela-form-container h3 {
            margin-top: 0;
            font-size: 1.6em;
            font-weight: 600;
            text-align: left;
            color: #333;
        }

        .vela-form-container p {
            text-align: left;
            margin-bottom: 25px;
            font-size: 1em;
            color: #666;
        }

        #vela-contact-form label {
            display: block;
            margin-bottom: 5px;
            font-weight: 500;
            font-size: 0.9em;
            color: #555;
        }

        #vela-contact-form input[type="text"],
        #vela-contact-form input[type="email"],
        #vela-contact-form input[type="tel"],
        #vela-contact-form textarea {
            width: 100%;
            padding: 12px;
            margin-bottom: 15px;
            border: 1px solid #ccc;
            border-radius: 4px;
            box-sizing: border-box;
            font-size: 1em;
            font-family: 'Poppins', sans-serif;
        }

        #vela-contact-form button {
            width: 100%;
            padding: 15px;
            background-color: var(--primary-color);
            color: white;
            border: none;
            border-radius: 5px;
            font-size: 16px;
            font-weight: bold;
            cursor: pointer;
            transition: background-color 0.3s ease;
            font-family: 'Poppins', sans-serif;
        }

        #vela-contact-form button:hover {
            background-color: var(--primary-color);
        }
        
        .page-section {
            padding: 50px 0;
        }

        /* --- Ajustes para Telas Menores (Responsividade) --- */
        @media (max-width: 992px) {
            .vela-page-container {
                flex-direction: column;
            }
            .vela-sidebar {
                margin-top: 30px;
            }
            .vela-main-content {
                padding-left: 5px;
                padding-right: 5px;
                box-sizing: border-box; /* Boa prática para o padding não afetar a largura total */
            }
        }
        @media (max-width: 768px) {
            .page-header-banner h1 {
                font-size: 2.2em;
            }
            .page-header-banner .subtitle {
                font-size: 1em;
            }
}
/* --- Estilos para Páginas de Texto (Políticas, Sobre, etc.) --- */

/* Container principal do texto para limitar a largura e centralizar */
.text-content-section {
    max-width: 800px; 
    margin: 0 auto;  
    padding: 20px 0; 
}

/* Título de cada seção (H2) */
.text-content-section h2 {
    font-size: 1.8em;
    font-weight: 600;
    color: #333; 
    margin-top: 40px; 
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 2px solid #f0f0f0; 
}

/* Primeiro H2 da página não terá espaço extra em cima */
.text-content-section h2:first-of-type {
    margin-top: 0;
}

/* Parágrafos de texto */
.text-content-section p {
    font-size: 1em;
    line-height: 1.8;
    color: #555;  
    margin-bottom: 15px;
}

/* Texto em negrito (strong) */
.text-content-section strong {
    font-weight: 600;
    color: #333;
}

/* Links dentro do texto */
.text-content-section a {
    color: #007bff;
    text-decoration: none;
    font-weight: 500;
}

.text-content-section a:hover {
    text-decoration: underline;
}

/* Ajuste para mobile para garantir o espaçamento lateral */
@media (max-width: 992px) {
    .text-content-section.container {
        padding-left: 20px;
        padding-right: 20px;
    }
}
/* === ESTILOS DA PAGINAÇÃO === */
.pagination-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 40px;
}

.pagination-button {
    background-color: #ffffff;
    color: var(--primary-color);
    border: 1px solid var(--border-color);
    padding: 10px 15px;
    margin: 0 2px;
    cursor: pointer;
    border-radius: 5px;
    font-weight: 500;
    transition: all 0.2s ease;
}

.pagination-button:hover {
    background-color: var(--secondary-color);
    border-color: var(--primary-color);
}

.pagination-button.active {
    background-color: var(--primary-color);
    color: var(--white-color);
    border-color: var(--primary-color);
    cursor: default;
}
/* === ESTILOS DO MENU DROPDOWN (VERSÃO FINAL E CORRIGIDA) === */

/* --- Estilos para Desktop (Telas maiores que 768px) --- */

/* Seta para indicar o dropdown */
.dropdown .arrow {
    font-size: 0.6em;
    display: inline-block;
    vertical-align: middle;
    transition: transform 0.3s ease;
}

/* Container do item de menu dropdown */
.dropdown {
    position: relative;
}

/* Caixa do dropdown (escondida por padrão) */
.dropdown-content {
    display: none;
    position: absolute;
    background-color: #ffffff;
    min-width: 650px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.1);
    z-index: 1;
    border-radius: 8px;
    margin-top: 5px;
    border: 1px solid #f0f0f0;
}

/* Grade interna do dropdown com 2 colunas */
.dropdown-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 5px;
    list-style: none;
    padding: 10px;
}

/* Links dentro do dropdown */
.dropdown-grid a {
    color: var(--text-dark);
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    border-radius: 5px;
    transition: background-color 0.2s ease;
}

.dropdown-grid a:hover {
    background-color: var(--secondary-color);
}

/* Esconde o botão 'X' no desktop */
.submenu-close {
    display: none;
}

/* LÓGICA DE HOVER APENAS PARA TELAS GRANDES */
@media (min-width: 769px) {
    .dropdown:hover .dropdown-content {
        display: block;
    }

    .dropdown:hover .arrow {
        transform: rotate(180deg);
    }
}


/* === AJUSTES DO DROPDOWN PARA MOBILE (Telas de até 768px) === */
@media (max-width: 768px) {
    /* No mobile, o dropdown não é absoluto e flutuante */
    .dropdown-content {
        display: none; 
        position: static;
        box-shadow: none;
        min-width: 100%;
        border: none;
        background-color: #f9f9f9;
        padding-left: 20px;
        position: relative; /* Adicionado para posicionar o botão 'X' */
    }

    /* No mobile, a grade vira uma coluna única */
    .dropdown-grid {
        grid-template-columns: 1fr;
        padding: 0;
        gap: 0;
    }

    .dropdown-grid a {
        padding: 10px 16px;
        font-size: 0.9em;
    }

    /* Estilo para quando o dropdown estiver aberto no mobile (controlado via JS) */
    .dropdown.open .dropdown-content {
        display: block;
    }
    
    .dropdown.open .arrow {
        transform: rotate(180deg);
    }

    /* Estilos do botão 'X' */
    .submenu-close {
        display: none;
        position: absolute;
        top: 10px;
        right: 15px;
        background: #e0e0e0;
        border: none;
        width: 30px;
        height: 30px;
        border-radius: 50%;
        font-size: 20px;
        line-height: 30px;
        text-align: center;
        cursor: pointer;
        color: #333;
        font-weight: bold;
        z-index: 5;
    }

    .dropdown.open .submenu-close {
        display: block;
    }
}
/* === ESTILO DO BOTÃO DE WHATSAPP === */
.btn-whatsapp {
    background-color: #00C083;
    color: #ffffff;
    border: 2px solid #00C083;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 24px;
    text-decoration: none;
}

.btn-whatsapp:hover {
    background-color: #00a671;
    border-color: #00a671;
    color: #ffffff;
}
.btn-whatsapp .whatsapp-icon {
    width: 18px;
    height: 18px;
}
/* === ESTILOS DOS PRODUTOS RELACIONADOS === */
.related-products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.product-card-related {
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card-related:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

.product-card-related a {
    text-decoration: none;
    color: inherit;
}

.product-card-related img {
    width: 100%;
    height: 180px;
    object-fit: cover; /* Garante que a imagem cubra o espaço sem distorcer */
    display: block;
    background-color: #f5f5f5;
}

.related-info {
    padding: 1rem;
}

.related-info h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis; /* Adiciona '...' se o nome for muito longo */
}

.related-info .related-category {
    font-size: 0.85rem;
    color: var(--text-light);
}