/* ========================================
   STUDIO FUZZ - STYLE CSS
   Estúdio criativo premium
   ======================================== */

/* ========================================
   CSS VARIABLES (DESIGN TOKENS)
   ======================================== */
:root {
    /* Colors */
    --color-black: #0B0B0B;
    --color-black-light: #111111;
    --color-black-lighter: #1a1a1a;
    --color-gray-dark: #2a2a2a;
    --color-gray: #666666;
    --color-gray-light: #999999;
    --color-white: #ffffff;
    --color-white-soft: #f5f5f5;
    
    /* Accent - Verde Neon/Limão */
    --color-accent: #c8ff00;
    --color-accent-dark: #a6d400;
    --color-accent-glow: rgba(200, 255, 0, 0.3);
    
    /* Gradients */
    --gradient-dark: linear-gradient(180deg, #0B0B0B 0%, #111111 100%);
    --gradient-accent: linear-gradient(135deg, var(--color-accent) 0%, #9acd00 100%);
    --gradient-overlay: linear-gradient(180deg, rgba(11, 11, 11, 0.5) 0%, rgba(11, 11, 11, 0.8) 100%);
    
    /* Typography */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    
    /* Font Sizes */
    --text-xs: 0.75rem;
    --text-sm: 0.875rem;
    --text-base: 1rem;
    --text-lg: 1.125rem;
    --text-xl: 1.25rem;
    --text-2xl: 1.5rem;
    --text-3xl: 1.875rem;
    --text-4xl: 2.25rem;
    --text-5xl: 3rem;
    --text-6xl: 3.75rem;
    --text-7xl: 4.5rem;
    
    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2rem;
    --space-xl: 3rem;
    --space-2xl: 4rem;
    --space-3xl: 6rem;
    --space-4xl: 8rem;
    
    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-full: 9999px;
    
    /* Z-index */
    --z-header: 100;
    --z-overlay: 50;
    --z-float: 90;
}

/* ========================================
   RESET & BASE
   ======================================== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    font-family: var(--font-family);
    font-weight: 400;
    line-height: 1.6;
    color: var(--color-white);
    background-color: var(--color-black);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-fast);
}

ul, ol {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

/* ========================================
   UTILITIES
   ======================================== */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-md);
}

@media (min-width: 768px) {
    .container {
        padding: 0 var(--space-xl);
    }
}

/* ========================================
   ANIMATIONS
   ======================================== */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

@keyframes scrollIndicator {
    0% {
        transform: translateY(0);
        opacity: 1;
    }
    50% {
        transform: translateY(10px);
        opacity: 0.5;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

.animate-fade-up {
    animation: fadeUp 0.8s ease forwards;
    opacity: 0;
}

.animate-delay-1 {
    animation-delay: 0.2s;
}

.animate-delay-2 {
    animation-delay: 0.4s;
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ========================================
   HEADER
   ======================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: var(--z-header);
    padding: var(--space-md) 0;
    transition: background-color var(--transition-base), padding var(--transition-base);
}

.header--scrolled {
    background-color: rgba(11, 11, 11, 0.95);
    backdrop-filter: blur(10px);
    padding: var(--space-sm) 0;
}

.header__container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-md);
}

.header__logo-img {
    height: 32px;
    width: auto;
}

@media (min-width: 768px) {
    .header__logo-img {
        height: 40px;
    }
}

.header__nav {
    display: none;
}

@media (min-width: 992px) {
    .header__nav {
        display: block;
    }
}

.header__nav-list {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
}

.header__nav-link {
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--color-gray-light);
    transition: color var(--transition-fast);
    position: relative;
}

.header__nav-link:hover {
    color: var(--color-white);
}

.header__nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--color-accent);
    transition: width var(--transition-base);
}

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

.header__nav-link--cta {
    color: var(--color-black);
    background-color: var(--color-accent);
    padding: var(--space-xs) var(--space-md);
    border-radius: var(--radius-full);
    font-weight: 600;
}

.header__nav-link--cta:hover {
    background-color: var(--color-accent-dark);
    color: var(--color-black);
}

.header__nav-link--cta::after {
    display: none;
}

/* Mobile Menu Toggle */
.header__menu-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: var(--space-xs);
    z-index: calc(var(--z-header) + 1);
}

@media (min-width: 992px) {
    .header__menu-toggle {
        display: none;
    }
}

.header__menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--color-white);
    transition: transform var(--transition-base), opacity var(--transition-base);
}

