/* 
   --------------------------------------------------------------
   AUTORAL MÍDIA - CINEMATIC PREMIUM CSS
   --------------------------------------------------------------
*/

:root {
    /* Color Palette baseada no pedido e focado no luxo escuro */
    --color-bg-dark: #070709;
    --color-bg-light: #151518;
    --color-bg-card: #111114;
    
    --color-text-primary: #ffffff;
    --color-text-secondary: #a3a3a3;
    --color-text-muted: #666666;
    
    --color-accent: #e6463a; /* Vermelho Performance */
    --color-accent-glow: rgba(230, 70, 58, 0.4); 
    
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    --transition-slow: 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
    --transition-mid: 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
    --transition-fast: 0.2s ease;
    
    --border-radius-lg: 30px;
    --border-radius: 12px;
    
    --glow-red: 0 0 30px rgba(230, 70, 58, 0.4);
}

/* Botões */
/* Os botões principais são definidos na seção "SURREAL QUANTUM MAGNETIC BUTTONS" abaixo */

/* Reset Geral */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

a, button, .service-card, .v-play-btn, .nav-links a {
    cursor: pointer;
}

html, body {
    width: 100%;
    margin: 0;
    padding: 0;
    overflow-x: hidden; /* Trava absoluta de largura */
    position: relative;
}

body {
    background-color: var(--color-bg-dark);
    color: var(--color-text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--color-bg-dark);
}
::-webkit-scrollbar-thumb {
    background: #333;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #555;
}

/* Utilitários */
.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 5%;
}
.text-center { text-align: center; }
.mb-4 { margin-bottom: 2rem; }
.mb-5 { margin-bottom: 3.5rem; }
.mt-4 { margin-top: 2rem; }
.mt-5 { margin-top: 3.5rem; }

/* Tipografia */
h1, h2, h3, h4, .epic-title {
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #fff 0%, var(--color-accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-desc {
    font-size: 1.1rem;
    color: var(--color-text-secondary);
    max-width: 600px;
    margin-bottom: 3rem;
}

/* ==========================================================================
   SURREAL "QUANTUM MAGNETIC" BUTTONS
   ========================================================================== */
.btn-primary, .cinematic-btn, .modal-primary-btn, .nav-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 1.2rem;
    padding: 1.4rem 3.5rem;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    border-radius: 100px;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    /* High-Performance Red Gradient */
    background: linear-gradient(135deg, #e6463a 0%, #8b1d16 100%);
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.4);
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    cursor: pointer;
    z-index: 1;
    box-shadow: 
        0 15px 35px rgba(230, 70, 58, 0.4),
        0 0 20px rgba(0, 0, 0, 0.2);
}

/* Shimmer animation - Premium Overlay */
.btn-primary::after, .cinematic-btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.3),
        transparent
    );
    transform: skewX(-25deg);
    z-index: 2; /* On top of background */
    animation: premiumShimmer 5s infinite;
    pointer-events: none;
}

@keyframes premiumShimmer {
    0% { left: -100%; }
    20% { left: 150%; }
    100% { left: 150%; }
}

/* O Núcleo de Plasma (Mouse Aura) */
.btn-primary::before, .cinematic-btn::before, .modal-primary-btn::before, .nav-cta::before {
    content: '';
    position: absolute;
    top: var(--y, 50%);
    left: var(--x, 50%);
    width: 0;
    height: 0;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, 
        rgba(255, 255, 255, 0.5) 0%, 
        transparent 70%);
    transition: width 0.6s ease, height 0.6s ease, opacity 0.4s ease;
    opacity: 0;
    z-index: 1;
    pointer-events: none;
}

.btn-primary:hover::before, .cinematic-btn:hover::before, .modal-primary-btn:hover::before, .nav-cta:hover::before {
    width: 400px;
    height: 400px;
    opacity: 0.2;
}

.btn-primary:hover, .cinematic-btn:hover, .modal-primary-btn:hover, .nav-cta:hover {
    color: #fff;
    transform: translateY(-5px) scale(1.05);
    box-shadow: 
        0 25px 50px rgba(230, 70, 58, 0.6),
        0 0 40px var(--color-accent-glow);
    border-color: #ffffff;
}

