/* ========================================
   EVE FILMS 2026 — OTIMIZADO & LEVE
   Premium visual, performance máxima
   ======================================== */

:root {
    --bg-black: #050505;
    --bg-dark: #0a0a0a;
    --bg-card: #161616;
    --bg-white: #fafafa;
    --text-white: #ffffff;
    --text-primary: rgba(255,255,255,0.92);
    --text-secondary: rgba(255,255,255,0.55);
    --text-muted: rgba(255,255,255,0.35);
    --text-dark: #1d1d1f;
    --text-dark-secondary: #86868b;
    --accent: #d4a574;
    --accent-light: #e8c9a0;
    --border: rgba(255,255,255,0.06);
    --border-hover: rgba(255,255,255,0.12);
    --border-light: rgba(0,0,0,0.08);
    --radius: 20px;
    --radius-sm: 12px;
    --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
    font-family: var(--font);
    background: var(--bg-black);
    color: var(--text-primary);
    line-height: 1.5;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* ===== FUNDO SUTIL — VERSÃO LEVE ===== */
.mesh-gradient {
    position: fixed;
    inset: 0;
    z-index: -2;
    pointer-events: none;
    background: 
        linear-gradient(90deg, transparent 49.5%, rgba(212,165,116,0.025) 49.5%, rgba(212,165,116,0.025) 50.5%, transparent 50.5%),
        linear-gradient(0deg, transparent 49.5%, rgba(212,165,116,0.025) 49.5%, rgba(212,165,116,0.025) 50.5%, transparent 50.5%);
    background-size: 180px 180px;
    opacity: 0.6;
}
.ambient-light {
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background: radial-gradient(ellipse at 30% 20%, rgba(212,165,116,0.03) 0%, transparent 50%);
}

/* ===== GRID LINES LEVE ===== */
.grid-lines {
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0.15;
    background-image: 
        linear-gradient(rgba(255,255,255,0.015) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.015) 1px, transparent 1px);
    background-size: 120px 120px;
}

/* ===== LOADING LEVE ===== */
.loading-screen {
    position: fixed;
    inset: 0;
    background: var(--bg-black);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}
.loading-screen.hidden { opacity: 0; visibility: hidden; }
.loading-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}
.loading-logo {
    width: 56px;
    height: auto;
    filter: brightness(0) invert(1);
    opacity: 0.9;
    animation: logoPulse 1.5s ease-in-out infinite;
}
.loading-bar {
    width: 120px;
    height: 2px;
    background: rgba(255,255,255,0.1);
    border-radius: 2px;
    overflow: hidden;
}
.loading-bar-fill {
    width: 0%;
    height: 100%;
    background: var(--accent);
    border-radius: 2px;
    animation: loadingFill 1.5s ease-in-out forwards;
}
@keyframes logoPulse {
    0%, 100% { opacity: 0.6; transform: scale(0.95); }
    50% { opacity: 1; transform: scale(1); }
}
@keyframes loadingFill {
    0% { width: 0%; }
    100% { width: 100%; }
}

/* ===== NAVIGATION ===== */
.navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    background: rgba(5,5,5,0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid transparent;
    transition: all 0.3s ease;
}
.navbar.scrolled {
    background: rgba(5,5,5,0.9);
    border-bottom-color: var(--border);
}
.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 52px;
}
.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    text-decoration: none;
    color: var(--text-white);
}
.nav-logo-img {
    width: 28px;
    height: 28px;
    object-fit: contain;
    filter: brightness(0) invert(1);
}
.nav-brand-text {
    font-size: 1.05rem;
    font-weight: 500;
    letter-spacing: -0.02em;
}
.nav-desktop {
    display: flex;
    align-items: center;
    gap: 2rem;
}
.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 400;
    transition: color 0.3s ease;
}
.nav-link:hover { color: var(--text-white); }
.nav-cta {
    padding: 0.5rem 1.25rem;
    background: var(--text-white);
    color: var(--bg-black);
    border-radius: 100px;
    font-weight: 500;
    font-size: 0.8rem;
    transition: all 0.3s ease;
}
.nav-cta:hover { background: var(--accent); }
.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
    padding: 5px;
    z-index: 1002;
}
.nav-toggle span {
    display: block;
    width: 20px;
    height: 1.5px;
    background: var(--text-white);
    transition: all 0.3s ease;
    border-radius: 1px;
}
.nav-mobile {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.95);
    backdrop-filter: blur(30px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2.5rem;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}
