/*
Theme Name: Hebert Neri Official
Theme URI: https://hebertneri.com
Author: Hebert Neri
Description: Tema Premium V45.0 (Final Stable)
Version: 45.0
License: GNU General Public License v2 or later
Text Domain: hebert-neri
*/

/* --- 1. SEGURANÇA DE ÍCONES (CRÍTICO) --- */



/* --- 2. RENDERIZAÇÃO & SCROLLBAR --- */
html {
    scrollbar-width: thin;
    scrollbar-color: #f59e0b #0a0a0a;
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body { 
    font-family: 'Montserrat', sans-serif; 
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    background-color: #f9fafb;
    color: #1f2937;
}

h1, h2, h3, h4, h5, h6 { font-family: 'Playfair Display', serif; }

section { content-visibility: auto; contain-intrinsic-size: 800px; }

/* Webkit Scrollbar */
::-webkit-scrollbar { width: 6px; height: 6px; background-color: #0a0a0a; }
::-webkit-scrollbar-track { background: #0a0a0a; }
::-webkit-scrollbar-thumb { background-color: #f59e0b; border-radius: 10px; border: 1px solid #0a0a0a; }
::-webkit-scrollbar-thumb:hover { background-color: #fbbf24; }

/* --- 3. ANIMAÇÕES --- */
.hover-lift { transition: transform 0.3s ease, box-shadow 0.3s ease; }
.hover-lift:hover { transform: translateY(-5px); box-shadow: 0 20px 40px rgba(0,0,0,0.1); }
@keyframes fadeInUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
.animate-fadeInUp { animation: fadeInUp 0.8s ease-out; }

/* --- 4. UTILITÁRIOS --- */
.scroll-hide::-webkit-scrollbar { display: none; }
.scroll-hide { -ms-overflow-style: none; scrollbar-width: none; }
.admin-bar nav { top: 32px; }
@media (max-width: 782px) { .admin-bar nav { top: 46px; } }

.responsive-embed iframe { width: 100%; height: 100%; border: none; }
.aspect-video { aspect-ratio: 16 / 9; }

/* Galeria WP */
.wp-block-gallery { margin-bottom: 2rem; }
.wp-block-gallery.has-nested-images figure.wp-block-image { margin: 0; width: calc(33.33% - 10px); display: inline-block; padding: 5px; }
.wp-block-gallery img { border-radius: 8px; transition: transform 0.3s ease; box-shadow: 0 4px 6px rgba(0,0,0,0.1); }
.wp-block-gallery img:hover { transform: scale(1.02); box-shadow: 0 10px 15px rgba(0,0,0,0.2); }