/* ========================================
   WEBSTAR - DESIGN PROFISSIONAL & CLEAN
   SEO Optimizado - Core Web Vitals
   ======================================== */

/* RESET & BASE */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Skip Link - Acessibilidade WCAG 2.1 */
.skip-link {
    position: absolute;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent);
    color: #ffffff;
    padding: 16px 32px;
    border-radius: 0 0 8px 8px;
    text-decoration: none;
    font-weight: 600;
    z-index: 10000;
    transition: top 0.3s ease;
}

.skip-link:focus {
    top: 0;
    outline: 3px solid var(--accent-dark);
    outline-offset: 2px;
}

:root {
    /* Paleta Profissional */
    --primary: #ffffff;
    --primary-light: #f8f9fb;
    --primary-dark: #e8eaed;
    --accent: #0066ff;
    --accent-dark: #0052cc;
    --accent-light: rgba(0, 102, 255, 0.08);
    --text-dark: #1a1a2e;
    --text-medium: #4a4a68;
    --text-light: #6b6b8a;
    --bg-light: #ffffff;
    --bg-card: #ffffff;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.12);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-medium);
    background-color: var(--bg-light);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ========================================
   UTILITIES
   ======================================== */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 120px 0;
    position: relative;
}

.section-title {
    font-family: 'Outfit', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    text-align: center;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-light);
    text-align: center;
    max-width: 600px;
    margin: 0 auto 60px;
    line-height: 1.7;
}

/* ========================================
   HERO SECTION - BUTTON OVERRIDES
   ======================================== */
.hero .btn-outline {
    background: transparent;
    color: #ffffff;
    border: 2px solid rgba(255, 255, 255, 0.6);
}

.hero .btn-outline:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: #ffffff;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

/* Scroll Reveal Classes */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: var(--transition-slow);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ========================================
   BUTTONS
   ======================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 32px;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--accent);
    color: var(--primary);
    box-shadow: 0 4px 14px rgba(0, 102, 255, 0.35);
}

.btn-primary:hover {
    background: var(--accent-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 102, 255, 0.45);
}

.btn-outline {
    background: transparent;
    color: var(--accent);
    border: 2px solid var(--accent);
}

.btn-outline:hover {
    background: var(--accent);
    color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 102, 255, 0.25);
}

/* ========================================
   HEADER & NAVIGATION
   ======================================== */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    padding: 20px 0;
    transition: var(--transition);
    border-bottom: 1px solid transparent;
}

header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-sm);
    padding: 15px 0;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-image {
    height: 90px;
    width: auto;
}

/* Logo transition on scroll */
.logo {
    position: relative;
    display: inline-block;
    height: 110px;
    width: auto;
}

.logo-image {
    position: absolute;
    top: 0;
    left: 0;
}

.logo-scrolled {
    opacity: 0;
}

header.scrolled .logo-default {
    opacity: 0;
}

header.scrolled .logo-scrolled {
    opacity: 1;
}

/* ========================================
   LANGUAGE SELECTOR
   ======================================== */
.lang-selector {
    position: relative;
    margin-left: 24px;
}

.lang-current {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.9rem;
    font-weight: 500;
    color: #ffffff;
}

.lang-current:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
}

.lang-current i {
    font-size: 0.75rem;
    transition: var(--transition);
}

.lang-selector.active .lang-current i {
    transform: rotate(180deg);
}

/* Header scrolled state for language selector */
header.scrolled .lang-current {
    background: var(--primary-light);
    border: 1px solid var(--primary-dark);
    color: var(--text-medium);
}

header.scrolled .lang-current:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--primary);
}

.lang-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: var(--primary);
    border: 1px solid var(--primary-dark);
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    min-width: 160px;
    padding: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: var(--transition);
    z-index: 100;
}

.lang-selector.active .lang-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-option {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 12px 16px;
    background: none;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.9rem;
    color: var(--text-medium);
    text-align: left;
}

.lang-option:hover {
    background: var(--accent-light);
    color: var(--accent);
}

.lang-option.active {
    background: var(--accent-light);
    color: var(--accent);
}

.lang-option .lang-flag {
    font-size: 1.2rem;
}

.lang-option .lang-name {
    font-weight: 500;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 40px;
}

.nav-menu a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 1rem;
    transition: var(--transition);
    position: relative;
    padding: 8px 0;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 0;
    height: 2px;
    background: #4da6ff;
    transition: width 0.3s ease;
}

.nav-menu a:hover {
    color: #ffffff;
}

.nav-menu a:hover::after {
    width: 100%;
}

/* Estado ativo (selecionado) do menu */
.nav-menu a.active {
    color: #ffffff;
    font-weight: 600;
}

.nav-menu a.active::after {
    width: 100%;
}

/* Header scrolled state - dark text */
header.scrolled .nav-menu a {
    color: var(--text-medium);
}

header.scrolled .nav-menu a:hover,
header.scrolled .nav-menu a.active {
    color: var(--accent);
}

header.scrolled .nav-menu a::after {
    background: var(--accent);
}

header.scrolled .menu-toggle {
    color: var(--text-dark);
}

.menu-toggle {
    display: none;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: #ffffff;
    font-size: 1.5rem;
    cursor: pointer;
    width: 44px;
    height: 44px;
    border-radius: 10px;
    transition: var(--transition);
}

