/* ============================================
   VARIABLES & RESET
   ============================================ */

:root {
    /* Cores Principais */
    --color-primary: #D4AF37; /* Dourado */
    --color-primary-dark: #B8941F;
    --color-primary-light: #E5C866;
    --color-secondary: #4B0082; /* Roxo Escuro */
    --color-secondary-dark: #2D004D;
    --color-secondary-light: #6B1FA3;
    
    /* Cores Neutras */
    --color-dark: #0A0A0F;
    --color-dark-light: #1A1A2E;
    --color-gray: #2E2E3E;
    --color-gray-light: #3E3E4E;
    --color-white: #FFFFFF;
    --color-text: #E0E0E0;
    --color-text-light: #B0B0B0;
    
    /* Gradientes */
    --gradient-primary: linear-gradient(135deg, #D4AF37 0%, #B8941F 100%);
    --gradient-secondary: linear-gradient(135deg, #4B0082 0%, #2D004D 100%);
    --gradient-hero: linear-gradient(135deg, #4B0082 0%, #2D004D 50%, #1A1A2E 100%);
    --gradient-text: linear-gradient(135deg, #D4AF37 0%, #E5C866 100%);
    
    /* Tipografia */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-weight-light: 300;
    --font-weight-regular: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;
    --font-weight-extrabold: 800;
    
    /* Espaçamentos */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 3rem;
    --spacing-xl: 4rem;
    --spacing-2xl: 6rem;
    
    /* Transições */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    /* Sombras */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.2);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.3);
    --shadow-glow: 0 0 30px rgba(212, 175, 55, 0.3);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    background-color: var(--color-dark);
    color: var(--color-text);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* ============================================
   NAVIGATION
   ============================================ */

.navbar {
    position: relative;
    z-index: 1000;
    background: rgba(10, 10, 15, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
    transition: all var(--transition-normal);
    animation: slideDown 0.8s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-100%);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-sm) 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    font-size: 1.5rem;
    font-weight: var(--font-weight-bold);
    color: var(--color-white);
    text-decoration: none;
}

.logo-icon {
    font-size: 2rem;
    display: inline-block;
    animation: pulse 2s ease-in-out infinite;
    filter: drop-shadow(0 0 10px rgba(212, 175, 55, 0.5));
    transition: all var(--transition-normal);
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        filter: drop-shadow(0 0 10px rgba(212, 175, 55, 0.5));
    }
    50% {
        transform: scale(1.1);
        filter: drop-shadow(0 0 20px rgba(212, 175, 55, 0.8));
    }
}

.logo:hover .logo-icon {
    animation: none;
    transform: rotate(20deg) scale(1.2);
}

.logo-text {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: var(--spacing-md);
}

.nav-link {
    color: var(--color-text);
    text-decoration: none;
    font-weight: var(--font-weight-medium);
    transition: color var(--transition-fast);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width var(--transition-normal);
}

.nav-link:hover {
    color: var(--color-primary);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--spacing-xs);
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--color-primary);
    border-radius: 3px;
    transition: all var(--transition-normal);
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero {
    position: relative;
    min-height: 150vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-2xl) 0;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
    background: var(--gradient-hero);
}

.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.3;
    animation: float 20s infinite ease-in-out;
}

.orb-1 {
    width: 500px;
    height: 500px;
    background: var(--color-primary);
    top: -200px;
    left: -200px;
    animation-delay: 0s;
}

.orb-2 {
    width: 400px;
    height: 400px;
    background: var(--color-secondary-light);
    bottom: -150px;
    right: -150px;
    animation-delay: 5s;
}

.orb-3 {
    width: 300px;
    height: 300px;
    background: var(--color-primary-light);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: 10s;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.3;
    }
    33% {
        transform: translate(50px, -50px) scale(1.2);
        opacity: 0.4;
    }
    66% {
        transform: translate(-30px, 30px) scale(0.8);
        opacity: 0.2;
    }
}