/* Ensure text is clearly visible */
.btn-primary, .cinematic-btn {
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

/* Pulsar Discreto */
.pulse-glow {
    animation: pulseSurreal 3s infinite alternate;
}

@keyframes pulseSurreal {
    0% { border-color: rgba(255,255,255,0.1); }
    100% { border-color: rgba(230, 70, 58, 0.4); }
}

/* NAVBAR */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    transition: var(--transition-mid);
    background: transparent;
}

.navbar.scrolled {
    background: rgba(7, 7, 9, 0.85);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(255,255,255,0.05);
    padding: 1rem 5%;
}

.logo {
    height: 130px;
    object-fit: contain;
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.3)); /* Brilho na logo */
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

.nav-halo-link {
    color: var(--color-text-primary);
    text-decoration: none;
    font-size: 0.85rem;
    font-family: var(--font-heading);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 3px;
    padding: 10px 15px;
    position: relative;
    transition: color 0.3s ease, letter-spacing 0.3s ease;
    z-index: 1;
}

/* O HALO (Aura de luz atrás do texto) */
.nav-halo-link::before {
    content: '';
    position: absolute;
    top: var(--y, 50%);
    left: var(--x, 50%);
    width: 0;
    height: 0;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, 
        rgba(230, 70, 58, 0.4) 0%, 
        transparent 70%);
    transition: width 0.4s ease, height 0.4s ease, opacity 0.3s ease;
    opacity: 0;
    z-index: -1;
    pointer-events: none;
    filter: blur(15px);
}

.nav-halo-link:hover::before {
    width: 120px;
    height: 120px;
    opacity: 1;
}

/* SCAN-LINE (A linha laser embaixo) */
.nav-halo-link::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 0%;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent, 
        var(--color-accent), 
        transparent);
    transition: width 0.4s ease-in-out;
}

.nav-halo-link:hover {
    color: #fff;
    letter-spacing: 5px;
}

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

.navbar.scrolled .nav-halo-link {
    font-size: 0.75rem;
    letter-spacing: 2px;
}

.nav-cta {
    border: 1px solid rgba(255,255,255,0.2);
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    color: #fff;
    text-decoration: none;
    font-family: var(--font-heading);
    font-weight: 500;
    transition: var(--transition-mid);
}

.nav-cta:hover {
    background: #fff;
    color: #000;
}

.menu-icon {
    display: none;
    font-size: 2.5rem;
    cursor: pointer;
    color: #fff !important;
    z-index: 1001;
    transition: var(--transition-mid);
    padding: 10px;
}

.mobile-menu {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100vh;
    background: rgba(7,7,9,0.95);
    backdrop-filter: blur(20px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    z-index: 10000; /* Acima de tudo */
    opacity: 0;
    pointer-events: none;
    transition: all 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.mobile-menu.active {
    opacity: 1;
    pointer-events: all;
}
.mobile-menu a {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 600;
    color: #fff;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: var(--transition-mid);
}
.mobile-menu a:hover {
    color: var(--color-accent);
    transform: scale(1.1);
}
.menu-cta {
    margin-top: 2rem;
    background: var(--color-accent);
    color: #000 !important;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 800;
}

/* HERO SECTION */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    padding-bottom: 15vh;
    overflow: hidden;
}

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

.hero-bg video, .hero-img-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.05); /* Previne bordas feias */
}

.overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(180deg, rgba(7,7,9,0.4) 0%, rgba(7,7,9,0.9) 100%);
}

.vignette {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    box-shadow: inset 0 0 150px rgba(0,0,0,0.8);
}

.hero-content {
    text-align: left;
    max-width: 1300px;
    width: 100%;
    margin: 0 auto;
    padding: 0 5%;
    z-index: 10;
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem); /* Increased size */
    margin-bottom: 2rem;
    line-height: 1.1;
    font-weight: 800; /* More robust weight */
    text-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.hero-title .muted-text {
    color: rgba(255, 255, 255, 0.6); /* Better visibility but still secondary */
    font-size: clamp(1.2rem, 2.8vw, 2rem);
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 4px;
    display: block;
    margin-bottom: 0.5rem;
}

