/* Lumora 3D Projects - Professional Stylesheet */
/* Based on 3D Architectural Visualization Design System */

/* CSS Custom Properties - Design Tokens */
:root {
    /* Colors - Primary */
    --color-brand: #8B5CF6;
    --color-brand-light: #A78BFA;
    --color-brand-dark: #7C3AED;
    --color-accent: #EC4899;
    
    /* Colors - Neutrals */
    --color-bg: #0F172A;
    --color-bg-secondary: #1E293B;
    --color-bg-card: #334155;
    --color-text: #F8FAFC;
    --color-text-secondary: #CBD5E1;
    --color-text-muted: #94A3B8;
    
    /* Colors - Functional */
    --color-success: #10B981;
    --color-warning: #F59E0B;
    --color-error: #EF4444;
    --color-info: #3B82F6;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #8B5CF6 0%, #EC4899 100%);
    --gradient-background: linear-gradient(180deg, #0F172A 0%, #1E293B 100%);
    --gradient-card: linear-gradient(145deg, #334155 0%, #475569 100%);
    --gradient-hover: linear-gradient(135deg, #A78BFA 0%, #F472B6 100%);
    
    /* Typography - Fonts */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-display: 'Space Grotesk', Inter, sans-serif;
    --font-mono: 'JetBrains Mono', Consolas, monospace;
    
    /* Spacing Scale */
    --space-1: 4px;
    --space-2: 8px;
    --space-3: 16px;
    --space-4: 24px;
    --space-5: 32px;
    --space-6: 48px;
    --space-7: 64px;
    --space-8: 96px;
    --space-9: 128px;
    --space-10: 192px;
    
    /* Container Sizes */
    --container-narrow: 768px;
    --container-medium: 1024px;
    --container-wide: 1280px;
    
    /* Interactive Transitions */
    --transition-fast: all 200ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-default: all 300ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 500ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: all 400ms cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-primary);
    background: var(--gradient-background);
    color: var(--color-text);
    line-height: 1.6;
    overflow-x: hidden;
    cursor: default;
}

/* Custom Cursor Effects */
.interactive-cursor {
    pointer-events: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 20px;
    height: 20px;
    background: var(--gradient-primary);
    border-radius: 50%;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: var(--transition-fast);
    opacity: 0;
}

.interactive-cursor.active {
    opacity: 0.6;
    transform: translate(-50%, -50%) scale(1.5);
}

/* Typography Scale */
.text-hero {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
    font-family: var(--font-display);
}

.text-h1 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.01em;
    font-family: var(--font-display);
}

.text-h2 {
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    font-weight: 600;
    line-height: 1.3;
    font-family: var(--font-display);
}

.text-h3 {
    font-size: clamp(1.25rem, 2.5vw, 1.75rem);
    font-weight: 500;
    line-height: 1.4;
}

.text-body {
    font-size: clamp(1rem, 2vw, 1.125rem);
    font-weight: 400;
    line-height: 1.6;
}

.text-small {
    font-size: 0.875rem;
    font-weight: 400;
    line-height: 1.5;
}

/* Container Utilities */
.container {
    max-width: var(--container-wide);
    margin: 0 auto;
    padding: 0 var(--space-3);
}

@media (min-width: 768px) {
    .container {
        padding: 0 var(--space-4);
    }
}

@media (min-width: 1024px) {
    .container {
        padding: 0 var(--space-5);
    }
}

/* Navigation */
.nav {
    position: fixed;
    top: 0;
    width: 100%;
    padding: var(--space-3) 0;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(16px);
    z-index: 1000;
    transition: var(--transition-default);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.nav.scrolled {
    background: rgba(255, 255, 255, 0.95);
    padding: var(--space-2) 0;
    border-bottom-color: rgba(0, 0, 0, 0.2);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    font-size: 1.8rem;
    font-weight: 700;
    font-family: var(--font-display);
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: var(--transition-default);
    cursor: pointer;
    display: flex;
    align-items: center;
}

.nav-logo:hover {
    transform: scale(1.05);
    filter: brightness(1.2);
}

.logo-image {
    height: 50px;
    width: auto;
    transition: var(--transition-default);
    cursor: pointer;
    filter: brightness(1.1);
    vertical-align: middle;
    display: block;
}

.nav-logo:hover .logo-image {
    transform: scale(1.05);
    filter: brightness(1.3);
}

.nav-links {
    display: flex;
    gap: var(--space-6);
    list-style: none;
}

.nav-link {
    color: #475569;
    text-decoration: none;
    font-weight: 500;
    position: relative;
    transition: var(--transition-default);
    padding: var(--space-2) 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: var(--transition-default);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link:hover,
.nav-link.active {
    color: #1e293b;
    transform: translateY(-2px);
}

.nav-cta {
    background: var(--gradient-primary);
    color: white;
    padding: var(--space-2) var(--space-4);
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition-bounce);
    position: relative;
    overflow: hidden;
}

.nav-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gradient-hover);
    transition: var(--transition-default);
}

