:root {
            --color-primary-blue: #2D3A5D;
            --color-accent-cyan: #00C2E8;
            --color-neutral-dark: #34495E;
            --color-soft-gray: #F8F9FA;
            --color-success: #10B981;
            --color-warning: #F59E0B;
        }

        body {
            font-family: 'Inter', sans-serif;
            scroll-behavior: smooth;
        }

        .gradient-bg {
            background: linear-gradient(135deg, var(--color-primary-blue) 0%, #1e293b 100%);
        }

        .glass-effect {
            background: rgba(255, 255, 255, 0.95);
            backdrop-filter: blur(10px);
            border: 1px solid rgba(255, 255, 255, 0.2);
        }

        .hover-lift {
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        }

        .hover-lift:hover {
            transform: translateY(-8px);
            box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
        }

        .animate-fade-in {
            opacity: 0;
            transform: translateY(30px);
            transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
        }

        .animate-fade-in.is-visible {
            opacity: 1;
            transform: translateY(0);
        }

        .floating-animation {
            animation: float 6s ease-in-out infinite;
        }

        @keyframes float {
            0%, 100% { transform: translateY(0px); }
            50% { transform: translateY(-20px); }
        }

        .skill-bar {
            height: 6px;
            background: linear-gradient(90deg, var(--color-accent-cyan), var(--color-primary-blue));
            border-radius: 3px;
            transform: scaleX(0);
            transform-origin: left;
            animation: fillBar 2s ease-out forwards;
        }

        @keyframes fillBar {
            to { transform: scaleX(1); }
        }

        .testimonial-card {
            background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
        }

        .custom-shadow {
            box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
        }

        .nav-link {
            position: relative;
            color: var(--color-neutral-dark);
            transition: color 0.3s ease;
        }

        .nav-link::after {
            content: '';
            position: absolute;
            bottom: -4px;
            left: 0;
            width: 0;
            height: 2px;
            background: var(--color-accent-cyan);
            transition: width 0.3s ease;
        }

        .nav-link:hover::after {
            width: 100%;
        }

        .modal {
            display: none;
            position: fixed;
            z-index: 1000;
            left: 0;
            top: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0,0,0,0.5);
            backdrop-filter: blur(5px);
        }

        .modal-content {
            background: white;
            margin: 5% auto;
            padding: 2rem;
            border-radius: 12px;
            width: 90%;
            max-width: 500px;
            box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
            transform: scale(0.7);
            opacity: 0;
            transition: all 0.3s ease;
        }

        .modal.active .modal-content {
            transform: scale(1);
            opacity: 1;
        }

        .btn-primary {
            background: linear-gradient(135deg, var(--color-accent-cyan), #0891b2);
            border: none;
            color: white;
            padding: 12px 24px;
            border-radius: 8px;
            font-weight: 600;
            transition: all 0.3s ease;
            box-shadow: 0 4px 14px 0 rgba(0, 194, 232, 0.3);
        }

        .btn-primary:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 25px 0 rgba(0, 194, 232, 0.4);
        }

        .btn-secondary {
            background: transparent;
            border: 2px solid var(--color-primary-blue);
            color: var(--color-primary-blue);
            padding: 10px 24px;
            border-radius: 8px;
            font-weight: 600;
            transition: all 0.3s ease;
        }

        .btn-secondary:hover {
            background: var(--color-primary-blue);
            color: white;
            transform: translateY(-2px);
        }

        .loading-spinner {
            display: inline-block;
            width: 20px;
            height: 20px;
            border: 3px solid rgba(255,255,255,.3);
            border-radius: 50%;
            border-top-color: #fff;
            animation: spin 1s ease-in-out infinite;
        }

        @keyframes spin {
            to { transform: rotate(360deg); }
        }

        .hero-bg {
            background: linear-gradient(135deg, var(--color-primary-blue) 0%, #1e293b 50%, #0f172a 100%);
            position: relative;
            overflow: hidden;
        }

        .hero-bg::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
            opacity: 0.3;
        }

        .service-icon {
            width: 64px;
            height: 64px;
            background: linear-gradient(135deg, var(--color-accent-cyan), #0891b2);
            border-radius: 16px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 28px;
            margin: 0 auto 1.5rem;
            box-shadow: 0 8px 32px rgba(0, 194, 232, 0.3);
        }

        .timeline-item {
            position: relative;
            padding-left: 2rem;
            margin-bottom: 2rem;
        }

        .timeline-item::before {
            content: '';
            position: absolute;
            left: 0;
            top: 0.5rem;
            width: 12px;
            height: 12px;
            background: var(--color-accent-cyan);
            border-radius: 50%;
            border: 3px solid white;
            box-shadow: 0 0 0 3px var(--color-accent-cyan);
        }

        .timeline-item::after {
            content: '';
            position: absolute;
            left: 5px;
            top: 1.5rem;
            width: 2px;
            height: calc(100% + 1rem);
            background: linear-gradient(to bottom, var(--color-accent-cyan), transparent);
        }

        .timeline-item:last-child::after {
            display: none;
        }

        @media (max-width: 768px) {
            .hero-bg {
                padding: 3rem 0;
            }
            
            .hero-bg h1 {
                font-size: 2.5rem;
            }
        }

        .modal-content {
    background: white;
    margin: 2% auto; /* Reduzido de 5% para 2% */
    padding: 2rem;
    border-radius: 12px;
    width: 90%;
    max-width: 600px; /* Aumentado de 500px para 600px */
    max-height: 90vh; /* Limitando altura máxima */
    overflow-y: auto; /* Scroll se necessário */
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    transform: scale(0.7);
    opacity: 0;
    transition: all 0.3s ease;
}

/* Melhorar espaçamento do formulário no modal */
#quote-form .space-y-4 > * + * {
    margin-top: 1rem;
}

/* Garantir que botões sejam sempre visíveis */
#quote-form button[type="submit"] {
    margin-top: 1.5rem;
    min-height: 48px; /* Altura mínima para facilitar clique */
}

/* Correção para campos de formulário no modal */
.modal-content input,
.modal-content select,
.modal-content textarea {
    font-size: 16px; /* Evita zoom no iOS */
}

/* Responsividade melhorada para mobile */
@media (max-width: 640px) {
    .modal-content {
        margin: 1% auto;
        width: 95%;
        padding: 1.5rem;
        max-height: 95vh;
    }
    
    #quote-form button[type="submit"] {
        min-height: 52px; /* Maior no mobile para facilitar toque */
    }
}

/* Garantir que o modal seja scrollável se necessário */
.modal {
    overflow-y: auto;
    padding: 20px 0;
}