.hero-title .highlight {
    background: linear-gradient(135deg, #ffffff 0%, #a3a3a3 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 20px rgba(255,255,255,0.1));
}

.hero-subtitle {
    font-size: clamp(0.95rem, 1.6vw, 1.2rem);
    color: #e0e0e0;
    margin-bottom: 2.5rem;
    max-width: 700px;
    margin-left: 0;
    margin-right: 0;
}

/* SECTION PADDINGS GERAIS */
.section {
    padding: 8rem 0;
    position: relative;
}


/* CLIENTES SECTION (VERTICAL SLIDER) */
.clientes-section {
    background: #050505;
    position: relative;
    /* Efeito de chão espelhado via gradiente */
    background-image: radial-gradient(ellipse at bottom, rgba(230, 70, 58, 0.05) 0%, transparent 60%);
}
.vertical-video-slider {
    padding: 3rem 0 15rem;
    overflow: visible !important; 
    max-width: 1200px;
    margin: 0 auto;
}
.vertical-slide {
    width: 300px !important;
    height: 525px !important;
    transition: all 0.6s ease;
    filter: blur(4px) brightness(0.5);
    transform: scale(0.85);
    overflow: visible !important;
}

.vertical-slide.swiper-slide-active {
    filter: blur(0) brightness(1);
    transform: scale(1);
    z-index: 10;
}

.v-video-card {
    width: 100%;
    height: 100%;
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    background: #000;
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
    border: 1px solid rgba(255,255,255,0.1);
    transition: border-color 0.4s ease, box-shadow 0.4s ease;

    /* DARK MIRROR REFLECTION - ULTRA VISÍVEL */
    -webkit-box-reflect: below 10px linear-gradient(transparent 30%, rgba(255,255,255,0.15));
}

.swiper-slide-active .v-video-card {
    border-color: var(--color-accent);
    box-shadow: 0 0 30px var(--color-accent-glow), 0 0 10px rgba(230, 70, 58, 0.2);
}

/* Viewfinder Corners */
.v-video-card::before, .v-video-card::after,
.v-video-card .corner-tl, .v-video-card .corner-tr,
.v-video-card .corner-bl, .v-video-card .corner-br {
    content: '';
    position: absolute;
    width: 10px;
    height: 10px;
    border: 1.5px solid rgba(255,255,255,0.2);
    z-index: 5;
    pointer-events: none;
    transition: border-color 0.4s ease;
}

.swiper-slide-active .v-video-card::before, 
.swiper-slide-active .v-video-card::after,
.swiper-slide-active .v-video-card .corner-tl, 
.swiper-slide-active .v-video-card .corner-tr,
.swiper-slide-active .v-video-card .corner-bl, 
.swiper-slide-active .v-video-card .corner-br {
    border-color: var(--color-accent);
}

.v-video-card .corner-tl { top: 15px; left: 15px; border-right: none; border-bottom: none; }
.v-video-card .corner-tr { top: 15px; right: 15px; border-left: none; border-bottom: none; }
.v-video-card .corner-bl { bottom: 15px; left: 15px; border-right: none; border-top: none; }
.v-video-card .corner-br { bottom: 15px; right: 15px; border-left: none; border-top: none; }

/* Top Tag */
.v-tag {
    position: absolute;
    top: 15px;
    left: 15px;
    transform: none;
    background: var(--color-accent);
    color: #000;
    padding: 4px 12px;
    font-size: 0.65rem;
    font-family: var(--font-heading);
    font-weight: 800;
    text-transform: uppercase;
    border-radius: 4px;
    z-index: 5;
    white-space: nowrap;
    opacity: 0.8;
}

.swiper-slide-active .v-tag {
    opacity: 1;
}

.v-video-player {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.v-video-card .v-info, 
.v-video-card .v-tag,
.v-video-card .v-play-btn {
    transition: all 0.4s ease;
}

.v-video-card.is-playing .v-info,
.v-video-card.is-playing .v-tag,
.v-video-card.is-playing .v-play-btn {
    opacity: 0;
    pointer-events: none;
}

.v-video-card .v-info {
    position: absolute;
    bottom: 25px; 
    left: 20px;
    top: auto;
    width: calc(100% - 40px);
    padding: 0;
    text-align: left;
    transition: opacity 0.4s ease;
}

.v-tag {
    position: absolute;
    top: 15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--color-accent);
    color: #000;
    padding: 4px 12px;
    font-size: 0.65rem;
    font-family: var(--font-heading);
    font-weight: 800;
    text-transform: uppercase;
    border-radius: 4px;
    z-index: 5;
    white-space: nowrap;
    opacity: 0.8;
}

.v-info h4 { 
    font-size: 1.8rem; 
    color: var(--color-accent); 
    line-height: 1.1;
    margin-bottom: 0.5rem;
    text-shadow: 0 0 20px rgba(0,0,0,0.5);
}

.v-info span { 
    font-size: 0.85rem; 
    color: #fff; 
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.v-play-btn {
    background: transparent;
    border: 2px solid var(--color-accent);
    color: var(--color-accent);
    font-size: 3rem;
    width: 65px; height: 65px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    pointer-events: all;
    transition: var(--transition-mid);
    box-shadow: 0 0 20px rgba(230, 70, 58, 0.2);
}
.v-play-btn:hover {
    background: var(--color-accent);
    color: #000;
    transform: scale(1.1);
}

.v-swiper-btn { 
    color: var(--color-accent) !important; 
    background: rgba(0,0,0,0.5);
    width: 50px; height: 50px;
    border-radius: 50%;
    backdrop-filter: blur(10px);
}
.v-swiper-btn::after { font-size: 1.2rem !important; font-weight: bold; }

.v-swiper-pagination .swiper-pagination-bullet { background: var(--color-accent) !important; opacity: 0.3; }
.v-swiper-pagination .swiper-pagination-bullet-active { opacity: 1; box-shadow: 0 0 10px var(--color-accent); }

/* SOBRE A EMPRESA */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.about-content p {
    font-size: 1.15rem;
    color: var(--color-text-secondary);
    margin-bottom: 1.5rem;
}
.highlight-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    margin-bottom: 1rem;
}
.highlight-item i {
    color: #fff;
    font-size: 1.5rem;
}

.about-image-collage {
    position: relative;
    height: 600px;
}
.main-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--border-radius);
    filter: grayscale(30%);
}
.floating-img {
    position: absolute;
    width: 250px;
    height: 350px;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.6);
    border: 5px solid var(--color-bg-dark);
}
.floating-img img {
    width: 100%; height: 100%; object-fit: cover;
}
.float-1 { bottom: -20px; right: -20px; z-index: 2; }
.float-2 { top: 40px; right: 50px; width: 180px; height: 250px; z-index: 3;}

