:root {
    --bg-dark: #02040a; 
    
    /* Elegant Clean Glass for Panels (Anexo 02) */
    --bg-glass: linear-gradient(135deg, rgba(255,255,255,0.03) 0%, rgba(255,255,255,0.005) 100%);
    --border-glass: rgba(255, 255, 255, 0.15);
    --glass-shadow: 0 30px 60px rgba(0,0,0,0.5), inset 0 1px 0 rgba(255,255,255,0.1);
    
    --accent-blue: #085CF0;
    --accent-light: #AFE9FD;
    
    --text-primary: #FFFFFF;
    --text-muted: #AFE9FD;
    --text-dim: #8A99AD;

    --font-main: 'Inter', system-ui, -apple-system, sans-serif;
    --font-hi: 'Alex Brush', cursive; 
    --font-signature: 'Alex Brush', cursive; 
    
    --max-width: 1200px;
    --border-radius: 20px;
    --transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }

body { 
    background-color: var(--bg-dark); 
    background-image: radial-gradient(circle at 50% 0%, rgba(var(--theme-rgb-primary), 0.15) 0%, transparent 70%);
    background-repeat: no-repeat;
    background-attachment: fixed;
    color: var(--text-primary); 
    font-family: var(--font-main); 
    line-height: 1.6; 
    overflow-x: hidden; 
    min-height: 100vh; 
    display: flex; 
    flex-direction: column; 
}

main { flex: 1; position: relative; z-index: 2; overflow-x: hidden; } 
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; transform: translateZ(0); backface-visibility: hidden; } /* Prevents image flicker */

.container { width: 90%; max-width: var(--max-width); margin: 0 auto; padding: 0 15px; position: relative; } 

/* HARDCORE HIDE GOOGLE TRANSLATE UI */
body { top: 0 !important; position: static !important; }
.skiptranslate iframe { display: none !important; }
.goog-te-banner-frame { display: none !important; }
#goog-gt-tt { display: none !important; }
.goog-text-highlight { background-color: transparent !important; box-shadow: none !important; }

/* Apple-style Translation Toggle */
.lang-toggle-wrapper {
    display: inline-flex; align-items: center; justify-content: center; gap: 12px; margin-top: 30px;
    background: rgba(255,255,255,0.03); padding: 8px 16px; border-radius: 50px; border: 1px solid rgba(255,255,255,0.05);
}
.lang-label { font-size: 0.9rem; color: var(--text-dim); font-weight: 600; transition: color 0.3s; }
.lang-label.active { color: #fff; }
.apple-switch {
    position: relative; display: inline-block; width: 44px; height: 24px;
}
.apple-switch input { opacity: 0; width: 0; height: 0; }
.slider {
    position: absolute; cursor: pointer; top: 0; left: 0; right: 0; bottom: 0;
    background-color: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2);
    transition: .4s; border-radius: 34px; box-sizing: border-box;
}
.slider:before {
    position: absolute; content: ""; height: 18px; width: 18px; left: 2px; bottom: 2px;
    background-color: white; transition: .4s cubic-bezier(0.25, 0.8, 0.25, 1); border-radius: 50%; box-shadow: 0 2px 5px rgba(0,0,0,0.5);
}
input:checked + .slider { background-color: var(--accent-blue); border-color: var(--accent-blue); }
input:checked + .slider:before { transform: translateX(20px); }

/* OPTIMIZATION: Render optimization class for huge speed boosts - Content Visibility removed to stop flickers */
.render-optimize {
    /* Empty - keeping class for backwards compatibility but removing flicker logic */
}

/* HARDWARE ACCELERATED Animated Background (Gradient + Subtle Orbs) */
.animated-bg {
    position: fixed;
    top: 0; left: 0; width: 100vw; height: 100vh;
    z-index: -1; 
    overflow: hidden;
    pointer-events: none;
    contain: paint;
}
.bg-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(150px);
    opacity: 0.4;
    animation: pulseOrb 15s infinite alternate ease-in-out;
    will-change: transform, opacity;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    backface-visibility: hidden;
    perspective: 1000px;
}
.orb-1 { width: 45vw; height: 45vw; background: rgba(var(--theme-rgb-primary), 0.4); top: -15%; left: 10%; }
.orb-2 { width: 50vw; height: 50vw; background: rgba(var(--theme-rgb-secondary), 0.3); bottom: -20%; right: -10%; animation-delay: -4s; }