.nav-cta:hover::before {
    left: 0;
}

.nav-cta:hover {
    transform: scale(1.05) translateY(-2px);
    box-shadow: 0 10px 25px rgba(139, 92, 246, 0.3);
}

.nav-cta span {
    position: relative;
    z-index: 2;
}

/* Language Selector */
.language-selector {
    display: flex;
    gap: var(--space-2);
    align-items: center;
    margin-left: var(--space-3);
}

.language-btn {
    background: none;
    border: 2px solid transparent;
    padding: var(--space-1);
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition-default);
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    min-height: 32px;
}

.language-btn:hover {
    border-color: var(--color-brand);
    transform: scale(1.1);
    background: rgba(139, 92, 246, 0.1);
}

.language-btn.active {
    border-color: var(--color-brand);
    background: var(--gradient-primary);
    transform: scale(1.1);
    box-shadow: 0 2px 8px rgba(139, 92, 246, 0.25);
}

.language-btn.active:hover {
    transform: scale(1.15);
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.4);
}

.flag-icon {
    width: 24px;
    height: auto;
    border-radius: 3px;
    transition: var(--transition-default);
}

.language-btn:hover .flag-icon {
    transform: scale(1.1);
}

.language-btn.active .flag-icon {
    filter: brightness(1.1) saturate(1.2);
}

/* Hero Section with Dynamic Slideshow */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    background: var(--gradient-background);
    overflow: hidden;
}

.hero-slideshow-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: all 1.5s cubic-bezier(0.4, 0, 0.2, 1);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transform: scale(1.1);
}

.hero-slide.active {
    opacity: 1;
    transform: scale(1);
    animation: hero-breathe 8s ease-in-out infinite;
}

.hero-slide.next {
    transform: scale(0.95);
}

/* Animação contínua de zoom sutil */
@keyframes hero-breathe {
    0%, 100% { 
        transform: scale(1) rotate(0deg); 
    }
    50% { 
        transform: scale(1.03) rotate(0.2deg); 
    }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 30% 60%, rgba(139, 92, 246, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 70% 30%, rgba(236, 72, 153, 0.15) 0%, transparent 50%);
    animation: float 20s ease-in-out infinite;
    z-index: 1;
}

@keyframes float {
    0%, 100% { transform: rotate(0deg) scale(1); }
    50% { transform: rotate(180deg) scale(1.1); }
}

/* Hero content remains on top */

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
}

.hero-title {
    margin-bottom: var(--space-4);
    transition: var(--transition-slow);
}

.hero-title:hover {
    transform: scale(1.02);
}

.hero-subtitle-small {
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    font-weight: 400;
    line-height: 1.3;
    font-family: var(--font-primary);
    display: block;
    margin-top: var(--space-3);
    opacity: 1 !important;
    z-index: 10;
    position: relative;
}

/* Texto com efeito neon melhorado e mais intenso */
.hero-neon-text {
    color: #ffffff !important;
    text-shadow: 
        0 0 5px rgba(139, 92, 246, 1),
        0 0 10px rgba(139, 92, 246, 0.9),
        0 0 20px rgba(139, 92, 246, 0.7),
        0 0 30px rgba(139, 92, 246, 0.5),
        0 0 40px rgba(139, 92, 246, 0.3),
        0 2px 8px rgba(0, 0, 0, 0.8);
    font-weight: 500 !important;
    animation: neon-pulse 2.5s ease-in-out infinite alternate;
    position: relative;
    z-index: 10;
    opacity: 1 !important;
}