/* RESULTADOS E METRICAS */
.metrics-section {
    position: relative;
    background: var(--color-bg-card);
    overflow: hidden;
}
.metrics-bg {
    position: absolute;
    top: -50%; left: -50%; width: 200%; height: 200%;
    background: radial-gradient(circle at center, rgba(255,255,255,0.03) 0%, transparent 60%);
}
.metrics-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    position: relative;
    z-index: 2;
}
.metric-item span {
    font-size: clamp(3rem, 5vw, 4.5rem);
    font-family: var(--font-heading);
    font-weight: 800;
    color: #fff;
    display: inline-block;
}
.metric-item p {
    color: var(--color-text-secondary);
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}
.glow-text {
    text-shadow: 0 0 40px rgba(255,255,255,0.2);
}


/* CTA FINAL */
.cta-section {
    position: relative;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.cta-bg-image {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    object-fit: cover;
    z-index: 1;
    filter: brightness(0.4);
}
.cta-overlay {
    position: absolute;
    inset: 0;
    background: rgba(7,7,9,0.85); /* Muito escuro para destacar texto */
    z-index: 2;
}
.cta-content {
    position: relative;
    z-index: 3;
}

/* FOOTER */
.footer {
    background: #000;
    padding: 6rem 0 2rem 0;
    border-top: 1px solid rgba(255,255,255,0.05);
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}
.footer-logo {
    height: 50px;
    margin-bottom: 1rem;
}
.footer-brand p {
    color: var(--color-text-secondary);
    max-width: 300px;
}
.footer-links h4 {
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}
.footer-links a, .footer-links p {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: var(--color-text-secondary);
    text-decoration: none;
    margin-bottom: 1rem;
    transition: var(--transition-fast);
}
.footer-links a:hover {
    color: #fff;
}
.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.05);
    color: var(--color-text-muted);
    font-size: 0.9rem;
}