.menu-toggle:hover {
    background: rgba(255, 255, 255, 0.2);
}

header.scrolled .menu-toggle {
    background: var(--primary-light);
    color: var(--text-dark);
}

header.scrolled .menu-toggle:hover {
    background: var(--accent);
    color: var(--primary);
}

/* ========================================
   HERO SECTION - MODERN & DYNAMIC
   ======================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: 120px 0 80px;
    background: #0a0e27;
}

/* Hero Image Slideshow */
.hero-slideshow {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transform: scale(1.05);
    transition: opacity 2s ease-in-out, transform 8s ease-in-out;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-slide.active {
    opacity: 1;
    transform: scale(1);
}

.slide-img-1 {
    background-image: url('images/hero1.webp');
}

.slide-img-2 {
    background-image: url('images/hero2.webp');
}

/* Dark Overlay */
.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(
        135deg,
        rgba(10, 14, 39, 0.85) 0%,
        rgba(10, 14, 39, 0.7) 50%,
        rgba(10, 14, 39, 0.9) 100%
    );
}

/* Animated Gradient Background */
.hero-gradient-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.5;
    animation: orbFloat 15s ease-in-out infinite;
}

.orb-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, #0066ff 0%, transparent 70%);
    top: -20%;
    left: -10%;
    animation-delay: 0s;
}

.orb-2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, #7c3aed 0%, transparent 70%);
    top: 10%;
    right: -15%;
    animation-delay: -5s;
    animation-duration: 18s;
}

.orb-3 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, #06b6d4 0%, transparent 70%);
    bottom: -10%;
    left: 20%;
    animation-delay: -10s;
    animation-duration: 20s;
}

.orb-4 {
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, #f59e0b 0%, transparent 70%);
    bottom: 20%;
    right: 10%;
    animation-delay: -7s;
    animation-duration: 22s;
    opacity: 0.3;
}

@keyframes orbFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(50px, -30px) scale(1.1); }
    50% { transform: translate(-30px, 50px) scale(0.9); }
    75% { transform: translate(40px, 20px) scale(1.05); }
}

/* Mesh Grid Pattern */
.mesh-grid {
    position: absolute;
    inset: 0;
    z-index: 2;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 80px 80px;
    mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
}

/* Animated Horizontal Lines */
.hero-lines {
    position: absolute;
    inset: 0;
    z-index: 3;
    overflow: hidden;
}

.h-line {
    position: absolute;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 102, 255, 0.3), transparent);
    animation: lineScroll 8s linear infinite;
}

.line-1 { top: 20%; width: 60%; left: -60%; animation-delay: 0s; }
.line-2 { top: 35%; width: 40%; left: -40%; animation-delay: -2s; animation-duration: 10s; }
.line-3 { top: 50%; width: 80%; left: -80%; animation-delay: -4s; animation-duration: 12s; }
.line-4 { top: 65%; width: 50%; left: -50%; animation-delay: -6s; animation-duration: 9s; }
.line-5 { top: 80%; width: 70%; left: -70%; animation-delay: -3s; animation-duration: 11s; }

@keyframes lineScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(100% + 200%)); }
}

/* Floating Geometric Shapes */
.geo-shapes {
    position: absolute;
    inset: 0;
    z-index: 4;
    pointer-events: none;
}

.shape {
    position: absolute;
    opacity: 0.15;
    animation: shapeFloat 20s ease-in-out infinite;
}

.shape-circle {
    width: 80px;
    height: 80px;
    border: 2px solid #0066ff;
    border-radius: 50%;
    top: 15%;
    left: 10%;
    animation-delay: 0s;
}

.shape-square {
    width: 60px;
    height: 60px;
    border: 2px solid #7c3aed;
    top: 25%;
    right: 15%;
    animation-delay: -5s;
    animation-duration: 25s;
}

.shape-triangle {
    width: 0;
    height: 0;
    border-left: 40px solid transparent;
    border-right: 40px solid transparent;
    border-bottom: 70px solid rgba(6, 182, 212, 0.3);
    bottom: 25%;
    left: 8%;
    animation-delay: -10s;
    animation-duration: 22s;
}

.shape-ring {
    width: 100px;
    height: 100px;
    border: 3px solid rgba(245, 158, 11, 0.4);
    border-radius: 50%;
    bottom: 20%;
    right: 12%;
    animation-delay: -7s;
    animation-duration: 18s;
}

.shape-dots {
    top: 45%;
    left: 5%;
    display: grid;
    grid-template-columns: repeat(3, 8px);
    gap: 12px;
    animation-delay: -3s;
    animation-duration: 24s;
}

.shape-dots::before,
.shape-dots::after {
    content: '';
    width: 8px;
    height: 8px;
    background: rgba(0, 102, 255, 0.5);
    border-radius: 50%;
}

@keyframes shapeFloat {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(30px, -40px) rotate(90deg); }
    50% { transform: translate(-20px, 30px) rotate(180deg); }
    75% { transform: translate(40px, -20px) rotate(270deg); }
}

/* Cursor Glow Effect */
.cursor-glow {
    position: fixed;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 102, 255, 0.15) 0%, transparent 70%);
    pointer-events: none;
    z-index: 5;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.hero:hover .cursor-glow {
    opacity: 1;
}

