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

        :root {
            --primary: #6366f1;
            --primary-dark: #4f46e5;
            --secondary: #8b5cf6;
            --success: #10b981;
            --text-primary: #1f2937;
            --text-secondary: #6b7280;
            --bg-light: #f9fafb;
            --border: #e5e7eb;
            --shadow: rgba(99, 102, 241, 0.1);
        }

        body {
            font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
            min-height: 100vh;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 20px;
            position: relative;
            overflow-x: hidden;
        }

        /* Animated background elements */
        body::before {
            content: '';
            position: absolute;
            width: 500px;
            height: 500px;
            background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
            border-radius: 50%;
            top: -250px;
            right: -250px;
            animation: float 20s ease-in-out infinite;
        }

        body::after {
            content: '';
            position: absolute;
            width: 400px;
            height: 400px;
            background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, transparent 70%);
            border-radius: 50%;
            bottom: -200px;
            left: -200px;
            animation: float 15s ease-in-out infinite reverse;
        }

        @keyframes float {

            0%,
            100% {
                transform: translateY(0) scale(1);
            }

            50% {
                transform: translateY(-30px) scale(1.05);
            }
        }

        .container {
            max-width: 700px;
            width: 100%;
            position: relative;
            z-index: 1;
        }

        /* Glassmorphism card */
        .form-card {
            background: rgba(255, 255, 255, 0.95);
            backdrop-filter: blur(20px);
            border-radius: 24px;
            padding: 48px;
            box-shadow:
                0 20px 60px rgba(0, 0, 0, 0.15),
                0 0 0 1px rgba(255, 255, 255, 0.2) inset;
            transition: all 0.3s ease;
        }

        /* Header */
        .form-header {
            text-align: center;
            margin-bottom: 40px;
        }

        .form-logo {
            width: 180px;
            height: auto;
            margin-bottom: 15px;
            filter: drop-shadow(0 8px 15px rgba(0, 0, 0, 0.12));
            transition: transform 0.3s ease;
        }

        .form-logo:hover {
            transform: scale(1.05);
        }

        .form-header h1 {
            font-size: 32px;
            font-weight: 700;
            background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            margin-bottom: 12px;
            letter-spacing: -0.02em;
        }

        .form-header p {
            color: var(--text-secondary);
            font-size: 16px;
            font-weight: 400;
        }

        /* Progress bar */
        .progress-container {
            margin-bottom: 40px;
        }

        .progress-steps {
            display: flex;
            justify-content: space-between;
            margin-bottom: 16px;
        }

        .progress-step {
            display: flex;
            flex-direction: column;
            align-items: center;
            flex: 1;
            position: relative;
        }

        .progress-step:not(:last-child)::after {
            content: '';
            position: absolute;
            top: 16px;
            left: 50%;
            width: 100%;
            height: 2px;
            background: var(--border);
            z-index: -1;
            transition: all 0.3s ease;
        }

        .progress-step.active:not(:last-child)::after,
        .progress-step.completed:not(:last-child)::after {
            background: linear-gradient(90deg, var(--primary), var(--secondary));
        }

        .step-circle {
            width: 32px;
            height: 32px;
            border-radius: 50%;
            background: white;
            border: 2px solid var(--border);
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: 600;
            font-size: 14px;
            color: var(--text-secondary);
            transition: all 0.3s ease;
            margin-bottom: 8px;
        }

        .progress-step.active .step-circle {
            background: linear-gradient(135deg, var(--primary), var(--secondary));
            border-color: var(--primary);
            color: white;
            transform: scale(1.1);
            box-shadow: 0 4px 12px var(--shadow);
        }

        .progress-step.completed .step-circle {
            background: var(--success);
            border-color: var(--success);
            color: white;
        }

        .progress-step.completed .step-circle::before {
            content: '✓';
        }

        .step-label {
            font-size: 12px;
            color: var(--text-secondary);
            font-weight: 500;
            text-align: center;
        }

        .progress-step.active .step-label {
            color: var(--primary);
            font-weight: 600;
        }

        .progress-bar-bg {
            height: 6px;
            background: var(--border);
            border-radius: 100px;
            overflow: hidden;
        }

        .progress-bar-fill {
            height: 100%;
            background: linear-gradient(90deg, var(--primary), var(--secondary));
            border-radius: 100px;
            transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            box-shadow: 0 0 10px rgba(99, 102, 241, 0.4);
        }

        /* Form steps */
        .form-step {
            display: none;
            animation: fadeInUp 0.4s ease;
        }

        .form-step.active {
            display: block;
        }

        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(20px);
            }

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

        /* Form elements */
        .form-group {
            margin-bottom: 24px;
        }

        label {
            display: block;
            margin-bottom: 8px;
            color: var(--text-primary);
            font-weight: 700;
            font-size: 14px;
        }

        .required {
            color: #ef4444;
            margin-left: 2px;
        }

        input[type="text"],
        input[type="tel"],
        input[type="file"],
        select,
        textarea {
            width: 100%;
            padding: 14px 16px;
            border: 2px solid var(--border);
            border-radius: 12px;
            font-size: 15px;
            font-family: inherit;
            transition: all 0.3s ease;
            background: white;
            color: var(--text-primary);
        }

        input[type="text"]:focus,
        input[type="tel"]:focus,
        select:focus,
        textarea:focus {
            outline: none;
            border-color: var(--primary);
            box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
        }

        input[type="text"].valid,
        input[type="tel"].valid,
        select.valid {
            border-color: var(--success);
        }

        textarea {
            min-height: 100px;
            resize: vertical;
        }

        ::placeholder {
            color: #9ca3af;
        }

        /* Radio and checkbox groups */
        .radio-group,
        .checkbox-group {
            display: grid;
            gap: 12px;
            margin-top: 12px;
        }

        .radio-option,
        .checkbox-option {
            position: relative;
        }

        .radio-option input[type="radio"],
        .checkbox-option input[type="checkbox"] {
            position: absolute;
            opacity: 0;
        }

        .radio-option label,
        .checkbox-option label {
            display: flex;
            align-items: center;
            padding: 14px 16px;
            background: var(--bg-light);
            border: 2px solid var(--border);
            border-radius: 12px;
            cursor: pointer;
            transition: all 0.3s ease;
            font-weight: 400;
        }

        .radio-option label:hover,
        .checkbox-option label:hover {
            border-color: var(--primary);
            background: rgba(99, 102, 241, 0.03);
        }

        .radio-option input:checked+label,
        .checkbox-option input:checked+label {
            border-color: var(--primary);
            background: rgba(99, 102, 241, 0.08);
            font-weight: 500;
        }

        .radio-option label::before,
        .checkbox-option label::before {
            content: '';
            width: 20px;
            height: 20px;
            border: 2px solid var(--border);
            border-radius: 50%;
            margin-right: 12px;
            transition: all 0.3s ease;
            flex-shrink: 0;
        }

        .checkbox-option label::before {
            border-radius: 6px;
        }

        .radio-option input:checked+label::before {
            border-color: var(--primary);
            background: var(--primary);
            box-shadow: inset 0 0 0 4px white;
        }

        .checkbox-option input:checked+label::before {
            border-color: var(--primary);
            background: var(--primary);
            background-image: url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M12.207 4.793a1 1 0 010 1.414l-5 5a1 1 0 01-1.414 0l-2-2a1 1 0 011.414-1.414L6.5 9.086l4.293-4.293a1 1 0 011.414 0z'/%3e%3c/svg%3e");
        }

        /* Color picker */
        .color-group {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 16px;
        }

        input[type="color"] {
            width: 100%;
            height: 60px;
            border: 2px solid var(--border);
            border-radius: 12px;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        input[type="color"]:hover {
            border-color: var(--primary);
            transform: translateY(-2px);
        }

        /* File upload */
        .file-upload-wrapper {
            position: relative;
        }

        input[type="file"] {
            cursor: pointer;
        }

        input[type="file"]::file-selector-button {
            padding: 10px 20px;
            background: var(--primary);
            color: white;
            border: none;
            border-radius: 8px;
            cursor: pointer;
            font-weight: 500;
            margin-right: 12px;
            transition: all 0.3s ease;
        }

        input[type="file"]::file-selector-button:hover {
            background: var(--primary-dark);
        }

        /* Buttons */
        .form-navigation {
            display: flex;
            gap: 12px;
            margin-top: 32px;
        }

        .btn {
            flex: 1;
            padding: 16px 32px;
            border: none;
            border-radius: 12px;
            font-size: 16px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            font-family: inherit;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
        }

        .btn-secondary {
            background: var(--bg-light);
            color: var(--text-primary);
            border: 2px solid var(--border);
        }

        .btn-secondary:hover {
            background: white;
            border-color: var(--primary);
            color: var(--primary);
        }

        .btn-primary {
            background: linear-gradient(135deg, var(--primary), var(--secondary));
            color: white;
            box-shadow: 0 4px 16px rgba(99, 102, 241, 0.3);
        }

        .btn-primary:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 24px rgba(99, 102, 241, 0.4);
        }

        .btn-primary:active {
            transform: translateY(0);
        }

        .btn:disabled {
            opacity: 0.5;
            cursor: not-allowed;
        }

        /* Conditional field */
        .campo-condicional {
            display: none;
            margin-top: 16px;
            padding: 16px;
            background: rgba(99, 102, 241, 0.03);
            border-radius: 12px;
            border-left: 4px solid var(--primary);
        }

        .campo-condicional.ativo {
            display: block;
            animation: fadeInUp 0.3s ease;
        }

        /* Nicho específico */
        .nicho-especifico {
            display: none;
        }

        .nicho-especifico.ativo {
            display: block;
        }

        /* Helper text */
        .helper-text {
            font-size: 13px;
            color: var(--text-secondary);
            margin-top: 6px;
        }

        /* Responsive */
        @media (max-width: 768px) {
            .form-card {
                padding: 32px 24px;
            }

            .form-header h1 {
                font-size: 26px;
            }

            .color-group {
                grid-template-columns: 1fr;
            }

            .step-label {
                font-size: 10px;
            }

            .btn {
                padding: 14px 24px;
                font-size: 15px;
            }
        }

        /* Success state */
        .success-message {
            text-align: center;
            padding: 40px 20px;
            display: none;
        }

        .success-message.show {
            display: block;
            animation: fadeInUp 0.5s ease;
        }

        .success-icon {
            width: 80px;
            height: 80px;
            background: linear-gradient(135deg, var(--success), #059669);
            border-radius: 50%;
            margin: 0 auto 24px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 40px;
            animation: scaleIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        }

        @keyframes scaleIn {
            from {
                transform: scale(0);
                opacity: 0;
            }

            to {
                transform: scale(1);
                opacity: 1;
            }
        }

        .success-message h2 {
            font-size: 28px;
            color: var(--text-primary);
            margin-bottom: 12px;
        }

        .success-message p {
            color: var(--text-secondary);
            font-size: 16px;
            line-height: 1.6;
        }