/* GLOW ORBS */
.glow-orb {
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--color-accent-glow) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 1;
    filter: blur(50px);
    pointer-events: none;
    opacity: 0.5;
    animation: orbFloat 10s infinite alternate ease-in-out;
}

.orb-1 { top: 10%; right: 10%; background: radial-gradient(circle, rgba(230, 70, 58, 0.2) 0%, transparent 70%); }
.orb-2 { bottom: 20%; left: 5%; width: 500px; height: 500px; }
.orb-3 { top: 20%; left: 30%; width: 600px; height: 600px; opacity: 0.3; }

@keyframes orbFloat {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(30px, -50px) scale(1.1); }
}

/* === ANIMAÇÕES E CLASSES FUNCIONAIS === */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 1s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal-text {
    opacity: 0;
    clip-path: inset(0 0 100% 0);
    transform: translateY(50px);
    transition: all 1.2s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.reveal-text.active {
    opacity: 1;
    clip-path: inset(0 0 0 0);
    transform: translateY(0);
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }

/* Rotação e parallax suaves (se aplicados via JS) */
.parallax-img {
    transition: transform 0.1s ease-out;
}

/* RESPONSIVIDADE */
@media (max-width: 1024px) {
    .about-grid { gap: 2rem; }
    .about-image-collage { height: 500px; }
    .float-2 { display: none; }
    .metrics-grid { grid-template-columns: repeat(2, 1fr); gap: 3rem; }
    .d-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .nav-links, .nav-cta { display: none; }
    .menu-icon { display: block; }
    
    .hero-title { font-size: 2.2rem; }
    .hero-title .muted-text { font-size: 1.2rem; }
    
    .about-grid { grid-template-columns: 1fr; }
    .about-image-collage { margin-top: 3rem; }
    
    .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
    
    /* Zera spans de grid no mobile */
    .h-span-2, .v-span-2 { grid-column: auto; grid-row: auto; }
}

@media (max-width: 480px) {
    .metrics-grid { grid-template-columns: 1fr; }
    .section { padding: 5rem 0; }
    .premium-break { padding: 6rem 0; }
    .epic-title { font-size: 2rem; }
}

/* SERVIÇOS SECTION */
.servicos-section {
    background: linear-gradient(180deg, var(--color-bg-dark) 0%, #0a0a0d 100%);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
}

.service-card {
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 3.5rem 2.5rem;
    height: 100%;
    transition: all 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
    perspective: 1200px;
    cursor: none;
}

.service-card::after {
    content: '';
    position: absolute;
    top: 0; left: -100%; width: 50%; height: 100%;
    background: linear-gradient(to right, transparent, rgba(230, 70, 58, 0.1), transparent);
    transform: skewX(-25deg);
    transition: 0.75s;
}

.service-card:hover::after {
    left: 150%;
}

.service-card:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(230, 70, 58, 0.5);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.8), 0 0 30px rgba(230, 70, 58, 0.15);
}

.service-card-inner {
    height: 100%;
    display: flex;
    flex-direction: column;
    transform: translateZ(30px); /* Para efeito 3D */
}