/* Hero Content */
.hero .container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: auto;
    position: relative;
    z-index: 10;
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 900px;
    text-align: center;
    width: 100%;
}

/* Modern Badge */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 32px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.9);
    animation: badgeSlideIn 0.8s ease forwards;
    opacity: 0;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: #22c55e;
    border-radius: 50%;
    animation: dotPulse 2s ease-in-out infinite;
}

@keyframes dotPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.3); }
}

@keyframes badgeSlideIn {
    from { opacity: 0; transform: translateY(-20px) scale(0.9); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

/* Modern Title with Typing Effect */
.hero h1 {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    color: #ffffff;
    line-height: 1.1;
    margin-bottom: 28px;
    letter-spacing: -0.03em;
}

.title-line {
    display: block;
    animation: titleReveal 1s ease forwards;
    opacity: 0;
}

.title-line:first-child {
    animation-delay: 0.2s;
}

.highlight-line {
    background: linear-gradient(135deg, #0066ff 0%, #7c3aed 50%, #06b6d4 100%);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: titleReveal 1s ease 0.4s forwards, gradientShift 5s ease infinite;
}

@keyframes titleReveal {
    from { opacity: 0; transform: translateY(30px); filter: blur(10px); }
    to { opacity: 1; transform: translateY(0); filter: blur(0); }
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* Typed Text Cursor */
.typed-cursor {
    display: inline-block;
    width: 3px;
    height: 1em;
    background: #0066ff;
    margin-left: 4px;
    animation: cursorBlink 1s step-end infinite;
    vertical-align: text-bottom;
}

@keyframes cursorBlink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

/* Modern Subtitle */
.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 48px;
    line-height: 1.8;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
    animation: subtitleReveal 1s ease 0.6s forwards;
    opacity: 0;
}

@keyframes subtitleReveal {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Modern CTA Buttons */
.hero-cta {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 60px;
    justify-content: center;
    animation: ctaReveal 0.8s ease 0.8s forwards;
    opacity: 0;
}

@keyframes ctaReveal {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.btn-glow {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #0066ff 0%, #0052cc 100%);
    box-shadow: 0 8px 32px rgba(0, 102, 255, 0.4), 0 0 0 0 rgba(0, 102, 255, 0.4);
    animation: btnGlowPulse 3s ease-in-out infinite;
}

@keyframes btnGlowPulse {
    0%, 100% { box-shadow: 0 8px 32px rgba(0, 102, 255, 0.4), 0 0 0 0 rgba(0, 102, 255, 0.4); }
    50% { box-shadow: 0 8px 32px rgba(0, 102, 255, 0.5), 0 0 0 10px rgba(0, 102, 255, 0); }
}

.btn-shimmer {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shimmerMove 3s ease-in-out infinite;
}

@keyframes shimmerMove {
    0% { left: -100%; }
    50%, 100% { left: 100%; }
}

.btn-glow:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 40px rgba(0, 102, 255, 0.6);
}

.btn-play {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
}

.btn-play:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-3px);
}

.btn-play i {
    font-size: 0.8em;
    transition: transform 0.3s ease;
}

.btn-play:hover i {
    transform: scale(1.2);
}

/* Modern Stats */
.hero-stats {
    display: flex;
    gap: 40px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 48px;
    animation: statsReveal 0.8s ease 1s forwards;
    opacity: 0;
}

@keyframes statsReveal {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.stat-item {
    text-align: center;
    padding: 24px 32px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.4s ease;
    min-width: 160px;
}

.stat-item:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(0, 102, 255, 0.4);
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.stat-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 12px;
    background: linear-gradient(135deg, #0066ff 0%, #7c3aed 100%);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: #ffffff;
}

.stat-number {
    font-family: 'Outfit', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: #ffffff;
    display: block;
    line-height: 1;
    margin-bottom: 4px;
}

.stat-suffix {
    font-size: 1.5rem;
    font-weight: 600;
    color: #4da6ff;
}

.stat-label {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}

/* Trust Badges */
.trust-badges {
    text-align: center;
    animation: trustReveal 0.8s ease 1.2s forwards;
    opacity: 0;
}

@keyframes trustReveal {
    from { opacity: 0; }
    to { opacity: 1; }
}

.trust-label {
    display: block;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 16px;
    font-weight: 500;
}

.trust-avatars {
    display: flex;
    justify-content: center;
    gap: -8px;
}

.avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    color: #ffffff;
    border: 2px solid #0a0e27;
    margin-left: -8px;
    transition: transform 0.3s ease;
}

.avatar:first-child {
    margin-left: 0;
}

.avatar:hover {
    transform: scale(1.2) translateY(-4px);
    z-index: 10;
}

.avatar-1 { background: linear-gradient(135deg, #0066ff, #0052cc); }
.avatar-2 { background: linear-gradient(135deg, #7c3aed, #6d28d9); }
.avatar-3 { background: linear-gradient(135deg, #06b6d4, #0891b2); }
.avatar-4 { background: linear-gradient(135deg, #f59e0b, #d97706); }
.avatar-more {
    background: rgba(255, 255, 255, 0.1);
    font-size: 0.75rem;
    font-weight: 600;
}

/* Modern Scroll Indicator */
.scroll-indicator-new {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
    z-index: 11;
    text-decoration: none;
    animation: scrollIndicatorIn 1s ease 1.5s forwards;
    opacity: 0;
}

@keyframes scrollIndicatorIn {
    from { opacity: 0; transform: translateX(-50%) translateY(20px); }
    to { opacity: 1; transform: translateX(-50%) translateY(0); }
}

.mouse-icon {
    width: 26px;
    height: 42px;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-radius: 14px;
    position: relative;
    display: flex;
    justify-content: center;
    padding-top: 8px;
}

.mouse-wheel {
    width: 4px;
    height: 10px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 2px;
    animation: mouseScroll 2s ease-in-out infinite;
}

@keyframes mouseScroll {
    0% { transform: translateY(0); opacity: 1; }
    100% { transform: translateY(12px); opacity: 0; }
}

.scroll-indicator-new:hover {
    color: #ffffff;
}

.scroll-indicator-new:hover .mouse-icon {
    border-color: rgba(255, 255, 255, 0.8);
}

/* ========================================
   WEB PARTICLES CANVAS
   ======================================== */
#particles-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 6;
    pointer-events: none;
}

/* Responsive Hero Adjustments */
@media (max-width: 768px) {
    .hero {
        padding: 100px 0 60px;
    }
    
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .hero-stats {
        gap: 16px;
    }
    
    .stat-item {
        min-width: 140px;
        padding: 16px 20px;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-cta .btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
    
    .scroll-indicator-new {
        display: none;
    }
    
    #particles-canvas {
        display: none;
    }
    
    .gradient-orb {
        filter: blur(60px);
        opacity: 0.4;
    }
    
    .orb-1 { width: 300px; height: 300px; }
    .orb-2 { width: 250px; height: 250px; }
    .orb-3 { width: 200px; height: 200px; }
    .orb-4 { width: 180px; height: 180px; }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .hero-subtitle {
        font-size: 0.95rem;
    }
    
    .hero-stats {
        flex-direction: column;
        align-items: center;
    }
    
    .stat-item {
        width: 100%;
        max-width: 280px;
    }
}

/* ========================================
   ABOUT SECTION
   ======================================== */
.about {
    background: #ffffff;
    padding: 140px 0;
}

.about-label {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 16px;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-content h2 {
    font-family: 'Outfit', sans-serif;
    font-size: 2.5rem;
    color: var(--text-dark);
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.about-content p {
    color: var(--text-light);
    margin-bottom: 20px;
    font-size: 1.05rem;
    line-height: 1.8;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 40px;
}

.about-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 18px 20px;
    background: var(--primary);
    border-radius: 12px;
    transition: var(--transition);
    border: 1px solid transparent;
}

.about-feature:hover {
    background: var(--primary);
    border-color: var(--accent);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.about-feature i {
    color: var(--accent);
    font-size: 1.2rem;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-light);
    border-radius: 8px;
}

.about-feature span {
    font-weight: 600;
    color: var(--text-dark);
    font-size: 0.95rem;
}

.about-image {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.about-image-wrapper {
    width: 100%;
    max-width: 420px;
    aspect-ratio: 1;
    display: block;
    position: relative;
    border-radius: 24px;
    overflow: visible !important;
}

/* About Video */
.about-video {
    width: 150%;
    height: 225%;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: none;
    display: block;
}

.about-globe {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.about-icon {
    font-size: 5rem;
    color: var(--primary);
    opacity: 0.9;
    animation: globeRotate 20s linear infinite;
}

@keyframes globeRotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Globe Rings */
.globe-rings {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.ring {
    position: absolute;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.ring-1 {
    width: 200px;
    height: 200px;
    animation: ringPulse 3s ease-in-out infinite;
}

.ring-2 {
    width: 280px;
    height: 280px;
    animation: ringPulse 3s ease-in-out infinite 0.5s;
}

.ring-3 {
    width: 360px;
    height: 360px;
    animation: ringPulse 3s ease-in-out infinite 1s;
}

@keyframes ringPulse {
    0%, 100% { opacity: 0.3; transform: translate(-50%, -50%) scale(1); }
    50% { opacity: 0.6; transform: translate(-50%, -50%) scale(1.05); }
}

/* About Stats Card - BRANCO */
.about-stats-card {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: var(--accent);
    color: #ffffff;
    padding: 20px 28px;
    border-radius: 16px;
    text-align: center;
    box-shadow: var(--shadow-md);
}

.about-stats-card h4 {
    font-family: 'Outfit', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 4px;
}

.about-stats-card p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
}

/* About Years Badge */
.about-years-badge {
    position: absolute;
    top: -15px;
    left: -15px;
    background: #111111;
    color: var(--primary);
    padding: 12px 20px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: var(--shadow-md);
    animation: badgeFloat 3s ease-in-out infinite;
}

@keyframes badgeFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.about-years-badge i {
    font-size: 1rem;
}

.about-years-badge span {
    font-weight: 700;
    font-size: 0.9rem;
}

/* ========================================
   SERVICES SECTION
   ======================================== */
.services {
    background: var(--primary-light);
    padding: 140px 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.service-card {
    background: var(--primary);
    padding: 40px 28px;
    border-radius: 20px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    border: 1px solid transparent;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    width: 64px;
    height: 64px;
    background: var(--accent-light);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background: var(--accent);
}

.service-icon i {
    font-size: 1.5rem;
    color: var(--accent);
    transition: var(--transition);
}

.service-card:hover .service-icon i {
    color: var(--primary);
}

.service-card h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.25rem;
    color: var(--text-dark);
    margin-bottom: 12px;
    font-weight: 600;
}

.service-card p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* ========================================
   WHY US SECTION
   ======================================== */
.why-us {
    background: var(--primary);
    padding: 140px 0;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.why-card {
    background: var(--primary);
    padding: 36px 28px;
    border-radius: 20px;
    border: 1px solid var(--primary-dark);
    transition: var(--transition);
    text-align: center;
}

.why-card:hover {
    transform: translateY(-6px);
    border-color: var(--accent);
    box-shadow: var(--shadow-md);
}

.why-icon {
    width: 72px;
    height: 72px;
    background: var(--accent-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    transition: var(--transition);
}

.why-card:hover .why-icon {
    background: var(--accent);
    transform: scale(1.1);
}

.why-icon i {
    font-size: 1.5rem;
    color: var(--accent);
    transition: var(--transition);
}

.why-card:hover .why-icon i {
    color: var(--primary);
}

.why-card h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.15rem;
    color: var(--text-dark);
    margin-bottom: 12px;
    font-weight: 600;
}

.why-card p {
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.7;
}

/* ========================================
   PORTFOLIO SECTION
   ======================================== */
.portfolio {
    background: var(--primary);
    padding: 140px 0;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    margin-bottom: 60px;
}

.portfolio-card {
    background: var(--primary);
    border-radius: 24px;
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid var(--primary-dark);
}

.portfolio-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent);
}

.portfolio-preview {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    min-height: 200px;
}

.portfolio-preview::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #1a365d;
    filter: brightness(0.9);
    transition: var(--transition);
    z-index: 0;
}

.portfolio-card:hover .portfolio-preview::before {
    filter: brightness(1);
    transform: scale(1.05);
}

.portfolio-preview video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: relative;
    z-index: 1;
}

.portfolio-icon {
    font-size: 4rem;
    color: rgba(255, 255, 255, 0.9);
    position: relative;
    z-index: 1;
    transition: var(--transition);
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

.portfolio-card:hover .portfolio-icon {
    transform: scale(1.1);
    color: #ffffff;
}

.portfolio-content {
    padding: 32px;
}

.portfolio-content h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.portfolio-type {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
    padding: 6px 14px;
    background: var(--accent-light);
    border-radius: 50px;
}

.portfolio-desc {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 20px;
}

.portfolio-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
}

.portfolio-link:hover {
    color: var(--accent-dark);
    gap: 12px;
}

.portfolio-link i {
    font-size: 0.85rem;
    transition: var(--transition);
}

.portfolio-card:hover .portfolio-link i {
    transform: translateX(4px);
}

.portfolio-cta {
    text-align: center;
    padding: 48px;
    background: var(--accent-light);
    border-radius: 24px;
}

.portfolio-cta p {
    font-family: 'Outfit', sans-serif;
    font-size: 1.25rem;
    font-weight:  600;
    color: var(--text-dark);
    margin-bottom: 20px;
}

/* ========================================
   PRICING SECTION
   ======================================== */
.pricing {
    background: var(--primary-light);
    padding: 140px 0;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    align-items: stretch;
}

.pricing-card {
    background: var(--primary);
    border-radius: 24px;
    padding: 40px 32px;
    transition: var(--transition);
    border: 1px solid var(--primary-dark);
    position: relative;
    display: flex;
    flex-direction: column;
}

.pricing-card .pricing-header {
    flex-shrink: 0;
}

.pricing-card .pricing-features {
    flex-grow: 1;
}

.pricing-card .pricing-btn {
    margin-top: auto;
}

.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.pricing-card.featured {
    border-color: var(--accent);
    box-shadow: 0 20px 50px rgba(0, 102, 255, 0.15);
    transform: scale(1.03);
}

.pricing-card.featured:hover {
    transform: scale(1.03) translateY(-8px);
}

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent);
    color: var(--primary);
    padding: 6px 20px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.pricing-header {
    text-align: center;
    padding-bottom: 28px;
    margin-bottom: 28px;
    border-bottom: 1px solid var(--primary-dark);
}

.pricing-header h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.35rem;
    color: var(--text-dark);
    margin-bottom: 16px;
    font-weight: 600;
}

.pricing-price {
    font-family: 'Outfit', sans-serif;
    font-size: 3.25rem;
    font-weight: 700;
    color: var(--accent);
    line-height: 1;
}

.pricing-price span {
    font-size: 1rem;
    font-weight: 400;
    color: var(--text-light);
}

.pricing-tagline {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-top: 8px;
}

.pricing-features {
    list-style: none;
    margin-bottom: 32px;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    color: var(--text-medium);
    font-size: 0.95rem;
}

.pricing-features li i {
    color: var(--accent);
    font-size: 0.85rem;
}

.pricing-btn {
    width: 100%;
}

.pricing-note {
    text-align: center;
    margin-top: 48px;
    font-size: 0.875rem;
    color: var(--text-light);
    font-style: italic;
}

/* ========================================
   TESTIMONIALS SECTION
   ======================================== */
.testimonials {
    background: var(--primary);
    padding: 140px 0;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.testimonial-card {
    background: var(--primary);
    padding: 36px;
    border-radius: 20px;
    border: 1px solid var(--primary-dark);
    transition: var(--transition);
}

.testimonial-card.hidden {
    display: none;
}

.testimonial-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: var(--accent);
}

.testimonial-content {
    margin-bottom: 24px;
}

.testimonial-content i {
    font-size: 1.5rem;
    color: var(--accent);
    margin-bottom: 16px;
    opacity: 0.5;
}

.testimonial-content p {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-medium);
    font-style: italic;
}

.testimonials-cta {
    text-align: center;
    margin-top: 60px;
}

.testimonials-cta .btn {
    padding: 16px 40px;
}

.testimonials-cta .btn i {
    transition: transform 0.3s ease;
}

.testimonials-cta .btn:hover i {
    transform: translateY(3px);
}

/* ========================================
   FAQ SECTION
   ======================================== */
.faq {
    background: var(--primary-light);
    padding: 140px 0;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--primary);
    border-radius: 16px;
    margin-bottom: 16px;
    overflow: hidden;
    border: 1px solid transparent;
    transition: var(--transition);
}

.faq-item:hover {
    border-color: var(--accent);
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 28px;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    font-family: 'Inter', sans-serif;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-dark);
    transition: var(--transition);
}

.faq-question i {
    color: var(--accent);
    font-size: 1rem;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
    transform: rotate(45deg);
}

.faq-item.active .faq-question {
    color: var(--accent);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 300px;
    padding: 0 28px 24px;
}

.faq-answer p {
    font-size: 0.95rem;
    line-height: 1.8;
    color: var(--text-light);
}

/* ========================================
   CONTACT SECTION - MELHORADO
   ======================================== */
.contact {
    background: linear-gradient(180deg, var(--primary) 0%, var(--primary-light) 100%);
    padding: 140px 0;
}

.contact-header {
    text-align: center;
    margin-bottom: 60px;
}

.contact-header .section-title {
    font-size: 2.75rem;
    margin-bottom: 16px;
}

.contact-header .section-subtitle {
    max-width: 500px;
    margin: 0 auto;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    align-items: start;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-card {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 24px;
    background: var(--primary);
    border-radius: 16px;
    border: 1px solid var(--primary-dark);
    transition: var(--transition);
}

.contact-card:hover {
    transform: translateY(-4px);
    border-color: var(--accent);
    box-shadow: var(--shadow-md);
}

.contact-icon {
    width: 52px;
    height: 52px;
    background: var(--accent-light);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon i {
    font-size: 1.25rem;
    color: var(--accent);
}

.contact-details h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 6px;
}

.contact-details p {
    font-size: 0.95rem;
    color: var(--text-light);
    margin: 0;
    line-height: 1.6;
}

.contact-details a {
    color: var(--accent);
    text-decoration: none;
    transition: var(--transition);
}

.contact-details a:hover {
    color: var(--accent-dark);
    text-decoration: underline;
}

.contact-response-time {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px 20px;
    background: var(--accent-light);
    border-radius: 12px;
    font-size: 0.9rem;
    color: var(--text-dark);
}

.contact-response-time i {
    color: var(--accent);
    font-size: 1rem;
}

.contact-response-time strong {
    color: var(--accent);
}

.contact-social {
    display: flex;
    gap: 12px;
    margin-top: 8px;
}

.social-link {
    width: 44px;
    height: 44px;
    background: var(--primary);
    border: 1px solid var(--primary-dark);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-medium);
    font-size: 1.1rem;
    transition: var(--transition);
}

.social-link:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--primary);
    transform: translateY(-4px);
}

.form-container {
    background: var(--primary);
    padding: 40px;
    border-radius: 24px;
    border: 1px solid var(--primary-dark);
    box-shadow: var(--shadow-md);
}

.form-header {
    margin-bottom: 28px;
}

.form-container h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-bottom: 8px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 12px;
}

.form-container h3 i {
    color: var(--accent);
}

.form-container .form-subtitle {
    color: var(--text-light);
    font-size: 0.95rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-medium);
    margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    background: var(--primary);
    border: 1px solid var(--primary-dark);
    border-radius: 12px;
    color: var(--text-dark);
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    transition: var(--transition);
    outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 4px var(--accent-light);
}

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%230066ff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6,9 12,15 18,9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 18px;
}