.hero-content {
    text-align: center;
    max-width: 900px;
    z-index: 1;
    opacity: 1;
    transition: opacity 0.3s ease-out, transform 0.3s ease-out;
    padding: var(--spacing-xl) 0;
    margin-top: var(--spacing-xl);
}

.hero-badge {
    display: inline-block;
    padding: var(--spacing-xs) var(--spacing-md);
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 50px;
    margin-bottom: var(--spacing-md);
    color: var(--color-primary);
    font-weight: var(--font-weight-medium);
    font-size: 0.9rem;
    animation: fadeInUp 1s ease-out 0.2s both;
    position: relative;
    overflow: hidden;
}

.hero-badge::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(212, 175, 55, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.hero-badge:hover::before {
    width: 300px;
    height: 300px;
}

.hero-badge-secondary {
    margin-top: var(--spacing-xs);
    background: rgba(33, 150, 243, 0.15);
    border: 2px solid rgba(33, 150, 243, 0.5);
    color: #64B5F6;
    animation: fadeInUp 1s ease-out 0.3s both;
    font-weight: var(--font-weight-semibold);
    box-shadow: 0 0 20px rgba(33, 150, 243, 0.3);
    position: relative;
    overflow: hidden;
}

.hero-badge-secondary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(33, 150, 243, 0.3), transparent);
    transition: left 0.6s ease;
}

.hero-badge-secondary:hover::before {
    left: 100%;
}

.hero-badge-secondary:hover {
    background: rgba(33, 150, 243, 0.25);
    border-color: rgba(33, 150, 243, 0.7);
    color: #90CAF9;
    box-shadow: 0 0 30px rgba(33, 150, 243, 0.5);
    transform: scale(1.05);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: var(--font-weight-extrabold);
    line-height: 1.2;
    margin-bottom: var(--spacing-md);
    color: var(--color-white);
    animation: fadeInUp 1s ease-out 0.4s both;
}

.gradient-text {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% auto;
    animation: shimmer 3s linear infinite;
}

@keyframes shimmer {
    0% {
        background-position: 0% center;
    }
    100% {
        background-position: 200% center;
    }
}

.hero-description {
    font-size: 1.25rem;
    color: var(--color-text-light);
    margin-bottom: var(--spacing-xl);
    line-height: 1.8;
    animation: fadeInUp 1s ease-out 0.6s both;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 var(--spacing-md);
}

.hero-buttons {
    display: flex;
    gap: var(--spacing-sm);
    justify-content: center;
    margin-bottom: var(--spacing-xl);
    flex-wrap: wrap;
    animation: fadeInUp 1s ease-out 0.8s both;
}

.btn {
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: var(--font-weight-semibold);
    text-decoration: none;
    transition: all var(--transition-normal);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: none;
    font-size: 1rem;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--color-dark);
    box-shadow: var(--shadow-glow);
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-primary:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 0 50px rgba(212, 175, 55, 0.7);
}

.btn-secondary {
    background: transparent;
    color: var(--color-white);
    border: 2px solid var(--color-primary);
    position: relative;
    overflow: hidden;
}

.btn-secondary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(212, 175, 55, 0.2);
    transition: left 0.5s ease;
}

.btn-secondary:hover::before {
    left: 100%;
}

.btn-secondary:hover {
    background: rgba(212, 175, 55, 0.1);
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 0 30px rgba(212, 175, 55, 0.4);
}

.btn-full {
    width: 100%;
}

.hero-benefits {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-md);
    margin-top: var(--spacing-2xl);
    padding-top: var(--spacing-xl);
    animation: fadeInUp 1s ease-out 1s both;
}

.benefit-item {
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    padding: var(--spacing-lg);
    border-radius: 20px;
    background: rgba(212, 175, 55, 0.05);
    border: 1px solid rgba(212, 175, 55, 0.1);
    position: relative;
    overflow: hidden;
}

.benefit-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.1), transparent);
    transition: left 0.6s ease;
}

.benefit-item:hover::before {
    left: 100%;
}

.benefit-item:hover {
    background: rgba(212, 175, 55, 0.1);
    border-color: rgba(212, 175, 55, 0.3);
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 10px 40px rgba(212, 175, 55, 0.2);
}