.service-icon {
    font-size: 3rem;
    color: var(--color-accent);
    margin-bottom: 2rem;
    transition: transform 0.5s ease;
    filter: drop-shadow(0 0 15px var(--color-accent-glow));
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1.2rem;
    color: #fff;
    line-height: 1.25;
}

.service-short-desc {
    font-size: 1rem;
    color: var(--color-text-secondary);
    margin-bottom: 2rem;
    flex-grow: 1;
}

.service-list {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: all 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.service-card.is-open .service-list {
    max-height: 400px;
    opacity: 1;
    padding-top: 2rem;
    margin-top: 2rem;
}

.service-list li {
    font-size: 0.95rem;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.2rem;
}

.service-list li i {
    color: var(--color-accent);
    font-size: 0.9rem;
}

.service-toggle {
    background: transparent;
    border: none;
    color: var(--color-accent);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    cursor: none;
    margin-top: auto;
    width: fit-content;
    transition: var(--transition-fast);
}

.service-toggle i {
    transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.service-card.is-open .service-toggle i {
    transform: rotate(45deg);
}

/* DIFERENCIAIS SECTION LUXURY */
.diferenciais-section {
    background: #050507;
}

.diferenciais-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 3rem;
}

.dif-item {
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 4rem 2.5rem;
    border-radius: 24px;
    text-align: center;
    transition: all 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
}

.dif-item:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(230, 70, 58, 0.4);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.7);
}

.dif-icon {
    font-size: 3.5rem;
    color: var(--color-accent);
    margin-bottom: 2rem;
    filter: drop-shadow(0 0 20px var(--color-accent-glow));
    transition: transform 0.5s ease;
    transform: translateZ(40px);
}

.dif-item h3 {
    font-size: 1.4rem;
    color: #fff;
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.3;
    transform: translateZ(20px);
}

/* SEÇÃO CASES DE SUCESSO */
.cases-section {
    background: #020203;
    padding: 10rem 0;
}

.cases-section {
    background: #050505;
    position: relative;
    /* Efeito de chão espelhado via gradiente */
    background-image: radial-gradient(ellipse at bottom, rgba(230, 70, 58, 0.05) 0%, transparent 60%);
}

.cases-scene {
    width: 100%;
    height: 480px; /* Aumentado para acomodar o reflexo */
    perspective: 1200px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
    margin-top: 6rem;
    margin-bottom: 10rem;
}

.cases-carousel {
    width: 150px;
    height: 150px;
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.1s linear;
}

.case-card {
    position: absolute;
    width: 150px;
    height: 150px;
    left: 0; top: 0;
    border-radius: 4px;
    overflow: hidden;
    background: #000;
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow: 
        inset 0 0 40px rgba(0,0,0,0.6),
        0 10px 30px rgba(0,0,0,0.5);
    
    transform: rotateY(calc(var(--i) * 15deg)) translateZ(600px);
    transition: all 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
    backface-visibility: hidden;
    user-select: none;
    -webkit-user-drag: none;

    /* DARK MIRROR REFLECTION - ULTRA VISÍVEL */
    -webkit-box-reflect: below 2px linear-gradient(transparent 50%, rgba(255,255,255,0.15));
}

.case-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.7) grayscale(20%);
    transition: 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
    image-rendering: -webkit-optimize-contrast;
    transform: translateZ(1px); 
}

.case-card:hover {
    border-color: var(--color-accent);
    box-shadow: 0 0 50px var(--color-accent-glow);
    z-index: 100;
}

.case-card:hover img {
    filter: brightness(1.1) grayscale(0%);
    transform: scale(1.05);
}

/* Foco central HD */
.case-card[style*="rotateY(0deg)"] img, 
.case-card[style*="rotateY(0)"] img {
    filter: brightness(1.1) grayscale(0%);
}

/* RESPONSIVIDADE NAVBAR & MENU MOBILE - FORÇADO */
@media screen and (max-width: 1024px) {
    .nav-links, .nav-cta {
        display: none !important;
    }

    .menu-icon {
        display: flex !important;
        align-items: center;
        justify-content: center;
        order: 1; /* Esquerda */
    }

    .navbar {
        padding: 1rem 5% !important;
        display: flex;
        justify-content: space-between;
    }
    
    .logo-container {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        order: 2; /* Centro */
    }

    .logo {
        height: 65px !important;
    }
}