@keyframes pulseOrb {
    0% { transform: translate3d(0, 0, 0) scale(1); }
    100% { transform: translate3d(5vw, 5vh, 0) scale(1.1); }
}

/* Reduzido a opacidade do noise para acabar com o aspecto crackelado. 
Apenas o suficiente para evitar banding nas cores do gradiente */
.noise-overlay {
    position: fixed;
    top: 0; left: 0; width: 100vw; height: 100vh;
    background: url('data:image/svg+xml;utf8,%3Csvg viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg"%3E%3Cfilter id="noiseFilter"%3E%3CfeTurbulence type="fractalNoise" baseFrequency="0.8" numOctaves="3" stitchTiles="stitch"/%3E%3C/filter%3E%3Crect width="100%25" height="100%25" filter="url(%23noiseFilter)"/%3E%3C/svg%3E');
    opacity: 0.015; /* Extremamente suave */
    z-index: 0;
    pointer-events: none;
}

.glass-panel {
    background: var(--bg-glass);
    backdrop-filter: blur(40px);
    -webkit-backdrop-filter: blur(40px);
    border: 1px solid rgba(255,255,255,0.08);
    border-top: 1px solid rgba(255,255,255,0.15);
    border-left: 1px solid rgba(255,255,255,0.15);
    border-radius: var(--border-radius);
    box-shadow: var(--glass-shadow);
    transform: translateZ(0); /* Anti flicker */
}