@keyframes neon-pulse {
    0% {
        text-shadow: 
            0 0 5px rgba(139, 92, 246, 0.9),
            0 0 10px rgba(139, 92, 246, 0.7),
            0 0 15px rgba(139, 92, 246, 0.5),
            0 0 25px rgba(139, 92, 246, 0.3),
            0 2px 8px rgba(0, 0, 0, 0.8);
    }
    100% {
        text-shadow: 
            0 0 8px rgba(139, 92, 246, 1),
            0 0 15px rgba(139, 92, 246, 0.9),
            0 0 25px rgba(139, 92, 246, 0.7),
            0 0 35px rgba(139, 92, 246, 0.5),
            0 0 45px rgba(139, 92, 246, 0.3),
            0 2px 8px rgba(0, 0, 0, 0.8);
    }
}

/* Botões com efeito neon */
.hero-btn-neon span {
    text-shadow: 
        0 0 5px rgba(255, 255, 255, 0.8),
        0 0 10px rgba(255, 255, 255, 0.6);
    font-weight: 600;
}



.hero-subtitle {
    color: var(--color-text-secondary);
    margin-bottom: var(--space-6);
    transition: var(--transition-default);
}

.hero-subtitle:hover {
    color: var(--color-text);
    transform: translateY(-2px);
}

.hero-cta {
    display: flex;
    gap: var(--space-4);
    justify-content: center;
    flex-wrap: wrap;
}

/* Enhanced Buttons */
.btn {
    display: inline-block;
    padding: 16px 32px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition-bounce);
    cursor: pointer;
    border: none;
    position: relative;
    overflow: hidden;
    min-width: 160px;
    text-align: center;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transition: all 600ms ease;
    transform: translate(-50%, -50%);
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.3);
}

.btn-primary:hover {
    transform: scale(1.05) translateY(-3px);
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.4);
}

.btn-secondary {
    background: rgba(248, 250, 252, 0.1);
    color: var(--color-text);
    border: 2px solid rgba(139, 92, 246, 0.3);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(139, 92, 246, 0.2);
    border-color: var(--color-brand);
    transform: scale(1.05) translateY(-3px);
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.2);
}

.btn span {
    position: relative;
    z-index: 2;
}

/* Sections */
.section {
    padding: var(--space-9) 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: var(--space-8);
}

.section-title {
    margin-bottom: var(--space-3);
    transition: var(--transition-default);
}

.section-title:hover {
    transform: scale(1.02);
    color: var(--color-brand-light);
}

.section-description {
    color: var(--color-text-secondary);
    max-width: 600px;
    margin: 0 auto;
    transition: var(--transition-default);
}

.section-description:hover {
    color: var(--color-text);
}

/* Enhanced Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-6);
}

.service-card {
    background: var(--gradient-card);
    padding: var(--space-6);
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    transition: var(--transition-bounce);
    border: 1px solid rgba(139, 92, 246, 0.1);
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(139, 92, 246, 0.1), transparent);
    transition: var(--transition-slow);
}

.service-card:hover::before {
    left: 100%;
}

.service-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 15px 40px rgba(139, 92, 246, 0.2);
    border-color: rgba(139, 92, 246, 0.4);
}

.service-icon {
    width: 64px;
    height: 64px;
    background: var(--gradient-primary);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-4);
    font-size: 28px;
    transition: var(--transition-bounce);
    position: relative;
    z-index: 2;
}

.service-card:hover .service-icon {
    transform: rotate(360deg) scale(1.1);
    box-shadow: 0 8px 20px rgba(139, 92, 246, 0.4);
}

.service-title {
    margin-bottom: var(--space-3);
    transition: var(--transition-default);
    position: relative;
    z-index: 2;
}

.service-card:hover .service-title {
    color: var(--color-brand-light);
    transform: translateX(5px);
}

.service-description {
    color: var(--color-text-secondary);
    transition: var(--transition-default);
    position: relative;
    z-index: 2;
}

.service-card:hover .service-description {
    color: var(--color-text);
}

/* Portfolio Section - Sem padding extra */
.portfolio-section {
    padding-bottom: 0;
}

/* Full-Image Portfolio - Completamente Edge-to-Edge + Preenchimento Total */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    grid-auto-rows: minmax(280px, auto);
    gap: 0;
    margin: var(--space-8) 0 0 0;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    line-height: 0;
    font-size: 0;
    min-height: 100vh;
}

.portfolio-item {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    background: transparent;
    margin: 0;
    padding: 0;
    border: none;
    line-height: 0;
}

.portfolio-item:nth-child(3n+1) {
    grid-row: span 2;
}

.portfolio-item:nth-child(5n+2) {
    grid-column: span 2;
}