@media (max-width: 768px) {
    .cases-scene { perspective: 800px; height: 160px; margin: 3rem 0; }
    .case-card { 
        transform: rotateY(calc(var(--i) * 15deg)) translateZ(240px); 
        width: 50px; height: 50px; 
    }
    .cases-carousel { width: 50px; height: 50px; }
    
    .section-title { font-size: 1.8rem; }
}






/* ==========================================================================
   GLOBAL INTERACTIVE MODAL (V3 PERFECT REDESIGN)
   ========================================================================== */

/* ==========================================================================
   GLOBAL INTERACTIVE MODAL (DUAL-CARD REDESIGN)
   ========================================================================== */
.modal-overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.94);
    backdrop-filter: blur(30px);
    z-index: 9999;
    display: none; 
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.modal-overlay.active {
    display: flex;
    opacity: 1;
}

.modal-container {
    width: 100%;
    max-width: 1100px;
    background: transparent; /* TRANSPARENTE: Os cards internos agora são as janelas */
    border: none;
    border-radius: 0;
    position: relative;
    overflow-y: auto;
    max-height: 95vh;
    box-shadow: none;
    transform: translateY(40px);
    transition: transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.modal-overlay.active .modal-container {
    transform: translateY(0);
}

.modal-close {
    position: fixed; /* Fixado no topo da tela para fechar tudo */
    top: 40px; right: 40px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    color: #fff;
    width: 60px; height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10000;
    transition: all 0.4s ease;
}
.modal-close:hover {
    background: var(--color-accent);
    color: #000;
    transform: rotate(90deg);
}

/* DUAL CARD LAYOUT */
.dual-card-layout {
    display: flex;
    gap: 2rem;
    align-items: stretch;
    justify-content: center;
    padding: 2rem;
}

.modal-card {
    background: rgba(25, 25, 25, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 32px;
    overflow: hidden;
    box-shadow: 0 40px 80px rgba(0,0,0,0.6);
    width: 100%;
}

/* CARD LADO A: VISUAL */
.modal-card-visual {
    width: 350px;
    flex-shrink: 0;
    position: relative;
    cursor: pointer;
}

.modal-card-visual .modal-side-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    animation: shimmer-slow 15s infinite alternate;
}

.modal-card-visual .visual-overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: linear-gradient(to top, #111 0%, transparent 40%);
}

/* CARD LADO B: CONTEÚDO PRINCIPAL */
.modal-card-main {
    max-width: 650px;
    padding: 4rem;
    background: linear-gradient(135deg, rgba(255,255,255,0.03) 0%, transparent 100%);
}

.modal-header-brand {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.modal-logo {
    width: 140px;
}

.brand-line {
    flex: 1;
    height: 1px;
    background: rgba(230, 70, 58, 0.2);
}

.modal-title-v3 {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 800;
    color: #fff;
    text-transform: uppercase;
    margin-bottom: 2rem;
    line-height: 1.1;
}

.modal-text-manifesto {
    color: #bbb;
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 3rem;
}
.modal-text-manifesto strong { color: var(--color-accent); }

/* ADS ELEMENTS */
.ads-grid-v3 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.ads-card-v3 {
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.05);
    padding: 1.2rem 1.5rem;
    border-radius: 16px;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
    cursor: pointer;
}
.ads-card-v3:hover {
    background: rgba(255,255,255,0.04);
    border-color: rgba(255,255,255,0.2);
    transform: translateX(5px);
}
.ads-card-v3.active {
    background: rgba(230, 70, 58, 0.08);
    border-color: var(--color-accent);
    box-shadow: 0 0 20px rgba(230, 70, 58, 0.2);
    transform: translateX(10px);
}
.ads-card-v3.active i { color: var(--color-accent); }

.ads-card-v3.featured {
    border-color: rgba(230, 70, 58, 0.2);
}
.ads-card-v3.featured i { color: var(--color-accent); }

.modal-primary-btn {
    margin-top: 3rem;
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    background: var(--color-accent);
    color: #000;
    padding: 1rem 2.5rem;
    border-radius: 100px;
    font-weight: 800;
    text-transform: uppercase;
    transition: all 0.3s ease;
}
.modal-primary-btn:hover { transform: translateY(-3px); box-shadow: 0 10px 20px rgba(230, 70, 58, 0.3); }

/* ANIMATION */
@keyframes shimmer-slow {
    from { transform: scale(1); }
    to { transform: scale(1.08); }
}

/* RESPONSIVIDADE DUAL CARD */
@media (max-width: 1024px) {
    .dual-card-layout { flex-direction: column; align-items: center; }
    .modal-card-visual { width: 100%; max-width: 500px; height: 450px; } /* MAIS VERTICAL */
    .modal-card-main { width: 100%; max-width: 500px; padding: 2rem; }
    
    .fullscreen-btn-v3 { display: flex !important; } /* MOSTRA NO MOBILE */
}

/* FULLSCREEN OVERLAY */
.fullscreen-btn-v3 {
    position: absolute;
    bottom: 20px; right: 20px;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.1);
    padding: 8px 15px;
    border-radius: 10px;
    color: #fff;
    display: none; /* Escondido no PC por padrão */
    align-items: center;
    gap: 8px;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 1px;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
}
.fullscreen-btn-v3:hover { background: var(--color-accent); border-color: transparent; }
.fullscreen-btn-v3 i { font-size: 1rem; }

