.benefit-icon {
    font-size: 3rem;
    margin-bottom: var(--spacing-sm);
    display: inline-block;
    transition: all 0.4s ease;
    filter: drop-shadow(0 0 10px rgba(212, 175, 55, 0.3));
}

.benefit-item:hover .benefit-icon {
    transform: scale(1.2) rotate(5deg);
    filter: drop-shadow(0 0 20px rgba(212, 175, 55, 0.6));
}

.benefit-item h3 {
    color: var(--color-white);
    font-size: 1.2rem;
    font-weight: var(--font-weight-bold);
    margin-bottom: var(--spacing-xs);
}

.benefit-item p {
    color: var(--color-text-light);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}


/* ============================================
   SECTIONS COMMON STYLES
   ============================================ */

section {
    padding: var(--spacing-2xl) 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-xl);
}

.section-tag {
    display: inline-block;
    padding: var(--spacing-xs) var(--spacing-md);
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 50px;
    color: var(--color-primary);
    font-weight: var(--font-weight-medium);
    font-size: 0.9rem;
    margin-bottom: var(--spacing-sm);
    animation: fadeIn 0.6s ease-out;
    transition: all var(--transition-normal);
}

.section-tag:hover {
    background: rgba(212, 175, 55, 0.2);
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: var(--font-weight-extrabold);
    color: var(--color-white);
    margin-bottom: var(--spacing-sm);
    animation: fadeInUp 0.8s ease-out;
}

.section-description {
    font-size: 1.1rem;
    color: var(--color-text-light);
    max-width: 700px;
    margin: 0 auto;
}

/* ============================================
   SOBRE SECTION
   ============================================ */

.sobre {
    background: var(--color-dark-light);
}

.sobre-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
    align-items: center;
}

.sobre-text .lead {
    font-size: 1.3rem;
    color: var(--color-white);
    margin-bottom: var(--spacing-md);
    line-height: 1.8;
}

.sobre-text p {
    color: var(--color-text-light);
    margin-bottom: var(--spacing-md);
    line-height: 1.8;
}

.sobre-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

.feature-item {
    text-align: center;
    padding: var(--spacing-md);
    background: rgba(212, 175, 55, 0.05);
    border-radius: 15px;
    border: 1px solid rgba(212, 175, 55, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.feature-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.1), transparent);
    transition: left 0.6s;
}

.feature-item:hover::before {
    left: 100%;
}

.feature-item:hover {
    transform: translateY(-10px) scale(1.05);
    background: rgba(212, 175, 55, 0.15);
    border-color: rgba(212, 175, 55, 0.5);
    box-shadow: 0 10px 40px rgba(212, 175, 55, 0.2);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: var(--spacing-sm);
    display: inline-block;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-item:hover .feature-icon {
    transform: scale(1.3) rotate(10deg);
    filter: drop-shadow(0 0 20px rgba(212, 175, 55, 0.6));
}

.feature-item h3 {
    color: var(--color-white);
    margin-bottom: var(--spacing-xs);
    font-size: 1.1rem;
}

.feature-item p {
    color: var(--color-text-light);
    font-size: 0.9rem;
    margin: 0;
}

.sobre-image {
    position: relative;
}

.sobre-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 20px;
    background: transparent;
    border: none;
    outline: none;
    box-shadow: none;
    display: block;
}

.image-placeholder {
    width: 100%;
    aspect-ratio: 1;
    background: var(--gradient-secondary);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-light);
    font-size: 1.2rem;
    border: 2px dashed rgba(212, 175, 55, 0.3);
    transition: all 0.5s ease;
    position: relative;
    overflow: hidden;
}

/* Skeleton loader para imagem */
.image-placeholder.loading {
    border: none;
    background: linear-gradient(90deg, 
        rgba(212, 175, 55, 0.08) 0%, 
        rgba(212, 175, 55, 0.15) 50%, 
        rgba(212, 175, 55, 0.08) 100%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s ease-in-out infinite;
    position: relative;
}

.image-placeholder.loading::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(255, 255, 255, 0.1) 50%, 
        transparent 100%);
    animation: skeleton-shimmer 1.5s ease-in-out infinite;
    border-radius: 20px;
}