.portfolio-item:nth-child(7n+3) {
    grid-row: span 2;
    grid-column: span 1;
}

.portfolio-item:hover {
    transform: scale(1.02);
    z-index: 10;
    filter: brightness(1.1);
}

.portfolio-image {
    width: 100%;
    height: 100%;
    min-height: 300px;
    object-fit: cover;
    object-position: center;
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    display: block;
    margin: 0;
    padding: 0;
    border: none;
    vertical-align: top;
}

.portfolio-item:hover .portfolio-image {
    transform: scale(1.05);
    filter: contrast(1.1) saturate(1.2);
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        45deg,
        rgba(0, 0, 0, 0.8) 0%,
        rgba(15, 23, 42, 0.6) 30%,
        rgba(139, 92, 246, 0.4) 70%,
        rgba(236, 72, 153, 0.3) 100%
    );
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-content {
    padding: var(--space-4) var(--space-6);
    transform: translateY(30px);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    max-width: 85%;
}

.portfolio-item:hover .portfolio-content {
    transform: translateY(0);
}

.portfolio-content h4 {
    color: white;
    font-size: clamp(1.2rem, 2.5vw, 1.8rem);
    font-weight: 600;
    margin-bottom: var(--space-2);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
    line-height: 1.3;
    letter-spacing: -0.01em;
}

.portfolio-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
    font-weight: 400;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.6);
    line-height: 1.4;
}

.portfolio-zoom-icon {
    font-size: 2rem;
    margin-top: var(--space-2);
    opacity: 0.8;
    transition: var(--transition-default);
}

.portfolio-item:hover .portfolio-zoom-icon {
    opacity: 1;
    transform: scale(1.2);
}

/* Enhanced Contact Section */
.contact {
    background: var(--color-bg-secondary);
    position: relative;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--gradient-primary);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-8);
    align-items: start;
}

.contact-info {
    padding: var(--space-5);
}

.contact-item {
    margin-bottom: var(--space-4);
    padding: var(--space-3);
    border-radius: 12px;
    transition: var(--transition-default);
    cursor: pointer;
}

.contact-item:hover {
    background: rgba(139, 92, 246, 0.1);
    transform: translateX(10px);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
    background: rgba(248, 250, 252, 0.05);
    padding: var(--space-6);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(139, 92, 246, 0.1);
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
}

.form-label {
    font-weight: 500;
    color: var(--color-text-secondary);
    transition: var(--transition-default);
}

.form-input,
.form-textarea {
    padding: var(--space-3) var(--space-4);
    border: 2px solid rgba(139, 92, 246, 0.2);
    border-radius: 12px;
    background: rgba(248, 250, 252, 0.05);
    color: var(--color-text);
    font-family: var(--font-primary);
    transition: var(--transition-default);
    backdrop-filter: blur(10px);
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--color-brand);
    box-shadow: 0 0 0 4px rgba(139, 92, 246, 0.1);
    transform: scale(1.02);
}

.form-input:hover,
.form-textarea:hover {
    border-color: var(--color-brand-light);
    background: rgba(248, 250, 252, 0.1);
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
}

/* Footer */
.footer {
    background: var(--color-bg);
    padding: var(--space-7) 0;
    text-align: center;
    color: var(--color-text-muted);
    border-top: 1px solid rgba(139, 92, 246, 0.1);
}

/* Footer Social */
.footer-social {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    margin-top: var(--space-3);
}

.footer-social a {
    color: var(--color-text-secondary);
    text-decoration: none;
    transition: var(--transition-default);
}

.footer-social a:hover {
    color: var(--color-text);
}

.footer-social img {
    width: 24px;
    height: 24px;
    display: inline-block;
    vertical-align: middle;
    filter: invert(100%) sepia(0%) saturate(0%) hue-rotate(0deg) brightness(100%) contrast(100%);
    opacity: 0.85;
    transition: var(--transition-default);
}

.footer-social a:hover img {
    opacity: 1;
    transform: scale(1.05);
}

