/*
Theme Name: LaercioMilani
Theme URI: https://exemplo.com
Author: 2Brothers
Author URI: https://exemplo.com
Description: Tema WordPress baseado no layout 2Brothers (HTML/CSS/JS puro convertido)
Version: 1.0
Text Domain: LaercioMilani
License: GPL-2.0-or-later
*/

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

/* Design System Variables */
:root {
    /* Dark theme colors for cinematic feel */
    --background: hsl(0, 0%, 3%);
    --foreground: hsl(0, 0%, 98%);
    --primary: hsl(0, 0%, 98%);
    --primary-foreground: hsl(0, 0%, 3%);
    --secondary: hsl(0, 0%, 12%);
    --secondary-foreground: hsl(0, 0%, 98%);
    --muted: hsl(0, 0%, 12%);
    --muted-foreground: hsl(0, 0%, 60%);
    --accent: hsl(0, 0%, 15%);
    --accent-foreground: hsl(0, 0%, 98%);
    --border: hsl(0, 0%, 15%);
    
    /* Custom cinematic colors */
    --charcoal: hsl(0, 0%, 8%);
    --deep-black: hsl(0, 0%, 3%);
    --pure-white: hsl(0, 0%, 100%);
    --platinum: hsl(0, 0%, 85%);
    --steel: hsl(0, 0%, 45%);
    
    /* Gradients */
    --gradient-hero: linear-gradient(135deg, hsl(0, 0%, 3%) 0%, hsl(0, 0%, 8%) 100%);
    --gradient-overlay: linear-gradient(0deg, hsla(0, 0%, 0%, 0.7) 0%, hsla(0, 0%, 0%, 0.3) 100%);
    
    /* Shadows */
    --shadow-cinematic: 0 25px 50px -12px hsla(0, 0%, 0%, 0.8);
    --shadow-glow: 0 0 40px hsla(0, 0%, 98%, 0.1);
    
    /* Transitions */
    --transition-smooth: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Base Styles */
html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--background);
    color: var(--foreground);
    overflow-x: hidden;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Navigation Styles */
