:root {
    /* Color Palette */
    --color-primary: #f0f0f0;
    --color-bg-dark: #070707;
    --color-accent: #ff3366; /* Rosa vibrante estilo agência digital */
    --color-accent-hover: #ff0040;
    --color-text-light: #ffffff;
    --color-text-muted: rgba(255, 255, 255, 0.7);
    
    /* Typography */
    --font-heading: 'Funnel Display', sans-serif;
    --font-body: 'Inter', sans-serif;
    --font-clean: 'Public Sans', sans-serif;
    
    /* Layout */
    --nav-height: 60px;
}

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

body, html {
    width: 100%;
    height: 100%;
    font-family: var(--font-body);
    background-color: var(--color-bg-dark);
    color: var(--color-text-light);
    overflow: hidden; /* Hide main body scrollbar, delegate to snap container */
}

/* Scroll Snapping Container */
.scroll-container {
    width: 100%;
    height: 100vh;
    overflow-y: scroll;
    scroll-snap-type: y mandatory;
    scroll-behavior: smooth;
    /* Hide scrollbar for cleaner look */
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
}
.scroll-container::-webkit-scrollbar {
    display: none; /* Chrome, Safari and Opera */
}

/* Navbar: Glassmorphism */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--nav-height);
    background: rgba(7, 7, 7, 0.2);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: background 0.3s ease, padding 0.3s ease;
}

.navbar.scrolled {
    background: rgba(7, 7, 7, 0.85);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 40px;
}

.logo {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 900;
    letter-spacing: -1px;
    color: var(--color-text-light);
    text-decoration: none;
    text-transform: uppercase;
}

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

.nav-links a {
    color: var(--color-text-light);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    transition: color 0.3s;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0%;
    height: 2px;
    bottom: -6px;
    left: 0;
    background-color: var(--color-accent);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.menu-btn {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Fullscreen Sections */
.fullscreen-section {
    position: relative;
    width: 100%;
    min-height: 100vh;
    scroll-snap-align: start;
    scroll-snap-stop: always;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
}

/* Background Videos */
.bg-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    background-color: var(--color-bg-dark); /* Fundo escuro para preencher barras vazias */
    z-index: 0;
}

/* Overlays to make text readable */
.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.3) 50%, rgba(0,0,0,0.7) 100%);
    z-index: 1;
}

.gradient-overlay {
    background: linear-gradient(to right, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.2) 100%);
}

.pattern-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-image: radial-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 20px 20px;
    z-index: 0;
}

/* Content Layouts */
.content-wrapper {
    position: relative;
    z-index: 10;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    width: 100%;
}

.content-wrapper.align-right {
    text-align: right;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.content-wrapper.text-center {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Typography elements */
.badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 1.5rem;
    color: var(--color-accent);
}

h1, h2 {
    font-family: var(--font-heading);
    font-size: clamp(3rem, 8vw, 7rem);
    font-weight: 900;
    line-height: 1;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    color: var(--color-text-light);
    letter-spacing: -2px;
    text-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

h1 span, h2 span {
    color: transparent;
    -webkit-text-stroke: 2px rgba(255,255,255,0.9);
}

p {
    font-size: clamp(1.1rem, 2vw, 1.5rem);
    max-width: 600px;
    margin-bottom: 3rem;
    color: var(--color-text-muted);
    font-weight: 400;
    line-height: 1.6;
}

.mb-4 { margin-bottom: 4rem; }

/* Buttons */
.btn-primary, .btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 2.5rem;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1rem;
    text-transform: uppercase;
    text-decoration: none;
    letter-spacing: 1px;
    border-radius: 50px;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--color-text-light);
    color: var(--color-bg-dark);
}

.btn-primary:active {
    transform: scale(0.95);
}

.btn-primary:hover {
    background: var(--color-accent);
    color: var(--color-text-light);
    box-shadow: 0 15px 30px rgba(255, 51, 102, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--color-text-light);
    border: 2px solid var(--color-text-light);
}