/* Responsive Design */
@media (max-width: 768px) {
    /* Navegação Mobile Otimizada */
    .nav {
        padding: var(--space-2) 0;
    }
    
    .nav-container {
        gap: var(--space-2);
        padding: 0 var(--space-3);
    }
    
    .nav-links {
        display: none;
    }
    
    /* Logo menor no mobile */
    .logo-image {
        height: 35px;
        width: auto;
    }
    
    /* Botão de orçamento compacto */
    .nav-cta {
        padding: var(--space-1) var(--space-3);
        font-size: 0.875rem;
        border-radius: 8px;
        white-space: nowrap;
    }
    
    /* Seletor de idioma otimizado */
    .language-selector {
        gap: var(--space-1);
        margin-left: var(--space-2);
    }
    
    .language-btn {
        min-width: 32px;
        min-height: 28px;
        padding: 2px;
    }
    
    .flag-icon {
        width: 20px;
        height: auto;
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: center;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    /* Portfolio Edge-to-Edge - Tablet */
    .portfolio-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        grid-auto-rows: minmax(220px, auto);
        gap: 0;
        width: 100vw;
        margin-left: calc(-50vw + 50%);
        min-height: 80vh;
    }
    
    .portfolio-item:nth-child(3n+1) {
        grid-row: span 1;
    }

    .portfolio-item:nth-child(5n+2) {
        grid-column: span 1;
    }
    
    .portfolio-image {
        min-height: 220px;
        object-fit: cover;
    }
    
    .portfolio-content h4 {
        font-size: clamp(1.1rem, 4vw, 1.5rem);
    }
    
    .portfolio-content p {
        font-size: 0.9rem;
    }
    
    /* Mobile Slideshow Adjustments */
    .slide-nav {
        display: none; /* Esconde setas no mobile */
    }
    
    .slide-info {
        left: 20px;
        right: 20px;
        bottom: 100px;
        max-width: none;
        padding: var(--space-3);
    }
    
    .slideshow-controls {
        bottom: 20px;
        gap: 8px;
    }
    
    .slide-dot {
        width: 10px;
        height: 10px;
    }
}

/* Animation Classes */
.fade-up {
    opacity: 0;
    transform: translateY(40px);
    transition: all 800ms cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-up.animate {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger animation delays */
.fade-up:nth-child(1) { transition-delay: 0ms; }
.fade-up:nth-child(2) { transition-delay: 150ms; }
.fade-up:nth-child(3) { transition-delay: 300ms; }
.fade-up:nth-child(4) { transition-delay: 450ms; }
.fade-up:nth-child(5) { transition-delay: 600ms; }
.fade-up:nth-child(6) { transition-delay: 750ms; }

/* Parallax Elements */
.parallax {
    transform: translateZ(0);
    transition: transform 0.1s ease-out;
}

/* Loading Animation */
@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.loading {
    animation: pulse 2s ease-in-out infinite;
}

/* WhatsApp Button */
.whatsapp-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.3);
    z-index: 1000;
    transition: var(--transition-bounce);
    text-decoration: none;
    color: white;
    animation: whatsapp-float 3s ease-in-out infinite;
}

.whatsapp-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.5);
    background: #20BA5A;
}

.whatsapp-btn svg {
    transition: var(--transition-default);
}

.whatsapp-btn:hover svg {
    transform: scale(1.1);
}

/* WhatsApp Button Animations */
@keyframes whatsapp-float {
    0%, 100% { 
        transform: translateY(0px) rotate(0deg); 
    }
    50% { 
        transform: translateY(-5px) rotate(1deg); 
    }
}

/* WhatsApp Pulse Effect */
.whatsapp-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 50%;
    background: #25D366;
    animation: whatsapp-pulse 2s ease-in-out infinite;
    z-index: -1;
}

@keyframes whatsapp-pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    100% {
        transform: scale(1.3);
        opacity: 0;
    }
}

/* WhatsApp Mobile Adjustments */
@media (max-width: 768px) {
    .whatsapp-btn {
        bottom: 20px;
        right: 20px;
        width: 55px;
        height: 55px;
    }
}