.nav-fixed {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

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

.menu-toggle {
    background: none;
    border: none;
    color: var(--foreground);
    font-size: 1.5rem;
    cursor: pointer;
    transition: var(--transition-fast);
}

.menu-toggle:hover {
    color: var(--primary);
}

.logo-container {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.logo {
    font-size: 1.2rem;
    font-weight: 570;
    letter-spacing: 0.1em;
    color: var(--foreground);
}

.nav-spacer {
    width: 1.5rem;
}

.mobile-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-menu.active {
    display: block;
}

.mobile-menu-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.nav-link {
    color: var(--foreground);
    text-decoration: none;
    font-size: 1.125rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: none;
    transition: var(--transition-fast);
}

.nav-link:hover {
    color: var(--primary);
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 100vh;
    width: 100%;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    inset: 0;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: var(--gradient-overlay);
}

.hero-content {
    position: relative;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.hero-text {
    text-align: center;
    padding: 0 1.5rem;
    max-width: 64rem;
}

.hero-title {
    font-size: clamp(1.875rem, 5vw, 3.75rem);
    font-weight: bold;
    letter-spacing: 0.1em;
    text-transform: none;
    line-height: 1.2;
}

.text-primary {
    color: var(--primary);
    font-weight: 900;
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    color: var(--foreground);
    animation: bounce 2s infinite;
}

.scroll-line {
    width: 0.25rem;
    height: 4rem;
    background: linear-gradient(to bottom, var(--foreground), transparent);
    border-radius: 0.125rem;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    font-weight: 400;
    letter-spacing: 0.1em;
    text-transform: none;
    margin-bottom: 1.5rem;
    color: var(--foreground);
}

.section-title-dark {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: bold;
    letter-spacing: 0.1em;
    text-transform: none;
    margin-bottom: 1.5rem;
    color: var(--deep-black);
}

.section-divider {
    width: 6rem;
    height: 0.25rem;
    background: var(--primary);
    margin: 0 auto;
}

.section-divider-dark {
    width: 6rem;
    height: 0.25rem;
    background: var(--deep-black);
    margin: 0 auto;
}

/* Portfolio Section */
.portfolio-section {
    padding: 6rem 0;
    background: var(--background);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.portfolio-item {
    position: relative;
    overflow: hidden;
    border-radius: 0.5rem;
    transition: transform 0.5s ease;
}

.portfolio-item:hover {
    transform: scale(1.05);
}

.portfolio-image-container {
    position: relative;
    aspect-ratio: 4/5;
    background: var(--charcoal);
    border-radius: 0.5rem;
    overflow: hidden;
}

.portfolio-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.portfolio-item:hover .portfolio-image {
    transform: scale(1.1);
}

.portfolio-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.portfolio-title {
    font-size: 1.25rem;
    font-weight: bold;
    letter-spacing: 0.05em;
    text-transform: none;
    text-align: center;
    padding: 0 1rem;
    color: var(--foreground);
}

.portfolio-hidden {
    display: none;
}

.portfolio-button-container {
    text-align: center;
}

/* Button Styles */
.btn-premium {
    background: var(--primary);
    color: var(--primary-foreground);
    padding: 0.75rem 2rem;
    border: none;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: none;
    transition: var(--transition-fast);
    cursor: pointer;
    font-family: inherit;
}

.btn-premium:hover {
    background: rgba(255, 255, 255, 0.9);
    box-shadow: var(--shadow-glow);
}

/* Clients Section */
.clients-section {
    padding: 4rem 0;
    background: var(--pure-white);
}

.clients-carousel {
    position: relative;
    overflow: hidden;
}

.clients-track {
    display: flex;
    gap: 3rem;
    animation: slide-infinite 30s linear infinite;
}

.client-item {
    flex-shrink: 0;
    min-width: 200px;
    height: 4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    letter-spacing: 0.2em;
    color: var(--steel);
    opacity: 0.7;
    transition: var(--transition-fast);
}

.client-item:hover {
    opacity: 1;
    color: var(--deep-black);
}

@keyframes slide-infinite {
    0% { transform: translateX(0); }
    100% { transform: translateX(-100%); }
}

/* Sponsors Section */
.sponsors-section {
    padding: 4rem 0;
    background: var(--deep-black);
}

.sponsors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
    align-items: center;
}

.sponsor-item {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 5rem;
    font-size: 1.125rem;
    font-weight: bold;
    letter-spacing: 0.1em;
    color: var(--platinum);
    opacity: 0.6;
    transition: var(--transition-fast);
    text-align: center;
}

.sponsor-item:hover {
    opacity: 1;
    color: var(--primary);
}

/* Services Section */
.services-section {
    padding: 6rem 0;
    background: var(--background);
    position: relative;
    overflow: hidden;
}

.services-background {
    position: absolute;
    inset: 0;
    opacity: 0.05;
}

.geometric-shape {
    position: absolute;
    border: 1px solid var(--primary);
}

.shape-1 {
    top: 25%;
    left: 25%;
    width: 16rem;
    height: 16rem;
    transform: rotate(45deg);
}

.shape-2 {
    bottom: 25%;
    right: 25%;
    width: 8rem;
    height: 8rem;
    transform: rotate(12deg);
}

.shape-3 {
    top: 50%;
    right: 33%;
    width: 12rem;
    height: 12rem;
    transform: rotate(45deg);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    position: relative;
    z-index: 10;
}

.service-item {
    text-align: center;
    transition: var(--transition-fast);
}

.service-icon-container {
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: center;
}

.service-icon {
    padding: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 0.5rem;
    color: var(--primary);
    font-size: 3rem;
    transition: var(--transition-fast);
}

.service-item:hover .service-icon {
    border-color: var(--primary);
    transform: scale(1.1);
}

.service-title {
    font-size: 1.25rem;
    font-weight: bold;
    letter-spacing: 0.1em;
    text-transform: none;
    margin-bottom: 1rem;
    color: var(--foreground);
}

.service-description {
    color: var(--muted-foreground);
    font-size: 1.125rem;
    line-height: 1.6;
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(2rem);
    transition: all 0.7s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 768px) {
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .sponsors-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .clients-track {
        gap: 2rem;
    }
    
    .client-item {
        min-width: 150px;
        font-size: 1.25rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.5rem;
    }
    
    .section-title,
    .section-title-dark {
        font-size: 1.75rem;
    }
    
    .portfolio-grid {
        gap: 1rem;
    }
    
    .services-grid {
        gap: 1.5rem;
    }
    
    /* Ajuste do logo para celular */
@media (max-width: 768px) {
    .logo {
        font-size: 0.8rem; /* diminui o tamanho no celular */
        letter-spacing: 0em; /* opcional: ajusta o espaçamento das letras */
    }
}

/* Hero Section Fullscreen Vimeo Responsivo */
.hero-section {
    position: relative;
    width: 100%;
    height: 100vh; /* ocupa toda a tela */
    overflow: hidden;
}

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

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100vw;
    height: 100vh;
    min-width: 100%;
    min-height: 100%;
    transform: translate(-50%, -50%);
    object-fit: cover; /* preenche toda a área */
    display: block;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.4); /* ajuste a intensidade se quiser */
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    text-align: center;
    padding: 0 1rem;
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 4;
}

}