/*
Theme Name: GN9V Soluções
Theme URI: https://gn9v.com.br
Description: Tema WordPress B2B Industrial para GN9V Soluções. Desenvolvido com PHP, ACF e estrutura modular.
Version: 1.0.1
Author: Mustache
Author URI: https://mustache.com.br
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: gn9v-solucoes
Domain Path: /languages
Requires at least: 6.0
Requires PHP: 7.4

Documentação:
- Custom Post Types: Produto
- Advanced Custom Fields (ACF) para customização
- Estrutura modular e escalável
- Suporte a filtros avançados de produtos
- Blog integrado
*/

/* ==========================================================================
   1. RESET E ESTILOS BASE
   ========================================================================== */

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

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family-base);
    line-height: var(--line-height-base);
    color: var(--gn-ink);
    background-color: #fff;
}

/* ==========================================================================
   2. TIPOGRAFIA
   ========================================================================== */

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.1rem; }
h6 { font-size: 1rem; }

p {
    margin-bottom: 1rem;
}

a {
    color: #0066cc;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #004499;
}

/* ==========================================================================
   3. LAYOUT PRINCIPAL
   ========================================================================== */

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}



/* ==========================================================================
   4. COMPONENTES
   ========================================================================== */

.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background-color: #0066cc;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.3s ease;
    text-decoration: none;
}

.btn:hover {
    background-color: #004499;
    color: #fff;
}

.btn-secondary {
    background-color: #666;
}

.btn-secondary:hover {
    background-color: #444;
}

/* ==========================================================================
   5. RESPONSIVIDADE
   ========================================================================== */

@media (max-width: 768px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.5rem; }
    h3 { font-size: 1.25rem; }

    main {
        padding: 2rem 0;
    }
}

/* ==========================================================================
   6. UTILITÁRIOS
   ========================================================================== */

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

.text-right {
    text-align: right;
}

.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }

.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }

.hidden {
    display: none !important;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}