/* Mobile Extra Small - Portfolio Edge-to-Edge */
@media (max-width: 480px) {
    /* Navegação para telas muito pequenas */
    .nav-container {
        gap: var(--space-1);
        padding: 0 var(--space-2);
    }
    
    /* Logo ainda menor */
    .logo-image {
        height: 30px;
        width: auto;
    }
    
    /* Botão orçamento super compacto */
    .nav-cta {
        padding: 6px var(--space-2);
        font-size: 0.8rem;
        min-width: auto;
    }
    
    /* Seletor de idioma ultra compacto */
    .language-selector {
        gap: 4px;
        margin-left: var(--space-1);
    }
    
    .language-btn {
        min-width: 28px;
        min-height: 24px;
        padding: 1px;
        border-width: 1px;
    }
    
    .flag-icon {
        width: 18px;
        height: auto;
    }
    
    .portfolio-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: minmax(250px, auto);
        gap: 0;
        margin-left: calc(-50vw + 50%);
        width: 100vw;
        line-height: 0;
        min-height: 120vh;
    }
    
    .portfolio-item {
        margin: 0;
        padding: 0;
        line-height: 0;
    }
    
    .portfolio-item:nth-child(3n+1),
    .portfolio-item:nth-child(5n+2),
    .portfolio-item:nth-child(7n+3) {
        grid-row: span 1;
        grid-column: span 1;
    }
    
    .portfolio-image {
        min-height: 250px;
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }
    
    .portfolio-item:hover {
        transform: scale(1.01);
    }
    
    .portfolio-content {
        padding: var(--space-3) var(--space-4);
    }
    
    .portfolio-content h4 {
        font-size: 1.3rem;
    }
    
    .portfolio-content p {
        font-size: 0.9rem;
    }
    
    .whatsapp-btn svg {
        width: 24px;
        height: 24px;
    }
}

/* =============================================================================
   LIGHTBOX STYLES
   ============================================================================= */

.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease-in-out;
}

.lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
}

.lightbox-content {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-6);
}

.lightbox-image {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.lightbox-info {
    position: absolute;
    bottom: var(--space-6);
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: white;
    background: rgba(0, 0, 0, 0.7);
    padding: var(--space-3) var(--space-4);
    border-radius: 8px;
    backdrop-filter: blur(10px);
}

.lightbox-info h3 {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 500;
}

.lightbox-close {
    position: absolute;
    top: var(--space-4);
    right: var(--space-4);
    background: rgba(0, 0, 0, 0.7);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 2rem;
    cursor: pointer;
    transition: var(--transition-default);
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
}

.lightbox-close:hover {
    background: rgba(139, 92, 246, 0.8);
    transform: scale(1.1);
}

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.7);
    color: white;
    border: none;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    transition: var(--transition-default);
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
}

.lightbox-prev {
    left: var(--space-4);
}

.lightbox-next {
    right: var(--space-4);
}

.lightbox-prev:hover,
.lightbox-next:hover {
    background: rgba(139, 92, 246, 0.8);
    transform: translateY(-50%) scale(1.1);
}

/* Mobile Lightbox Adjustments */
@media (max-width: 768px) {
    .lightbox-content {
        padding: var(--space-4);
    }
    
    .lightbox-image {
        max-width: 95%;
        max-height: 85%;
    }
    
    .lightbox-close {
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
        top: var(--space-3);
        right: var(--space-3);
    }
    
    .lightbox-prev,
    .lightbox-next {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .lightbox-info {
        bottom: var(--space-4);
        left: var(--space-3);
        right: var(--space-3);
        transform: none;
        padding: var(--space-2) var(--space-3);
    }
    
    .lightbox-info h3 {
        font-size: 1rem;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    *,
    ::before,
    ::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* Ultra Small Screens - Garantir visibilidade de todos elementos */
@media (max-width: 360px) {
    .nav-container {
        justify-content: space-between;
        gap: 2px;
        padding: 0 8px;
    }
    
    /* Logo mínimo */
    .logo-image {
        height: 28px;
        width: auto;
    }
    
    /* Botão orçamento mínimo */
    .nav-cta {
        padding: 4px 8px;
        font-size: 0.75rem;
        border-radius: 6px;
    }
    
    /* Seletor de idioma mínimo */
    .language-selector {
        gap: 2px;
        margin-left: 4px;
    }
    
    .language-btn {
        min-width: 26px;
        min-height: 22px;
        padding: 0;
        border-width: 1px;
    }
    
    .flag-icon {
        width: 16px;
        height: auto;
    }
    
    /* Ajustar texto hero para telas muito pequenas */
    .text-hero {
        font-size: clamp(2rem, 8vw, 3rem);
    }
    
    .hero-subtitle-small {
        font-size: clamp(1.2rem, 5vw, 1.8rem);
    }
}

/* Print Styles */
@media print {
    .nav,
    .slideshow-controls,
    .slide-nav,
    .interactive-cursor {
        display: none !important;
    }
    
    .hero-slideshow {
        display: none !important;
    }
    
    body {
        background: white !important;
        color: black !important;
    }
}