.form-submit {
    width: 100%;
    margin-top: 8px;
}

.form-success {
    display: none;
    text-align: center;
    padding: 48px 24px;
}

.form-success.show {
    display: block;
    animation: fadeIn 0.5s ease;
}

.form-success i {
    font-size: 4rem;
    color: var(--accent);
    margin-bottom: 20px;
}

.form-success h4 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.form-success p {
    color: var(--text-light);
}

.form-error {
    display: none;
    text-align: center;
    padding: 16px 24px;
    background: #fee;
    border: 1px solid #fcc;
    border-radius: 12px;
    margin-bottom: 20px;
    color: #c33;
    font-weight: 500;
}

.form-error.show {
    display: block;
    animation: fadeIn 0.5s ease;
}

/* ========================================
   FOOTER
   ======================================== */
footer {
    background: var(--text-dark);
    padding: 80px 0 40px;
    color: rgba(255, 255, 255, 0.7);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-brand .logo-image {
    height: 80px;
    margin-bottom: 24px;
    filter: brightness(0) invert(1);
}

.footer-brand p {
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 0;
}

.footer-section h4 {
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 20px;
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 12px;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer-section a:hover {
    color: var(--accent);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    font-size: 0.875rem;
    margin: 0;
}

.footer-legal {
    display: flex;
    gap: 24px;
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 0.85rem;
    transition: var(--transition);
}

.footer-legal a:hover {
    color: var(--accent);
}

/* ========================================
   FLOATING BUTTONS
   ======================================== */
.floating-buttons {
    position: fixed;
    bottom: 32px;
    right: 32px;
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 12px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition);
}

.floating-buttons.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.floating-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 16px;
    color: var(--primary);
    font-size: 1.2rem;
    text-decoration: none;
    transition: var(--transition);
    box-shadow: var(--shadow-md);
}