.text-center { text-align: center; }
.text-gradient { background: linear-gradient(135deg, var(--accent-light) 0%, #ffffff 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.text-white { color: #FFF; }

.btn { display: inline-flex; align-items: center; justify-content: center; padding: 14px 30px; font-size: 0.95rem; font-weight: 600; border-radius: 50px; transition: var(--transition); cursor: pointer; }
.btn-primary { background: var(--text-primary); color: #000; box-shadow: 0 10px 25px rgba(255,255,255, 0.15); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 15px 30px rgba(255,255,255, 0.25); background: #eee; }
.btn-outline { background: transparent; color: var(--text-primary); border: 1px solid rgba(255,255,255,0.3); }
.btn-outline:hover { border-color: var(--text-primary); background: rgba(255,255,255,0.05); }
.btn-sm { padding: 8px 18px; font-size: 0.85rem; }
.btn-back { display: inline-flex; align-items: center; gap: 8px; color: var(--text-dim); margin-bottom: 20px; transition: color 0.3s; }
.btn-back:hover { color: #fff; }

#preloader { 
    position: fixed; 
    top: 0; left: 0; width: 100vw; height: 100vh; 
    background-color: var(--bg-dark); 
    display: flex; justify-content: center; align-items: center; 
    z-index: 99999; 
    transition: opacity 0.8s ease, visibility 0.8s ease; 
    animation: forceHidePreloader 0.5s ease 2.5s forwards;
}

.hi-text { 
    font-family: var(--font-hi); 
    font-size: 8rem; 
    font-weight: 400; 
    color: transparent; 
    position: relative;
    display: inline-block;
}
.hi-text::before {
    content: "Hi.";
    position: absolute;
    left: 0;
    top: 0;
    color: #FFF;
    overflow: hidden;
    white-space: nowrap;
    animation: drawText 1.5s cubic-bezier(0.25, 1, 0.5, 1) forwards;
    width: 0;
}
@keyframes drawText { 
    0% { width: 0; } 
    100% { width: 100%; } 
}

@keyframes forceHidePreloader {
    to { opacity: 0; visibility: hidden; pointer-events: none; display: none; }
}

#preloader.fade-out { 
    opacity: 0 !important; 
    visibility: hidden !important; 
    pointer-events: none !important;
}

/* Floating Header */
.main-header { 
    position: fixed; top: 0; left: 0; width: 100%; 
    padding: 30px 5%; z-index: 100; pointer-events: none; 
    display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; 
}
.nav-left { pointer-events: auto; display: flex; justify-content: flex-start; }
.nav-center { pointer-events: auto; display: flex; justify-content: center; }
.nav-right { pointer-events: auto; display: flex; justify-content: flex-end; }
.mobile-toggle { display: none; cursor: pointer; color: var(--text-primary); pointer-events: auto; }

.glass-panel-nav {
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 50px;
    padding: 12px 35px;
    display: flex;
    align-items: center;
    gap: 35px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}
.logo { display: flex; align-items: center; }
.nav-link { font-size: 1rem; font-weight: 500; color: var(--text-dim); transition: var(--transition); }
.nav-link:hover { color: #FFF; }
.admin-btn-link { display: none; }
.header-btn { padding: 10px 24px; font-size: 0.85rem; background: #FFF; color:#000; border-radius: 50px; font-weight: 600; display:flex; align-items:center; }

.hero-section { 
    position: relative; 
    min-height: 80vh;
    display: flex; 
    align-items: center; 
    padding-top: 130px; 
    padding-bottom: 50px;
    overflow: hidden; 
}
.hero-photo-layer {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 60%;
    height: 100%;
    z-index: 1;
    -webkit-mask-image: linear-gradient(to left, black 30%, transparent 100%), linear-gradient(to top, black 70%, transparent 100%);
    mask-image: linear-gradient(to left, black 30%, transparent 100%), linear-gradient(to top, black 70%, transparent 100%);
    mask-composite: intersect;
    opacity: 0.7;
}
.hero-photo-layer img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}
.hero-text-layer {
    position: relative;
    z-index: 2;
    width: 100%;
    display: flex;
    align-items: center;
    pointer-events: none; 
}
.hero-text-content {
    max-width: 600px;
    pointer-events: auto; 
}
.hero-badge { font-family: var(--font-hi); font-size: 3.5rem; color: var(--text-muted); margin-bottom: -15px; display: inline-block; font-weight: 400; }
.hero-main-title { font-size: 5.5rem; line-height: 1.05; font-weight: 800; letter-spacing: -2px; margin-bottom: 25px; }
.quote-header { font-size: 1.8rem; font-weight: 700; color: #FFFFFF; margin-bottom: 15px; line-height: 1.2; }
.quote-paragraph { font-size: 1.1rem; color: var(--text-dim); line-height: 1.6; }

.software-marquee { margin-top: 20px; display: flex; align-items: center; background: rgba(255,255,255,0.02); backdrop-filter: blur(20px); border: 1px solid rgba(255,255,255,0.08); border-radius: 100px; padding: 15px 30px; box-shadow: 0 20px 40px rgba(0,0,0,0.3); position: relative; z-index: 3; }
.marquee-label { font-size: 0.9rem; font-weight: 700; color: var(--text-dim); text-transform: uppercase; letter-spacing: 1px; white-space: nowrap; padding-right: 30px; border-right: 1px solid rgba(255,255,255,0.08); }
.marquee-track-container { flex: 1; overflow: hidden; margin-left: 30px; position: relative; -webkit-mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%); mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%); }
.marquee-track { display: flex; flex-direction: row; width: max-content; gap: 50px; animation: scrollHorizontal 25s linear infinite; }
@keyframes scrollHorizontal { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
.marquee-item { display: flex; align-items: center; white-space: nowrap; }
.marquee-item img { height: 30px; width: auto; filter: grayscale(100%) opacity(0.8); transition: filter 0.3s; }
.marquee-item img:hover { filter: grayscale(0%) opacity(1); }
.sw-text { font-size: 1.1rem; font-weight: 600; color: var(--text-primary); }

.page-spacing { height: 150px; }

/* ABOUT ME - NOVO LAYOUT EXATO (FOTO DIREITA/ESQUERDA + ASSINATURA) */
.about-page-wrapper {
    position: relative;
    padding-top: 150px;
    padding-bottom: 100px;
}
.huge-bg-text {
    position: absolute;
    top: 120px; 
    left: 50%;
    transform: translateX(-50%);
    font-size: clamp(4rem, 15vw, 15rem); 
    line-height: 0.8;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.03);
    z-index: 0;
    white-space: nowrap;
    pointer-events: none;
    letter-spacing: -2px;
    text-align: center;
    width: 100vw;
}
.about-block { 
    display: flex; 
    align-items: center; 
    justify-content: space-between; 
    gap: 60px; 
    margin-bottom: 20px; 
    position: relative; 
    z-index: 2; 
}
.about-text-col { flex: 1; position: relative; }
.about-img-col { flex: 1; display: flex; justify-content: center; position: relative; }
.image-wrapper { width: 100%; max-width: 450px; }
.image-wrapper img { width: 100%; height: auto; border-radius: 20px; object-fit: cover; }

.signature-text-classic { 
    font-family: var(--font-signature); 
    color: var(--accent-light); 
    pointer-events: none;
    text-shadow: 0 5px 15px rgba(0,0,0,0.5);
    font-size: 7rem;
    transform: rotate(-5deg);
    text-align: center;
    margin: 20px 0;
    z-index: 10;
    position: relative;
}

/* Reusable Background Text (Projects & Contact) */
.bg-huge-text {
    position: absolute;
    top: 40px;
    left: 50%;
    transform: translateX(-50%);
    font-size: clamp(3rem, 15vw, 16vw);
    line-height: 0.8;
    padding: 30px 0;
    width: 100vw;
    text-align: center;
    font-weight: 900;
    color: rgba(255,255,255,0.03);
    z-index: 0;
    pointer-events: none;
    letter-spacing: -5px;
    white-space: nowrap;
}

.projects-section { padding: 80px 0 120px 0; position: relative; z-index: 3; }
.relative-z { position: relative; z-index: 2; }

.section-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 60px; gap: 40px; }
.section-badge { color: var(--accent-light); font-weight: 600; font-size: 0.9rem; text-transform: uppercase; letter-spacing: 1px; display: block; margin-bottom: 10px; }
.section-title { font-size: 3rem; font-weight: 800; line-height: 1.1; letter-spacing: -1px; }
.header-right { max-width: 400px; display: flex; flex-direction: column; gap: 20px; align-items: flex-start; }
.section-subtitle { color: var(--text-dim); font-size: 1.05rem; }

.projects-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 40px; }