.image-skeleton {
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        rgba(212, 175, 55, 0.08) 0%, 
        rgba(212, 175, 55, 0.15) 50%, 
        rgba(212, 175, 55, 0.08) 100%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s ease-in-out infinite;
    border-radius: 20px;
    position: relative;
}

.image-skeleton::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(255, 255, 255, 0.1) 50%, 
        transparent 100%);
    animation: skeleton-shimmer 1.5s ease-in-out infinite;
    border-radius: 20px;
}

@keyframes skeleton-loading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

@keyframes skeleton-shimmer {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

.image-placeholder::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(212, 175, 55, 0.1), transparent);
    animation: shimmerSlide 3s infinite;
}

@keyframes shimmerSlide {
    0% {
        transform: translateX(-100%) translateY(-100%);
    }
    100% {
        transform: translateX(100%) translateY(100%);
    }
}

/* Estilos para imagem estática da seção sobre */
.sobre-image img {
    transition: transform 0.3s ease;
}

.sobre-image:hover img {
    transform: scale(1.02);
}

/* ============================================
   SERVIÇOS SECTION
   ============================================ */

.servicos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-md);
}

.servico-card {
    background: var(--color-dark-light);
    padding: var(--spacing-lg);
    border-radius: 20px;
    border: 1px solid rgba(212, 175, 55, 0.1);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.servico-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.servico-card::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.1) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    transition: width 0.8s, height 0.8s;
    z-index: 0;
}

.servico-card:hover::after {
    width: 500px;
    height: 500px;
}

.servico-card:hover {
    transform: translateY(-15px) scale(1.02);
    border-color: rgba(212, 175, 55, 0.6);
    box-shadow: 0 20px 60px rgba(212, 175, 55, 0.2);
}

.servico-card:hover::before {
    transform: scaleX(1);
}

.servico-card > * {
    position: relative;
    z-index: 1;
}

.servico-icon {
    font-size: 3rem;
    margin-bottom: var(--spacing-sm);
    display: inline-block;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.servico-card:hover .servico-icon {
    transform: scale(1.2) rotate(5deg);
    filter: drop-shadow(0 0 20px rgba(212, 175, 55, 0.8));
}

.servico-card h3 {
    color: var(--color-white);
    font-size: 1.5rem;
    margin-bottom: var(--spacing-sm);
    font-weight: var(--font-weight-bold);
}

.servico-card > p {
    color: var(--color-text-light);
    margin-bottom: var(--spacing-md);
    line-height: 1.8;
}

.servico-list {
    list-style: none;
    padding: 0;
}

.servico-list li {
    color: var(--color-text);
    padding: var(--spacing-xs) 0;
    padding-left: var(--spacing-md);
    position: relative;
}

.servico-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--color-primary);
    font-weight: var(--font-weight-bold);
}

/* ============================================
   PORTFOLIO SECTION
   ============================================ */

.portfolio {
    background: var(--color-dark-light);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-md);
}

.portfolio-item {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    aspect-ratio: 4/3;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(212, 175, 55, 0.1);
    display: flex;
    flex-direction: column;
}

.portfolio-item:hover {
    transform: scale(1.02);
    box-shadow: 0 15px 50px rgba(212, 175, 55, 0.3);
    border-color: rgba(212, 175, 55, 0.5);
}

.portfolio-image {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.portfolio-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    transition: transform 0.5s ease;
}

.portfolio-item:hover .portfolio-image img {
    transform: scale(1.1);
}

.portfolio-image .image-placeholder {
    width: 100%;
    height: 100%;
    background: var(--gradient-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-light);
    font-size: 1.2rem;
    opacity: 0.7;
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(10, 10, 15, 0.85) 0%, rgba(10, 10, 15, 0.65) 50%, rgba(10, 10, 15, 0.2) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: var(--spacing-md);
    opacity: 1;
    transition: all 0.3s ease;
    pointer-events: none; /* Permitir clique através do overlay */
}

