/* =========================================================================
   Custom Vanilla CSS for Valente Soluções Landing Page
   Premium Dark Mode, Glassmorphism, and Micro-animations
   ========================================================================= */

   :root {
    --primary: #FDB813; /* Valente Amarelo/Ouro */
    --primary-glow: rgba(253, 184, 19, 0.4);
    --secondary: #1E293B; /* Escuro Nav/Slate */
    
    --bg-dark: #FFFFFF; /* Fundo principal claro */
    --bg-darker: #f8fafc; /* Fundo secundário claro (Cinza bem fraco) */
    --glass-bg: rgba(255, 255, 255, 0.9);
    --glass-border: rgba(0, 0, 0, 0.08); /* Borda sutil escura */
    
    --text-main: #0F172A; /* Escuro para leitura principal */
    --text-muted: #475569; /* Cinza para textos secundários */
    
    --whatsapp: #25D366;
    --whatsapp-glow: rgba(37, 211, 102, 0.4);
    
    --font-sans: 'Inter', system-ui, sans-serif;
    --font-heading: 'Outfit', system-ui, sans-serif;
    
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

html {
    scroll-behavior: smooth;
}

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

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

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.text-center { text-align: center; }
.mt-3 { margin-top: 1rem; }
.mt-4 { margin-top: 1.5rem; }
.mt-5 { margin-top: 3rem; }

/* Typography */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-title span {
    color: var(--primary);
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 1.125rem;
    max-width: 700px;
    margin: 0 auto 3rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 9999px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-family: var(--font-sans);
}

.btn-sm {
    padding: 0.5rem 1.25rem;
    font-size: 0.875rem;
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

.btn-primary {
    background: var(--primary);
    color: var(--text-main);
    box-shadow: 0 4px 14px var(--primary-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--primary-glow);
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--glass-border);
    color: var(--text-main);
}

.btn-outline:hover {
    background: var(--glass-bg);
    border-color: var(--primary);
}

.btn-whatsapp {
    background: linear-gradient(135deg, var(--whatsapp), #128C7E);
    box-shadow: 0 4px 14px var(--whatsapp-glow);
}

.btn-whatsapp:hover {
    box-shadow: 0 6px 20px var(--whatsapp-glow);
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1rem 0;
    transition: var(--transition);
    background: rgba(92, 96, 105, 0.95); /* #5C6069 with slight transparency for glass */
    backdrop-filter: blur(12px);
    border-bottom: 1px solid transparent;
}

.header.scrolled {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--glass-border);
    background: rgba(92, 96, 105, 0.95);
    box-shadow: 0 2px 10px rgba(0,0,0,0.15);
}

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

.logo img {
    height: 60px;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
}

.nav-list {
    display: flex;
    gap: 2rem;
}

.nav-link {
    font-weight: 500;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.9); /* Branco no fundo cinza */
    position: relative;
    transition: var(--transition);
}

.nav-link:hover {
    color: #ffffff;
}

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

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

.mobile-menu-toggle {
    display: none;
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.5rem;
    cursor: pointer;
    transition: var(--transition);
}

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

.hero-background {
    position: absolute;
    top: -20%;
    left: -10%;
    width: 50vw;
    height: 50vw;
    background: radial-gradient(circle, rgba(253, 184, 19, 0.15) 0%, rgba(255, 255, 255, 0) 70%);
    z-index: 0;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -20%;
    right: -10%;
    width: 40vw;
    height: 40vw;
    background: radial-gradient(circle, rgba(30, 41, 59, 0.05) 0%, rgba(255, 255, 255, 0) 70%);
    z-index: 0;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-block;
    padding: 0.25rem 1rem;
    background: rgba(253, 184, 19, 0.15);
    border: 1px solid rgba(253, 184, 19, 0.3);
    border-radius: 999px;
    color: #b48102; /* Tom mais escuro para leitura no fundo claro */
    font-size: 0.875rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    letter-spacing: 0.5px;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
}