.nav-mobile.active { opacity: 1; visibility: visible; }
.nav-mobile-link {
    color: var(--text-white);
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 400;
    transition: color 0.3s ease;
}
.nav-mobile-link:hover { color: var(--accent); }

/* ===== HERO ===== */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    overflow: hidden;
}
.hero-video-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}
.hero-video-bg iframe {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100vw;
    height: 100vh;
    transform: translate(-50%, -50%);
    pointer-events: none;
}
.hero-video-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0.3) 40%, rgba(0,0,0,0.7) 100%);
    z-index: 1;
}
.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    width: 100%;
}
.hero-eyebrow {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--accent);
    margin-bottom: 1rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    opacity: 0;
    animation: fadeInUp 0.6s ease 0.3s forwards;
}
.hero-title {
    font-size: clamp(2.8rem, 6vw, 5rem);
    font-weight: 600;
    line-height: 1.08;
    letter-spacing: -0.03em;
    margin-bottom: 1.5rem;
    max-width: 700px;
}
.title-line {
    display: block;
    opacity: 0;
    animation: fadeInUp 0.7s ease forwards;
}
.title-line:nth-child(1) { animation-delay: 0.5s; }
.title-line:nth-child(2) { animation-delay: 0.7s; }
.title-line:nth-child(3) { animation-delay: 0.9s; }
.title-accent {
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-secondary);
    max-width: 520px;
    line-height: 1.6;
    margin-bottom: 2.5rem;
    opacity: 0;
    animation: fadeInUp 0.6s ease 1.1s forwards;
}
.hero-actions {
    display: flex;
    gap: 1rem;
    margin-bottom: 3.5rem;
    flex-wrap: wrap;
    opacity: 0;
    animation: fadeInUp 0.6s ease 1.3s forwards;
}
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.85rem 1.75rem;
    background: var(--text-white);
    color: var(--bg-black);
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
    border: none;
    border-radius: 100px;
    cursor: pointer;
    transition: all 0.3s ease;
}
.btn-primary:hover {
    background: var(--accent);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(212,165,116,0.25);
}
.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.85rem 1.75rem;
    background: transparent;
    color: var(--text-white);
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
    border: 1px solid var(--border-hover);
    border-radius: 100px;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}
.btn-secondary:hover {
    background: rgba(255,255,255,0.03);
    border-color: var(--text-secondary);
    transform: translateY(-2px);
}
.hero-stats {
    display: flex;
    gap: 2.5rem;
    opacity: 0;
    animation: fadeInUp 0.6s ease 1.5s forwards;
}
.stat-value {
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--text-white);
    line-height: 1;
}
.stat-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 0.4rem;
}
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ===== CONTAINER & SECTIONS ===== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}
.about, .services, .portfolio, .social-showcase, .clients, .contact {
    padding: 100px 0;
    position: relative;
}
.section-header {
    margin-bottom: 3rem;
    max-width: 600px;
}
.section-eyebrow {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--accent);
    margin-bottom: 0.75rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
