:root {
    --bg-dark: #0a0a0a;
    --bg-darker: #050505;
    --text-main: #f5f5f7;
    --text-muted: #a1a1a6;
    --accent: #ffffff;
    --accent-hover: #cccccc;
    
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-sans);
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4 {
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

h2.section-title {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    background: linear-gradient(180deg, #fff 0%, #a1a1a6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

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

p {
    color: var(--text-muted);
}

strong {
    color: var(--text-main);
}

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

.section {
    padding: 6rem 0;
}

.bg-darker {
    background-color: var(--bg-darker);
}

.mt-2 { margin-top: 2rem; }
.mt-4 { margin-top: 4rem; }
.spacer { height: 4rem; }
.spacer-sm { height: 2rem; }

/* Glassmorphism */
.glass {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
}

.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 1.5rem;
    padding: 2rem;
    transition: var(--transition);
}

.glass-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.15);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    border-radius: 2rem;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background-color: var(--accent);
    color: #000;
}

.btn-primary:hover {
    background-color: var(--accent-hover);
    transform: scale(1.02);
}

.btn-primary-sm {
    background-color: var(--accent);
    color: #000;
    padding: 0.5rem 1.25rem;
    border-radius: 2rem;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.btn-primary-sm:hover {
    background-color: var(--accent-hover);
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-main);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
}

.btn-outline-sm {
    padding: 0.4rem 1rem;
    border: 1px solid var(--text-main);
    color: var(--text-main);
    border-radius: 1rem;
    text-decoration: none;
    font-size: 0.875rem;
    transition: var(--transition);
}

.btn-outline-sm:hover {
    background: var(--text-main);
    color: var(--bg-dark);
}

.btn-whatsapp {
    background-color: #25D366;
    color: #fff;
}

.btn-whatsapp:hover {
    background-color: #1ebe57;
    transform: translateY(-2px);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 1.5rem;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 0;
    pointer-events: none;
    display: flex;
    justify-content: center;
}

.nav-container {
    width: auto;
    max-width: 95%;
    pointer-events: auto;
}

.nav-pill {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.4rem 1rem;
    border-radius: 4rem;
    background: rgba(10, 10, 10, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.logo-img {
    height: 24px;
    width: auto;
    object-fit: contain;
    transition: var(--transition);
}

.nav-links-wrapper {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    position: relative; /* Necessário para o indicador absoluto */
}

.nav-active-indicator {
    position: absolute;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 2rem;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    pointer-events: none;
    z-index: -1;
    opacity: 0; /* Começa invisível até o JS ativar */
}

.nav-link {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.active-link {
    color: var(--text-main) !important;
}

.contact-pill {
    background: var(--text-main) !important;
    color: var(--bg-dark) !important;
    font-weight: 700;
}

.mobile-nav-links {
    display: none; /* Escondido por padrão no desktop */
}

.menu-toggle, .close-menu {
    display: none;
    background: none;
    border: none;
    color: var(--text-main);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 5rem;
    overflow: hidden;
}

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

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(10, 10, 10, 0.3) 0%, rgba(10, 10, 10, 0.9) 100%);
}

.hero-content {
    text-align: center;
    max-width: 800px;
    padding: 0 1.5rem;
    z-index: 1;
}

.hero-title {
    font-size: clamp(3rem, 8vw, 6rem);
    margin-bottom: 1rem;
    text-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.hero-subtitle {
    font-size: clamp(1.125rem, 3vw, 1.5rem);
    color: var(--text-main);
    margin-bottom: 2.5rem;
    opacity: 0.9;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

/* Grids */
.grid-2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

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

/* Podcast / Cards */
.card-icon {
    font-size: 2.5rem;
    color: var(--text-main);
    margin-bottom: 1.5rem;
}

.glass-card h3 {
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
}

.image-showcase {
    border-radius: 1.5rem;
    overflow: hidden;
    height: 400px;
}

.showcase-img, .rounded-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 1.5rem;
}

/* Audiovisual Services */
.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.service-item {
    position: relative;
    border-radius: 1.5rem;
    overflow: hidden;
    height: 350px;
    group: hover;
}

.service-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}

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

.service-content {
    position: absolute;
    bottom: 1rem;
    left: 1rem;
    right: 1rem;
    padding: 1.5rem;
    border-radius: 1rem;
}

.service-content h3 {
    color: #fff;
    margin-bottom: 0.5rem;
}

.service-content p {
    font-size: 0.875rem;
    color: rgba(255,255,255,0.8);
    margin: 0;
}

.service-placeholder {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 2rem;
}

.service-details {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tag {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-main);
    padding: 0.2rem 0.6rem;
    border-radius: 1rem;
    font-size: 0.75rem;
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

/* Split Layout (Musical) */
.split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.feature-list {
    list-style: none;
    margin-top: 2rem;
}

.feature-list li {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.feature-list i {
    font-size: 1.5rem;
    color: var(--text-main);
    margin-top: 0.25rem;
}

.feature-list strong {
    display: block;
    margin-bottom: 0.25rem;
    font-size: 1.125rem;
}

/* Sobre Nós */
.lead-text {
    font-size: 1.25rem;
    color: var(--text-main);
    line-height: 1.8;
}

.about-card h4 {
    margin-bottom: 0.5rem;
    color: var(--text-main);
}

.vision-box {
    padding: 3rem;
    border-radius: 1.5rem;
    text-align: center;
}

.vision-box h3 {
    margin-bottom: 1.5rem;
    font-size: 1.75rem;
}

.vision-box p {
    font-size: 1.125rem;
    max-width: 800px;
    margin: 0 auto;
}

/* Video Text Mask (Efeito Cinemático 3D) */
.video-mask-container {
    position: relative;
    width: 100%;
    height: 70vh;
    min-height: 400px;
    background-color: #000;
    overflow: hidden;
    margin-bottom: 2rem;
}

.bg-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
}

.text-mask-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #000;
    color: #ffffff; /* O branco fica transparente e revela o vídeo */
    mix-blend-mode: multiply;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    z-index: 1;
}

.text-mask-overlay h2 {
    font-size: clamp(4rem, 15vw, 14rem);
    font-weight: 900;
    line-height: 0.85;
    letter-spacing: -0.05em;
    margin: 0;
    text-transform: uppercase;
}

/* Brands Section */
.bg-white {
    background-color: #ffffff;
    padding: 4rem 0;
}

.brands-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 4rem;
}