.hero-title span {
    background: linear-gradient(to right, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-description {
    font-size: 1.125rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 540px;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Glass Panels & Mockups */
.glass-panel, .glass-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 1rem;
    backdrop-filter: blur(16px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
}

.hero-image-placeholder {
    padding: 1.5rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
    transform: perspective(1000px) rotateY(-5deg) rotateX(5deg);
    transition: var(--transition);
}

.hero-image-placeholder:hover {
    transform: perspective(1000px) rotateY(0) rotateX(0);
}

.dashboard-mockup {
    background: var(--bg-dark);
    border-radius: 0.5rem;
    overflow: hidden;
    border: 1px solid var(--glass-border);
}

.mockup-header {
    background: rgba(0,0,0,0.05);
    padding: 0.75rem 1rem;
    display: flex;
    gap: 0.5rem;
    border-bottom: 1px solid var(--glass-border);
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.dot.red { background: #ef4444; }
.dot.yellow { background: #f59e0b; }
.dot.green { background: #10b981; }

.mockup-body {
    padding: 1.5rem;
}

.mockup-line {
    height: 8px;
    background: var(--glass-border);
    border-radius: 4px;
    margin-bottom: 1rem;
}

.w-70 { width: 70%; }
.w-40 { width: 40%; }

.mockup-box-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin: 1.5rem 0;
}

.mockup-box {
    height: 60px;
    background: rgba(253, 184, 19, 0.1);
    border-radius: 0.5rem;
    border: 1px solid rgba(253, 184, 19, 0.2);
}

/* Features section */
.features {
    padding: 6rem 0;
    position: relative;
}

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

.feature-card {
    text-align: center;
    padding: 2rem;
    border-radius: 1rem;
    background: #ffffff;
    border: 1px solid var(--glass-border);
    transition: var(--transition);
    box-shadow: 0 4px 6px rgba(0,0,0,0.02);
}

.feature-card:hover {
    transform: translateY(-5px);
    background: #ffffff;
    border-color: rgba(253, 184, 19, 0.3);
    box-shadow: 0 10px 15px rgba(0,0,0,0.05);
}

.feature-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1.5rem;
    background: rgba(253, 184, 19, 0.15);
    color: #b48102;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.feature-card h3 {
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.feature-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Services */
.services {
    padding: 6rem 0;
    background: var(--bg-dark);
}

.services-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.service-item {
    padding: 2.5rem;
    transition: var(--transition);
    background: #ffffff;
}

.service-item:hover {
    border-color: rgba(253, 184, 19, 0.5);
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transform: translateY(-5px);
}

.service-badge {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--secondary);
    font-weight: 700;
    margin-bottom: 1rem;
}

.service-content h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.service-content p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.service-features li {
    margin-bottom: 0.5rem;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
}

.service-features i {
    color: var(--primary);
}

/* Technologies */
.techs {
    padding: 6rem 0;
}

.techs-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    padding: 4rem;
    align-items: center;
}

.techs-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.techs-content span {
    color: var(--primary);
}

.techs-content p {
    color: var(--text-muted);
    font-size: 1.125rem;
}

.techs-logos {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    justify-content: center;
}

.tech-item {
    background: #ffffff;
    border: 1px solid var(--glass-border);
    padding: 1.5rem;
    border-radius: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    width: 140px;
    transition: var(--transition);
    box-shadow: 0 2px 5px rgba(0,0,0,0.02);
}

.tech-item i {
    font-size: 3rem;
}

.tech-item span {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-main);
}

.tech-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px rgba(0,0,0,0.05);
}

.highlight-red:hover { border-color: #ef4444; color: #ef4444; }
.highlight-red:hover i { color: #ef4444; }

.highlight-blue:hover { border-color: #3b82f6; color: #3b82f6; }
.highlight-blue:hover i { color: #3b82f6; }

.highlight-orange:hover { border-color: #f97316; color: #f97316; }
.highlight-orange:hover i { color: #f97316; }

.highlight-purple:hover { border-color: #8b5cf6; color: #8b5cf6; }
.highlight-purple:hover i { color: #8b5cf6; }

/* Final CTA Section & Form */
.final-cta {
    padding: 6rem 0;
    background: linear-gradient(to top, rgba(253, 184, 19, 0.05), transparent);
    border-top: 1px solid var(--glass-border);
}

.cta-form-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    padding: 3rem;
    background: #ffffff;
}

.cta-form-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-form-content p {
    color: var(--text-muted);
    font-size: 1.125rem;
    margin-bottom: 1rem;
}

.lead-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-main);
}

.form-group input, .form-group textarea {
    padding: 0.75rem 1rem;
    border: 1px solid var(--glass-border);
    border-radius: 0.5rem;
    background: var(--bg-darker);
    color: var(--text-main);
    font-family: var(--font-sans);
    transition: var(--transition);
}

.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-glow);
}

.btn-block {
    width: 100%;
    margin-top: 1rem;
}

.cta-note {
    font-size: 0.85rem !important;
    opacity: 0.8;
}

/* Footer */
.footer {
    background: var(--bg-dark);
    padding: 4rem 0 2rem;
    border-top: 1px solid var(--glass-border);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-logo {
    height: 40px;
    margin-bottom: 1.5rem;
}

.footer-brand p {
    color: var(--text-muted);
    max-width: 300px;
}

.footer h3 {
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
    color: var(--text-main);
}

.footer ul li {
    margin-bottom: 0.75rem;
}

.footer ul li a {
    color: var(--text-muted);
}

.footer ul li a:hover {
    color: var(--primary);
}

.footer ul li i {
    margin-right: 0.5rem;
    color: var(--primary);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--glass-border);
    color: var(--text-muted);
    font-size: 0.875rem;
}

/* Animations */
@keyframes pulse {
    0% { opacity: 0.5; }
    50% { opacity: 1; }
    100% { opacity: 0.5; }
}

.pulse {
    animation: pulse 2s infinite;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

.floating {
    animation: float 4s ease-in-out infinite;
}

.shine-effect {
    position: relative;
    overflow: hidden;
}

.shine-effect::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.3) 50%, rgba(255,255,255,0) 100%);
    transform: skewX(-25deg);
    animation: shine 5s infinite;
}

@keyframes shine {
    0% { left: -100%; }
    20% { left: 200%; }
    100% { left: 200%; }
}

.pulse-effect {
    animation: pulseScale 2s infinite;
}

@keyframes pulseScale {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

/* Scroll Animations */
[data-animate] {
    opacity: 0;
    transition: var(--transition);
    transition-duration: 0.8s;
}

[data-animate="fade-up"] {
    transform: translateY(30px);
}

[data-animate="fade-left"] {
    transform: translateX(30px);
}

[data-animate="fade-right"] {
    transform: translateX(-30px);
}

[data-animate].is-visible {
    opacity: 1;
    transform: translate(0);
}

/* Responsive Design */
@media (max-width: 992px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-title {
        font-size: 3rem;
    }

    .hero-description {
        margin: 0 auto 2.5rem;
    }

    .hero-cta {
        justify-content: center;
    }

    .hero-image-placeholder {
        transform: none;
    }

    .techs-wrapper {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 2rem;
    }
    
    .cta-form-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 2rem;
    }
}

@media (max-width: 768px) {
    .logo img { height: 45px; }

    .header-actions .btn {
        display: none;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .nav {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: rgba(92, 96, 105, 0.98);
        padding: 2rem;
        transition: var(--transition);
    }

    .nav.active {
        left: 0;
    }

    .nav-list {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
    }

    .nav-link {
        font-size: 1.25rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .footer-brand p {
        margin: 0 auto;
    }
    
    .footer-social {
        justify-content: center;
    }
}