.portfolio-item:hover .portfolio-overlay {
    background: linear-gradient(to top, rgba(10, 10, 15, 0.9) 0%, rgba(10, 10, 15, 0.7) 60%, rgba(10, 10, 15, 0.3) 100%);
}

.portfolio-overlay h3 {
    color: var(--color-white);
    font-size: 1.1rem;
    margin-bottom: var(--spacing-xs);
    font-weight: var(--font-weight-bold);
    line-height: 1.3;
    pointer-events: none; /* Não bloquear clique */
}

.portfolio-overlay p {
    color: var(--color-text-light);
    margin-bottom: 0;
    font-size: 0.85rem;
    line-height: 1.4;
    pointer-events: none; /* Não bloquear clique */
}

.portfolio-card-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: rgba(212, 175, 55, 0.15);
    border: 1px solid rgba(212, 175, 55, 0.4);
    border-radius: 12px;
    color: var(--color-primary);
    font-size: 0.75rem;
    font-weight: 600;
    margin-top: var(--spacing-xs);
    pointer-events: none; /* Não bloquear clique do card */
    transition: all 0.3s ease;
    opacity: 0.9;
}

.portfolio-item:hover .portfolio-card-link {
    background: rgba(212, 175, 55, 0.25);
    border-color: var(--color-primary);
    transform: scale(1.05);
    opacity: 1;
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.3);
}

.portfolio-card-link span {
    font-size: 0.85rem;
}

.portfolio-link {
    color: var(--color-primary);
    text-decoration: none;
    font-weight: var(--font-weight-semibold);
    transition: all var(--transition-normal);
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.portfolio-link:hover {
    color: var(--color-primary-light);
    transform: translateX(10px);
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
}

/* ============================================
   PORTFOLIO MODAL PREMIUM
   ============================================ */

.portfolio-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-md);
    opacity: 0;
    transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.portfolio-modal.active {
    opacity: 1;
}

.portfolio-modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(10, 10, 15, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    opacity: 0;
    transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.portfolio-modal.active .portfolio-modal-backdrop {
    opacity: 1;
}

.portfolio-modal-content {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    width: 100%;
    max-height: 90vh;
    background: var(--color-dark);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 25px 100px rgba(0, 0, 0, 0.8);
    border: 1px solid rgba(212, 175, 55, 0.2);
    display: flex;
    flex-direction: column;
    transform: scale(0.9) translateY(50px);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Container interno com scroll */
.portfolio-modal-scrollable {
    overflow-y: auto;
    overflow-x: hidden;
    max-height: calc(90vh - 0px);
    display: flex;
    flex-direction: column;
    flex: 1;
}

/* Scrollbar customizada para o conteúdo scrollável */
.portfolio-modal-scrollable::-webkit-scrollbar {
    width: 10px;
}

.portfolio-modal-scrollable::-webkit-scrollbar-track {
    background: rgba(212, 175, 55, 0.05);
    border-radius: 5px;
}

.portfolio-modal-scrollable::-webkit-scrollbar-thumb {
    background: rgba(212, 175, 55, 0.3);
    border-radius: 5px;
    border: 2px solid var(--color-dark);
}

.portfolio-modal-scrollable::-webkit-scrollbar-thumb:hover {
    background: rgba(212, 175, 55, 0.5);
}

.portfolio-modal.active .portfolio-modal-content {
    transform: scale(1) translateY(0);
    opacity: 1;
}

.portfolio-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(212, 175, 55, 0.1);
    border: 2px solid rgba(212, 175, 55, 0.3);
    color: var(--color-primary);
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    /* Fica fixo no topo do modal, não rola com o conteúdo */
}

.portfolio-modal-close:hover {
    background: rgba(212, 175, 55, 0.2);
    border-color: var(--color-primary);
    transform: rotate(90deg) scale(1.1);
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.5);
}

.portfolio-modal-image-wrapper {
    width: 100%;
    height: auto;
    min-height: 400px;
    max-height: 70vh;
    overflow: auto;
    position: relative;
    background: var(--color-dark-light);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-md);
    box-sizing: border-box;
    flex-shrink: 0;
}