.section-headline {
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 600;
    line-height: 1.15;
    letter-spacing: -0.03em;
    margin-bottom: 1.25rem;
    color: var(--text-white);
}
.text-accent {
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.section-body {
    font-size: 1.05rem;
    color: var(--text-secondary);
    max-width: 600px;
    line-height: 1.65;
    margin-bottom: 1rem;
}
.section-body.secondary {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* ===== ABOUT — LOGO 3D OTIMIZADO ===== */
.about-layout {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 5rem;
    align-items: center;
}
.about-logo-3d-wrapper {
    position: relative;
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius);
    background: var(--bg-card);
    border: 1px solid var(--border);
    overflow: visible;
}
.about-logo-3d-wrapper::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius);
    overflow: hidden;
    background: radial-gradient(circle at 50% 50%, rgba(212,165,116,0.06) 0%, transparent 70%);
    animation: glowPulse 4s ease-in-out infinite;
}
@keyframes glowPulse {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}
.about-logo-3d {
    position: relative;
    perspective: 700px;
    -webkit-perspective: 700px;
    z-index: 2;
}
.logo-3d-cube {
    width: 230px;
    height: 230px;
    position: relative;
    transform-style: preserve-3d;
    -webkit-transform-style: preserve-3d;
    animation: cubeRotate 14s linear infinite;
    will-change: transform;
}
@keyframes cubeRotate {
    0% { transform: rotateX(-10deg) rotateY(0deg); }
    100% { transform: rotateX(-10deg) rotateY(360deg); }
}
.cube-face {
    position: absolute;
    width: 230px;
    height: 230px;
    display: flex;
    align-items: center;
    justify-content: center;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    border-radius: 12px;
    border: 1px solid rgba(212,165,116,0.25);
    background-size: cover;
    background-position: center;
    overflow: hidden;
    cursor: pointer;
}
.cube-face::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(5,5,5,0.1) 0%, rgba(5,5,5,0.65) 100%);
}
.cube-face-overlay {
    position: relative;
    z-index: 1;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(212,165,116,0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bg-black);
    font-size: 0.9rem;
    transition: transform 0.25s ease, background 0.25s ease;
}
.cube-face:hover .cube-face-overlay {
    transform: scale(1.15);
    background: var(--accent-light);
}
.cube-face.front { transform: translateZ(115px); }
.cube-face.back { transform: rotateY(180deg) translateZ(115px); }
.cube-face.right { transform: rotateY(90deg) translateZ(115px); }
.cube-face.left { transform: rotateY(-90deg) translateZ(115px); }
.cube-face.top { transform: rotateX(90deg) translateZ(115px); }
.cube-face.bottom { transform: rotateX(-90deg) translateZ(115px); }
.logo-3d-shadow {
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 15px;
    background: radial-gradient(ellipse, rgba(212,165,116,0.15) 0%, transparent 70%);
}
.about-content { display: flex; flex-direction: column; }
.stats-row {
    display: flex;
    gap: 2.5rem;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
}
.stat-item { display: flex; flex-direction: column; }
.stat-number {
    font-size: 2rem;
    font-weight: 600;
    color: var(--text-white);
    line-height: 1;
}
.stat-desc {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 0.4rem;
}

/* ===== SERVICES — CARDS OTIMIZADOS ===== */
.services-visual-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}
.service-visual-card {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    aspect-ratio: 4/5;
    cursor: pointer;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    border: 1px solid var(--border);
    background: var(--bg-card);
}
.service-visual-card:hover {
    transform: translateY(-8px);
    border-color: var(--accent);
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}
.service-visual-image {
    position: absolute;
    inset: 0;
    overflow: hidden;
}
.service-visual-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}
.service-visual-card:hover .service-visual-image img {
    transform: scale(1.08);
}
.service-visual-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 30%, rgba(0,0,0,0.85) 100%);
    z-index: 2;
    transition: opacity 0.3s ease;
}
.service-visual-card:hover::before {
    background: linear-gradient(180deg, transparent 20%, rgba(0,0,0,0.9) 100%);
}
.service-visual-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem;
    z-index: 3;
}
.service-tag {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--accent);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
    padding: 0.2rem 0.6rem;
    background: rgba(212,165,116,0.15);
    border-radius: 100px;
}
.service-visual-info h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-white);
    margin-bottom: 0.6rem;
    line-height: 1.2;
}
.service-visual-info p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.55;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}
.service-visual-card:hover .service-visual-info p {
    opacity: 1;
    color: var(--text-primary);
}
.service-visual-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 3;
}
.service-visual-card:hover .service-visual-overlay {
    opacity: 1;
}
.service-visual-overlay i {
    font-size: 2.5rem;
    color: var(--accent);
    opacity: 0.6;
    transition: transform 0.3s ease;
}
.service-visual-card:hover .service-visual-overlay i {
    transform: scale(1.2);
    opacity: 0.8;
}