.project-card { 
    display: flex; 
    flex-direction: column; 
    padding: 16px; 
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transform: translateZ(0); /* Anti flicker on hover transition */
    backface-visibility: hidden;
}
.project-card:hover { 
    transform: translateY(-12px); 
    border-color: rgba(255,255,255,0.3); 
    background: rgba(255,255,255,0.06);
    box-shadow: 0 20px 40px rgba(var(--theme-rgb-primary), 0.3), inset 0 1px 0 rgba(255,255,255,0.3);
}
.project-image-wrapper { width: 100%; height: 260px; border-radius: 16px; overflow: hidden; margin-bottom: 20px; position: relative; }
.project-cover { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s ease; transform: translateZ(0); }
.project-card:hover .project-cover { transform: scale(1.08); }
.project-info { padding: 0 10px 20px 10px; }
.project-title { font-size: 1.5rem; font-weight: 700; margin-bottom: 8px; color: #FFF; transition: color 0.3s; }
.project-desc { color: var(--text-dim); font-size: 0.95rem; line-height: 1.5; }
.project-action { padding: 0 10px 10px 10px; }

.glass-btn-sm { display: inline-block; padding: 10px 24px; font-size: 0.85rem; font-weight: 600; color: #FFF; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.2); border-radius: 30px; transition: var(--transition); backdrop-filter: blur(10px); }
.project-card:hover .glass-btn-sm { background: #FFF; color: #000; }

.project-detail-header { margin-bottom: 40px; }

.video-grid { 
    display: grid; 
    gap: 30px; 
    grid-template-columns: 1fr; /* Mobile: 1 per row */
    align-items: start; 
}

/* Glass Project Video Card */
.video-card { 
    padding: 15px; 
    display: flex; 
    flex-direction: column; 
    gap: 15px; 
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.video-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(var(--theme-rgb-primary), 0.2);
    border-color: rgba(255,255,255,0.2);
}

.youtube-lite {
    position: relative;
    width: 100%;
    height: 100%;
    cursor: pointer;
    background-color: #000;
}
.youtube-lite img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.7;
    transition: opacity 0.3s;
}
.youtube-lite:hover img {
    opacity: 1;
}
.play-btn {
    width: 68px;
    height: 48px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: transform 0.2s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.youtube-lite:hover .play-btn {
    transform: translate(-50%, -50%) scale(1.1);
}
.youtube-lite iframe {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
}

.video-wrapper { 
    position: relative; 
    width: 100%; 
    aspect-ratio: 16 / 9; /* Default Horizontal */
    background: #000; 
    border-radius: 12px; 
    overflow: hidden; 
    box-shadow: 0 5px 20px rgba(0,0,0,0.5);
}
.video-card.is-vertical .video-wrapper {
    aspect-ratio: 9 / 16; /* Automatic Vertical Ratio */
}
.video-wrapper iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: 0; }

.video-description { padding: 0 10px 5px 10px; color: var(--text-dim); font-size: 0.95rem; line-height: 1.5; flex-grow: 1; }

@media (min-width: 768px) {
    .video-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-flow: dense;
    }
}

@media (min-width: 1024px) {
    .video-grid { grid-template-columns: repeat(6, 1fr); }
    .video-card:not(.is-vertical) { grid-column: span 3; }
    .video-card.is-vertical { grid-column: span 2; }
}

.stats-section { padding: 60px 0 120px 0; position: relative; z-index: 3; }
.stats-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 40px; align-items: center; }