.portfolio-modal-image-wrapper::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

.portfolio-modal-image-wrapper::-webkit-scrollbar-track {
    background: rgba(212, 175, 55, 0.1);
    border-radius: 4px;
}

.portfolio-modal-image-wrapper::-webkit-scrollbar-thumb {
    background: rgba(212, 175, 55, 0.3);
    border-radius: 4px;
}

.portfolio-modal-image-wrapper::-webkit-scrollbar-thumb:hover {
    background: rgba(212, 175, 55, 0.5);
}

.portfolio-modal-image {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    object-position: center center;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 12px;
}

.portfolio-modal.active .portfolio-modal-image {
    animation: modalImageZoom 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes modalImageZoom {
    0% {
        transform: scale(1.1);
        opacity: 0;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.portfolio-modal-info {
    padding: var(--spacing-xl);
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
    background: linear-gradient(to bottom, var(--color-dark) 0%, var(--color-dark-light) 100%);
    flex-shrink: 0;
    min-height: fit-content;
}

.portfolio-modal-category {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 20px;
    color: var(--color-primary);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    width: fit-content;
    animation: fadeInUp 0.5s ease-out 0.2s both;
}

.portfolio-modal-title {
    color: var(--color-white);
    font-size: 2.5rem;
    font-weight: 800;
    margin: 0;
    line-height: 1.2;
    background: linear-gradient(135deg, var(--color-white) 0%, var(--color-primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: fadeInUp 0.5s ease-out 0.3s both;
    word-wrap: break-word;
    overflow-wrap: break-word;
    max-width: 100%;
}

.portfolio-modal-description {
    color: var(--color-text-light);
    font-size: 1.1rem;
    line-height: 1.8;
    margin: 0;
    animation: fadeInUp 0.5s ease-out 0.4s both;
    word-wrap: break-word;
    overflow-wrap: break-word;
    max-width: 100%;
}

.portfolio-modal-link {
    margin-top: var(--spacing-sm);
    width: fit-content;
    animation: fadeInUp 0.5s ease-out 0.5s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Modal */
@media (max-width: 768px) {
    .portfolio-modal {
        padding: var(--spacing-sm);
    }
    
    .portfolio-modal-content {
        max-height: 95vh;
        border-radius: 20px;
    }
    
    .portfolio-modal-scrollable {
        max-height: calc(95vh - 0px);
    }
    
    .portfolio-modal-image-wrapper {
        height: auto;
        min-height: 250px;
        max-height: 50vh;
        padding: var(--spacing-sm);
    }
    
    .portfolio-modal-info {
        padding: var(--spacing-lg);
        gap: var(--spacing-sm);
    }
    
    .portfolio-modal-title {
        font-size: 1.8rem;
        line-height: 1.3;
    }
    
    .portfolio-modal-description {
        font-size: 1rem;
        line-height: 1.6;
    }
    
    .portfolio-modal-close {
        top: 15px;
        right: 15px;
        width: 40px;
        height: 40px;
        font-size: 24px;
        z-index: 20;
    }
    
    .portfolio-modal-link {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .portfolio-modal-content {
        max-height: 98vh;
        border-radius: 16px;
    }
    
    .portfolio-modal-scrollable {
        max-height: calc(98vh - 0px);
    }
    
    .portfolio-modal-image-wrapper {
        height: auto;
        min-height: 200px;
        max-height: 45vh;
    }
    
    .portfolio-modal-info {
        padding: var(--spacing-md);
    }
    
    .portfolio-modal-title {
        font-size: 1.5rem;
    }
    
    .portfolio-modal-description {
        font-size: 0.95rem;
    }
}

/* ============================================
   CONTATO SECTION
   ============================================ */

.contato-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
    align-items: start;
}

.contato-details {
    margin-top: var(--spacing-lg);
}

.contato-item {
    display: flex;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-md);
    align-items: start;
}

.contato-icon {
    font-size: 1.5rem;
    min-width: 40px;
}

.contato-item h4 {
    color: var(--color-white);
    margin-bottom: var(--spacing-xs);
    font-size: 1.1rem;
}

.contato-item p {
    color: var(--color-text-light);
    margin: 0;
}

.contato-item a {
    color: var(--color-primary);
    text-decoration: none;
    transition: all var(--transition-fast);
}

.contato-item a:hover {
    color: var(--color-primary-light);
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
}

.contato-form-wrapper {
    background: var(--color-dark-light);
    padding: var(--spacing-lg);
    border-radius: 20px;
    border: 1px solid rgba(212, 175, 55, 0.1);
    transition: all 0.5s ease;
    position: relative;
    overflow: hidden;
}

.contato-form-wrapper::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, var(--color-primary), var(--color-secondary), var(--color-primary));
    background-size: 400% 400%;
    border-radius: 20px;
    opacity: 0;
    z-index: -1;
    transition: opacity 0.5s;
    animation: gradientShift 8s ease infinite;
}

.contato-form-wrapper:hover::before {
    opacity: 1;
}

@keyframes gradientShift {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

.form-group {
    margin-bottom: var(--spacing-md);
}

.form-group label {
    display: block;
    color: var(--color-white);
    margin-bottom: var(--spacing-xs);
    font-weight: var(--font-weight-medium);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    background: var(--color-dark);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 10px;
    color: var(--color-white);
    font-family: var(--font-primary);
    font-size: 1rem;
    transition: all var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
    transform: translateY(-2px);
    background: rgba(212, 175, 55, 0.02);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.btn-loader {
    display: none;
    width: 20px;
    height: 20px;
    border: 2px solid rgba(10, 10, 15, 0.3);
    border-top-color: var(--color-dark);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

.btn.loading .btn-loader {
    display: inline-block;
}

.btn.loading span:first-child {
    display: none;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.form-message {
    margin-top: var(--spacing-sm);
    padding: var(--spacing-sm);
    border-radius: 10px;
    display: none;
}

.form-message.success {
    display: block;
    background: rgba(76, 175, 80, 0.1);
    border: 1px solid rgba(76, 175, 80, 0.3);
    color: #4CAF50;
}

.form-message.error {
    display: block;
    background: rgba(244, 67, 54, 0.1);
    border: 1px solid rgba(244, 67, 54, 0.3);
    color: #F44336;
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
    background: var(--color-dark-light);
    border-top: 1px solid rgba(212, 175, 55, 0.1);
    padding: var(--spacing-xl) 0 var(--spacing-md);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
}

.footer-section h4 {
    color: var(--color-white);
    margin-bottom: var(--spacing-sm);
    font-size: 1.1rem;
}

.footer-section p {
    color: var(--color-text-light);
    line-height: 1.8;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: var(--spacing-xs);
}

.footer-section a {
    color: var(--color-text-light);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.footer-section a:hover {
    color: var(--color-primary);
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
}

.social-link {
    display: inline-block;
}

.footer-bottom {
    text-align: center;
    padding-top: var(--spacing-md);
    border-top: 1px solid rgba(212, 175, 55, 0.1);
    color: var(--color-text-light);
}

/* ============================================
   CURSOR TRAIL EFFECT
   ============================================ */

.cursor-trail {
    position: absolute;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.6) 0%, transparent 70%);
    pointer-events: none;
    z-index: 9999;
    animation: trailFade 1s ease-out forwards;
    mix-blend-mode: screen;
}

@keyframes trailFade {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    100% {
        transform: scale(0);
        opacity: 0;
    }
}

/* ============================================
   LOADING & PAGE TRANSITIONS
   ============================================ */

body {
    opacity: 0;
    animation: pageLoad 0.8s ease-out forwards;
}

@keyframes pageLoad {
    to {
        opacity: 1;
    }
}

/* ============================================
   ADDITIONAL MICRO-INTERACTIONS
   ============================================ */

.nav-link.active {
    color: var(--color-primary);
    position: relative;
}

.nav-link.active::after {
    width: 100%;
}

/* Efeito de hover em links do footer */
.footer-section a {
    position: relative;
    display: inline-block;
}

.footer-section a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--color-primary);
    transition: width var(--transition-normal);
}

.footer-section a:hover::after {
    width: 100%;
}

/* Animação suave para o contador */
.stat-number {
    background-size: 200% auto;
}

/* Brilho sutil nos cards ao passar o mouse */
.servico-card,
.feature-item,
.portfolio-item {
    will-change: transform;
}

/* Sombra animada nos inputs em foco */
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    animation: inputGlow 2s ease-in-out infinite;
}

@keyframes inputGlow {
    0%, 100% {
        box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
    }
    50% {
        box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.2);
    }
}

/* Efeito de digitação no hero (simulado) */
.hero-title {
    position: relative;
}

/* Partículas flutuantes de fundo */
.hero-background::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(212, 175, 55, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(75, 0, 130, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(212, 175, 55, 0.02) 0%, transparent 50%);
    animation: particleFloat 20s ease-in-out infinite;
    pointer-events: none;
}

@keyframes particleFloat {
    0%, 100% {
        transform: translateY(0) scale(1);
    }
    50% {
        transform: translateY(-20px) scale(1.05);
    }
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 1024px) {
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .cursor-trail {
        display: none; /* Desabilitar em mobile */
    }
    
    .hero {
        min-height: 200vh; /* Aumentado para mobile */
        padding: var(--spacing-xl) 0 var(--spacing-2xl);
    }
    
    .hero-content {
        padding: var(--spacing-lg) 0;
        margin-top: var(--spacing-lg);
    }
    
    .hero-description {
        font-size: 1.1rem;
        margin-bottom: var(--spacing-lg);
        padding: 0 var(--spacing-sm);
    }
    
    .hero-benefits {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
        margin-top: var(--spacing-xl);
        padding-top: var(--spacing-lg);
    }
    
    .benefit-item {
        padding: var(--spacing-md);
    }
    
    .benefit-icon {
        font-size: 2.5rem;
    }
    
    .benefit-item h3 {
        font-size: 1.1rem;
    }
    
    .benefit-item p {
        font-size: 0.9rem;
    }
    
    .portfolio-overlay {
        padding: var(--spacing-sm);
        background: linear-gradient(to top, rgba(10, 10, 15, 0.98) 0%, rgba(10, 10, 15, 0.9) 40%, rgba(10, 10, 15, 0.5) 100%);
    }
    
    .portfolio-overlay h3 {
        font-size: 1.2rem;
        margin-bottom: 4px;
    }
    
    .portfolio-overlay p {
        font-size: 0.85rem;
        margin-bottom: var(--spacing-xs);
    }
    
    .portfolio-link {
        font-size: 0.9rem;
    }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        flex-direction: column;
        background: var(--color-dark);
        width: 100%;
        padding: var(--spacing-md);
        border-top: 1px solid rgba(212, 175, 55, 0.1);
        transition: left var(--transition-normal);
        z-index: 999;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px);
    }

    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }

    .hero-stats {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }

    .sobre-content,
    .contato-content {
        grid-template-columns: 1fr;
    }

    .sobre-features {
        grid-template-columns: 1fr;
    }

    .servicos-grid,
    .portfolio-grid {
        grid-template-columns: 1fr !important;
    }
    
    .portfolio-item {
        aspect-ratio: 3/4; /* Mais vertical no mobile para melhor visualização */
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .hero {
        min-height: 220vh; /* Ainda maior em telas muito pequenas */
        padding: var(--spacing-md) 0 var(--spacing-xl);
    }
    
    .hero-title {
        font-size: 2rem;
        margin-bottom: var(--spacing-md);
    }
    
    .hero-description {
        font-size: 1rem;
        line-height: 1.6;
    }
    
    .hero-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }

    .container {
        padding: 0 var(--spacing-sm);
    }
    
    .hero-benefits {
        gap: var(--spacing-sm);
        margin-top: var(--spacing-lg);
    }
    
    .benefit-icon {
        font-size: 2rem;
    }
    
    .benefit-item {
        padding: var(--spacing-sm);
    }
}