.btn-secondary:hover {
    background: var(--color-text-light);
    color: var(--color-bg-dark);
}

/* Scroll indicator animation */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    opacity: 0.7;
    animation: bounce 2s infinite;
}

.mouse {
    width: 26px;
    height: 40px;
    border: 2px solid white;
    border-radius: 15px;
    display: flex;
    justify-content: center;
    padding-top: 6px;
}

.wheel {
    width: 4px;
    height: 8px;
    background: white;
    border-radius: 2px;
    animation: scroll 1.5s infinite;
}

@keyframes scroll {
    0% { transform: translateY(0); opacity: 1; }
    100% { transform: translateY(15px); opacity: 0; }
}

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

/* Animations for elements entering viewport */
.slide-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.fade-in {
    opacity: 0;
    transition: opacity 1s ease;
}

.in-view.slide-up {
    opacity: 1;
    transform: translateY(0);
}

.in-view.fade-in {
    opacity: 1;
}

.delay-1 { transition-delay: 0.15s; }
.delay-2 { transition-delay: 0.3s; }

/* Footer */
.site-footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    padding: 2rem 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255,255,255,0.05);
    z-index: 10;
}

.site-footer p {
    font-size: 0.9rem;
    margin: 0;
}

.social-links {
    display: flex;
    gap: 1.5rem;
}

.social-links a {
    color: var(--color-text-light);
    font-size: 1.2rem;
    transition: color 0.3s;
}

.social-links a:hover {
    color: var(--color-accent);
}

/* Form Styling */
.contact-form {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    background: rgba(255, 255, 255, 0.03);
    padding: 2.5rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
}

.input-group {
    display: flex;
    gap: 1rem;
}

.input-group > * {
    flex: 1;
}

.form-input {
    width: 100%;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: var(--color-text-light);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: all 0.3s;
    appearance: none; /* remove o formato nativo do dropdown no mac/ios */
}

/* Fix específico de cor para opções de dropdown que podem sumir em fundos escuros */
select.form-input option {
    background: var(--color-bg-dark);
    color: var(--color-text-light);
}

.form-input:focus {
    outline: none;
    border-color: var(--color-accent);
    background: rgba(0, 0, 0, 0.8);
}

.form-input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100%;
    background: rgba(7, 7, 7, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 2000;
    transition: right 0.4s cubic-bezier(0.77, 0, 0.175, 1);
    display: flex;
    justify-content: center;
    align-items: center;
}

.mobile-menu-overlay.active {
    right: 0;
}

.mobile-menu-content {
    width: 100%;
    padding: 0 40px;
    text-align: center;
    position: relative;
}

.close-menu {
    position: absolute;
    top: -100px;
    right: 40px;
    background: none;
    border: none;
    color: white;
    font-size: 3rem;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.3s;
}

.close-menu:hover {
    opacity: 1;
}

.mobile-links {
    display: flex;
    flex-direction: column;
    gap: 1.5rem; /* Menos espaço para parecer mais uma lista corrida */
    text-align: left;
    width: 100%;
    padding-left: 10%; /* Recuo para não colar na borda */
}

.mobile-links a {
    color: #ffffff !important;
    text-decoration: none !important;
    font-family: 'Public Sans', sans-serif !important;
    font-size: 2rem !important;
    font-weight: 400 !important;
    letter-spacing: -0.5px !important;
    opacity: 1 !important;
    transition: color 0.3s ease;
}

.mobile-links a:hover {
    color: var(--color-accent) !important;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none; /* In a real app, implement mobile menu */
    }
    .menu-btn {
        display: block;
    }
    .content-wrapper {
        padding: 0 20px;
        padding-bottom: 40px; /* Spacer para não encostar embaixo */
    }
    .site-footer {
        position: relative;
        flex-direction: column;
        gap: 1rem;
        text-align: center;
        padding: 2rem 20px;
    }
    .input-group {
        flex-direction: column;
        gap: 1rem;
    }
}