.stats-counter { padding: 50px 40px; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
.stars { color: #FFD700; font-size: 1.5rem; margin-bottom: 15px; letter-spacing: 2px; }
.counter-huge { font-size: 6rem; font-weight: 800; line-height: 1; letter-spacing: -3px; color: #FFF; margin-bottom: 10px; display: flex; align-items: baseline; }
.stats-desc { font-size: 1.1rem; color: var(--text-dim); max-width: 250px; line-height: 1.6; }

/* Testimonial Slider System */
.testimonial-slider-container { overflow: hidden; position: relative; width: 100%; }
.testimonial-track { display: flex; transition: transform 0.5s cubic-bezier(0.25, 0.8, 0.25, 1); width: 100%; }
.testi-slide { min-width: 100%; box-sizing: border-box; }
.stats-testimonial { padding: 40px; display: flex; flex-direction: column; justify-content: center; height: 100%; min-height: 250px; }
.testi-content { display: flex; align-items: center; gap: 30px; }
.testi-avatar { width: 100px; height: 100px; border-radius: 20px; object-fit: cover; border: 1px solid rgba(255,255,255,0.1); }
.testi-text-box { flex: 1; }
.testi-quote { font-size: 1.3rem; font-weight: 500; color: #FFF; line-height: 1.5; margin-bottom: 15px; font-style: italic; }
.testi-author { font-size: 1.1rem; font-weight: 700; color: var(--accent-light); display:flex; flex-direction: column; }
.testi-role { font-size: 0.9rem; color: var(--text-dim); font-weight: 400; margin-top: 5px; }

.testimonial-dots { display: flex; justify-content: center; gap: 8px; margin-top: 25px; padding-bottom: 10px; }
.dot { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,0.2); cursor: pointer; transition: 0.3s; flex-shrink: 0; }
.dot.active { background: var(--accent-light); transform: scale(1.3); }

.contact-section { padding: 60px 0 120px 0; position: relative; z-index: 3; }
.contact-huge-title { font-size: 8rem; font-weight: 800; letter-spacing: -4px; line-height: 0.9; color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,0.2); background: linear-gradient(180deg, #FFF 0%, rgba(255,255,255,0.1) 100%); -webkit-background-clip: text; margin-bottom: 40px; }

/* Contact Component Refinement */
.contact-card { padding: 60px; display: flex; justify-content: space-between; gap: 60px; position: relative; overflow: hidden; }
.contact-card.has-image { padding: 30px; gap: 40px; align-items: center; }
.contact-image-side { flex: 1; height: 100%; border-radius: 12px; overflow: hidden; min-height: 300px; position: relative; }
.contact-image-side img { position: absolute; top:0; left:0; width: 100%; height: 100%; object-fit: cover; }
.contact-content-side { flex: 1; display: flex; flex-direction: column; gap: 30px; padding: 20px; }

.contact-invite { font-size: 1.4rem; font-weight: 500; color: #FFF; line-height: 1.5; }
.contact-row { display: flex; flex-direction: column; gap: 10px; }
.contact-label { font-size: 0.85rem; font-weight: 600; color: var(--text-dim); text-transform: uppercase; letter-spacing: 1px; }
.contact-link { font-size: 1.5rem; font-weight: 600; color: #FFF; transition: color 0.3s; }
.contact-link:hover { color: var(--accent-light); }

/* SVG Social Icons Styling */
.social-links { display: flex; gap: 15px; margin-top: 20px; }
.social-icon-link { 
    color: var(--text-dim); 
    transition: var(--transition); 
    display: inline-flex; 
    align-items: center; 
    justify-content: center;
    background: rgba(255,255,255,0.05);
    padding: 10px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.1);
}
.social-icon-link:hover { 
    color: var(--accent-light); 
    transform: translateY(-4px); 
    background: rgba(255,255,255,0.1);
    border-color: var(--accent-light);
}
.social-svg { width: 22px; height: 22px; }

.main-footer { padding: 40px 0 60px 0; border-top: 1px solid rgba(255,255,255,0.05); margin-top: auto; position: relative; z-index: 2; }
.footer-container { display: flex; justify-content: space-between; align-items: flex-end; }
.footer-brand { display:flex; flex-direction: column; align-items:flex-start; gap: 10px; max-width: 400px; }
.footer-brand p { color: var(--text-dim); font-size: 0.9rem; margin-bottom: 0; }

.footer-social-links { display: flex; gap: 15px; margin-top: 15px; }
.footer-social-icon { color: var(--text-dim); transition: var(--transition); display: inline-flex; }
.footer-social-icon:hover { color: #fff; transform: translateY(-3px); }
.footer-social-icon svg { width: 24px; height: 24px; }

.footer-bottom { color: var(--text-dim); font-size: 0.9rem; text-align: right; }

.reveal { opacity: 0; transition: all 1s cubic-bezier(0.25, 0.8, 0.25, 1); }
.reveal.active { opacity: 1; }

.fade-up { transform: translateY(60px); }
.fade-up.active { transform: translateY(0); }
.fade-right { transform: translateX(-60px); }
.fade-right.active { transform: translateX(0); }
.fade-left { transform: translateX(60px); }
.fade-left.active { transform: translateX(0); }
.scale-in { transform: scale(0.9); }
.scale-in.active { transform: scale(1); }
.slide-down { transform: translate(0, -40px); }
.slide-down.active { transform: translate(0, 0); }

.stagger-1 { transition-delay: 0.15s; }
.stagger-2 { transition-delay: 0.3s; }
.stagger-3 { transition-delay: 0.45s; }

/* RESPONSIVE DESIGN - MOBILE FIXES */
@media (max-width: 1024px) {
    .main-header { 
        display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; 
        padding: 15px 5%; background: rgba(2,4,10,0.95); backdrop-filter: blur(20px); 
        position: fixed; border-radius: 0; box-shadow: 0 5px 15px rgba(0,0,0,0.5); border-bottom: 1px solid rgba(255,255,255,0.05);
    }
    .mobile-toggle { display: block; z-index: 101; }
    
    .nav-center, .nav-right { display: none; width: 100%; margin-top: 15px; }
    .nav-center.active-mobile, .nav-right.active-mobile { display: flex; flex-direction: column; align-items: center; }
    .glass-panel-nav { border: none; box-shadow: none; background: transparent; padding: 10px 0; flex-direction: column; gap: 15px; width: 100%; }
    .header-btn { width: 100%; justify-content: center; }
    
    .hero-section { min-height: 100vh; padding-top: 100px; flex-direction: column; justify-content: flex-start; }
    .hero-text-layer { margin-top: 5vh; z-index: 10; height: auto; }
    .hero-photo-layer { 
        width: 100%; 
        height: 65vh;
        opacity: 0.9;
        -webkit-mask-image: linear-gradient(to top, black 50%, transparent 100%);
        mask-image: linear-gradient(to top, black 50%, transparent 100%);
    }
    .hero-text-content { text-align: center; margin: 0 auto; }
    .hero-main-title { font-size: 4rem; }
    
    /* Mobile About Block Ajustes */
    .about-block { flex-direction: column; text-align: center; gap: 40px; margin-bottom: 60px; }
    .signature-text-classic { font-size: 4.5rem; margin: 10px 0; }
    
    .bg-huge-text, .huge-bg-text { font-size: 24vw; top: 10px; }
    
    .section-header { flex-direction: column; align-items: flex-start; }
    .header-right { align-items: flex-start; }
    
    .stats-grid { grid-template-columns: 1fr; }
    .testi-content { flex-direction: column; text-align: center; }
    
    .contact-card.has-image { flex-direction: column; }
    .contact-image-side { width: 100%; min-height: 200px; }
    .contact-card { flex-direction: column; padding: 30px; gap: 40px; }
    .contact-right { border-left: none; padding-left: 0; border-top: 1px solid rgba(255,255,255,0.1); padding-top: 40px; }
    .contact-huge-title { font-size: 4.5rem; }
    
    .footer-container { flex-direction: column; text-align: center; gap: 30px; align-items: center; }
    .footer-brand { align-items: center; max-width: 100%; }
    .footer-bottom { text-align: center; width: 100%; }
    .footer-social-links { justify-content: center; }
}
@media (max-width: 600px) {
    .hero-main-title { font-size: 3.5rem; }
    .signature-text-classic { font-size: 3.5rem; }
    .bg-huge-text, .huge-bg-text { font-size: 26vw; } /* Evita corte horizontal no mobile pequeno */
}