/* ===== PORTFOLIO ===== */
.portfolio-filters {
    display: flex;
    justify-content: center;
    gap: 0.6rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    padding: 0 2rem;
}
.filter-btn {
    padding: 0.55rem 1.1rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 100px;
    color: var(--text-muted);
    font-size: 0.8rem;
    font-weight: 400;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: var(--font);
}
.filter-btn:hover, .filter-btn.active {
    background: rgba(255,255,255,0.03);
    border-color: var(--text-secondary);
    color: var(--text-white);
}
.video-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
}
.video-card {
    position: relative;
    aspect-ratio: 16/10;
    background: var(--bg-dark);
    border-radius: var(--radius);
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    border: 1px solid transparent;
}
.video-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-6px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.3);
}
.video-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.video-card:hover img {
    transform: scale(1.08);
}
.video-card-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 2;
}
.video-card:hover .video-card-overlay {
    opacity: 1;
}
.video-card-overlay i {
    font-size: 2rem;
    color: var(--text-white);
    transition: transform 0.3s ease;
}
.video-card:hover .video-card-overlay i {
    transform: scale(1.2);
}
.video-card-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.25rem;
    background: linear-gradient(transparent, rgba(0,0,0,0.9));
    z-index: 3;
}
.video-card-info h4 {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-white);
    margin-bottom: 0.3rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.video-card-info span {
    font-size: 0.7rem;
    color: var(--accent);
    text-transform: uppercase;
    font-weight: 500;
}

/* ===== SOCIAL SHOWCASE ===== */
.social-showcase {
    position: relative;
    padding: 100px 0;
    overflow: hidden;
}
.social-showcase-gradient {
    position: absolute;
    inset: 0;
    z-index: 0;
    background:
        radial-gradient(ellipse at 30% 50%, rgba(212,165,116,0.06) 0%, transparent 50%),
        radial-gradient(ellipse at 70% 50%, rgba(180,140,100,0.04) 0%, transparent 40%);
}
.social-showcase .container { position: relative; z-index: 2; }
.showcase-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    margin-top: 2rem;
}
.showcase-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.showcase-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-6px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.3);
}
.showcase-image {
    position: relative;
    aspect-ratio: 16/10;
    overflow: hidden;
    background: var(--bg-dark);
}
.showcase-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.showcase-card:hover .showcase-image img {
    transform: scale(1.05);
}
.showcase-info {
    padding: 1.25rem;
}
.showcase-info h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.3rem;
    color: var(--text-white);
}
.showcase-info p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 0.75rem;
}
.showcase-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--accent);
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 500;
    transition: gap 0.3s ease;
}
.showcase-link:hover { gap: 0.6rem; }
.showcase-link i { font-size: 0.7rem; }

/* ===== CLIENTS ===== */
.clients {
    background: var(--bg-white);
    padding: 80px 0;
    overflow: hidden;
}
.clients .section-headline,
.clients .section-eyebrow { color: var(--text-dark); }
.clients .text-accent {
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.clients .section-body { color: var(--text-dark-secondary); }
.clients-marquee {
    overflow: hidden;
    position: relative;
    margin-top: 2rem;
}
.clients-marquee::before, .clients-marquee::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 150px;
    z-index: 2;
    pointer-events: none;
}
.clients-marquee::before {
    left: 0;
    background: linear-gradient(to right, var(--bg-white), transparent);
}
.clients-marquee::after {
    right: 0;
    background: linear-gradient(to left, var(--bg-white), transparent);
}
.marquee-track {
    display: flex;
    gap: 2rem;
    align-items: center;
    width: max-content;
}
.marquee-left { animation: marqueeLeft 35s linear infinite; }
.marquee-right { animation: marqueeRight 35s linear infinite; }
@keyframes marqueeLeft {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
@keyframes marqueeRight {
    0% { transform: translateX(-50%); }
    100% { transform: translateX(0); }
}
.marquee-track:hover { animation-play-state: paused; }
.client-logo {
    flex-shrink: 0;
    width: 160px;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    padding: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    cursor: pointer;
}
.client-logo:hover {
    border-color: rgba(212,165,116,0.3);
    transform: scale(1.05) translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}
.client-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: filter 0.3s ease;
    filter: grayscale(0.3);
}
.client-logo:hover img { filter: grayscale(0); }
.marquee-reverse { margin-top: 1.5rem; }

