/*
Theme Name: iLook
Description: Tema limpo e minimalista otimizado para page builders como Elementor, Gutenberg e outros construtores visuais. Desenvolvido para máxima flexibilidade e performance.
Author: Estrela Digital
Version: 1.0.0
Requires at least: 5.0
Tested up to: 6.4
Requires PHP: 7.4
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: ilook
Tags: page-builder, elementor, gutenberg, clean, minimal, responsive, custom-header, custom-logo, custom-menu, featured-images, flexible-header, full-width-template, one-column, two-columns, three-columns, left-sidebar, right-sidebar, custom-colors, custom-background, editor-style, sticky-post, translation-ready
*/

/* ==========================================================================
   RESET E NORMALIZAÇÃO
   ========================================================================== */

/* Reset básico para consistência entre navegadores */
* {
    box-sizing: border-box;
}

html {
    font-size: 14px;
    line-height: 1.6;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
}

body {
    margin: 0;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    font-size: 1rem;
    line-height: 1.4;
    color: #333;
    background-color: #fff;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ==========================================================================
   ESTRUTURA BÁSICA
   ========================================================================== */

.site {
    display: flex;
    flex-direction: column;
}

.site-header {
    background: #fff;
    border-bottom: 1px solid #eee;
}

.site-main {
    flex: 1;
}

.site-footer {
    background: #f8f9fa;
    border-top: 1px solid #eee;
    margin-top: auto;
}

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

/* ==========================================================================
   TIPOGRAFIA BÁSICA
   ========================================================================== */

h1, h2, h3, h4, h5, h6 {
    margin: 0 0 1rem 0;
    font-weight: 600;
    line-height: 1.3;
    color: #222;
}

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

p {
    margin: 0 0 1rem 0;
}

a {
    color: #0073aa;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #005177;
}

/* ==========================================================================
   IMAGENS E MÍDIA
   ========================================================================== */

img {
    max-width: 100%;
    height: auto;
    vertical-align: middle;
}

figure {
    margin: 0;
}

/* ==========================================================================
   NAVEGAÇÃO
   ========================================================================== */

.main-navigation {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
}

.main-navigation ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 2rem;
}

.main-navigation a {
    color: #333;
    font-weight: 500;
    padding: 0.5rem 0;
}

.main-navigation a:hover {
    color: #0073aa;
}

/* ==========================================================================
   CONTEÚDO
   ========================================================================== */

.content-area {
    padding: 2rem 0;
}

.entry-header {
    margin-bottom: 2rem;
}

.entry-title {
    margin-bottom: 0.5rem;
}

.entry-meta {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.entry-content {
    margin-bottom: 2rem;
}

.entry-content > * {
    margin-bottom: 1rem;
}

/* ==========================================================================
   SIDEBAR
   ========================================================================== */

.sidebar {
    padding: 2rem 0;
}

.widget {
    margin-bottom: 2rem;
}

.widget-title {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #0073aa;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

.site-footer {
    padding: 2rem 0;
    text-align: center;
    color: #666;
    font-size: 0.9rem;
}

/* ==========================================================================
   RESPONSIVIDADE
   ========================================================================== */

@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    .main-navigation ul {
        flex-direction: column;
        gap: 1rem;
    }
    
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    h3 { font-size: 1.5rem; }
}

/* ==========================================================================
   COMPATIBILIDADE COM PAGE BUILDERS
   ========================================================================== */

/* Remove margens desnecessárias para page builders */
.elementor-page .site-main,
.elementor-page .content-area {
    padding: 0;
}

/* Suporte total ao Gutenberg */
.wp-block-group {
    margin-bottom: 1rem;
}

/* Largura total para page builders */
.full-width {
    width: 100vw;
    margin-left: calc(50% - 50vw);
}

/* ==========================================================================
   UTILITÁRIOS
   ========================================================================== */

.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute !important;
    height: 1px;
    width: 1px;
    overflow: hidden;
}

.alignleft {
    float: left;
    margin-right: 1rem;
    margin-bottom: 1rem;
}

.alignright {
    float: right;
    margin-left: 1rem;
    margin-bottom: 1rem;
}

.aligncenter {
    display: block;
    margin: 0 auto 1rem;
}

.clear {
    clear: both;
}

/* ==========================================================================
   PRINT STYLES
   ========================================================================== */

@media print {
    * {
        background: transparent !important;
        color: black !important;
        box-shadow: none !important;
        text-shadow: none !important;
    }
    
    a, a:visited {
        text-decoration: underline;
    }
    
    .site-header,
    .site-footer,
    .sidebar {
        display: none;
    }
}







/* ==========================================================================
   CSS STARLAB
   ========================================================================== */
.site-branding {
	width: 100px !important;
}

.vc_video-bg-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.7) 0%,
        rgba(0, 0, 0, 0.3) 50%,
        rgba(0, 0, 0, 0.7) 100%
    );
    z-index: 1;
    pointer-events: none;
}