.header__menu-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.header__menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.header__menu-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Menu */
.header__nav.mobile-open {
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--color-black);
    align-items: center;
    justify-content: center;
    z-index: var(--z-header);
}

.header__nav.mobile-open .header__nav-list {
    flex-direction: column;
    gap: var(--space-xl);
}

.header__nav.mobile-open .header__nav-link {
    font-size: var(--text-2xl);
}

/* ========================================
   HERO SECTION
   ======================================== */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero__video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.hero__video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

/* Aspect ratio fix for YouTube embed */
@media (min-aspect-ratio: 16/9) {
    .hero__video {
        width: 100%;
        height: auto;
    }
}

@media (max-aspect-ratio: 16/9) {
    .hero__video {
        width: auto;
        height: 100%;
    }
}

.hero__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        180deg, 
        rgba(11, 11, 11, 0.4) 0%, 
        rgba(11, 11, 11, 0.6) 50%,
        rgba(11, 11, 11, 0.85) 100%
    );
    z-index: var(--z-overlay);
}

.hero__content {
    position: relative;
    z-index: calc(var(--z-overlay) + 1);
    text-align: center;
    max-width: 900px;
    padding: 0 var(--space-md);
}

.hero__title {
    font-size: var(--text-3xl);
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: var(--space-md);
    letter-spacing: -0.02em;
}

@media (min-width: 768px) {
    .hero__title {
        font-size: var(--text-5xl);
        margin-bottom: var(--space-lg);
    }
}

@media (min-width: 1024px) {
    .hero__title {
        font-size: var(--text-6xl);
    }
}

.hero__subtitle {
    font-size: var(--text-lg);
    font-weight: 300;
    color: var(--color-gray-light);
    margin-bottom: var(--space-xl);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

@media (min-width: 768px) {
    .hero__subtitle {
        font-size: var(--text-xl);
    }
}

.hero__scroll-indicator {
    position: absolute;
    bottom: var(--space-xl);
    left: 50%;
    transform: translateX(-50%);
    z-index: calc(var(--z-overlay) + 1);
}

.hero__scroll-indicator span {
    display: block;
    width: 24px;
    height: 40px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    position: relative;
}

.hero__scroll-indicator span::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background-color: var(--color-accent);
    border-radius: 2px;
    animation: scrollIndicator 1.5s infinite;
}

/* ========================================
   BUTTONS
   ======================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-xs);
    padding: var(--space-md) var(--space-xl);
    font-size: var(--text-base);
    font-weight: 600;
    border-radius: var(--radius-full);
    transition: all var(--transition-base);
    cursor: pointer;
}

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

.btn--primary:hover {
    background-color: var(--color-accent-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 40px var(--color-accent-glow);
}

.btn--large {
    padding: var(--space-lg) var(--space-2xl);
    font-size: var(--text-lg);
}

.btn__icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ========================================
   SECTIONS
   ======================================== */
.section {
    padding: var(--space-3xl) 0;
}

@media (min-width: 768px) {
    .section {
        padding: var(--space-4xl) 0;
    }
}

.section--dark {
    background-color: var(--color-black);
}

.section--accent {
    background: linear-gradient(
        180deg,
        var(--color-black-light) 0%,
        var(--color-black) 100%
    );
    border-top: 1px solid var(--color-gray-dark);
    border-bottom: 1px solid var(--color-gray-dark);
}

.section--gradient {
    background: linear-gradient(
        135deg,
        var(--color-black) 0%,
        rgba(200, 255, 0, 0.03) 50%,
        var(--color-black) 100%
    );
}

.section--cta {
    background: linear-gradient(
        180deg,
        var(--color-black) 0%,
        var(--color-black-light) 50%,
        var(--color-black) 100%
    );
    padding: var(--space-4xl) 0;
}

.section__content {
    max-width: 800px;
}

.section__content--centered {
    margin: 0 auto;
    text-align: center;
}

.section__title {
    font-size: var(--text-2xl);
    font-weight: 600;
    margin-bottom: var(--space-xl);
    color: var(--color-accent);
    letter-spacing: -0.01em;
}

@media (min-width: 768px) {
    .section__title {
        font-size: var(--text-4xl);
    }
}

/* ========================================
   TYPOGRAPHY
   ======================================== */
.text-large {
    font-size: var(--text-lg);
    line-height: 1.7;
    color: var(--color-white-soft);
    margin-bottom: var(--space-lg);
}

@media (min-width: 768px) {
    .text-large {
        font-size: var(--text-xl);
    }
}

