/* ============================================
   NEWVERSE Landing Page - Styles
   Tecnologia para Humanizar
   ============================================ */

/* ---------- CSS Variables ---------- */
:root {
    /* Brand Colors */
    --color-dark: #0D4D4D;
    --color-dark-light: #1A5F5F;
    --color-primary: #2ABAB3;
    --color-primary-light: #3DD4CD;
    --color-primary-dark: #229E98;
    
    /* Neutral Colors */
    --color-white: #FFFFFF;
    --color-gray-50: #F8FAFA;
    --color-gray-100: #F0F4F4;
    --color-gray-200: #E2E8E8;
    --color-gray-300: #C5D0D0;
    --color-gray-400: #94A3A3;
    --color-gray-500: #64757A;
    --color-gray-600: #4A5A5E;
    --color-gray-700: #374145;
    --color-gray-800: #1F282B;
    --color-gray-900: #0D1214;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--color-dark) 0%, var(--color-primary) 100%);
    --gradient-primary-soft: linear-gradient(135deg, var(--color-dark-light) 0%, var(--color-primary-dark) 100%);
    --gradient-light: linear-gradient(180deg, var(--color-white) 0%, var(--color-gray-50) 100%);
    
    /* Typography */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    
    /* Spacing */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
    --space-4xl: 6rem;
    
    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-2xl: 24px;
    --radius-full: 9999px;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(13, 77, 77, 0.05);
    --shadow-md: 0 4px 6px rgba(13, 77, 77, 0.07);
    --shadow-lg: 0 10px 25px rgba(13, 77, 77, 0.1);
    --shadow-xl: 0 20px 40px rgba(13, 77, 77, 0.15);
    
    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 250ms ease;
    --transition-slow: 400ms ease;
    
    /* Header Height */
    --header-height: 80px;
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

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

body {
    font-family: var(--font-family);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--color-gray-700);
    background-color: var(--color-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

a {
    color: inherit;
    text-decoration: none;
}

ul, ol {
    list-style: none;
}

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

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

/* ---------- Typography ---------- */
.section-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-primary);
    margin-bottom: var(--space-md);
}

.section-title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    color: var(--color-dark);
    line-height: 1.2;
    margin-bottom: var(--space-lg);
}

.section-description {
    font-size: 1.125rem;
    color: var(--color-gray-500);
    max-width: 600px;
}

.text-dark {
    color: var(--color-dark);
}

.text-primary {
    color: var(--color-primary);
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: 0.875rem 2rem;
    font-size: 0.9375rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    transition: all var(--transition-base);
    cursor: pointer;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--color-white);
    box-shadow: var(--shadow-lg), 0 4px 15px rgba(42, 186, 179, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl), 0 8px 25px rgba(42, 186, 179, 0.4);
}

.btn-light {
    background: var(--color-white);
    color: var(--color-dark);
    box-shadow: var(--shadow-md);
}

.btn-light:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-light svg {
    width: 18px;
    height: 18px;
    transition: transform var(--transition-base);
}

.btn-light:hover svg {
    transform: translateX(4px);
}

/* ---------- Header ---------- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-height);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: box-shadow var(--transition-base);
}

.header.scrolled {
    box-shadow: var(--shadow-md);
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.logo img {
    height: 36px;
    width: auto;
}

.nav-menu {
    display: flex;
    gap: var(--space-xl);
}

.nav-menu a {
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--color-gray-600);
    transition: color var(--transition-fast);
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-primary);
    transition: width var(--transition-base);
}

.nav-menu a:hover {
    color: var(--color-dark);
}

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

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 5px;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-dark);
    transition: all var(--transition-fast);
}

/* ---------- Hero Section ---------- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: var(--header-height);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: var(--gradient-light);
    z-index: -2;
}

.hero-bg::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 80%;
    height: 150%;
    background: radial-gradient(ellipse at center, rgba(42, 186, 179, 0.08) 0%, transparent 70%);
}

.hero-particles {
    position: absolute;
    inset: 0;
    z-index: -1;
    opacity: 0.5;
}

.hero-content {
    max-width: 700px;
    padding: var(--space-4xl) 0;
}

.hero-title {
    font-size: clamp(3rem, 8vw, 5rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1;
    margin-bottom: var(--space-md);
}

.hero-tagline {
    font-size: clamp(0.875rem, 2vw, 1.125rem);
    font-weight: 500;
    letter-spacing: 0.2em;
    color: var(--color-gray-500);
    margin-bottom: var(--space-xl);
}

.hero-description {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    color: var(--color-gray-600);
    line-height: 1.7;
    margin-bottom: var(--space-2xl);
}

/* ---------- Animations ---------- */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease forwards;
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

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

/* ---------- Sobre Section ---------- */
.sobre {
    padding: var(--space-4xl) 0;
    background: var(--color-white);
}

.sobre-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4xl);
    align-items: center;
}

.sobre-text {
    font-size: 1.0625rem;
    color: var(--color-gray-600);
    margin-bottom: var(--space-lg);
    line-height: 1.8;
}

.sobre-text strong {
    color: var(--color-dark);
    font-weight: 600;
}

.sobre-stats {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-lg);
    margin-top: var(--space-2xl);
}

