/*
Theme Name: Quantum3D
Theme URI: https://quantum3d.com.br
Author: Quantum3D Team
Author URI: https://quantum3d.com.br
Description: Tema profissional para impressão 3D com total compatibilidade Elementor e WooCommerce estilo Mercado Livre
Version: 2.0.0
Requires at least: 6.0
Tested up to: 6.4
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: quantum3d
Tags: e-commerce, woocommerce, elementor, technology, modern, 3d-printing

Quantum3D Theme, Copyright 2025 Quantum3D
Quantum3D is distributed under the terms of the GNU GPL
*/

/* ============================================
   RESET E VARIÁVEIS GLOBAIS
   ============================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Cores do Tema */
    --preto: #0a0a0a;
    --grafite: #1a1a1a;
    --grafite-medio: #2a2a2a;
    --azul-tech: #00d4ff;
    --azul-escuro: #0099cc;
    --branco: #ffffff;
    --cinza-claro: #e0e0e0;
    
    /* Tipografia */
    --fonte-principal: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    
    /* Espaçamentos */
    --espacamento-xs: 0.5rem;
    --espacamento-sm: 1rem;
    --espacamento-md: 1.5rem;
    --espacamento-lg: 2rem;
    --espacamento-xl: 3rem;
    
    /* Larguras */
    --largura-container: 1200px;
    
    /* Transições */
    --transicao-rapida: 0.2s ease;
    --transicao-media: 0.3s ease;
    --transicao-lenta: 0.5s ease;
}

/* ============================================
   ESTILOS BASE
   ============================================ */

body {
    font-family: var(--fonte-principal);
    background-color: var(--preto);
    color: var(--branco);
    line-height: 1.6;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ============================================
   TIPOGRAFIA
   ============================================ */

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.5rem, 3vw, 1.8rem); }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.125rem; }
h6 { font-size: 1rem; }

p {
    margin-bottom: 1rem;
}

a {
    color: var(--azul-tech);
    text-decoration: none;
    transition: var(--transicao-media);
}

a:hover {
    color: var(--azul-escuro);
}

/* ============================================
   CONTAINERS E LAYOUTS
   ============================================ */

.container,
.site-container {
    max-width: var(--largura-container);
    margin: 0 auto;
    padding: 0 var(--espacamento-lg);
}

.site-main {
    min-height: 60vh;
    padding: var(--espacamento-xl) 0;
}

/* ============================================
   UTILITÁRIOS
   ============================================ */

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: var(--espacamento-sm); }
.mb-2 { margin-bottom: var(--espacamento-md); }
.mb-3 { margin-bottom: var(--espacamento-lg); }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: var(--espacamento-sm); }
.mt-2 { margin-top: var(--espacamento-md); }
.mt-3 { margin-top: var(--espacamento-lg); }

/* ============================================
   WORDPRESS CORE
   ============================================ */

.alignleft {
    float: left;
    margin-right: var(--espacamento-md);
    margin-bottom: var(--espacamento-md);
}

.alignright {
    float: right;
    margin-left: var(--espacamento-md);
    margin-bottom: var(--espacamento-md);
}

.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: var(--espacamento-md);
}

.wp-caption {
    max-width: 100%;
}

.wp-caption-text {
    font-size: 0.875rem;
    color: var(--cinza-claro);
    margin-top: var(--espacamento-xs);
}

.sticky {
    /* Estilos para posts fixos */
}

.bypostauthor {
    /* Estilos para autor do post */
}

/* ============================================
   ACESSIBILIDADE
   ============================================ */

.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute !important;
    height: 1px;
    width: 1px;
    overflow: hidden;
}

.screen-reader-text:focus {
    background-color: var(--grafite);
    border-radius: 3px;
    box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
    clip: auto !important;
    color: var(--azul-tech);
    display: block;
    font-size: 14px;
    font-weight: bold;
    height: auto;
    left: 5px;
    line-height: normal;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000;
}

/* ============================================
   IMPRESSÃO
   ============================================ */

@media print {
    body {
        background: white;
        color: black;
    }
    
    .site-header,
    .site-footer,
    .no-print {
        display: none;
    }
}