/* ===== CONTACT ===== */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    margin-top: 2rem;
    align-items: start;
}
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}
.contact-method {
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.3s ease;
    padding: 0.8rem;
    border-radius: var(--radius-sm);
    border: 1px solid transparent;
}
.contact-method:hover {
    background: var(--bg-card);
    border-color: var(--border);
    transform: translateX(5px);
}
.contact-method i {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--accent);
    font-size: 1rem;
    transition: all 0.3s ease;
    flex-shrink: 0;
}
.contact-method:hover i {
    background: rgba(212,165,116,0.1);
    border-color: rgba(212,165,116,0.2);
    transform: scale(1.1);
}
.method-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-bottom: 0.15rem;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    font-weight: 500;
}
.method-value {
    font-size: 0.95rem;
    color: var(--text-white);
    font-weight: 500;
    text-decoration: none;
    transition: color 0.3s ease;
}
.method-value:hover { color: var(--accent); }
.social-links {
    display: flex;
    gap: 0.6rem;
    margin-top: 0.5rem;
}
.social-link {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 50%;
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1rem;
}
.social-link:hover {
    background: rgba(255,255,255,0.03);
    border-color: var(--border-hover);
    color: var(--text-white);
    transform: translateY(-3px) scale(1.1);
}

/* Contact Form */
.contact-form-wrapper {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2rem;
    position: relative;
    overflow: hidden;
}
.contact-form-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    opacity: 0.4;
}
.form-group {
    margin-bottom: 1.1rem;
}
.form-group label {
    display: block;
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-bottom: 0.4rem;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    font-weight: 500;
}
.form-input {
    width: 100%;
    padding: 0.85rem 1rem;
    background: rgba(255,255,255,0.02);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text-white);
    font-family: var(--font);
    font-size: 0.9rem;
    outline: none;
    transition: all 0.3s ease;
}
.form-input::placeholder { color: var(--text-muted); }
.form-input:focus {
    border-color: var(--accent);
    background: rgba(255,255,255,0.04);
    box-shadow: 0 0 0 3px rgba(212,165,116,0.1);
}
textarea.form-input {
    resize: vertical;
    min-height: 100px;
}
.btn-full { width: 100%; }

/* Alerts */
.alert {
    margin-top: 0.75rem;
    padding: 0.85rem 1rem;
    border-radius: var(--radius-sm);
    border: 1px solid;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    animation: fadeInUp 0.3s ease;
}
.alert-success {
    background: rgba(40,167,69,0.08);
    border-color: rgba(40,167,69,0.25);
    color: #34c759;
}
.alert-error {
    background: rgba(255,59,48,0.08);
    border-color: rgba(255,59,48,0.25);
    color: #ff3b30;
}

/* ===== FOOTER ===== */
.footer {
    padding: 60px 0 1.5rem;
    border-top: 1px solid var(--border);
}
.footer-top {
    display: grid;
    grid-template-columns: 1.5fr 2fr;
    gap: 3rem;
    margin-bottom: 2.5rem;
}
.footer-brand { max-width: 280px; }
.footer-logo {
    width: 36px;
    height: auto;
    margin-bottom: 1rem;
    filter: brightness(0) invert(1);
    opacity: 0.7;
}
.footer-brand p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.6;
}
.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}
.footer-col h5 {
    font-size: 0.75rem;
    color: var(--text-white);
    letter-spacing: 0.02em;
    text-transform: uppercase;
    margin-bottom: 1rem;
    font-weight: 600;
}
.footer-col a {
    display: block;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
}
.footer-col a:hover {
    color: var(--text-white);
    transform: translateX(3px);
}
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border);
}
.footer-bottom p {
    font-size: 0.75rem;
    color: var(--text-muted);
}
.footer-craft { color: var(--text-secondary) !important; }