/* ==========================================================================
   CTA SECTION CINEMATIC VIDEO 
   ========================================================================== */
.cta-section {
    position: relative;
    padding: 12rem 0;
    overflow: hidden;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cta-bg-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    z-index: 0;
    opacity: 0.5; /* Brilho controlado para foco no texto */
}

.cta-overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: linear-gradient(to bottom, 
        rgba(7, 7, 9, 0.8) 0%, 
        rgba(7, 7, 9, 0.4) 50%, 
        rgba(7, 7, 9, 0.8) 100%);
    z-index: 1;
}

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

.epic-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    line-height: 1.1;
    font-weight: 800;
    color: #fff;
    text-transform: uppercase;
    text-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.epic-subtitle {
    font-size: 1.2rem;
    color: rgba(255,255,255,0.8);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .cta-section { padding: 8rem 0; }
    .epic-title { font-size: 2.2rem; }
}

/* DESIGN GALLERY STACK */
.design-gallery-card {
    background: #000 !important;
    max-height: 600px;
    overflow-y: auto;
}

.design-gallery-stack {
    display: flex;
    flex-direction: column;
    gap: 0px;
}

.design-gallery-stack img {
    width: 100%;
    height: auto;
    object-fit: cover;
    filter: brightness(0.7);
    transition: all 0.6s ease;
    border-bottom: 2px solid rgba(255,255,255,0.05);
}

.design-gallery-stack img:hover {
    filter: brightness(1);
    transform: scale(1.02);
    z-index: 5;
}

/* Custom Scrollbar for Gallery */
.design-gallery-card::-webkit-scrollbar { width: 5px; }
.design-gallery-card::-webkit-scrollbar-thumb { background: var(--color-accent); border-radius: 10px; }

/* MOTION VIDEO STACK */
.motion-video-card {
    background: #000 !important;
    display: flex;
    flex-direction: column;
}

.motion-video-stack {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.motion-video-stack video {
    width: 100%;
    height: 50%; /* Divide o espaço entre os dois vídeos */
    object-fit: cover;
    border-bottom: 2px solid rgba(255,255,255,0.05);
    transition: filter 0.5s ease;
}

.motion-video-stack video:last-child {
    border-bottom: none;
}

/* Ajuste Mobile para Stack de Vídeos */
@media (max-width: 1024px) {
    .motion-video-card { height: 600px !important; }
}