.brand-logo {
    max-height: 45px;
    max-width: 160px;
    width: auto;
    height: auto;
    object-fit: contain;
    /* Isso transforma qualquer logo colorida em preto sólido */
    filter: grayscale(100%) brightness(0);
    opacity: 0.5;
    transition: var(--transition);
}

.brand-logo:hover {
    opacity: 1;
}

/* Contato */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-info {
    padding: 3rem;
    border-radius: 1.5rem;
}

.contact-info h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    color: var(--text-main);
    font-size: 1.25rem;
    transition: var(--transition);
    text-decoration: none;
}

.social-icon:hover {
    background: var(--text-main);
    color: var(--bg-dark);
}

/* Instagram Mockup */
.instagram-mockup {
    border-radius: 1.5rem;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.insta-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid var(--glass-border);
}

.insta-profile {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.insta-story-ring {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 50%;
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2px;
}

.insta-avatar-inner {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-color: #000;
    border: 2px solid var(--bg-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.insta-logo-img {
    width: 80%;
    height: 80%;
    object-fit: contain;
}

.insta-info {
    display: flex;
    flex-direction: column;
}

.insta-info span {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.insta-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2px;
    padding: 2px;
}

.insta-post {
    aspect-ratio: 1;
    background-size: cover;
    background-position: center;
}

/* Footer */
.footer {
    padding: 3rem 0;
    border-top: 1px solid rgba(255,255,255,0.05);
    margin-top: 4rem;
}

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

.footer-logo {
    font-weight: 800;
    letter-spacing: 0.1em;
}

.footer-text {
    font-size: 0.875rem;
    margin: 0;
}

/* Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

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

/* Responsive Design (Mobile First adjustments) */
@media (max-width: 992px) {
    .split-layout {
        grid-template-columns: 1fr;
    }
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links-wrapper {
        display: none;
    }

    .nav-pill {
        width: 90vw; /* Ocupa quase toda a largura para dar respiro */
        justify-content: space-between;
        border-radius: 3rem;
        margin: 0;
        padding: 0.6rem 1.5rem;
    }

    .mobile-nav-links {
        position: fixed;
        top: 6rem; /* Fica logo abaixo da navbar pill */
        left: 50%;
        transform: translateX(-50%) scale(0.9);
        width: 90vw;
        height: auto;
        max-height: 80vh;
        background: rgba(10, 10, 10, 0.9);
        backdrop-filter: blur(30px);
        -webkit-backdrop-filter: blur(30px);
        flex-direction: column;
        align-items: center;
        padding: 2.5rem 1.5rem;
        transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 2.5rem;
        display: flex;
        gap: 1.5rem;
        z-index: 2000;
        opacity: 0;
        pointer-events: none;
        box-shadow: 0 20px 50px rgba(0,0,0,0.6);
    }
    
    .mobile-nav-links.active {
        opacity: 1;
        pointer-events: auto;
        transform: translateX(-50%) scale(1);
    }
    
    .close-menu {
        display: none; /* Não precisamos do X se o hambúrguer faz o toggle */
    }

    .menu-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .nav-link {
        font-size: 1.1rem;
        padding: 0.8rem 2rem;
        width: 100%;
        text-align: center;
        border-radius: 1.5rem;
        background: none !important;
        border: none !important;
        box-shadow: none !important;
    }

    .nav-link:active {
        background: rgba(255,255,255,0.1) !important;
    }
    
    .hero-actions {
        flex-direction: column;
    }
    
    .section {
        padding: 3rem 0; /* Espaçamento menor no celular (Premium Apple Style) */
    }

    .glass-card {
        padding: 1.5rem;
        border-radius: 1.25rem;
    }
    
    .instagram-mockup {
        border-radius: 1.25rem;
    }

    .section-title {
        font-size: 2rem;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

/* --- AWWWARDS FEATURES REFINED --- */

/* Page Transition Overlay */
.page-transition-overlay {
    position: fixed;
    top: -100%;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: var(--bg-dark);
    z-index: 9999;
    pointer-events: none;
    transition: top 0.6s cubic-bezier(0.77, 0, 0.175, 1);
}

/* Custom Cursor */
@media (pointer: fine) {
    body, a, button, .vertical-video-balloon, .nav-link, .social-icon {
        cursor: none !important;
    }
}

.custom-cursor {
    position: fixed;
    top: 0;
    left: 0;
    width: 8px;
    height: 8px;
    background-color: #fff;
    border-radius: 50%;
    pointer-events: none;
    z-index: 9998;
    transition: width 0.3s ease, height 0.3s ease, background-color 0.3s ease, opacity 0.3s ease;
    mix-blend-mode: difference;
    will-change: transform;
}

/* Custom Cursor States */
.custom-cursor.cursor-hover {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    mix-blend-mode: normal;
}

.cursor-text {
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 2px;
    opacity: 0;
    transition: opacity 0.3s ease;
    color: var(--bg-dark);
}

/* Mobile: hide custom cursor entirely */
@media (max-width: 768px) {
    .custom-cursor {
        display: none !important;
    }
}