/* ===== MODAL ===== */
.modal {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    padding: 2rem;
}
.modal.active { opacity: 1; visibility: visible; }
.modal-content {
    position: relative;
    width: 100%;
    max-width: 1000px;
    aspect-ratio: 16/9;
    background: var(--bg-dark);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}
.modal-box {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    max-width: 440px;
    width: 100%;
    padding: 1.75rem;
}
.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.25rem;
}
.modal-header h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-white);
}
.modal-close {
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 1.1rem;
    cursor: pointer;
    padding: 0.4rem;
    transition: all 0.3s ease;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}
.modal-close:hover {
    color: var(--text-white);
    background: rgba(255,255,255,0.03);
}
.modal-body { text-align: center; }
.modal-body p {
    color: var(--text-secondary);
    margin-bottom: 1.25rem;
    font-size: 0.9rem;
}
.modal-actions {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
}
.btn-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: #25D366;
    color: white;
    border: none;
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: var(--font);
}
.btn-whatsapp:hover { transform: scale(1.03); }
.btn-email {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: var(--text-white);
    color: var(--bg-black);
    border: none;
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: var(--font);
}
.btn-email:hover { transform: scale(1.03); background: var(--accent); }
.modal-video-wrapper {
    width: 100%;
    height: 100%;
}
.modal-video-wrapper iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* ===== CHATBOT ===== */
.chatbot-toggle {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 52px;
    height: 52px;
    background: var(--text-white);
    border: none;
    border-radius: 50%;
    color: var(--bg-black);
    font-size: 1.15rem;
    cursor: pointer;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 8px 30px rgba(0,0,0,0.3);
}
.chatbot-toggle:hover { transform: scale(1.1); }
.chatbot-toggle.hidden { display: none; }
.chatbot-badge {
    position: absolute;
    top: -2px;
    right: -2px;
    width: 18px;
    height: 18px;
    background: #ff3b30;
    color: white;
    border-radius: 50%;
    font-size: 0.65rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: pulse 2s infinite;
}
.chatbot-container {
    position: fixed;
    bottom: 85px;
    right: 24px;
    width: 340px;
    max-width: calc(100vw - 48px);
    height: 460px;
    max-height: calc(100vh - 110px);
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    z-index: 999;
    display: flex;
    flex-direction: column;
    box-shadow: 0 20px 50px rgba(0,0,0,0.4);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.95);
    transition: all 0.3s ease;
    overflow: hidden;
}
.chatbot-container.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}
.chatbot-header {
    padding: 0.85rem 1rem;
    background: rgba(255,255,255,0.02);
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 0.6rem;
}
.chatbot-avatar {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent);
    border-radius: 50%;
    color: var(--bg-black);
    font-size: 0.9rem;
}
.chatbot-info { flex: 1; }
.chatbot-info h4 {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-white);
    margin: 0;
}
.chatbot-status {
    font-size: 0.7rem;
    color: #34c759;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}
.chatbot-status i { font-size: 0.45rem; }
.chatbot-minimize {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 0.8rem;
    padding: 0.25rem;
    transition: all 0.3s ease;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}
.chatbot-minimize:hover {
    color: var(--text-white);
    background: rgba(255,255,255,0.03);
}
.chatbot-messages {
    flex: 1;
    overflow-y: auto;
    padding: 0.85rem;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}
.chat-message {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    max-width: 85%;
    animation: fadeInUp 0.25s ease;
}
.bot-message { align-self: flex-start; }
.user-message { align-self: flex-end; }
.message-content {
    padding: 0.65rem 0.85rem;
    font-size: 0.8rem;
    line-height: 1.5;
    border-radius: 14px;
}
.bot-message .message-content {
    background: var(--bg-dark);
    color: var(--text-white);
    border: 1px solid var(--border);
    border-bottom-left-radius: 4px;
}
.user-message .message-content {
    background: var(--accent);
    color: var(--bg-black);
    border-bottom-right-radius: 4px;
}
.message-time {
    font-size: 0.65rem;
    color: var(--text-muted);
    padding: 0 0.2rem;
}
.chatbot-quick-replies {
    padding: 0.4rem 0.85rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    border-top: 1px solid var(--border);
}
.quick-reply {
    padding: 0.35rem 0.7rem;
    background: var(--bg-dark);
    border: 1px solid var(--border);
    border-radius: 100px;
    color: var(--text-secondary);
    font-size: 0.75rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: var(--font);
}
.quick-reply:hover {
    background: rgba(255,255,255,0.03);
    border-color: var(--border-hover);
    color: var(--text-white);
}
.chatbot-input {
    padding: 0.6rem 0.85rem;
    display: flex;
    gap: 0.4rem;
    border-top: 1px solid var(--border);
}
.chatbot-input input {
    flex: 1;
    background: var(--bg-dark);
    border: 1px solid var(--border);
    border-radius: 100px;
    color: var(--text-white);
    padding: 0.5rem 0.85rem;
    font-family: var(--font);
    font-size: 0.8rem;
    outline: none;
    transition: all 0.3s ease;
}
.chatbot-input input:focus {
    border-color: var(--text-secondary);
    background: rgba(255,255,255,0.03);
}
.chatbot-input input::placeholder { color: var(--text-muted); }
.chatbot-input button {
    width: 32px;
    height: 32px;
    background: var(--accent);
    border: none;
    border-radius: 50%;
    color: var(--bg-black);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    font-size: 0.75rem;
    flex-shrink: 0;
}
.chatbot-input button:hover { transform: scale(1.1); }
@keyframes pulse {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 1; }
}