.stat-item {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: 0.9375rem;
    color: var(--color-gray-600);
}

.stat-icon {
    font-size: 1.25rem;
}

.sobre-visual {
    display: flex;
    justify-content: center;
}

.visual-card {
    position: relative;
    width: 100%;
    max-width: 400px;
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.visual-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-primary);
    opacity: 0.1;
    border-radius: var(--radius-2xl);
    transform: rotate(6deg);
}

.visual-icon {
    position: relative;
    width: 80%;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.visual-icon img {
    width: 100%;
    height: auto;
}

/* ---------- Soluções Section ---------- */
.solucoes {
    padding: var(--space-4xl) 0;
    background: var(--color-gray-50);
}

.section-header {
    text-align: center;
    margin-bottom: var(--space-3xl);
}

.section-header .section-description {
    margin: 0 auto;
}

.solucoes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-xl);
}

.solucao-card {
    position: relative;
    background: var(--color-white);
    padding: var(--space-2xl);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
    border: 1px solid var(--color-gray-100);
}

.solucao-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--color-primary);
}

.solucao-card.featured {
    background: var(--gradient-primary);
    color: var(--color-white);
    grid-column: span 2;
    border: none;
}

.solucao-card.featured .solucao-title,
.solucao-card.featured .solucao-description {
    color: var(--color-white);
}

.solucao-card.featured .solucao-icon {
    background: rgba(255, 255, 255, 0.2);
    color: var(--color-white);
}

.solucao-badge {
    position: absolute;
    top: var(--space-lg);
    right: var(--space-lg);
    padding: 0.25rem 0.75rem;
    background: rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.solucao-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-gray-50);
    border-radius: var(--radius-lg);
    margin-bottom: var(--space-lg);
    color: var(--color-primary);
    transition: all var(--transition-base);
}

.solucao-card:hover .solucao-icon {
    background: var(--color-primary);
    color: var(--color-white);
}

.solucao-icon svg {
    width: 28px;
    height: 28px;
}

.solucao-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-dark);
    margin-bottom: var(--space-md);
}

.solucao-description {
    font-size: 0.9375rem;
    color: var(--color-gray-500);
    line-height: 1.7;
}

/* ---------- CTA Section ---------- */
.cta {
    position: relative;
    padding: var(--space-4xl) 0;
    overflow: hidden;
}

.cta-bg {
    position: absolute;
    inset: 0;
    background: var(--gradient-primary);
    z-index: -1;
}

.cta-bg::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -20%;
    width: 60%;
    height: 200%;
    background: radial-gradient(ellipse at center, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
}

.cta-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.cta-title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: var(--space-lg);
}

.cta-description {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: var(--space-2xl);
    line-height: 1.7;
}

/* ---------- Footer ---------- */
.footer {
    background: var(--color-gray-900);
    color: var(--color-gray-300);
    padding: var(--space-4xl) 0 var(--space-xl);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: var(--space-3xl);
    margin-bottom: var(--space-3xl);
}

.footer-logo {
    height: 32px;
    margin-bottom: var(--space-md);
    filter: brightness(0) invert(1);
}

.footer-tagline {
    font-size: 0.875rem;
    color: var(--color-primary);
    font-weight: 500;
    margin-bottom: var(--space-sm);
}

.footer-address {
    font-size: 0.875rem;
    color: var(--color-gray-400);
}

.footer-title {
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-white);
    margin-bottom: var(--space-lg);
}

.contact-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.contact-link {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: 0.9375rem;
    color: var(--color-gray-400);
    transition: color var(--transition-fast);
}

.contact-link:hover {
    color: var(--color-primary);
}

.contact-link svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.social-links {
    display: flex;
    gap: var(--space-md);
}

.social-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-gray-800);
    border-radius: var(--radius-md);
    color: var(--color-gray-400);
    transition: all var(--transition-fast);
}

.social-link:hover {
    background: var(--color-primary);
    color: var(--color-white);
}

.social-link svg {
    width: 20px;
    height: 20px;
}

.footer-bottom {
    padding-top: var(--space-xl);
    border-top: 1px solid var(--color-gray-800);
    text-align: center;
    font-size: 0.875rem;
    color: var(--color-gray-500);
}

/* ---------- Responsive ---------- */
@media (max-width: 992px) {
    .sobre-grid {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
    }
    
    .sobre-visual {
        order: -1;
    }
    
    .visual-card {
        max-width: 300px;
    }
    
    .solucao-card.featured {
        grid-column: span 1;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    :root {
        --header-height: 70px;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: var(--header-height);
        left: 0;
        right: 0;
        background: var(--color-white);
        flex-direction: column;
        align-items: center;
        padding: var(--space-xl);
        gap: var(--space-lg);
        box-shadow: var(--shadow-lg);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all var(--transition-base);
    }
    
    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }
    
    .hero-content {
        padding: var(--space-2xl) 0;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
        text-align: center;
    }
    
    .contact-list {
        align-items: center;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .sobre-stats {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 var(--space-md);
    }
    
    .btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.875rem;
    }
    
    .solucoes-grid {
        grid-template-columns: 1fr;
    }
    
    .solucao-card {
        padding: var(--space-xl);
    }
}