.scroll-top-btn {
    background: var(--accent);
}

.scroll-top-btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 102, 255, 0.4);
}

.contact-btn {
    background: var(--text-dark);
}

.contact-btn:hover {
    transform: translateY(-4px);
    background: var(--text-medium);
}

.whatsapp-btn {
    background: #25D366;
}

.whatsapp-btn:hover {
    transform: translateY(-4px);
    background: #128C7E;
    box-shadow: 0 12px 30px rgba(37, 211, 102, 0.4);
}

/* ========================================
   SCROLL PROGRESS
   ======================================== */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: var(--accent);
    width: 0%;
    z-index: 10000;
    transition: width 0.1s ease;
}

/* ========================================
   RESPONSIVE - TABLET
   ======================================== */
@media (max-width: 1024px) {
    .services-grid,
    .why-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    .pricing-card.featured {
        transform: scale(1);
        grid-column: span 2;
        max-width: 400px;
        margin: 0 auto;
    }

    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .about-grid {
        gap: 60px;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .footer-content {
        grid-template-columns: 1.5fr 1fr 1fr;
        gap: 40px;
    }

    .hero h1 {
        font-size: 3rem;
    }

    .hero-stats {
        gap: 40px;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    /* Portfolio */
    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .portfolio-card {
        max-width: 500px;
        margin: 0 auto;
    }

    /* Services - 8 cards */
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
}

@media (max-width: 900px) {
    .container {
        padding: 0 20px;
    }

    .section {
        padding: 100px 0;
    }

    .section-title {
        font-size: 2rem;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

.about-image {
        order: 0;
        width: 100%;
        max-width: 75%;
        text-align: center;
    }

    .about-image-wrapper {
        max-width: 100%;
        margin: 0 auto;
        padding: 0 20px;
    }

    .about-video {
        width: 100%;
        height: auto;
        max-height: 250px;
        object-fit: cover;
        border-radius: 12px;
    }

    .about-photo {
        width: 100%;
        max-width: 280px;
        height: auto;
        aspect-ratio: 1;
        object-fit: cover;
        border-radius: 12px;
    }

    .about-features {
        grid-template-columns: 1fr;
    }

    .about-stats-card {
        bottom: -10px;
        right: -10px;
        padding: 16px 20px;
    }

    .about-stats-card h4 {
        font-size: 2rem;
    }

    .about-years-badge {
        top: -10px;
        left: -10px;
        padding: 10px 16px;
    }

    .services-grid,
    .why-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }

    .pricing-card.featured {
        grid-column: auto;
        max-width: 400px;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }
}

/* ========================================
   RESPONSIVE - MOBILE
   ======================================== */
@media (max-width: 768px) {
    .section {
        padding: 80px 0;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .section-subtitle {
        font-size: 1rem;
        margin-bottom: 48px;
    }

    /* Header */
    header {
        padding: 6px 0;
    }

    .logo-image {
        height: 90px;
    }

    /* Garantir que o menu toggle fica à direita */
    .menu-toggle {
        margin-left: auto;
    }

    .nav-menu {
        position: fixed;
        top: 115px;
        left: 0;
        right: 0;
        background: #444444;
        flex-direction: column;
        padding: 24px;
        gap: 0;
        transform: translateX(-100%);
        transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        box-shadow: var(--shadow-md);
    }

    .nav-menu.active {
        transform: translateX(0);
        height: 100vh;
        max-height: 100vh;
        overflow-y: auto;
    }

    .nav-menu li {
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        padding: 11px 0;
    }

    .nav-menu li:last-child {
        border-bottom: none;
    }

    .nav-menu a {
        display: block;
        font-size: 1rem;
        color: rgba(255, 255, 255, 0.9) !important;
    }

    .nav-menu a:hover,
    .nav-menu a.active {
        color: #ffffff !important;
    }

    .nav-menu a::after {
        background: #4da6ff !important;
    }

    .menu-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    /* Language Selector - Mobile */
    /* Esconder o selector de língua original no header em mobile */
    .nav-container > .lang-selector {
        display: none !important;
    }

    .mobile-lang-selector {
        display: block;
    }

    .nav-menu .lang-selector {
        margin-left: 0;
        margin-top: 8px;
    }

    .nav-menu .lang-current {
        width: 100%;
        justify-content: flex-start;
        padding: 14px 16px;
        background: var(--accent-light);
        border: 1px solid var(--accent);
    }

    .nav-menu .lang-current:hover {
        background: var(--accent);
        color: var(--primary);
    }

    .nav-menu .lang-dropdown {
        position: static;
        box-shadow: none;
        border: none;
        background: transparent;
        padding: 0;
        opacity: 1;
        visibility: visible;
        transform: none;
        display: none;
    }

    .nav-menu .lang-selector.active .lang-dropdown {
        display: block;
    }

    .nav-menu .lang-option {
        padding: 14px 16px;
        border-radius: 8px;
    }

    .nav-menu .lang-option:hover {
        background: var(--accent-light);
    }

    .lang-option{
background-color: #fff;
margin: 5px;
    }
    .lang-option.active{
background-color: #fff;
margin: 5px;
    }
    .lang-current{
        background-color: #fff;
        margin: 5px;
    }
    /* Hero */
    .hero {
        padding: 100px 0 60px;
        min-height: auto;
    }

    .hero .container {
        min-height: auto;
        padding: 40px 20px 60px;
    }

    .hero h1 {
        font-size: 2.25rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-cta {
        flex-direction: column;
        gap: 12px;
        margin-bottom: 60px;
    }

    .hero-cta .btn {
        width: 60%;
        margin-left: auto;
        margin-right: auto;
    }

    .hero-stats {
        flex-direction: column;
        gap: 32px;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .stat-label {
        font-size: 0.8rem;
    }

    /* About */
    .about-content h2 {
        font-size: 1.75rem;
    }

    .about-content p {
        font-size: 1rem;
    }

    .about-years-badge {
        display: none;
    }

    /* Pricing */
    .pricing-card,
    .pricing-card.featured {
        padding: 32px 24px;
    }

    .pricing-price {
        font-size: 2.75rem;
    }

    /* Contact */
    .contact-header .section-title {
        font-size: 2rem;
    }

    .contact-wrapper {
        gap: 40px;
    }

    .contact-card {
        padding: 20px;
    }

    .form-container {
        padding: 32px 24px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    /* Footer */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }

    .footer-legal {
        flex-direction: column;
        gap: 12px;
    }

    .footer-legal span {
        display: none;
    }

    /* Floating Buttons */
    .floating-buttons {
        bottom: 24px;
        right: 24px;
    }

    .floating-btn {
        width: 48px;
        height: 48px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .section {
        padding: 64px 0;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .hero h1 {
        font-size: 1.85rem;
    }

    .hero-badge {
        margin-top: 30px;
        font-size: 0.75rem;
        padding: 6px 14px;
    }

    .btn {
        padding: 14px 24px;
        font-size: 0.9rem;
    }

    .stat-number {
        font-size: 2.25rem;
    }

    .service-card,
    .why-card {
        padding: 28px 24px;
    }

    .pricing-price {
        font-size: 2.5rem;
    }

    .testimonial-card {
        padding: 28px;
    }

    .faq-question {
        padding: 20px 24px;
        font-size: 1rem;
    }

    .faq-item.active .faq-answer {
        padding: 0 24px 20px;
    }

    .form-container {
        padding: 28px 20px;
    }

    .floating-buttons {
        bottom: 16px;
        right: 16px;
    }

    .floating-btn {
        width: 44px;
        height: 44px;
        border-radius: 12px;
    }
}

@media (max-width: 375px) {
    .hero h1 {
        font-size: 1.65rem;
    }

    .section-title {
        font-size: 1.35rem;
    }

    .logo-image {
        height: 90px !important;
        width: auto;
    }

    .stat-number {
        font-size: 2rem;
    }

    .pricing-price {
        font-size: 2.25rem;
    }
}

/* ========================================
   LEGAL MODALS
   ======================================== */
.legal-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 9999;
    overflow-y: auto;
    padding: 40px 20px;
}

.legal-modal.show {
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

.legal-modal-content {
    background: var(--primary);
    border-radius: 20px;
    max-width: 700px;
    width: 100%;
    margin: 40px auto;
    animation: slideUp 0.3s ease;
    box-shadow: var(--shadow-lg);
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.legal-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 32px;
    border-bottom: 1px solid var(--primary-dark);
}

.legal-modal-header h2 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.5rem;
    color: var(--text-dark);
    margin: 0;
}

.legal-modal-close {
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--text-light);
    cursor: pointer;
    padding: 0;
    line-height: 1;
    transition: color 0.3s ease;
}

.legal-modal-close:hover {
    color: var(--text-dark);
}

.legal-modal-body {
    padding: 32px;
    max-height: 60vh;
    overflow-y: auto;
}

.legal-modal-body p {
    color: var(--text-medium);
    line-height: 1.8;
    margin-bottom: 16px;
}

.legal-modal-body h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.1rem;
    color: var(--text-dark);
    margin: 24px 0 12px;
}

.legal-modal-body h3:first-child {
    margin-top: 0;
}