/* ===== REVEAL ===== */
[data-reveal] {
    opacity: 0;
    transform: translateY(25px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
[data-reveal].visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .about-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .about-visual { max-width: 300px; margin: 0 auto; }
    .services-visual-grid { grid-template-columns: repeat(2, 1fr); }
    .video-grid { grid-template-columns: repeat(2, 1fr); }
    .showcase-grid { grid-template-columns: repeat(2, 1fr); }
    .contact-layout { grid-template-columns: 1fr; gap: 2.5rem; }
    .footer-top { grid-template-columns: 1fr; }
    .footer-links { grid-template-columns: repeat(2, 1fr); }
    .logo-3d-cube { width: 120px; height: 120px; }
    .cube-face { width: 120px; height: 120px; }
    .cube-face.front { transform: translateZ(60px); }
    .cube-face.back { transform: rotateY(180deg) translateZ(60px); }
    .cube-face.right { transform: rotateY(90deg) translateZ(60px); }
    .cube-face.left { transform: rotateY(-90deg) translateZ(60px); }
    .cube-face.top { transform: rotateX(90deg) translateZ(60px); }
    .cube-face.bottom { transform: rotateX(-90deg) translateZ(60px); }
}

@media (max-width: 768px) {
    .nav-desktop { display: none; }
    .nav-toggle { display: flex; }
    .nav-mobile { display: flex; }
    .hero-title { font-size: 2.5rem; }
    .hero-stats { gap: 1.5rem; }
    .about, .services, .portfolio, .social-showcase, .clients, .contact { padding: 70px 0; }
    .section-headline { font-size: 1.8rem; }
    .services-visual-grid, .video-grid, .showcase-grid { grid-template-columns: 1fr; }
    .stats-row { gap: 1.5rem; }
    .stat-number { font-size: 1.5rem; }
    .footer-links { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; gap: 0.5rem; text-align: center; }
    .chatbot-container { right: 12px; left: 12px; width: auto; bottom: 75px; }
    .chatbot-toggle { right: 12px; bottom: 12px; width: 48px; height: 48px; }
    .logo-3d-cube { width: 100px; height: 100px; }
    .cube-face { width: 100px; height: 100px; }
    .cube-face.front { transform: translateZ(50px); }
    .cube-face.back { transform: rotateY(180deg) translateZ(50px); }
    .cube-face.right { transform: rotateY(90deg) translateZ(50px); }
    .cube-face.left { transform: rotateY(-90deg) translateZ(50px); }
    .cube-face.top { transform: rotateX(90deg) translateZ(50px); }
    .cube-face.bottom { transform: rotateX(-90deg) translateZ(50px); }
}

@media (max-width: 480px) {
    .container { padding: 0 1.25rem; }
    .nav-container { padding: 0 1.25rem; }
    .hero-content { padding: 0 1.25rem; }
    .hero-actions { flex-direction: column; width: 100%; }
    .btn-primary, .btn-secondary { width: 100%; }
    .hero-stats { flex-wrap: wrap; gap: 1.5rem; }
    .contact-form-wrapper { padding: 1.5rem; }
    .modal-actions { flex-direction: column; }
    .btn-whatsapp, .btn-email { width: 100%; justify-content: center; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    *:not(.logo-3d-cube), *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    .mesh-gradient::before, .mesh-gradient::after, .ambient-light,
    .marquee-left, .marquee-right {
        animation: none !important;
    }
    /* .logo-3d-cube fica de fora de propósito: continua sempre a girar */
}


/* ===== SCROLL SUAVE COM SNAP ===== */
html {
    scroll-behavior: smooth;
    scroll-snap-type: y proximity;
}

section {
    scroll-snap-align: start;
    scroll-snap-stop: normal;
}

/* ===== ANIMAÇÕES DE ENTRADA POR SECÇÃO ===== */
.section-entrance {
    opacity: 0;
    transform: translateY(60px);
    transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), 
                transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.section-entrance.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger para elementos dentro da secção */
.section-entrance .section-eyebrow {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease 0.2s, transform 0.8s ease 0.2s;
}

.section-entrance .section-headline {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease 0.35s, transform 0.8s ease 0.35s;
}

.section-entrance .section-body {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease 0.5s, transform 0.8s ease 0.5s;
}

.section-entrance.visible .section-eyebrow,
.section-entrance.visible .section-headline,
.section-entrance.visible .section-body {
    opacity: 1;
    transform: translateY(0);
}

/* ===== PARALLAX SUAVE ===== */
.parallax-layer {
    will-change: transform;
}

/* ===== INDICADOR DE SCROLL PROGRESS ===== */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 2px;
    background: linear-gradient(90deg, var(--accent), var(--accent-light));
    z-index: 10001;
    transition: width 0.1s linear;
}

/* ===== EFEITO DE FUNDO AO SCROLL ===== */
.section-bg-shift {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 50% 50%, rgba(212, 165, 116, 0.03) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 1.5s ease;
    pointer-events: none;
}

.section-entrance.visible .section-bg-shift {
    opacity: 1;
}

/* ===== CURSOR DE SCROLL PERSONALIZADO ===== */
@media (hover: hover) {
    body::-webkit-scrollbar {
        width: 4px;
    }
    body::-webkit-scrollbar-track {
        background: transparent;
    }
    body::-webkit-scrollbar-thumb {
        background: rgba(212, 165, 116, 0.3);
        border-radius: 2px;
    }
    body::-webkit-scrollbar-thumb:hover {
        background: rgba(212, 165, 116, 0.5);
    }
}

/* ===== ANIMAÇÃO DE ENTRADA ESPECIAL PARA SERVIÇOS ===== */
.service-entrance {
    opacity: 0;
    transform: translateY(40px) scale(0.95);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-entrance.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.service-entrance:nth-child(1) { transition-delay: 0s; }
.service-entrance:nth-child(2) { transition-delay: 0.1s; }
.service-entrance:nth-child(3) { transition-delay: 0.2s; }
.service-entrance:nth-child(4) { transition-delay: 0.3s; }
.service-entrance:nth-child(5) { transition-delay: 0.4s; }
.service-entrance:nth-child(6) { transition-delay: 0.5s; }

/* ===== ANIMAÇÃO PARA PORTFOLIO ===== */
.portfolio-entrance {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.portfolio-entrance.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== ANIMAÇÃO PARA CLIENTES ===== */
.client-entrance {
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.client-entrance.visible {
    opacity: 1;
    transform: scale(1);
}

/* ===== EFEITO DE LINHA DIVISÓRIA ANIMADA ===== */
.section-divider {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    transition: width 1.5s ease;
}

.section-entrance.visible .section-divider {
    width: 200px;
}