.text-medium {
    font-size: var(--text-base);
    line-height: 1.7;
    color: var(--color-gray-light);
    margin-bottom: var(--space-md);
}

@media (min-width: 768px) {
    .text-medium {
        font-size: var(--text-lg);
    }
}

.text-small {
    font-size: var(--text-sm);
    color: var(--color-gray);
    margin-top: var(--space-lg);
}

.text-highlight {
    font-size: var(--text-xl);
    font-weight: 500;
    color: var(--color-white);
    margin-top: var(--space-xl);
    padding-top: var(--space-lg);
    border-top: 1px solid var(--color-gray-dark);
}

@media (min-width: 768px) {
    .text-highlight {
        font-size: var(--text-2xl);
    }
}

/* ========================================
   FEATURE LIST
   ======================================== */
.feature-list {
    margin: var(--space-lg) 0;
    text-align: left;
}

.feature-list li {
    display: flex;
    align-items: flex-start;
    gap: var(--space-sm);
    font-size: var(--text-lg);
    color: var(--color-white-soft);
    margin-bottom: var(--space-md);
}

.feature-list__marker {
    display: block;
    width: 8px;
    height: 8px;
    background-color: var(--color-accent);
    border-radius: 50%;
    margin-top: 10px;
    flex-shrink: 0;
}

.feature-list--check li {
    gap: var(--space-md);
}

.feature-list__check {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background-color: rgba(200, 255, 0, 0.1);
    border: 1px solid var(--color-accent);
    border-radius: 50%;
    flex-shrink: 0;
    position: relative;
}

.feature-list__check::before {
    content: '';
    width: 8px;
    height: 8px;
    background-color: var(--color-accent);
    border-radius: 50%;
}

/* Feature Cards */
.feature-list--cards {
    display: grid;
    gap: var(--space-md);
    margin: var(--space-xl) 0;
}

@media (min-width: 768px) {
    .feature-list--cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

.feature-list--cards li {
    background: linear-gradient(
        135deg,
        var(--color-black-lighter) 0%,
        var(--color-black-light) 100%
    );
    border: 1px solid var(--color-gray-dark);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    margin-bottom: 0;
    transition: border-color var(--transition-base), transform var(--transition-base);
}

.feature-list--cards li:hover {
    border-color: var(--color-accent);
    transform: translateY(-4px);
}

.feature-list__icon {
    font-size: var(--text-sm);
    font-weight: 700;
    color: var(--color-accent);
    margin-bottom: var(--space-xs);
    display: block;
}

.feature-list__text {
    font-size: var(--text-base);
    display: block;
}

/* ========================================
   CTA SECTION
   ======================================== */
.cta__title {
    font-size: var(--text-4xl);
    font-weight: 600;
    margin-bottom: var(--space-md);
    color: var(--color-white);
}

@media (min-width: 768px) {
    .cta__title {
        font-size: var(--text-5xl);
    }
}

.cta__text {
    font-size: var(--text-lg);
    color: var(--color-gray-light);
    margin-bottom: var(--space-xl);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

@media (min-width: 768px) {
    .cta__text {
        font-size: var(--text-xl);
    }
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
    padding: var(--space-xl) 0;
    border-top: 1px solid var(--color-gray-dark);
    background-color: var(--color-black);
}

.footer__content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-md);
    text-align: center;
}

.footer__logo {
    height: 28px;
    opacity: 0.7;
}

.footer__text {
    font-size: var(--text-sm);
    color: var(--color-gray);
}

/* ========================================
   WHATSAPP FLOAT BUTTON
   ======================================== */
.whatsapp-float {
    position: fixed;
    bottom: var(--space-lg);
    right: var(--space-lg);
    z-index: var(--z-float);
    width: 56px;
    height: 56px;
    background-color: var(--color-accent);
    color: var(--color-black);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px var(--color-accent-glow);
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px var(--color-accent-glow);
}

@media (max-width: 767px) {
    .whatsapp-float {
        bottom: var(--space-md);
        right: var(--space-md);
        width: 52px;
        height: 52px;
    }
}

/* ========================================
   SCROLLBAR
   ======================================== */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--color-black);
}

::-webkit-scrollbar-thumb {
    background: var(--color-gray-dark);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--color-gray);
}

/* ========================================
   SELECTION
   ======================================== */
::selection {
    background-color: var(--color-accent);
    color: var(--color-black);
}

/* ========================================
   ACCESSIBILITY
   ======================================== */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
}

/* Focus styles */
:focus-visible {
    outline: 2px solid var(--color-accent);
    outline-offset: 2px;
}
